*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: #fff;
    font-family:sans-serif;
}
.header{
    background: #a5c;
    padding: 16px;
}
.nav{
    max-width: 1280px;
    height: 70px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;    
}
.logo{
    flex: 1;
    font-size: 48px;
}
.nav-list{
    list-style: none;
    display: flex;
    gap: 32px;
}
.nav-list a{
    color: #fff;
    font-size: 24px;
    padding-block: 16px;
    opacity: 0;
}
.nav-list li:nth-child(1) a{
    transition: 0.5s ease-out 0.2s;    
}
.nav-list li:nth-child(2) a{
    transition: 0.5s ease-out 0.4s;
}
.nav-list li:nth-child(3) a{
    transition: 0.5s ease-out 0.6s;
}
.hero{
    height: calc(100vh - 70px);
    background: center / cover no-repeat url('./bg.jpg');    
}
.hamburger{
    border: none;
    display: none;
    background: none;
    border-top: 3px solid #fff;
    cursor: pointer;
}
.hamburger::before, 
.hamburger::after{
    content: " ";
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    margin-top: 5px;
    position: relative;
    transition: 0.3s;
}
@media(max-width:768px){
    .hamburger{
        display: block;
        z-index: 1;
    }
    .nav-list{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #a5c;
        clip-path: circle(100px at 90% -15%);
        transition: 1s ease-out;

        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        gap: 0;
        pointer-events: none;
    }
    .nav.active .nav-list{
        clip-path: circle(1500px at 90% -15%);
        pointer-events: all;
    }
    .nav.active .nav-list a{
        opacity: 1;
    }
    .nav.active .hamburger{
        position: fixed;
        top: 26px;
        right: 16px;
        border-top-color: transparent;
    }
    .nav.active .hamburger::before{
        transform: rotate(135deg);       
    }
    .nav.active .hamburger::after{
        transform: rotate(-135deg);
        top: -7px;
    }
}