@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Varela+Round&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

:root {
    --white-clr: #fff;
    --black-clr: #000;
    --grey-clr: #ececec;
    --yellow-clr: #f2bf31;
}

.main-container {
    background: var(--black-clr);
    min-height: 100vh;
    position: relative;

}

.container {
    width: 85%;
    min-height: 100vh;
    margin: auto;
 
  
}
 
.logo {
    color: var(--yellow-clr);
    font-size: 1.5rem;
    font-weight: bold; 
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.navbar {
    height: 14vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.navlinks {
    display: flex;
    gap: 2rem;
    color: var(--grey-clr);
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.navlinks:hover {
    color: var(--yellow-clr);
}

.navlist {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.navlists {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navlinks::before {
    content: '';
    position: absolute;
    background: var(--yellow-clr);
    width: 0%;
    height: 0.1rem;
    bottom: -10px;
    left: 0;
    transition: width 0.3s ease;
}

.navlinks:hover::before {
    width: 100%;
}

.humburger {
    display: none;
    z-index: 4;
}

.fa-bars {
    font-size: 1.7rem;
    color: var(--white-clr);
}

img {
    max-width: 100%;
    height: auto;
}

.image-container {
    width: 21rem;
    position: relative;
}

.image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--yellow-clr);
    border-radius: 50%;
    z-index: -1;
    transform: rotate(60deg);
}

.hero-section {
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 13rem;
    min-height: calc(100vh - 14vh);
}

.image-container::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(transparent, var(--black-clr) 80%);
    height: 2rem;
    width: 100%;
}

h4 {
    color: var(--yellow-clr);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

h1 {
    color: var(--white-clr);
    font-size: 3.5rem;
}

span {
    color: var(--yellow-clr);
}

p {
    max-width: 600px;
    color: var(--grey-clr);
    font-size: 0.95rem;
    line-height: 1.6rem;
}

.btn-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

button {
    background: var(--yellow-clr);
    font-size: 0.9rem;
    border: 0.1rem solid var(--yellow-clr);
    padding: 0.7rem 1.8rem;
    border-radius: 5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.border-btn {
    background-color: transparent;
    color: var(--grey-clr);
}

.border-btn:hover {
    color: var(--black-clr);
    background-color: var(--yellow-clr);
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: var(--black-clr);
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

@media screen and (max-width: 680px) {
    .navlists {
        justify-content: center;
        flex-direction: column;
        background-color: var(--yellow-clr);
        position: absolute;
        top: 15%;
        left: -100%;
        transform: translateX(-50%);
        z-index: 4;
        width: 12rem;
        gap: 1.2rem;
        padding-block: 2rem;
        transition: 0.4s ease-in-out;
    }

    .navlist-active {
        left: 50%;
    }

    .navlinks {
        color: var(--grey-clr);
    }

    .navlinks:hover {
        color: var(--black-clr);
    }

    .navlinks::before {
        background-color: var(--black-clr);
    }

    .humburger {
        display: block;
    }

    .hero-section {
        flex-direction: column;
        margin-top: 2rem;
        gap: 3rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .image-container {
        width: 12rem;
    }

    .image-container::before {
        width: 12rem;
    }

    .overlay-active {
        opacity: 0.8;
        visibility: visible;
    }
}