@import url('https://fonts.googleapis.com/css2?family=Nerko+One&display=swap');

.light {
    --backgroundColor: #f1f8fc;
    --primaryColor:#FFA500;
    --hoverColor:#ff8c00;
    --darkOne:#312f3a;
    --darkTwo:#45424b;
    --lightOne:#919191;
    --lightTwo:#aaa;
}

.dark{
    --backgroundColor: #312f3a;
    --primaryColor:#FFA500;
    --hoverColor:#ff8c00;
    --darkOne:#f3f3f3;
    --darkTwo:#fff;
    --lightOne:#ccc;
    --lightTwo:#e7e3e3;
}


*, *::before, *::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Nerko One", sans-serif;
}

img{
    width: 100%;
}

a {
    text-decoration: none;
}

.big-wrapper{
    padding: 1.7rem 0 2rem;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--backgroundColor);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo img{
    width: 40px;
    margin-right: 0.6rem;
    margin-top: -0.6rem;
}

.overlay{
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo h3 {
    color: var(--darkTwo);
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 700;
}

nav{
    position: relative;
    max-width: 81rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    z-index: 10;
}

header{
    position: relative;
    z-index: 70;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.link a{
    color: var(--lightTwo);
    margin-left: 4.5rem;
    display: inline-block;
    transition: .3s;
}

.link a:hover{
    text-decoration: underline;
    color: var(--hoverColor);
    transform: scale(1.05);
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.9rem;
    color: var(--backgroundColor)!important;
    background-color: var(--primaryColor);
    border-radius: 16px;
    text-transform: capitalize;
    transition: 0.5s;
}

.btn:hover{
    background-color: var(--hoverColor);
    cursor: pointer;
    text-decoration: none !important;
    transform: scale(1) !important;
}

.content .container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    justify-content: center;
    margin-left:165px;
}

.title{
    font-size: 1.4rem;
    color: var(--darkOne);
    text-transform: capitalize;
    line-height: 1.4;
}

.text{
    color: var(--lightOne);
    font-size: 1.1rem;
    margin: 1.9rem 0 2.5rem;
    max-width: 600px;
    line-height: 2.3;
}

.showcase-area .btn{
    box-shadow: 0 0 40px 2px rgba(0, 0, 0, 0.05);
}

.person{
    width: 123%;
    transform: translate(15%, 25px)
}

.toggle-btn {
    display: inline-block;
    border: none;
    background: var(--darkTwo);
    color: var(--backgroundColor);
    outline: none;
    cursor: pointer;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: 0.3s;
    margin-left: 5%;
}

.toggle-btn:hover{
    background: var(--primaryColor);
}

.toggle-btn i{
    line-height: 35px;
}

.big-wrapper.light .toggle-btn i:last-child{
    display: none;
}

.big-wrapper.light .toggle-btn i:first-child{
    display: block;
}

.big-wrapper.dark .toggle-btn i:last-child{
    display: block;
}

.big-wrapper.dark .toggle-btn i:first-child{
    display: none;
}

.copy{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    animation: appear 1s 1 both;
}

.hamburger-menu {
    position: relative;
    z-index: 99;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.hamburger-menu .bar{
    position: relative;
    width: 100%;
    height: 3px;
    background-color: var(--darkTwo);
    border-radius: 3px;
    transition: 0.5s;
}

.bar::before,
.bar::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--darkTwo);
    border-radius: 3px;
    transition: 0.5s;
}

.big-wrapper.active .hamburger-menu .bar{
    background-color: transparent;
}

.big-wrapper.active .bar::before{
    transform: translateY(0) rotate(-45deg);
}

.big-wrapper.active .bar::after{
    transform: translateY(0) rotate(45deg);
}

@keyframes appear{
    0%{
        clip-path: circle(30% at -25% -25%);
    }
    100%{
        clip-path: circle(150% at 0 0);
    }
}

@media screen and (max-width: 870px) {
    .showcase-area .container {
        grid-template-columns: 1fr;
        justify-content: center;
        grid-gap: 2rem;
    }

    .person {
        width: 100%;
        transform: none;
    }

    .hamburger-menu{
        display: flex;
    }

    .link{
        position: fixed;
        top: 0;
        right: 0;
        max-width: 450px;
        width: 100%;
        height: 100%;
        background-color: var(--primaryColor);
        z-index: 95;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: 0.5s;
    }

    .link ul{
        flex-direction: column;
    }

    .link a{
        color: #fff;
        margin-left: 0;
        padding: 2rem 0;
    }

    .link .btn{
        background: none;
    }

    .overlay{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        pointer-events: none;
        transition: 0.5s;
    }

    .big-wrapper.active .link{
        transform: translateX(0);
        box-shadow: 0 0 50px 2px rgba(0, 0, 0, 0.4);
    }

    .big-wrapper.active .overlay{
        pointer-events: all;
        opacity: 1;
    }

}