body{
    margin-top:60px;
    font-family: "Kanit", sans-serif;

}

*{
    box-sizing: border-box;
    
}
.slideshow-container{
    position:relative;
    background-color:rgb(22,22,22);
    display: flex;
    align-items: center;
    height:670px;


    
}

.mySlides{
    padding:30px;
    display:none;

    

}

.prev,.next{
    cursor:pointer;
    position:absolute;
    top:50%;
    width:auto;
    padding:16px;
    color:white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    
}

.next{
    right:0;
    border-radius: 3px 0 0 3px;
}
.prev:hover,.next:hover{
    background-color: white;
    color:black;
}
.flex-container{
    display:flex;
    padding:20px;
    justify-content: center;
    align-items: center;
    
    
}

.numbertext{
    position:absolute;
    top:10px;
    color:white;
    
}
.dot-container{
   
    position:absolute;
    bottom:20px;
    left:50%;
    transform: translate(-50%, -50%);
    
}
.dot{
    cursor:pointer;
    height:15px;
    width:15px;
    margin:0 2px;
    background-color: #717171;
    border-radius: 50%;
    display:inline-block;
    transition:background-color 0.6s ease;
}

.active,.dot:hover{
    
    background-color: white;
}

.fade{
    animation-name:fade;
    animation-duration: 1.5s;
}

@keyframes fade{
    from{opacity:0.8}
    to{opacity: 1}
}

.image-container{
    
        flex:1;
        overflow: hidden;
        width:100%;
        margin-right: 20px;
        height:300px;
        background-color:black;
}



.image-container img {
    width: 100%; 
    height:100%; 
    object-fit: cover;
} 

.content-container{
    flex:2;
    padding:30px;
    margin-bottom:30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
   
    
}

.content{
    max-width: 1000px; 
}

.content-container h1{
    margin-bottom:40px;
    color:white;
    
}

.mySlides h2{
    margin-bottom:20px;
    COLOR:GREY;
}

@media(max-width:900px){

    .slideshow-container{
        height:auto;
    }

    .image-container{
        margin-right: 0;
    }
    .flex-container{
        flex-direction: column;
        row-gap: 50px;
    }
    .content-container{
        padding:0;
    }
}

@media(max-width:628px){
    .content-container h1{
        font-size:28px;
        
        
    }
    
}
