@font-face { font-family: etna; src: url('../fonts/etna-free-font.otf'); } 
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
    background-color: #f6f7f0 !important;
}
.footer-container-last a:hover{
    opacity: 0.5;
}
.sidebar-login{
    display: none !important;
}

.mobile-view,.mobile-view-bottom,.close-button-container,.nonportalmenu {
    display: none !important;
}

.sidebar-menu .nav-link{
    width: auto !important;
}
.invis-icon{
    margin-left: 25px !important;
}
.sidebar-expand-lg.layout-fixed .app-sidebar{
    min-height: fit-content;
}
.sidebar-brand .brand-link .brand-image{
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.sidebar-brand{
    height: 2.25rem !important;
    width: 100%;
    padding:0.8125rem 0 !important;
}
/* Submenu hidden by default */
    .submenu {
    display: none;
    padding-left: 20px;
    background: #2f3542;
    }
/* Hide submenu by default */
.has-submenu .submenu {
  display: none;
}

/* Show only when open */
.has-submenu.open .submenu {
  display: block;
}
*{
    box-sizing: unset !important;
}
.change-wrapper{
    display: block !important;
}
.all-content{
    background-color: #f6f7f0;
}

.navbar-nav img:hover,.navbar-nav a:hover,.dropbtn:hover{
    filter: brightness(0) saturate(100%) invert(24%) sepia(78%) saturate(1973%) hue-rotate(119deg) brightness(100%) contrast(98%); 

}

.navbar-container{
    background-color: #025a14;
    color: white;
}
.navbar-nav{
    color: white !important;
}
.logo-container{
    display:flex;
    grid-column: 1/6;
    justify-self: left;
    align-items: center;
    margin: 0;
    
}
.navbar-nav .nav-link{
    display: flex;
    justify-content: center;
    align-items: center;
}
.navbar-container a{
    height: auto !important;
}
.logo-container h1{
    padding-bottom: 5px;
    margin: 0;
    padding-left: 70px;
    font-size: 20px;
    font-family: "etna";
    color: white;
}
.sidebar-burger{
    font-size: 16px !important;
    padding: 10px 20px !important;
}
.nav-container{
    height: 70px;
    background-color: #08b55d;
}
.navbar-banner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo-container h3{
    color: white;
    margin: 0;
    padding-left: 70px;
    font-size: 14px;
    font-family: "Titillium Web";
    font-weight: 400;
    font-style: normal;
}
.logo-container a{
    color: black;
    text-decoration: none;
}
.logo{
    position: absolute;
    width: 50px;
    height: 50px;
}
.navbar-nav img:hover,.navbar-nav a:hover,.dropbtn:hover{
    filter: brightness(0) saturate(100%) invert(24%) sepia(78%) saturate(1973%) hue-rotate(119deg) brightness(100%) contrast(98%); 

}
.navbar-nav a p{
    margin: 0;
    padding-left: 2px;
}
.navbar-container{
    background-color: #025a14;
    color: white;
}
.navbar-nav{
    color: white !important;
}
.nav-icon-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-icon-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-icon-container1{
    margin-bottom: 5px;
    margin-left: 5px;
}
.nav-icon-container2{
    margin-bottom: 5px;
    margin-right: 2px;
}
.nav-icon-container3{
    margin-bottom: 5px;
    margin-right: 2px;
}
.nav-icon-container4{
    margin-bottom: 5px;
    margin-right: 2px;
}
.nav-icon-container5{
    margin-bottom: 5px;
    margin-right: 2px;
}
.nav-icon-container6{
    margin-bottom: 5px;
    margin-right: 2px;
}

  #popupOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  #popupBox {
    background: white;
    color: #333;
    padding: 24px 32px;
    border-radius: 12px;
    max-width: 90%;
    width: 320px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
    position: relative;
    text-align: center;
  }

  .closeBtn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
  }
.logo-container{
    display:flex;
    grid-column: 1/6;
    justify-self: left;
    align-items: center;
    margin: 0;
}

.welcomeText-wrapper{
    position: relative;
    width: 100%;
    
}
.welcomeText-container{
    position: absolute;
    top: 0;
    left: 70%;
    text-align: center;
    animation: animationLeft 1s;
    display: block;
    z-index: 1;
    width: 60vw;
    height: 300px;
}

.welcomeText-container h1{
    width: 100%;
    font-size: clamp(5rem, 5vw, 5vw);
    color: white;
    font-family: etna;
    -webkit-text-stroke: 2px gray;
    font-weight: bolder;
}
@keyframes animationLeft{
    0%{ left: -100%;}
    100%{ left: 70%;}
}

.toggle_btn{    
    cursor: pointer;
}
.hamburger-contents{
    display: none;
}


/* Dropdown menu (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #025a14;
    min-width: 100px;
    
}
.dropdown-content button{
    color: white;
    padding: 0px 16px;
    width: 100%;
    line-height: 50px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    font-family: "Titillium Web";
    font-weight: 400;
    cursor: pointer;
    background-color: #025a14;
    border:none;
}

.dropdown-content button:hover {
    background-color: #05751b;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}


/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content.show {
  display: block;
}
.hamburger{
    font-size: 2rem;
}

.popup-form{
    padding: 0 2%;
}
.popup-form a{
   color: black;
   text-decoration: none;
   
}
.popup-form a:hover{
   color: black;
   text-decoration:underline;
   
}
.popup-overlay input{
    width: 100% !important;

}
/* Overlay active */
.popup-overlay.popup-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Form base */
.popup-form {
  background: #fff;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);

  transform: translateY(-40px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease !important;
}
.popup-form{
    width: 22%;
    min-height: 480px;
    border:2px solid gray;
    border-radius: 10px;
    font-weight: bold;
    background-color: white;
}
/* Animate in */
.popup-form.popup-animate {
  transform: translateY(0);
  opacity: 1;
}
/* Overlay base */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease !important;
  z-index: 2000; /* mas mataas kesa bootstrap modals */
  pointer-events: none;
}


.popup-form h1, .popup-form p{
    text-align: center; 
}
.popup-form h1{
    font-size: 38px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    color: black;
    margin-top:30px;
}
.popup-form p{
    font-size: 16px;
}
.popup-form label{
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}
.popup-form input{
    box-sizing: border-box;
    padding: 7px 0px 7px 7px;
    width: 100%;
    font-size: 14px;
    border: 2px solid gray;
    border-radius: 5px;
    margin-top: 5px;
    background-color: #e5e3ed;
}
.username-container{
    padding: 0 10px 0 10px;
}
.show-pass-label {
    font-size: 0.95em;
    margin-left: 5px;
    cursor: pointer;
    color: black;
    text-decoration: none;
    font-size: 13px !important;
    font-family: Arial, Helvetica, sans-serif; 
}
.popup-overlay .sign{
    font-size: 13px !important;
    color: #6885ff;
}
.forgot-link{
    margin-right: 10px;
    margin-top: 10px;
    font-size: 13px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #6885ff !important;
    float: right;
}.buttons-container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
}
.buttons-container button{
    padding: 7px 14px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #025a14;
    border-radius: 10px;
    border: none;
    font-family: 'Times New Roman', Times, serif;
    margin-left: 4px;
    margin-right: 4px;
}

.buttons-container .login-linkbutton{
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    
}
.play-icon{
    position:absolute;
    top:20%; 
    float:right;
    right: 3%;
    z-index: 1;
}
.carousel {
    position: relative;
    width: 100%;
    height: 900px;
    grid-column: 1/-1;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

#toggleButton {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 10;
    font-size: 14px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

@keyframes slide {
    0% { transform: translateX(0); }
    33.33% { transform: translateX(-100%); }
    66.66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}
.content-container{
    position: relative;
    width: 100%;
    height: 900px;
    margin-top: 6em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.overlay-bg{
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 29%;
    width: 60rem;
    height: 100%;
}

.firstpage{
    background-color: #d0e9ca;

}
.pages{
    margin: 50px auto;
    width: 800px;
    min-height: 0;
}

.firstpage p{
    text-align: justify;        /* justify the text */
    text-indent: 2em;           /* indent first line */ 
    line-height: 1.6;           /* improve readability */
    font-size: 25px;           /* set font size */
    margin: 0;
    font-weight: 550;
}

.title-wrapper{
    border-top: 4px solid black;
    margin-top: 60px !important;
    display: flex;
    justify-content: center;
    margin: 60px auto;
}
.firstpage-pic-wrapper{
    position: relative;
    width: 100%;
    height: auto;
    background: url("../images/EVENT-IMAGE.png");
    background-repeat: repeat-y;
    background-size: cover;
    /* Remove background-color and blend mode here */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    flex-direction: column;
    line-height: 2;
}


.firstcontent-pic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* or a fixed height */
}

.firstcontent-pic-container img {
    width: 100%;
    max-height: 300px; /* adjust as needed */
    object-fit: cover;
}

.firstpage-pic-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(89,99,88,0.8); /* Tint color */
    z-index: 1;
    pointer-events: none;
}

.firstpage-pic-wrapper > * {
    position: relative;
    z-index: 2;
}
.history{
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}
.mission-vision{
    position: relative;
    padding: 100px auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: start;
}
.title-vision,.title-mission{
    position: relative;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
.title-vision{
    margin: 0 100px 0 0;

}
.title-mission{
    margin: 0 0px 0 100px;
}
.title-mission p,.title-vision p{
    margin-top: 30px;
}
.teachers-pic-outercontainer{
    width:1050px;
    text-align: center;
    margin-top: 50px;
    border-top: 4px solid;
}
.teachers-pic-outer-wrapper{
    width: 100%;
    margin-top: 50px;
    display: flex;
    height: auto;
    justify-content: center;
    align-items: center;
}
.teachers-pic-outer-wrapper h2{
    margin: 0;
    font-size: 32px;
}
.teachers-pic-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width:1050px;
    height:auto;
    margin: 50px 0;
    font-size: 20px;
    font-weight: bold;
    box-sizing: border-box;
}
.teachers-pic-container::after {
    content: "";
    position: absolute;
    bottom: 0;         /* put it at the bottom */
    left: 0;           /* start from left */
    width: 30%;        /* control how long (half of the box) */
    border-bottom: 4px solid #497250;
}
.teachers-pic-container::before {
    content: "";
    position: absolute;
    top: 0;         /* put it at the bottom */
    right: 0;           /* start from left */
    width:30%;        /* control how long (half of the box) */
    border-top: 4px solid #497250;
}
.teachers-pic-container img{
    padding: 50px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}
.teachers-pic-wrapper{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1000px;
    height: 100%;
    font-size: 20px;
    font-weight: bold;
    box-sizing: border-box;
}
.teachers-pic-wrapper::before{
    content: "";
    position: absolute;
    top: 0;         /* put it at the bottom */
    right: 0;           /* start from left */
    height:35%;        /* control how long (half of the box) */
    border-right: 4px solid #497250;
}
.teachers-pic-wrapper::after{
    content: "";
    position: absolute;
    bottom: 0;         /* put it at the bottom */
    left: 0;           /* start from left */
    height: 35%;        /* control how long (half of the box) */
    border-left: 4px solid #497250;
}
.titlesecond-container{
    position: relative;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.titlesecond-container::before{
    content: "";
    position: absolute;
    top: 0;         /* put it at the bottom */
    width: 80%;        /* control how long (half of the box) */
    border-top: 4px solid #265531;
    
}
.titlesecond-container::after{
    content: "";
    position: absolute;
    bottom: 0;         /* put it at the bottom */
    width: 80%;        /* control how long (half of the box) */
    border-bottom: 4px solid #265531;
}
.left-rectangle, .right-rectangle{
    width: 100%;
    height: 70%;
    background-color: #173018;
}
.title-secondpage{
    margin: 0;
    padding: 0 40px;
    font-size: 50px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    justify-content: center;
    align-items: center;
}
.secondpage-content {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 1fr 1fr;
    gap: 40px 60px;
    margin: 60px 0;
    width: 100%;
    background: #d0e9ca;
    align-items: start;
}

.main-article {
    grid-row: 1 / span 2;
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: transparent;
}

.main-article img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}
.main-article-wrapper{
    width: 400px;
    height: auto;
    margin-left: 150px;
}

.main-article h1 {
    font-size: 1.7rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 16px;
}

.main-article .readmore-btn {
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 10px 30px;
    background: #ccc;
    color: black;
    font-weight: 400;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.side-articles {
    grid-row: 1 / span 2;
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.side-article {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: transparent;
}

.side-article img {
    width: 400px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    flex-shrink: 0; /* Prevent shrinking */
}

.texts-secondpage-container {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin-left: 30px; /* Add spacing between image and text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.side-article h2 {
    font-size: 1.2rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 0;
}

.side-article p {
    margin: 25px 0 25px 0;
    font-size: 1.1rem;
    font-family: 'Times New Roman', Times, serif;

}

.side-article .readmore-btn {
    font-size: 1rem;
    padding: 8px 24px;
    text-decoration: none;
    font-weight: 400;
    background: #ccc;
    color: black;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: auto;
}
.secondpage a{
    text-decoration: none;
    color: black;
}
.secondpage p{
    font-family: 'Times New Roman', Times, serif;
    width: 100%;

}

#secondpage-otherpic1{
    grid-column: 3;
}
#secondpage-otherpic2{
    grid-column: 5;
}
.secondpage-otherpics-container img{
    height:300px;
    width: 100%;
    box-sizing: border-box;
}
.thirdpage{
    position: relative;
    background-color: #d0e9ca;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}
.text p{
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
}
.text h3{
    text-align: center;
    font-family: etna ;
    font-size: 24px;
}
.v1{
    padding-bottom: 30px;
}
.thirdpage-pic-container{
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    width: 400px;
}
.thirdpage-pic-container img {
    width: 100%;
    max-width: 400px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}
.thirdpage-pic-container .text {
    width: 100%;
    text-align: left;
    margin-bottom: 16px;
}
.thirdpage-pic-container h3 {
    font-family: etna, 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-align: left;
}
.thirdpage-pic-container p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    margin: 0;
}
.thirdpage-pic-container .readmore-btn {
    margin-top: 10px;
    font-size: 1rem;
    padding: 10px 30px;
    background: #ccc;
    color: black;
    font-weight: 400;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.item-wrapper{
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.v2{
    padding-top: 10px;
    
}
.footer{
    max-width: 100%;
    position: relative;
    
}
.students,.faculty,.staff{
    padding: 30px 60px;
    width: 100px;
    border: 3px solid #778d79;
    background-color: #1c4324;
    color: white;
    
}
.students,.faculty{
    margin-right: 150px;
}
.footer-container-first{
    width: 100;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background-color: #f6f7f0;
    margin: 0px auto;
}
.footer-container-first img{
    padding-left: 15px;
    
}

.footer-container-first h1{
    font-size: 50px;
    margin: 0;
    font-family: etna;
    text-align: center;
    color: #fbdd59;
} 
.footer-container-first p{
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding-top: 10px;
    font-family: etna;
    margin: 0;

}

.footer-container-last{
    background: url("../images/bg-footer.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
    justify-content: center;
    display: flex;
}

.about-links,.Quick-links,.socmed-links{
    height: 380px;
    width: 500px;
    max-width: 100%;
    background-color: #1d4c28;
    opacity: .9;
    color: white;
    border: 1px solid #2d5c38;
    margin: 30px 0;
}
.contact-links{
    height: 380px;
    width: 500px;
    background-color: #1d4c28;
    border: 1px solid #2d5c38;
    opacity: .9;
    color: white;
    margin: 30px 0;
}
.about-links,.Quick-links,.contact-links{
    
    margin-right: 20px;
}
.about-links h1,.Quick-links h1,.contact-links h1,.socmed-links h1{
    width: 100%;
    font-family: etna;
    font-size:35px;
    margin-top: 50px;
}
.about-links ul li,.Quick-links ul li,.contact-links ul li,.socmed-links ul li{
    width: 80%;
    padding-left: 20px;
    font-size: 23px;
    font-family:'Times New Roman', Times, serif;
    padding-bottom: 20px;
    white-space: pre-wrap;
    justify-self: center;
}
.footer-logo{
    display: flex;
    padding: 0;
    width: 100%;
    height: 100px;
    justify-content: end;
    align-items: center;
}
.logo-wrapper{
    padding-top: 0px;
    padding-right: 65px;
}
.footer-logo .title{
    font-family: etna;
    font-size: 30px;
}
.footer-logo h3{
   font-family: "Titillium Web";
   margin: 0;
   font-size: 17px;
   font-weight: 400;
}
.footer-logo .title, .footer-logo p{
    margin: 0;
    padding: 0;
}
.footer-logo-icon{
    margin: 0;
    padding: 0;
    position: absolute;
    width: 80px;
    height: 80px;
    right: 420px;
     
}
.buttonsarticle-container{
    width: 100%;
}
.contact-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;    
    margin: 150px auto;
}
.contact-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    background-color: #2d5c38;
}
.contact-title{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.contact-container h1{
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 23px;
    margin: 0;
    color: white;
    font-family: "Times New Roman", Times, serif;
}
.leftline, .rightline{
    width: 100%;
    height: 4px;
    background-color: white;
}
.contact-headinfo{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    flex-direction: column;
}
.contact-headinfo h2{
    font-size: 35px;
    color: white;
    font-family: "Times New Roman", Times, serif;
    margin: 0;

}
.contact-headinfo h3{
    font-size: 23px;
    color: white;
    font-family: "Times New Roman", Times, serif;
    margin: 0;
}
.contact-headinfo i{
    font-size: 12px;
    background-color: white;
    color: black;
    padding: 5px;
    border-radius: 50%;
    margin-right: 10px;
}
.contact-headinfo p{
    font-size: 20px;
    color: white;
    font-family: "Times New Roman", Times, serif;
    margin: 0;
}
.more-contactinfo{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.morecontact-infoleft{
     font-family: "Times New Roman", Times, serif;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.morecontact-infoleft i{
    font-size: 20px;
    color: white;
    margin-right: 20px;
}
.morecontact-inforight p{
    color: white;
    margin-bottom: 0 !important;
}
.morecontact-inforight p i{
    margin-right: 10px;
}
.morecontact-inforight{
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.morecontact-inforight a{
    text-decoration: none;
    color: black;
    font-family: "Times New Roman", Times, serif;
    display: flex;
    justify-content: center;
    align-self: center;

}
.morecontact-inforight a i{
    font-size: 20px;
    color: white;
    height: 20px;
}
.morecontact-infoleft p{
    margin-bottom: 0 !important;
}
.morecontact-inforight a p{
    color: white;
    margin-left: 10px;
    margin: 0;
    padding-left: 10px;
}
.contact-profile{
    text-align: center;
}
.bottom-contacts-container{
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto auto;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 50px 0;
    background-color: #265531;
    gap: 2em;
    color: white;
}
.bottom-contacts-wrapper{
    margin-bottom: 250px;
}
.bottom-contacts-container h1{
    font-size: 23px;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding-bottom: 20px;
}
.bottom-contacts-container h2{
    font-size: 20px;
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding-bottom: 10px;
}
.bottom-contacts-container i{
    padding: 5px;
    font-size: 12px;
    background-color: white;
    color: black;
    border-radius: 50%;
    margin-right: 10px;
}
.password-container {
    width: 100%;
    position: relative;
    display: inline-block;
}

.password-container input {
  width: 100%;
  box-sizing: border-box;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
  font-size: 18px;
}
 /* Right sidebar default hidden */
    .right-sidebar {
      position: fixed;
      top: 0;
      right: -300px; /* hidden */
      width: 250px;
      height: 100%;
      background: #343a40;
      color: #fff;
      padding: 1rem;
      transition: right 0.3s ease-in-out;
      z-index: 1050;
      overflow-y: auto;
    }
@media (max-width:1600px){ 
    .teachers-pic-container{
        width: 750px !important;
        margin: 50px 0 !important;
    }
    .teachers-pic-wrapper{
        width: 700px;
    }
    .thirdpage-pic-container{
        width: 300px;
    }
    .history p{
        font-size: 17px;
    }
    .mission-vision p{
        font-size: 17px;
    }
    .mission-vision h1{
        font-size: 22px;
    }
    .teachers-pic-container img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-container{
        width: 100%;
        height: auto;
    }
    .teachers-pic-wrapper img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-wrapper h3{
        font-size: 17px;
    }
    .teachers-pic-wrapper p{
        font-size: 17px;
    }
    .teachers-pic-wrapper .readmore-btn{
        font-size: 16px;
    }
    .teachers-pic-container h3{
        font-size: 17px;
    }
    .teachers-pic-container p{
        font-size: 17px;
    }
    .teachers-pic-container .readmore-btn{
        font-size: 16px;
    }

    .main-article img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    .main-article-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .main-article h1 {
        font-size: 1.5rem;
    }
    .side-article img {
        width: 300px;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    .side-article h2 {
        font-size: 1.2rem;
        font-family: 'Times New Roman', Times, serif;
        font-weight: bold;
        margin-bottom: 8px;
    }
    .side-article p {
        font-size: 1.1rem;
        font-family: 'Times New Roman', Times, serif;
        margin-bottom: 12px;
    }
    .side-article .readmore-btn {
        font-size: 1rem;
        padding: 8px 24px;
        font-weight: 400;
        background: #ccc;
        color: black;
        border-radius: 8px;
        border: none;
        cursor: pointer;
    }
    
    .title-vision h1, .title-mission h1{
        font-size: 17px;
    }
    .title-vision p, .title-mission p{
        font-size: 17px;
    }
    .title-secondpage{
        font-size: 40px;
    }

    .main-article img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    .main-article-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .main-article h1 {
        font-size: 1.5rem;
    }
    .welcomeText-container h1{
        font-size: clamp(2rem, 5vw, 5vw);
    }
    .overlay-bg{
        left: 23%;
        width: 55rem;
        
    }
    
    .firstpage h1{
        font-size: 30px;
        padding-bottom: 50px;
    }
    .firstpage{
        width: 100%;
        min-height: 20vh;
    }
    .firstpage pre{

        font-size: 1.34em;
    }

    .secondpage p{
        font-size: 14px;

    }
    .title-secondpage{
        font-size: 30px;
    }

    .thirdpage-pic-container{
        font-size: 15px;
    }
    .text p{
        font-size: 14px;
    }
    .text h3{
        font-size: 16px;
    }
    .students, .faculty, .staff{
        padding: 20px 60px;
    }
    .footer-container-first h1{
        font-size: 40px;
    }
    .footer-container-first p{
        font-size: 20px;
    }
    .footer-container-first img{
        padding-left: 15px;
        width: 70px;
    }
    .footer-logo .title{
        font-size: 26px;
    }
    .footer-logo h3{
        font-size: 11px;
        font-weight: 400;
    }
    .footer-logo-icon{
        width: 70px;
        height: 70px;
        right: 380px;
    }
    .footer-container-last{
        height: auto;
    }
    .about-links,.Quick-links,.socmed-links{
        width: 400px;
    }
    .contact-links{
        width: 400px;
    }
    .about-links h1,.Quick-links h1,.contact-links h1,.socmed-links h1{
        font-size:25px;
    }
    .about-links ul li,.Quick-links ul li,.contact-links ul li,.socmed-links ul li{
        font-size: 20px;

    }
}
@media (max-width:1366px){
    .teachers-pic-container{
        width: 550px !important;
        margin: 50px 0 !important;
    }
    .teachers-pic-wrapper{
        width: 500px;
    }
    .thirdpage-pic-container{
        width: 300px;
    }
    .thirdpage-pic-container{
        width: 200px;
    }
    .thirdpage-pic-container img{
        height: 150px;
    } 
    .history p{
        font-size: 15px;
    }
    .mission-vision p{
        font-size: 15px;
    }
    .mission-vision h1{
        font-size: 20px;
    }
    .teachers-pic-container img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-container{
        width: 100%;
        height: auto;
    }

    .teachers-pic-wrapper img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-wrapper h3{
        font-size: 15px;
    }
    .teachers-pic-wrapper p{
        font-size: 15px;
    }
    .teachers-pic-wrapper .readmore-btn{
        font-size: 14px;
    }
    .teachers-pic-container h3{
        font-size: 15px;
    }
    .teachers-pic-container p{
        font-size: 15px;
    }
    .teachers-pic-container .readmore-btn{
        font-size: 14px;
    }
    .main-article img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    .main-article-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .main-article h1 {
        font-size: 1.5rem;
    }
    .side-article{
        flex-direction: column;
    }
    .side-article img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    .side-article h2 {
        font-size: 1.2rem;
        font-family: 'Times New Roman', Times, serif;
        font-weight: bold;
        margin-bottom: 8px;
    }
    .side-article p {
        font-size: 1.1rem;
        font-family: 'Times New Roman', Times, serif;
        margin-bottom: 12px;
    }
    .side-article .readmore-btn {
        font-size: 1rem;
        padding: 8px 24px;
        font-weight: 400;
        background: #ccc;
        color: black;
        border-radius: 8px;
        border: none;
        cursor: pointer;
    }
    .popup-form h1, .popup-form p{
        text-align: center; 
    }
    .popup-form h1{
        font-size: 28px;
    }
    .popup-form p{
        font-size: 12px;
    }
    .forgot-link{
        font-size: 12px;
    }
    .popup-form label{
        font-size: 15px;
        font-family: Arial, Helvetica, sans-serif;
    }

    .overlay-bg{
        left: 0%;
        width:32rem;
        left: 32%;
        height: 35em;
        transform: translateY(140px);
    }
    .content-container{
        margin-top: 4em;
        height: 700px;
    }
    .carousel{
        height: 700px;
    }
    #toggleButton{
        width: 30px;
        height: 30px;
    }
    
    .firstpage h1{
        font-size: 18px;
        padding-bottom: 50px;
    }
    .firstpage{
        width: 100%;
        min-height: 20vh;
    }
    .pages{
        width: 740px;
        
    }
    .firstpage pre{
        font-size: 1em;
    }
    .firstpage-pic-container img{
        padding-right: 50px;
    }
    .secondpage p{
        font-size: 11px;
    }
    .secondpage-otherpics-container{
        margin-top: 190px;
    }
    .secondpage-otherpics-container img{
        height: 130px;
    }
    .title-secondpage{
        font-size: 18px;
    }
    .readmore-btn{
        font-size: 11px;
    }


    .thirdpage-pic-container{
        font-size: 11px;
        
    }
    .thirdpage-otherpics-container.v1{
        padding-top: 140px;
    }
    .text p{
        font-size: 11px;
    }
    .text h3{
        font-size: 11px;
    }
    .students, .faculty, .staff{
        padding: 15px 30px;
    }
    .students, .faculty{
        margin-right: 50px;
    }
    .footer-container-first h1{
        font-size: 30px;
    }
    .footer-container-first p{
        font-size: 14px;
    }
    .footer-container-first img{
        padding-left: 25px;
        width: 50px;
    }
    .footer-logo .title{
        font-size: 16px;
    }
    .footer-logo h3{
        font-size: 9px;
        font-weight: 400;
    }
    .footer-logo-icon{
        width: 40px;
        height: 40px;
        right: 260px;
    }
    .about-links,.Quick-links,.socmed-links{
        width: 250px;
    }
    .contact-links{
        width: 250px;
    }
    .about-links h1,.Quick-links h1,.contact-links h1,.socmed-links h1{
        font-size:18px;
        margin: 30px 0;
    }
    .about-links ul li,.Quick-links ul li,.contact-links ul li,.socmed-links ul li{
        font-size: 10px;

    }

}
@media (max-width:800px){
    .contact-container{
        width: 100%;
        height: auto;
        padding: 20px;
    }
    .contact-headinfo h2{
        font-size: 20px;
    }
    .contact-headinfo h3{
        font-size: 15px;
    }
    .morecontact-infoleft i{
        font-size: 15px;
    }
    .morecontact-inforight a p{
        font-size: 15px;
    }
    .morecontact-inforight a i{
        font-size: 15px;
    }
    .bottom-contacts-container h1{
        font-size: 20px;
    }
    .bottom-contacts-container h2{
        font-size: 15px;
    }
    .bottom-contacts-container i{
        font-size: 10px;
    }
    .more-contactinfo{
        flex-direction: column;
        align-items: center;

    }
    .bottom-contacts-container{
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto auto;
    }
    .teachers-pic-container{
        width: 350px !important;
        margin: 50px 0 !important;
    }
    .teachers-pic-wrapper{
        width: 300px;
    }
    .thirdpage-pic-container{
        width: 300px;
    }
    .teachers-pic-container img{
        padding: 20px;
    }
    .side-articles{
        margin-top: 50px;
    }
    .thirdpage-pic-container{
        width: 100%;
    }
    .texts-secondpage-container{
        margin-left: 0;
    }
    
    .thirdpage-pic-container img{
        height: 200px;
    }
    .mission-vision{
        flex-direction: column;
        align-items: center;
    }
    .title-vision, .title-mission{
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }
    .title-secondpage{
        width: auto;
    }
    .show-pass-label,.forgot-link {
        font-size: 12px !important;

    }
    .welcomeText-container{
        width: 95vw;
        left: 10%;
    }
    .welcomeText-container h1{
        font-size: clamp(1.5rem, 4vw, 4vw);
    }
    @keyframes animationLeft{
        0%{ left: -100%;}
        100%{ left: 10%;}
    }

    .openHamburger{
        display: block !important;
    }
    #toggle_btn{
        background-color: transparent;
        border: none;
    }
    #toggle_btn i{
        font-size: 19px;
    }
    .portal-contents li button:hover{
        opacity: 60%;       
    }
    .hamburger-contents{
        width: 200px;
        height: auto;
        position: fixed;
        top: 0;
        right: 0;
        margin-top: 3.1rem;
        z-index: 100;
        background-color: black;
        display: none;
    }
    .portal-contents li button:hover{
        opacity: 60%;       
    }
    .hamburger-contents ul{
        padding: 0;
        margin: 0;
        list-style-type: none;
    }
    .hamburger-contents ul li a{
        display: flex;
        align-items: center;
        color: white;
        text-decoration: none;
        height: 50px;
        width: 100%;
        padding-left: 50px;
        font-size: 20px;
    }
    .hamburger-contents ul li a:hover,.dropbtn:hover{
        color: white;
        background-color: #479966;
    }
    .profile-topleft{
        height: auto;
    }
    .portal-contents{
        width: 150px;
        height: auto;
        position: fixed;
        top: 12%;
        right: 200px;
        z-index: 100;
        background-color: black;
        display: none;
        opacity: 100% ;
    }
    .portal-contents li button{
        display: flex;
        align-items: center;
        color: white;
        background-color: black;
        text-decoration: none;
        height: 50px;
        width: 100%;
        padding-left: 50px;
        border: none;
        cursor: pointer;
    }
    .portal-contents li button:hover{
        opacity: 60%;       
    }
    .overlay-bg{
        left: 0%;
        width:22rem;
        left: 30%;
        height: 17em;
        transform: translateY(28px);
    }
    .content-container{
        margin-top: 3em;
        height: 300px;
    }
    .carousel{
        height: 300px;
    }
    #toggleButton{
        width: 25px;
        height: 25px;
        top: 15px;
        right: 15px;
    }
    
    .firstpage h1{
        font-size: 18px;
        padding-bottom: 50px;
    }
    .firstpage{
        width: 100%;
        min-height: 20vh;
    }
    .pages{
        width: 400px;
        
    }
    .firstpage pre{
        grid-row: 3;
        font-size: 1em;
    }
    .firstpage-pic-wrapper{
        grid-row: 2;
    }
    .firstpage-pic-container img{
        padding-right: 0px;
        width: 100%;
        height: 100%;
        padding-left: 0;
    }
    .secondpage p{
        font-size: 11px;
        margin: 0 !important;
    }
    .secondpage .buttonsarticle-container{
        margin-top: 20px !important;
    }
    .secondpage-otherpics-container{
        margin-top: 0px;
    }
    .secondpage-otherpics-container img{
        height: 80px;
    }
    .secondpage-content{
        display: block;
    }
    .readmore-btn{
        font-size: 7px;
        padding: 4px 6px;
    }
    .teachers-pic-container{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .thirdpage{
        display: block;
    }
    .r1{
        grid-row: 1;
    }
    .r2{
        grid-row: 2;
    }
    .r3{
        grid-row: 3;
    }
    .r4{
        grid-row: 4;
    }
    .r5{
        grid-row: 5;
    }
    .r6{
        grid-row: 6;
    }
    .v1,.v2{
        padding-bottom: 0;
    }

    .thirdpage-otherpics-container{
        grid-column: 2/6;
        height: 50px;
    }
    .thirdpage-otherpics-container.v1{
        padding-top: 0px;
    }
    .text p{
        font-size: 11px;
    }
    .text h3{
        font-size: 11px;
    }
    .footer{
        height: 0;
    }
    .footer-logo{
        height: 50px;
    }
    .footer-container-first{
        padding-left: 0;
    }

    .students,.faculty,.staff{
        margin-right: 0px;
        padding: 10px 20px;
        font-size: 10px;
    }
    .students,.faculty{
        margin-right: 20px;
    }
    .footer-container-first{
        height: 300px;
        padding-left: 0;
        padding-right: 0;
    }
    .footer-container-first img{
        padding-left: 20px;
        width: 20px;
    }
    .footer-container-first h1{
        font-size: 20px;
    }
    .footer-container-first p{
        font-size: 12px;
    }
    
    .footer-container-last{
        background-size: cover;
        display: flex;
    }
    .about-links,.Quick-links,.contact-links,.socmed-links,.footer-logo{
        grid-column: 2;
        margin: 0;
        padding: 0;
    }
    .about-links,.Quick-links,.contact-links,.socmed-links{
        width: 200px;
        margin-top: 20px;
    }
    .socmed-links{
        margin-bottom: 20px;
    }
    .footer-logo .title{
        font-size: 11px;
    }
    .footer-logo h3{
        font-size: 7px;
        font-weight: 400;
    }
    .footer-logo-icon{
        width: 30px;
        height: 30px;
        right: 200px;
    }
}
@media (max-width:500px){
    .bottom-contacts-container{
        grid-template-columns: auto;
        grid-template-rows: auto auto auto auto auto auto auto auto;
        gap: 1em;
    }
    .teachers-pic-container{
        width: 250px !important;
        margin: 50px 0 !important;
    }
    .teachers-pic-wrapper{
        width: 200px;
    }
    .thirdpage-pic-container{
        width: 250px;
    }
    .firstpage p{
        font-size: 12px !important;
    }
    .title-firstpage{
        font-size: 20px !important;
    }
    .show-password-container{
        flex-direction: column;
        align-items: flex-start;
    }
    input[type="checkbox"] {
        vertical-align: middle;
        margin: 0px;
    }
    .password-container{
        margin-left: 0px;
    }
    .welcomeText-container{
        width: 85vw;
        left: 10%;
    }
    .welcomeText-container h1{
        font-size: clamp(1.5rem, 4vw, 4vw);
    }
    @keyframes animationLeft{
        0%{ left: -100%;}
        100%{ left: 10%;}
    }

    .popup-overlay{
        padding: 0;
    }
    .popup-form{
        padding: 20px 50px;
        min-height: 0;
    }

    .popup-form h1{
        font-size: 15px;
    }
    .popup-form label{
        font-size: 12px;
    }
    .popup-form p{
        margin: 0 0 10px 0;
    }
    .forgot-link{
        font-size: 10px;
        margin-right: 0;
    }
    .buttons-container{
        height: 50px;
    }
    .buttons-container button{
        font-size: 12px;
        padding: 10px 10px;
    }
    .overlay-bg{
        left: 0%;
        width:12rem;
        left: 28%;
        height: 10em;
        transform: translateY(40px);
    }
    .hamburger{
        font-size: 20px;
    }
    .content-container{
        margin-top: 3em;
        height: 200px;
    }
    .carousel{
        height: 200px;
    }
    #toggleButton{
        width: 20px;
        height: 20px;
        top: 15px;
        right: 15px;
    }
    
    .firstpage h1{
        font-size: 14px;
        padding: 0px;
        margin: 0;
        height: 30px;
        grid-row: 1;
        margin-top: 50px;
    }
    .pages{
        width: 250px;
        
    }
    .firstpage pre{
        grid-row: 3;
        font-size: .5em;
    }
    .firstpage-pic-wrapper{
        grid-row: 2;
    }
    .firstpage-pic-container img{
        padding-right: 0px;
        width: 100%;
        height: 100%;
        padding-left: 0;
    }
    .side-article{
        flex-direction: column;
        align-items: center;
    }
    .secondpage p{
        font-size: 9px;
    }
    .secondpage-otherpics-container img{
        height: 80px;
    }
    .readmore-btn{
        font-size: 7px;
        padding: 4px 6px;
    }
    .side-article img,.thirdpage-pic-container img{
        height: 150px;
    }

    .students,.faculty,.staff{
        margin-right: 0px;
        padding: 10px 20px;
        font-size: 10px;
    }
    .students,.faculty{
        margin-right: 10px;
    }
    .footer-container-first{
        height: 300px;
        padding-left: 0;
        padding-right: 0;
    }
    .footer-container-first img{
        padding-left: 5px;
        width: 20px;
    }
    .text p{
        font-size: 8px;
    }
    .text h3{
        font-size: 8px;
    }
    .footer{
        height: 0;
    }
    .footer-logo{
        height: 50px;
    }
}
@media (max-width:1300px){
    #toggleButton {
        width: 20px;
        height: 30px;
        
    }
    .title-firstpage{
        font-size: 30px;
    }
    .thirdpage-pic-container{
        width: 200px;
    }
    .thirdpage-pic-container img{
        height: 150px;
    }
    .teachers-pic-container{
        width: 750px !important;
        margin: 50px 0 !important;
    }
    .teachers-pic-wrapper{
        width: 700px;
    }
    .history p{
        font-size: 17px;
    }
    .mission-vision p{
        font-size: 17px;
    }
    .mission-vision h1{
        font-size: 22px;
    }
    .teachers-pic-container img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-container{
        width: 100%;
        height: auto;
    }
    .teachers-pic-wrapper img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-wrapper h3{
        font-size: 17px;
    }
    .teachers-pic-wrapper p{
        font-size: 17px;
    }
    .teachers-pic-wrapper .readmore-btn{
        font-size: 16px;
    }
    .teachers-pic-container h3{
        font-size: 17px;
    }
    .teachers-pic-container p{
        font-size: 17px;
    }
    .teachers-pic-container .readmore-btn{
        font-size: 16px;
    }
    .side-article img {
        width: 200px;
        height: 150px;
    }
    .firstpage h1{
        font-size: 30px;
    }
    .firstpage p{
        font-size: 16px;
    }
    .title-mission,.title-vision{
        width: 100%;
        margin: 0;
    }
    .side-article h2 {
        font-size: 1rem;
    }
    .side-article p {
        font-size: 0.9rem;
    }
    .main-article h1 {
        font-size: 1rem;
    }
    .main-article img {
        width: 200px;
    }
    .main-article-wrapper {
        width: 250px;
    }
    .teachers-pic-wrapper{
        width: 100%;
        height: auto;
    }
    .teachers-pic-container img{
        width: 100%;
        height: auto;
    }
    .grade1,.grade2,.grade3,.grade1parent,.grade2parent{
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        width: 20vh;
        height: 100%;
        background-color: #0b6636;
        justify-content: center;
        z-index: 100;
        font-size: 20px;
        text-align: center;
    }
    .grade3parent,.grade4,.grade5,.grade6{
        display: none;
        position: absolute;
        top: -400%;
        left: 100%;
        width: 20vh;
        height: 100%;
        background-color: #0b6636;
        justify-content: center;
        z-index: 100;
        font-size: 20px;
        text-align: center;
    }
    .grade4parent,.grade5parent,.grade6parent{
        display: none;
        position: absolute;
        top: -400%;
        left: 100%;
        width: 20vh;
        height: 100%;
        background-color: #0b6636;
        justify-content: center;
        z-index: 100;
        font-size: 20px;
        text-align: center;
    }
    .option-h1container h1 a,.student-menu #studentMainMenu{
        font-size: 25px;
        
    }
    .student-menu #studentMainMenu img,.option-h1container img{
        width: 35px;
    }
    .option-container{
        width: 100%;
        margin: 20px 0;
        position: relative;
    }
    .option-container a,.student-menu #studentMainMenu{
        padding-left: 20px;
    }
    .sideMenu-container .user-pic{
        height: 70px;
        width: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: black;

    }
    .sideMenu-container .user-profile{
        height: 160px;
    }
    .sideMenu-container .user-profile h1{
        font-size: 20px;
    }
    .sideMenu-container .user-pic i{
        color: white;
        font-size: 50px;
    }
    .option-container h1{
        text-decoration: none;
        color: white;
        width: 100%;
        cursor: pointer;
        padding-top: 15px;
        padding-bottom: 15px;
        margin: 0;
    }
    .option-container i{
        margin-right: 20px;
        margin-left: 50px;
    }
    #sideMenu{
        width: 400px;
    }
    .all-content{
        width: 100%;
    }
    .sideMenu-container .user-profile{
        width: 400px;
    }

    .overlay-bg{
        left: 0%;
        width:30rem;
        left: 25%;
        height: 35em;
        transform: translateY(140px);
        
    }
    .content-container{
        height: 700px;
    }
    .carousel{
        height: 700px;
    }
    
    .firstpage h1{
        font-size: 25px;
    }
    .firstpage{
        width: 100%;
        min-height: 20vh;
    }
    .pages{
        margin: 50px auto;
        width: 700px;
    }
    .firstpage pre{

        font-size: 14.5px;
    }
    .secondpage p{
        font-size: 14px;

    }
    .secondpage-otherpics-container img{
        height: 190px;
    }
    .title-secondpage{
        font-size: 30px;
    }

    .thirdpage-pic-container{
        font-size: 15px;
    }
    .text p{
        font-size: 11px;
    }
    .text h3{
        font-size: 13px;
    }
    .students, .faculty, .staff{
        padding: 15px 30px;
    }
    .students,.faculty{
        margin-right: 50px;
    }
    .footer-container-first h1{
        font-size: 30px;
    }
    .footer-container-first p{
        font-size: 14px;
    }
    .footer-container-first img{
        padding-left: 25px;
        width: 50px;
    }
    .footer-logo .title{
        font-size: 26px;
    }
    .footer-logo h3{
        font-size: 11px;
        font-weight: 400;
    }
    .footer-logo-icon{
        width: 70px;
        height: 70px;
        right: 380px;
    }
    .footer-container-last{
        height: auto;
    }
    .about-links,.Quick-links,.socmed-links{
        width: 400px;
    }
    .contact-links{
        width: 400px;
    }
    .about-links h1,.Quick-links h1,.contact-links h1,.socmed-links h1{
        font-size:25px;
    }
    .about-links ul li,.Quick-links ul li,.contact-links ul li,.socmed-links ul li{
        font-size: 17px;

    }
}
@media (max-width:1000px){
    .popup-form{
        width: 90%;
        min-height: 480px;
        border:2px solid gray;
        border-radius: 10px;
        font-weight: bold;
        background-color: white;
    }
    .footer-container-last div{
        width: 80% !important;
        height: 300px !important;
        margin: 10px auto;
    }
    .sidebar-brand{
        height: 2.1rem !important;
        width: 100%;
        padding:0.8125rem 0 !important;
    }
    
    .mobile-sidebar{
        display: flex;
        justify-content: space-between !important;
        width: 100%;
    }
    .brand-container{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .closeSidebar2{
        
        background-color: transparent !important;
    }
    .sidebar-brand{
        width: 100%;
        justify-content: space-between !important;
    }
    .burger1,.mobilenav-login{
        display: none !important;
    }
    .mobile-view,.mobile-view-bottom {
        display: block !important;
    }
    .close-button-container{
        display: flex !important;
    }
    .sidebar-expand-lg.layout-fixed .app-sidebar{
        display: block !important;
    }
    .nonportalmenu {
        display: block !important; /* show the hamburger button */
    }
    .navbar-nav{
        display: none !important;
    }
    .app-wrapper{
        display: block !important;
    }
    .sidebar-expand-lg .app-sidebar{
        max-height: 100vh;
    }
    .sidebar-mini .layout-fixed .sidebar-collapse{
        max-height: 100vh;
    }
    .sideMenu-container .user-pic{
        height: 50px;
        width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: black;

    }
    .teachers-pic-container {
        width: 650px !important;
        margin: 50px 0 !important;
    }
    .option-h1container h1 a,.student-menu #studentMainMenu{
        font-size: 20px;
    }
    .student-menu #studentMainMenu img,.option-h1container img{
        width: 30px;
    }
    .option-container a,.student-menu #studentMainMenu{
        padding-left: 10px;
    }
    .sideMenu-container .user-profile{
        height: 140px;
        width: 350px;
    }
    .sideMenu-container .user-profile h1{
        font-size: 17px;
    }
    .sideMenu-container .user-pic i{
        color: white;
        font-size: 30px;
    }
    .option-container h1{
        text-decoration: none;
        color: white;
        width: 100%;
        cursor: pointer;
        padding-top: 15px;
        padding-bottom: 15px;
        margin: 0;
    }
    .option-container i{
        margin-right: 20px;
        margin-left: 50px;
    }
    #sideMenu{
        width: 350px;
    }
    .popup-form h1, .popup-form p{
        text-align: center; 
    }
    .popup-form h1{
        font-size: 28px;
    }
    .popup-form p{
        font-size: 12px;
    }
    .forgot-link{
        font-size: 12px;
    }
    .popup-form label{
        font-size: 15px;
        font-family: Arial, Helvetica, sans-serif;
    }


    .logo-container h1{
        padding-left: 70px;
        font-size: 16px;
    }
    .logo-container h3{
        padding-left:70px;
        font-size: 9px;
    }
    .logo{
        padding-left:10px;
        width: 40px;
        height: 40px;
    }
    .footer-container-first h1{
        font-size: 30px;
    }
    .footer-container-first p{
        font-size: 14px;
    }
    .footer-container-first img{
        padding-left: 25px;
        width: 50px;
    }
    .footer-logo .title{
        font-size: 16px;
    }
    .footer-logo h3{
        font-size: 9px;
        font-weight: 400;
    }
    .footer-logo-icon{
        width: 40px;
        height: 40px;
        right: 260px;
    }
    .about-links,.Quick-links,.socmed-links{
        width: 250px;
    }
    .contact-links{
        width: 250px;
    }
    .about-links h1,.Quick-links h1,.contact-links h1,.socmed-links h1{
        font-size:18px;
        margin: 30px 0;
    }
    .about-links ul li,.Quick-links ul li,.contact-links ul li,.socmed-links ul li{
        font-size: 10px;

    }
    .logo-container h1{
        font-size: 12px;
    }
    .popup-overlay h3{
        font-size: 11px;
    }
    .menu-container {
        display: block; /* show the hamburger button */
    }
    .menu-container button{
        background-color: transparent;
        color: white;
        cursor: pointer;
        border: none;
    }
    /* Show sidebar */
    .right-sidebar.open {
      right: 0;
    }
    /* Nav styles like left sidebar */
    .right-sidebar .nav-sidebar .nav-item {
        margin-bottom: 0.2rem;
    }

    .right-sidebar .nav-sidebar .nav-link {
        color: #c2c7d0;
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
    }
     .right-sidebar .nav-sidebar .nav-link p {
        margin: 0;
    }

    .right-sidebar .nav-sidebar .nav-link.active,
    .right-sidebar .nav-sidebar .nav-link:hover {
    background-color: #1e282c;
    color: #fff;
    }

    .right-sidebar .nav-icon {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
    }
    /* Close button styling */
    #closeSidebar {
        position: absolute;
        top: 10px;
        right: 10px;
        background: black;      /* dark button */
        border: none;
        color: #fff;
        font-size: 1.2rem;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #closeSidebar:hover {
        background: #3c4b53;       /* slightly lighter on hover */
    }

}
@media (max-width:767px){
    
    .sidebar-expand-lg.layout-fixed .app-sidebar{
        display: block !important;
    }
    .logo-container h1{
        font-size: 12px;
    }
    .popup-overlay h3{
        font-size: 11px;
    }
    .menu-container {
        display: block; /* show the hamburger button */
    }
    .menu-container button{
        background-color: transparent;
        color: white;
        cursor: pointer;
        border: none;
    }
    /* Show sidebar */
    .right-sidebar.open {
      right: 0;
    }
    /* Nav styles like left sidebar */
    .right-sidebar .nav-sidebar .nav-item {
        margin-bottom: 0.2rem;
    }

    .right-sidebar .nav-sidebar .nav-link {
        color: #c2c7d0;
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
    }
     .right-sidebar .nav-sidebar .nav-link p {
        margin: 0;
    }

    .right-sidebar .nav-sidebar .nav-link.active,
    .right-sidebar .nav-sidebar .nav-link:hover {
    background-color: #1e282c;
    color: #fff;
    }

    .right-sidebar .nav-icon {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
    }
    /* Close button styling */
    #closeSidebar {
        position: absolute;
        top: 10px;
        right: 10px;
        background: black;      /* dark button */
        border: none;
        color: #fff;
        font-size: 1.2rem;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #closeSidebar:hover {
        background: #3c4b53;       /* slightly lighter on hover */
    }
    .thirdpage-pic-container{
        width: 200px;
    }
    .title-firstpage{
        font-size: 14px ;
    }
    .firstpage p{
        font-size: 12px;
    }
    .thirdpage-pic-container img{
        height: 150px;
    }
    .teachers-pic-container{
        width: 750px !important;
        margin: 50px 0 !important;
    }
    .teachers-pic-wrapper{
        width: 700px;
    }
    .history p{
        font-size: 12px;
    }
    .teachers-pic-outercontainer h2{
        font-size: 14px;
    }
    .mission-vision p{
        font-size: 17px;
    }
    .mission-vision h1{
        font-size: 22px;
    }
    .teachers-pic-container img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-container{
        width: 100%;
        height: auto;
    }
    .teachers-pic-wrapper img{
        width: 100%;
        height: auto;
    }
    .teachers-pic-wrapper h3{
        font-size: 17px;
    }
    .teachers-pic-wrapper p{
        font-size: 17px;
    }
    .teachers-pic-wrapper .readmore-btn{
        font-size: 16px;
    }
    .teachers-pic-container h3{
        font-size: 17px;
    }
    .teachers-pic-container p{
        font-size: 17px;
    }
    .teachers-pic-container .readmore-btn{
        font-size: 16px;
    }
    .side-article img {
        width: 200px;
        height: 150px;
    }


    .title-mission,.title-vision{
        width: 100%;
        margin: 0;
    }
    .side-article h2 {
        font-size: 1rem;
    }
    .side-article p {
        font-size: 0.9rem;
    }
    .main-article h1 {
        font-size: 1rem;
    }
    .main-article img {
        width: 200px;
    }
    .main-article-wrapper {
        width: 250px;
    }
    .teachers-pic-wrapper{
        width: 100%;
        height: auto;
    }
    .teachers-pic-container img{
        width: 100%;
        height: auto;
    }
    .grade1,.grade2,.grade3,.grade1parent,.grade2parent{
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        width: 20vh;
        height: 100%;
        background-color: #0b6636;
        justify-content: center;
        z-index: 100;
        font-size: 20px;
        text-align: center;
    }
    .grade3parent,.grade4,.grade5,.grade6{
        display: none;
        position: absolute;
        top: -400%;
        left: 100%;
        width: 20vh;
        height: 100%;
        background-color: #0b6636;
        justify-content: center;
        z-index: 100;
        font-size: 20px;
        text-align: center;
    }
    .grade4parent,.grade5parent,.grade6parent{
        display: none;
        position: absolute;
        top: -400%;
        left: 100%;
        width: 20vh;
        height: 100%;
        background-color: #0b6636;
        justify-content: center;
        z-index: 100;
        font-size: 20px;
        text-align: center;
    }
    .option-h1container h1 a,.student-menu #studentMainMenu{
        font-size: 25px;
        
    }
    .student-menu #studentMainMenu img,.option-h1container img{
        width: 35px;
    }
    .option-container{
        width: 100%;
        margin: 20px 0;
        position: relative;
    }
    .option-container a,.student-menu #studentMainMenu{
        padding-left: 20px;
    }
    .sideMenu-container .user-pic{
        height: 70px;
        width: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: black;

    }
    .sideMenu-container .user-profile{
        height: 160px;
    }
    .sideMenu-container .user-profile h1{
        font-size: 20px;
    }
    .sideMenu-container .user-pic i{
        color: white;
        font-size: 50px;
    }
    .option-container h1{
        text-decoration: none;
        color: white;
        width: 100%;
        cursor: pointer;
        padding-top: 15px;
        padding-bottom: 15px;
        margin: 0;
    }
    .option-container i{
        margin-right: 20px;
        margin-left: 50px;
    }
    #sideMenu{
        width: 400px;
    }
    .all-content{
        width: 100%;
    }
    .sideMenu-container .user-profile{
        width: 400px;
    }

    .dropbtn{
        font-size: 16px;
    }
    .overlay-bg{
        width:15rem;
        left: 10%;
        height: 20em;
        transform: translateY(80px);
        
    }
    .content-container{
        height: 400px;
    }
    .carousel{
        height: 400px;
    }
    
    .firstpage h1{
        font-size: 25px;
    }
    .firstpage{
        width: 100%;
        min-height: 20vh;
    }
    .pages{
        margin: 50px auto;
        width: 300px;
    }
    .teachers-pic-container{
        width: 250px !important;
        margin: 0px 0 !important;
    }

    .teachers-pic-wrapper::before{
        display: none;
    }
    .teachers-pic-wrapper::after{
        display: none;
    }
    .firstpage pre{

        font-size: 14.5px;
    }
    .secondpage p,.text-muted,.secondpage a{
        font-size: 12px;

    }
    .secondpage-otherpics-container img{
        height: 190px;
    }
    .title-secondpage{
        font-size: 14px;
    }
    .titlesecond-container{
        height: 40px;
    }
    .news-title{
        font-size: 16px;
        text-align: center;
    }
    
    .thirdpage-pic-container{
        font-size: 15px;
    }
    .text p{
        font-size: 11px;
    }
    .text h3{
        font-size: 13px;
    }
    .students, .faculty, .staff{
        padding: 15px 0px;
    }
    .students,.faculty{
        margin-right: 50px;
    }
    .footer-container-first h1{
        font-size: 20px;
    }
    .footer-container-first p{
        font-size: 12px;
    }
    .footer-container-first img{
        padding-left: 35px;
        width: 30px;
    }
    .footer-container-last{
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .about-links,.Quick-links,.socmed-links,.contact-links{
        width: 250px;
    }
    .about-links h1,.Quick-links h1,.contact-links h1,.socmed-links h1{
        font-size:20px;
    }
    .about-links ul li,.Quick-links ul li,.contact-links ul li,.socmed-links ul li{
        font-size: 14px;

    }


}