:root{
    --yellow-color: #F9C22B;
    --orange-color: #EC850F;
    --white-color: #F1F0E9;
    --grey-color: #202123;
    --black-color: #121415;
}

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

.no-scroll {
    overflow: hidden;
}

body{
    background-color: var(--black-color);
}

.wrapper{
    max-width: 1440px;
    margin:auto;
}

header{
    min-height:100vh;
    margin:auto;
    align-items: flex-end;
    border-radius: 0px 0px 0px 48px;
    background: linear-gradient(69deg, #27292B 33.35%, #0A0B0C 85.78%);
}


/* Menu Navigation */

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 32px;
    z-index: 500;
    position: relative;
}

nav ul{
    display:flex;
    align-items: center;
    gap: 48px;
}

nav .burger-menu{
    display: none;
    
}

nav ul li{
    list-style: none;
}

.logo a{
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

nav ul li a, span.name{
    font-family: "Kanit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: var(--white-color);
    transition: all 400ms;
}

nav ul li a:hover{
    color: var(--yellow-color);
}


.menu-container{
    position: fixed;
    display: flex;
    background-color: var(--black-color);
    z-index: 500;
    width:60%;
    height: 100vh;
    top: 0;
    right: -60%;
    padding: 104px 32px;
    justify-content: flex-end;
    pointer-events: none;
    transition: all 400ms ease;
}

.menu-container.active{
    right: 0;
    pointer-events: auto;
    scroll-behavior:unset;
}


.menu-container ul{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.menu-container ul li{
    list-style: none;
    text-align: right;
}

.menu-container ul li a{
    text-decoration: none;
    font-family: "kanit", sans-serif;
}

.menu-container .close-icon{
    position: fixed;
    top:24px;
    right: 32px;
    opacity: 0;
    pointer-events: none;
    transition: all 400ms ease;
}

.menu-container.active .close-icon{
    opacity:1;
    pointer-events: auto;
}

/* Text Styling */

h1,h2,h3{
    color:var(--white-color);
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 100%; /* 48px */
    letter-spacing: 0.96px;
}

h1{
    font-size: 48px;
}

h2{
    font-size: 40px;
}

h3{
    text-transform: none;
    font-size: 24px;
}

p, label, a{
    color: var(--white-color);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    line-height: 150%;
    font-size: 18px;
}

.highlight{
    color: var(--yellow-color);
    font-weight: 500;
}


/* Buttons */

.btn{
    border: 1px solid var(--white-color);
    background-color: transparent;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    transition: all 400ms;
    text-decoration: none;
    color: var(--white-color)
}

.btn.small{
    font-family: "Kanit", sans-serif;
}

.btn:hover{
    background-color: var(--white-color);
    color: var(--grey-color);
}

.btn.cta{
    background-color: var(--yellow-color);
    padding: 16px 32px;
    border: none;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--grey-color)
}

.btn.cta:hover{
    background-color: var(--orange-color);
}

.btn.secondary{
    border-color: var(--yellow-color);
    font-weight: 600;
}

.btn.secondary:hover{
    background-color: var(--yellow-color);
}


/* Hero Section */

.hero-section{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    row-gap: 64px;
    min-height: calc(100vh - 109.69px);
    align-items: center;
    padding: 0px 96px;
}

.hero-section .left{
    display: flex;
    flex-direction: column;
    width: 600px;
    min-width:400px;
    gap: 8px;
    padding: 64px 0;
    z-index: 2;
}

.hero-section .left .btn{
    align-self: flex-start;
    margin-top: 24px;
}

.hero-section .right{
    align-self: flex-end;
    height:100%;
}

.hero-section .right img{
    height:80vh;
    width:auto;
    margin-bottom: -8px;
    align-self: flex-end;
    z-index: 1;
}



/* How it works */

.how-it-works .wrapper{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 160px 64px 192px 64px;
    gap: 128px;
}

.steps{
    display:flex;
    justify-content: space-between;
    gap:96px;
    justify-content: center;
    align-items: center;
}

.step{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align:center;
    width: 300px;
    color:var(--white-color)
}

.step p{
    font-size: 16px;
    opacity: .5;
    margin-top: 8px;
}

.step img{
    width:64px;
}


/* My Projects */

.work .wrapper{
    padding: 32px 64px 96px 64px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
}

.title{
    background: linear-gradient(90deg, #484B51 0%, #303236 100%);
    background-clip: text;
    line-height: 115%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
    width: fit-content;
}

.work .title{
    margin-bottom: -32px;
}

.project{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    gap:48px;
    padding: 64px 0px;
    background: linear-gradient(90deg, #121415 0%, #202123 49.52%, #121415 100%);
}

.description{
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 480px;
    min-width: 320px;
    align-items: flex-start;
    flex: 1 0 0;
}

.project.reverse{
    flex-direction: row-reverse;
}

.description div{
    display: flex; 
    width: 100%;
    gap: 16px;
    align-items: center;
}

.description .btn{
    align-self: flex-start;
    margin-top: 24px;
}

.btn-figma{
    display: flex;
    margin-top: 24px;
}

.mockup{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    border-radius: 16px;
    overflow: hidden;
    width: fit-content;
    height: fit-content;
}

.mockup img{
    width: 100%; 
    height: auto;
    transition: all 400ms;
}

.mockup img:hover{
    scale:1.05;
}


/* Contact Section */

.contact .wrapper{
    padding: 32px 64px 128px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

form{
    max-width: 800px;
    width: 100%;
}

.contact-padding{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.name-email{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 16px;
    column-gap: 32px;
}

.contact-field{
    flex: 1;
    min-width: 280px;
}

.contact-message{
    width:100%;
}

.contact-padding button{
    align-self: flex-end;
    margin-top: 16px;
}

.contact-inputs{
    min-width: 100%;
    max-width: 100%;
    height:48px;
    border-radius: 8px;
    border: 1px solid transparent;
    margin-top: 8px;
    padding: 16px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: var(--white-color);
    background-color: #1F2022;
}

textarea.contact-inputs{
    height: 192px;
    resize: none;
}

.contact-inputs:focus{
    outline: none;
    border: 1px solid var(--yellow-color);
}

.contact-inputs::placeholder{
    color: #F1F0E9 25%;
}

.submit{
    cursor: pointer;
}


/* Scroll to Top */

.scroll-top{
    position: fixed;
    bottom: 64px;
    right: 0;
    color: var(--black-color);
    width:48px;
    height: 48px;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--yellow-color);
    border-radius: 8px 0 0 8px;
    transition: all 200ms ease;
}

.scroll-top.visible{
    opacity: 1;
}


/* Footer */

footer{
    background-color: var(--grey-color);
}


footer .wrapper{
    padding: 32px;
    display: grid;
    gap: 48px;
    justify-content: space-between;
    grid-template-columns: auto auto auto auto;
}

.footer-links{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer h3{
    text-transform: none;
    font-size: 18px;
    letter-spacing: 0%;
}

footer a{
    display: flex;
    align-items: center;
    gap:8px;
    color: var(--white-color);
    text-decoration: none;
}

footer a:hover{
    color: var(--yellow-color);
}


@media only screen and (max-width: 1024px) {
    h1{
        font-size: 48px;
    }

    h2{
        font-size: 40px;
    }

    p, a{
        font-size: 16px;
    }

    header{
        min-height: 10px;
    }

    nav{
        padding:24px 32px;
    }

    .hero-section{
        min-height:0px;
        flex-direction: column;
        padding: 64px 64px 0 64px;
        gap: 0;
        justify-content: center;
        align-items:center;
    }

    .hero-section .left{
        padding: 0 0;
        max-width:550px;
        width:auto;
        min-width: 50px;
    }


    .hero-section .right img{
        height: 50vh;
        justify-self: center;
    }

    .how-it-works .wrapper{
        padding: 128px 64px;
        gap:64px;
    }

    .contact .wrapper{
        gap: 32px;
    }
    
    .steps{
        flex-direction: column;
        gap: 32px;
    }

    footer .wrapper{
        grid-template-columns: auto auto;
        justify-content: space-around;
        gap:32px;
        padding: 64px 32px;
    }

}



@media only screen and (max-width: 900px) {
    .project, .project.reverse{
        flex-direction: column;
    }

    .logo span{
        display: none;
    }

    .description{
        max-width: 100%;
    }

    .mockup{
        flex: 1 0;
    }

}


@media only screen and (max-width: 450px) {

    nav ul{
        display:none;
    }

    nav .burger-menu{
        display: inline-block;
    }

    h1{
        font-size: 32px;
    }

    h2{
        font-size: 28px;
    }

    h3{
        font-size: 18px;
    }

    header{
        overflow: hidden;
    }
    
    .btn{
        height: 48px;
    }
    
    .btn.cta{
        width:100%;
        justify-content: center;
    }
    
    .hero-section{
        gap: 64px;
        padding: 32px 32px 0 32px
    }
    
    .hero-section .right{
        align-self: center;
    }
    
    .hero-section .right img{
        justify-self: center;
        height: 40vh;
    }
    
    .how-it-works .wrapper{
        padding: 64px 32px;
        gap:32px;
    }
    
    .work .wrapper{
        min-height:0px;
        flex-direction: column;
        padding: 32px 24px;
        gap: 48px;
    }

    .work .title{
        margin-bottom: -16px;
    }

    .project{
        padding: 48px 16px;
    }

    .description{
        min-width: 10px;
    }

    .btn.secondary{
        width:100%;
        justify-content: center;
    }

    .contact .wrapper{
        padding: 32px 32px 64px 32px;
    }

    .contact .btn{
        width:100%;
        justify-content: center;
    }

    form{
        width: 100%;
    }

     footer .wrapper{
        grid-template-columns: auto;
        justify-content:center;
        padding: 64px 32px;
    }

}