@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bai Jamjuree', sans-serif;
}

body{
    min-height: 100vh;
    background-color: #d1cbc4;

}

.head{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size: 2rem;
    color: rgb(39, 38, 38);
    text-decoration: none;
    font-weight: 700;
}
.navbar a{
    font-size: 1.15rem;
    color: rgb(39, 38, 38);
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;

}

.icons{
    right: 5%;
    position: absolute;
    font-size: 2.8rem;
    color: rgb(39, 38, 38);
    cursor: pointer;
    display: inline-flex;
    z-index: 101;

}

@media (max-width: 992px){
    .head{
        padding:1.3rem 5%;
    }
}

@media (max-width: 768px){
.icons{
    display: inline-flex;
}
.navbar{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 17.7rem;
    backdrop-filter: blur(50px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    
}
.navbar.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.navbar a{
    display: block;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
}
}
@media(min-width:769px){
    .icons{
        display: none;
    }
    .navbar {
        display: block;
        position: static;
        width: auto;
        height: auto;
        backdrop-filter: none;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }
}

.imageconatiner {
    width: 700px;
    height: 400px;
    overflow: hidden;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.imageconatiner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}
.works{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
} 
.section-box{
    width: calc(45% - 20px);
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    width: 450px;
}

    

@media (max-width: 941px){
    .imageconatiner{
        width: 350px;
        height: 200px;
        border-radius: 50px;
        
    }
    .works{
        margin-top: 10px;
    }
    
        .section-box{
            width: calc(45% - 20px);
            background-color: white;
            padding: 20px;
            margin: 10px;
            border-radius: 10px;
            box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
            width: 400px;
            margin-left: 10px;
            margin-right: 10px;
        }
    }

.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.fade-in {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fade-in li {
    list-style: circle;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 1s ease-in-out forwards;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


@media (max-width: 941px){
   .section-box{
    width: 350px;
    background-color: white;
   }
}
@media(max-width: 941px){
    .section-box{
     width: 300px;
     background-color: white;
    }
 }

@media (min-width: 619px){
    .section-box{
        background-color: white;
        display: inline-block;
        width: 100%;
    }
}

@media (min-width: 390px){
    .section-box{
        width: 400px;
        justify-content: center;
    }
}

.contact{
    bottom: 0;
    position: fixed;
    width: 100%;
    background-color: #6b645d;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.media a{
    
    
   font-size: 2rem;
    color: #eed1af;
    cursor: pointer;
    display: inline-flex;
    
}
.hire{
    color:#000000;
    background-color: #e5ad6c;
    border: none;
    padding: 6px 12px;
    margin-right: 20px;
    width: 70px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

.media a{
    text-decoration: none;
}
