* {
    box-sizing: border-box;
    padding:0;
    margin:0;
}
.img{
    max-width: 100%;
    height: auto;
}
.header {
    background-color: #694A33;
}
.button-register {
    background-color: #FFFAEE;
    border-radius: 65px;
    color: #694A33;
    padding: 10px 30px 10px 30px;
    text-decoration: none;
    font-size: 15px;
}
.logo {
    width: 50px;
    height: 50px;
    margin-top: 8px;
    margin-left: 10px;
}
.button {
    padding: 10px 40px 10px 40px;
    justify-content: center;
    font-size: 15px;
}
.button1 {
    color: #FFFAEE;
    text-decoration: none;
}
.button2 {
    color: #FFFAEE;
    text-decoration: none;
}
.button3 {
    color: #FFFAEE;
    text-decoration: none;
}
.button4 {
    color: #FFFAEE;
    text-decoration: none;
}
.nav-list {
    display:flex;
    justify-content: center;
    align-items: center;
    padding:10px 20px 10px 20px;
}
.header-list {
    display:flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    gap:6%;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 10px 10px 10px;
}
.notice {
    width: 30px;
    height: 30px;
}
.CHMimg {
    width: 100%;
    height: auto;
}
.title-img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.text{
    font-size: 20px;
}

#main{
    display: flex;
    flex-direction: column;
    background-color: #F9F5EB;
}

.section{
    width: 100%;
    display: flex;
    flex-direction: column;
}

#section1{
    display: flex;
}
#section1-img{
    width: 100%;
}
.back{
    color: #f9edd4;
    font-size: 28px;
}
#section2{
    display: flex;
    flex-direction: column;
}
#return{
    display: flex;
    align-items: center;
    background-color: #694A33;
    height: 78px;
}
#return-img{
    display: flex;
    align-items: center;
    margin: 20px;
}
#CHM{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    margin-bottom: 20px;
    gap: 30px;
    padding: 30px;
}
#CHM-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#CHM-right{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#CHM-left-img{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 30%;
}

#CHM-introduction{
    display: flex;
    flex-direction: column; 
    align-items: center; 
    width: 100%;
    padding: 20px;
    background-color: #FFF;
    border-radius: 37px;
}
#CHM-introduction-interact-img{
    width: 136px; 
    height: 136px;  
}

#CHM-introduction-interact{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;

}
#CHM-introduction-interact-img2{
    display: flex;
    justify-content: center;
    flex-direction: column;

}
#introduction-characters{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 8px;  
    width: 100%;
}
#introduction-characters-ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.introduction-characters-li{
    display: flex;  
    padding: 6px;   
    width: 100%;
    height: auto;
}  
.introduction-characters-li-span{
    display: flex;
    align-items: center;
    width: 115px; 
    height: 31px;   
}
.introduction-characters-li-span-p{ 
    color: #6B6969;
    font-size: 24px;
}
.introduction-characters-li-span2{
    display: flex;
    align-items: center;
  
}
.introduction-characters-li-span-p2{
    font-size: 20px;
}
#section3{
    padding-top: 20px;
}
#section3-div{
    display: flex;
    flex-direction: column;
}
#section3-div-video {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 50px;
    list-style-type: none;
}

.section3-div-video-li {
    flex: 1 1 300px;
    max-width: 100%; 
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 0px 0px 43px 43px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.section3-div-video-li:hover {
    background-color: #f0f0f0; 
    transform: scale(1.05); 
}
.section3-div-video-li-div {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; 
}

.section3-div-video-li-div2{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.play-button-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}
.play-button-container:hover img {
    opacity: 0.8;
}
.section3-div-video-li-s{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px 5px 10px;
    width: 100%;
}
.section3-div-video-li-s2{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px 12px 10px 12px;
}
.section3-div-video-li-div-img{
    width: 100%;
}

#section4-div{
    display: flex;
    flex-direction: column;
}
#section4-div2{
    display: flex;
    mix-blend-mode: multiply;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}
#section4-div-p{
    display: flex;
    padding: 10px;
    width: 60%;

}
#section4-div-article2{
    display: flex;
    justify-content: center;
    align-items: center;
}
.section4-div-article2-img{
    width: 100%;
    height: auto;
    margin: 15px;
}
#section4-div-article2-img2{
    object-fit: contain;
}
#section5{
    position: relative;
    overflow: hidden;
}
#section5-div{
    display: flex;
    flex-direction: column;
}
#section5-ul{
    display: flex;
    transition: transform 0.5s ease;
    justify-content: center;
    align-items: center;
    list-style-type: none;
}
.section5-ul-li{
    display: flex;
    margin: 26px;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    z-index: 10;
}


#prev {
    left: 10px;
}

#next {
    right: 10px; 
}
#section6-div2{
    display: flex;
    justify-content: center;
    mix-blend-mode: multiply;
    justify-content: center;
    flex-wrap: wrap;
}
#section6-div2-ol{
    display: flex;
    flex-wrap: wrap;
    list-style-type: none; 
    padding: 20px; 
    margin: 0; 
}
.section6-div2-ol-li{
    display: flex;
    list-style-type: none;
    flex: 1 0 20%;
    justify-content: center;
}
.section6-div2-ol-li-img {
    max-width: 100%;
    height: auto;
}

.footer {
    background-color: #694A33;
    color: white;
    padding: 20px;
}
.footer-p {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-text {
    color: #ffffff;
    border: solid white 0.5px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 15px;
}
.footer-hr {
    margin-left: 15%;
    margin-right: 15%;
}
.footer-li {
    padding: 7px 0px 7px 0px;
    color: white;
    display: flex;
    justify-content: center;
    list-style-type: none;
    gap: 50px;
}
.footer-p {
    color:white;
    text-align: center;
    padding:5px 0px 5px 0px;
}

.footer-pd {
    color:white;
    text-align: center;
    padding:25px 0px 20px 0px;
}

.footer-p:hover{
    color: #f9edd4;
}



@media screen and (max-width: 1024px){
    
    .img {
        width: 100%;
        max-width: none;
    }   
    .CHMimg{
        width: 70%;
        max-width: none;
    }
    #CHM {
        flex-direction: column;
    }

    #CHM-left{
        padding: 20px;
    }
    #section4-div-p{
        width: 100%;
    }
    #section4-div2 {
        flex-direction: column;
    }
    
    .text{
        font-size: 12px;
    }
    
}

@media screen and (max-width: 768px) {
    .header-list {
        flex-direction: column;
        align-items: flex-start; 
    }

    .nav-list {
        flex-direction: column; 
        gap: 10px;
    }
    #CHM-left-img{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 50%;
    }
    .footer-p {
        flex-direction: column; 
        align-items: center; 
    }
    #footer-article{
        display: flex;
        justify-content: center;
    }
    .footer-li {
        flex-direction: column; 
        justify-content: center;
        gap: 10px; 
    }
}

@media screen and (max-width: 430px){
    
    .img {
        width: 100%;
        max-width: none;
    } 
    .back{
        display: none;
    }
    #return-img{
        display: none;
    }
    #return{
        display: flex;
        align-items: center;
        background-color: #694A33;
        height: 50px;
    }
    .CHMimg{
        width: 50%;
        max-width: none;
    }   
    #CHM {
        flex-direction: column;
    }

    #CHM-left{
        padding: 20px;
    }
    .text{
        font-size: 10px;
    }
    #section4-div-p{
        width: 100%;
    }
    
    .section4-div-article2-img{
        width: 30%;
        height: auto;
        margin: 15px;
    }
    .introduction-characters-li-span-p{
        font-size: 16px;
    }
    .introduction-characters-li-span-p2{
        font-size: 14px;
    }
}