@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit: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&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bebas Neue';
    color: black;
   
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', serif;
}

body, p {
    font-family: 'teko', sans-serif;

}



ul {
    display: flex;
    gap: 3rem;
    list-style-type: none;
}

body {
  background-color: white;
}

html {
    font-size: 62.5%;
}

button {
    position: relative;
    padding: 1rem 2rem;
    border-radius: 12px;
    background-color: transparent;
    text-decoration: none;
    overflow: hidden;
    color: white;
    border: 0.5px solid rgb(204, 137, 96);
   
    /* transition: background-position 0.5s ease;  */
}

button span {
    position: relative;
    z-index: 1;
}

button:hover {
    cursor: pointer;
    z-index: 1;
    
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(204, 137, 96); 
    z-index: 0; 
   
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform 0.4s ease;
}

button:hover::before {
    transform: scaleX(1); 
}


nav {
    /* margin-top: 1rem; */
    position: fixed;
    width: 100%;
    top: 0;
    align-items: center;
    color: white;
    background: white;
    
    display: flex;
    padding-right: 2rem;
   
    justify-content: space-between;
    height: 4rem;
    padding-left: 2.7rem;
    padding-right: 4rem;
    font-size: 2.3rem;
    border-radius: 4px;
    z-index: 9999;
}

label a {
    color: rgb(204, 137, 96);
}

li a:hover {
    transition: all 0.3s ease-in-out;
    /* box-shadow: 0px 2px 1px rgba(204, 137, 96, 0.1); */
    color: rgb(204, 137, 96);
    cursor: pointer;  
}

a {
    text-decoration: none;
}

.section-one {
    /* background-image: url(images/adrien-olichon-RCAhiGJsUUE-unsplash.jpg); */
    height: 100vh;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;   
    padding: 2%;
}


.hero-text-container {
    font-size: 6.5rem;
    top: 15rem;
    width: 70%;
    /* margin-left: 2%; */
    align-items: center;
    text-align: left;
}

.hero-text-container h6 {
    margin-top: -2rem;
    font-size: 2.5rem;
}

.bio-text-container p {
    margin-top: 2rem;
    font-size: 1.9rem; 
}


.bio-text-container {
    width: 50%;
    /* margin-left: 5rem; */
    /* text-align: center; */
}

.bio-text-container p {
    color: rgb(204, 137, 96);
    font-size: 1.9rem;
}


.bio-text-container button {
    margin-top: 2rem;
    padding: 1rem 6rem;
    
}

.menu-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    list-style-type: none;
}

.menu-hero li {
    font-size: 7rem;
}

.social-container {
    display: flex;
    visibility: hidden;
    opacity: 0;
    gap: 3rem;
    transform: translateY(-100%);
    animation: opacity 0.6s ease, visibility 0.6s ease;
    font-size: 3rem;
}

 .show {
    visibility: visible; 
    opacity: 1;
    animation: drop 0.2s ease-out forwards; 
   
}

.hide {
    animation-direction: reverse; 
}

@keyframes drop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   /* height: 10rem; */
    
}



div img {
    width: 50%;
}

.project {
    display: flex;
   background: rgb(232, 229, 229);
    border-radius: 11px;
    width: 90%;
    margin-left: 4%;
    /* margin: 0 auto; */
    margin-bottom: 2rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
    

}

.project:hover {
    box-shadow: 0px 6px 15px rgba(204, 137, 96, 0.9);
}


.project img {
    transition: transform 0.3s ease;
}

.project img:hover {
    transform: scale(1.05);
}

.project h1 a:hover {
    color: rgb(204, 137, 96);
    transition: color 0.3s ease;
}



.project-text-container {
    font-size: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
    margin: 0 auto;
    margin-top: 4%;
    text-align: center;
    
}

.project-text-container p {
    font-size: 2rem;
    margin-top: 2rem;
    
    line-height: 1.6;
    text-align: center;
}

.section-three {
    margin-top: 6rem;
}

.section-three h1 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 4rem;
   
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: black;
    padding-left: 5rem;
    padding-right: 8rem;
    font-size: 1.4rem;
}




@media (max-width:800px) {
    html {
        font-size: 50%;
    }

    .section-one {
        margin-top: 10rem;
        flex-direction: column;
        justify-content: center;
        gap: 7rem;
    }

    .hero-text-container {
        text-align: center;
        width: 100%;
    }

    .bio-container {
        margin-top: 3rem;
    }

    .bio-text-container {
        width: 50%;
        margin: 0 auto;
        
    }

    .social-container{
        font-size: 5rem;
        gap: 5rem;
    }

    .img-container {
        width: 50%;
        margin-right: 0;
    }

        .project {
        flex-direction: column;
        padding-bottom: 2rem;
    }

    .project img {
        margin: 0 auto;
        width: 100%;
    }

 
        
}

@media (max-width:500px){
    html {
        font-size: 40%;
    }

    nav ul {
        display: none;
    }
    nav label {
        margin: 0 auto;
    }

    nav {
        width: 100%;
       
        margin-left: 0;
        margin-top: 0;
        border-radius: 0;
        border: none;
        border-bottom: 0.5px solid white;
    }

    .bio-text-container {
        width: 80%;
         
    }

    .img-container {
        width: 70%;
    }

    .project {
        flex-direction: column;
        padding-bottom: 2rem;
    }

    .project img {
        margin: 0 auto;
        width: 100%;
    }

    .section-three h1 {
        font-size: 3rem;
    }
}

