*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* default font, and others color */


.top_section{
    /* background-image: url(../img/School.jpeg); */
    height: 100vh;
    width: 100%;
    background-size: cover;
    position: relative;
    z-index: 0;
}
/* Header Section */

header{
    padding: 0% 10%;
    align-items: center;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.382);
    backdrop-filter: blur(5px);
    z-index: 100;
}


header .logo_section img{
    height: 50px;

}
ul{
    display: flex;
    justify-content: space-around;
    gap: 20px;
    
}
nav ul li{
    list-style: none;
}
ul li a{
    text-decoration: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: 0.8s;
}
ul li a:hover{
    color: rgb(255, 255, 255);
    background-color: rgb(2, 156, 33);
}
ul li a:active{
    transition: 0.1s;
    color: rgb(251, 63, 69);
    
}

/* Mobile Navigation */
.nave_display{
    display: none;
}
.nav_icon{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nav_icon .nave_line_section{
    border-radius: 10px;
    width: 40px;
    height: 3px;
    background-color: rgb(255, 255, 255);
}

.nave_bar_content {
    display: none;
    position: fixed;
    top: 60px; /* Adjust based on your header height */
    background-color: rgba(0, 0, 0, 0.382);
    width: 100%;
    text-align: center;
    z-index: 1;
    gap: 20px;
}


.mobile_nave ul{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 20px;
    
}

.mobile_nave{
    padding: 20px 0px;
}
ul li{
    list-style: none;
}
ul li a{
    text-decoration: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: 0.8s;
}
ul li a:hover{
    color: rgb(255, 255, 255);
    background-color: rgb(2, 156, 33);
}
ul li a:active{
    transition: 0.1s;
    color: rgb(251, 63, 69);
    
}




/* Navebar Active */
.nave_bar_content.active {
    display: block;
}

.nav_icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.nav_icon .nave_line_section {
    width: 30px;
    height: 3px;
    background-color: rgb(7, 0, 0);
}
.mobile_nave ui{
    display: flex;
    
}



/* Students Body Section */
.students_body{
    padding: 0% 10%;
    display: flex;
    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    
}

.students_class{
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(70, 69, 69, 0.615);
    height: 200px;
    width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.9s;
    
    /* margin-top: 100px; */
}
.students_class:hover{
    transform: scale(1.1);
    background-color: rgba(2, 150, 34, 0.471);
    border: 2px solid rgb(50, 163, 1);
}

.students_body a{
    text-decoration: none;
    color: black;
}

.students_body a:active{
    background-color: rgba(2, 150, 34, 0.471);
}







/* CSS Responsive */





@media only screen and (max-width: 768px) {
    nav {
        display: none;
    }

    .nave_bar_content {
        display: none;
    } 

    .nave_display{
        display: block;
    }
    .about_section{
        flex-direction: column;
        padding: 5%;
    }
    
    .about_photo img{
        height: 450px;
    }

    .notice_section .notice_post{
        align-items: center;
    
    }

    .notice_section img{
        height: 300px;
        
    }


    .enent_Section .event img{
        height: 200px;
    }




  }



@media only screen and (max-width: 600px) {
    body {
      background-color: lightblue;
    }

/* About Section */
    .about_section{
        flex-direction: column;
        padding: 5%;
    }
    
    .about_photo img{
        height: 250px;
    }
/* Notice Section */
    .notice_section .notice_post{
        flex-direction: column;
    
    }
    /* Event Section */
    .event_content_setion{
        flex-direction: column;
        
    }

    .class_section a{
        text-align: center;
    }
    .notice_section img{
        height: 250px;
        
    }
    .enent_Section .event img{
        height: 200px;
    }
  }






  