@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@100;400;700&display=swap');

body {
    background-color: rgba(10, 10, 10, 1);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
}

header {
    width: 100%;
    height: auto;
}

.logo {
    width: 10%;
    height: 6%;
    padding: 45px 0 0 50px;
    color: #ffffff;
    font-size: 2.2vw;
}

.box-main {
    width: 100%;
    height: auto;
}

.box-main .title {
    width: 100%;
    height: 35vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27vw;
    color: #ffffff;
}

.box-main .box-buttons {
    width: 100%;
    height: 11vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    gap: 20px;
}

.box-main .box-buttons .button {
    width: 15%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 1px solid #ffffff;
    font-size: 2.3vw;
    color: #ffffff;
    cursor: pointer; 
    background-color: transparent; 
    transition: background-color 0.3s ease, color 0.3s ease; 
}
.box-main .box-buttons .button.active {
    background-color: #fff; 
    color: rgba(10, 10, 10, 255);
}
.box-main .box-buttons .button:hover {
    background-color: #ffffff !important;
    color: rgba(10, 10, 10, 1) !important;
} 
.content-box {
    overflow: hidden;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.scroll-container {
    position: absolute;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: auto;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
.box-main .classrooms-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5vw;
    height: 100vw;
}
.box-main .classrooms-items .classrooms-item {
    width: calc(50% - 40px);  
    margin: 20px; 
    height: 25vw;
    overflow: hidden;
    border-radius: 30px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;  
    transform: scale(0);  
    transition: transform 0.5s ease, opacity 0.5s ease;  
    visibility: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-main .classrooms-items .classrooms-item.show {
    opacity: 1;  
    transform: scale(1);  
    visibility: visible; 
    background-color: #000 
}

.box-main .classrooms-items .classrooms-item.hide {
    opacity: 0; 
    transform: scale(0);  
    visibility: hidden;  
    display: none;
}

.box-main .classrooms-items .classrooms-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.526);
    color: #ffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    text-align: center;
}
.overlay h2{
    font-size: 2vw;
}
.overlay .button-see{
    width: 20vw;
    height: 15%;
    border-radius: 20px;
    border: 1px solid #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.4vw;
}
.overlay .button-see:hover{
    background-color: #00000097;
}
footer { 
    width: 100%; 
    height: 5vw;
    background-color: rgb(255, 255, 255);  
    color: rgba(10, 10, 10, 1); 
    font-size: 1.5vw;
    font-weight: 700;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

@media (max-width: 768px) {
   
    .box-main .classrooms{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .box-main .classrooms-items {
        display: block;
    }
    .box-main .classrooms-items .classrooms-item{
        width: 60vh;
        height: 35vh;
    }
    .box-main .classrooms-items {
        max-height: 230vh; 
        height: auto;
    }
}
@media (max-width: 500px) {
    .box-main .classrooms{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .box-main .classrooms-items {
        display: block;
        max-height: 170vh; 
        height: auto;
    }
    .box-main .classrooms-items .classrooms-item{
        width: 40vh;
        height: 25vh;
    }
    .box-main .box-buttons .button {
        font-size: 3.6vw;
    }
    .logo {
        padding: 42px 0 23px 30px;
        font-size: 3.7vw;
    }
    .box-main .title {
        font-size: 29vw;
        margin: 5vh 0
    }
    .overlay .button-see {
        width: 30vw;
        height: 20%;
        font-size: 2.5vw;
    }
    .overlay h2 {
        font-size: 3.8vw;
    }
}



