@import url("https://use.typekit.net/cee5ics.css");

body {
    margin: 0;
    background-color: black;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: absolute;
    width: calc(100% - 200px); 
    top: 0;
    left: 0;
    z-index: 9;
}

li {
    font-family: owners-wide, sans-serif;
    font-weight: 400;
    font-style: normal;
}

h2 {
    font-family: owners-xwide, sans-serif;
    font-weight: 500;
    font-style: medium;
}

p {
    font-family: owners-wide, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.logo {
    max-width: 60px;
}

.logo span {
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: goldenrod;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('hero.jpg') no-repeat center center/cover;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

h1 {
    font-size: 48px;
    z-index: 2;
    position: relative;
    color: goldenrod;
    font-family: owners-xwide, sans-serif;
    font-weight: 500;
    font-style: medium;
    max-width: 1100px;
}

.about, .projects, .contact {
    padding: 80px 20px;
    text-align: center;
}

.projectp {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.project {
    width: 300px;
    height: 400px;
    background: #22222;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project:hover {
    transform: scale(1.05);
    background-color: goldenrod;
}

.project::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(218, 165, 32, 0);
    transition: background 0.3s ease-in-out;
}

.project:hover::after {
    background: rgba(218, 165, 32, 0.3);
}

footer {
    background: #111111;
    color: goldenrod;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footerlogo {
    width: 100px;
    margin-bottom: 10px;
}

.footerl {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: owners-xwide, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.footerl a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footerl a:hover {
    color: goldenrod;
}

.footersm {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footersm img {
    width: 30px;
    transition: transform 0.3s;
}

.footersm img:hover {
    transform: scale(1.2);
}

.footercl {
    font-size: 12px;
}



@media only screen and (max-width: 767px) {
    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 0;
        z-index: 20;
    }

    .logo {
        max-width: 50px;
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    nav a {
        font-size: 18px;
        color: white;
    }

    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: url('hero.jpg') no-repeat center center/cover;
        position: relative;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
        max-width: 90%;
        color: goldenrod;
        font-family: owners-xwide, sans-serif;
        font-weight: 500;
        font-style: medium;
        margin: 0;
        margin-top: 60px;
    }

    .about, .projects, .contact {
        padding: 50px 20px;
    }

    .projectp {
        flex-direction: column;
        gap: 10px;
    }

    .project {
        width: 100%;
        height: auto;
    }

    .max {
        max-height: 300px;
    }

    footer {
        padding: 20px 20px;
    }

    .footerl {
        flex-direction: column;
        gap: 10px;
    }

    .footersm {
        justify-content: center;
    }

    .footercl {
        font-size: 10px;
    }
}



@media only screen and (min-width: 768px) and (max-width: 1024px) {
    header {
        flex-direction: row;
        padding: 20px 40px;
    }

    .logo {
        max-width: 55px;
    }

    nav ul {
        gap: 30px;
    }

    .hero h1 {
        font-size: 42px;
        max-width: 95%;
    }

    .about, .projects, .contact {
        padding: 70px 20px;
    }

    .projectp {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .project {
        width: 45%;
        height: 350px;
    }

    footer {
        padding: 30px 20px;
    }

    .footerl {
        gap: 15px;
    }

    .footersm {
        justify-content: center;
    }

    .footercl {
        font-size: 11px;
    }
}
