@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    position: absolute;
    overflow-x: hidden;
}

.back-video{
    position: absolute;
    width: 100%;
}
@media (max-width:700px){
    .back-video{
        position: relative;
        width: 100%;
    }
}

/*-------Slide Side Bar--------*/
    .side-bar{
        background: #004d00;
        backdrop-filter: blur(15px);
        width: 290px;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -290px;
        overflow-y: auto;
        transition:right 0.6s ease;
        transition-property: right;
    }
    .side-bar.active{
        right: 0;
    }
    .side-bar .menu{
        width: 100%;
        margin-top: 80px;
    }
    .side-bar .menu .item{
        position: relative;
        cursor: pointer;
    }
    .side-bar .menu .item a{
        color: #fff;
        font-size: 17px;
        text-decoration: none;
        display: block;
        padding: 5px 30px;
        line-height: 60px;
    }
    .side-bar .menu .item a:hover{
        background: green;
        transition: 0.3s ease;
    }
    .side-bar .menu .item i{
        margin-right: 15px;
    }
    .side-bar .menu .item a .dropdown{
        position: absolute;
        right: 0;
        margin: 20px;
        transition: 0.3s ease;
    }
    .side-bar .menu .item .sub-menu{
        background: rgba(255,255,255,0.1);
        display: none;
         padding-left: 30px; /* Adjust as needed */
    }
    .side-bar .menu .item .sub-menu a{
        padding-left: 80px;
    }
    .side-bar .menu .item .sub-menu a {
        padding: 1px 20px; /* Adjust as needed */
        font-size: 17px; /* Adjust the font size */
    }
    .rotate{
        transform: rotate(90deg);
    }
    .close-btn{
        position: absolute;
        color: #fff;
        font-size: 20px;
        left: 0;
        margin: 25px;
        cursor: pointer;
    }

    .menu-btn{
        position: absolute;
        color: #fff;
        font-size: 20px;
        margin: 25px;
        cursor: pointer;
        right: 0;
        display: flex;
        align-items: center;
        background: #124720;
        padding: 5px;
        top: 0;
    }
    .menu-btn{
        position: fixed;
    }
    .menu-btn .fa-bars{
        margin-right: 5px;
    }
    .menu-name {
        display: inline;
        font-size: 25px;
    }
    @media (max-width: 700px) {
        .menu-btn .fa-bars{
            display: none;
        }

        .menu-name {
            display: none;
        }
        .menu-btn .fa-bars{
            display: block;
            position: sticky;
        }
    }

/*-------------------------------------*/



/*---------- Background-Title --------------*/
.BackTitle-Info .Title-Info h1{
    font-size: 60px;
    position: relative;
    left: 20px;
    width: 90%;
    color: #124720;
    top: 19rem;
}
    
.BackTitle-Info .Info p{
    font-size: 20px;
    line-height: 30px;
    position: relative;
    width: 90%;
    left: 20px;
    top: 20rem;
}

.Back-Title .Title h1{
    position: absolute;
    top: 40rem;
    font-size: 80px;
    color: white;
    left: 20px;
    width: 95%;
}

.Title-GRADE{
    width: 95%;
    position: relative;
    top: 10vh;
    font-size: 35px;
    left: 20px;
}

.BackTitle-Image img{
    position: relative;
    left: 47em;
    width: 45%;
}

@media (max-width: 700px){ 
    .Back-Title .Title h1{
        position: relative;
        font-size: 30px;
        color: white;
        left: 5px;
        width: 95%;
        top: -40px;
        
    }
    
    .Back-Image img{
        position: relative;
        bottom: 30vh;
        width: 100px;
        height: 100px;
    }
    
    .logo{
        position: absolute;
        top: 10px;
    }
    
    .logo img {
        position: relative;
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }
    
    .logo h1{
        position: relative;
        font-size: 20px;
        color: white;
        left: 90px;
        bottom: 80px;
    }
    
    .BackTitle-Info .Title-Info h1{
        font-size: 60px;
        position: relative;
        left: 5%;
        width: 90%;
        text-align: center;
        color: #124720;
        top: -20px;
    }
    
    .BackTitle-Info .Info p{
        font-size: 20px;
        line-height: 30px;
        position: relative;
        width: 90%;
        left: 5%;
        top: -2vh;
    }
    
    .Title-GRADE{
        width: 95%;
        text-align: center;
        position: relative;
        top: 10vh;
        font-size: 20px;
        left: 0;
    }
    
    .BackTitle-Image img{
        width: 95%;
        height: 200px;
        left: 3%;
        position: relative;
    }
}

/*------ Campus ----*/

.Campus{
    position: absolute;
    top: 82rem;
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50%:
}
.Campus-col{
    flex-basis: 32%;
    border-radius: 1px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    left: 10rem;
}

.Campus-col img{
    width: 100%;
    display: flex;
    height: 200px;
}

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(10,74,47,0.8);
}

.layer a{
    width: 100%;
    font-weight: 500;
    font-size: 20px;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 10%;@cam
    transition: 0.5s;
    opacity: 0;
    color: white;
}

.layer:hover a{
    bottom: 65%;
    opacity: 1;
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 22px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 10;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 53%;
    opacity: 1;
    color: white;
}

.layer p{
    width: 100%;
    font-size: 15;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
    transition: .5s;
    color: white;
    opacity: 0;
}

.layer:hover p{
    bottom: 15%;
    opacity: 1;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

@media (max-device-width: 700px){
    .row{
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .Campus-col{
        position: relative;
        left: 0;
        top: 0;
    }
    
    .Campus{
        position: relative;
        top: 15vh;
    }
}

/*---------- Footing Page ---------------*/
.Footing{
    background: #124720;
    height: 200px;
    width: 100%;
    position: absolute;
    top: 105rem;
}

.Foot-img{
    overflow-y: hidden;
}

.Footing img{
    width: 150px;
    height: 150px;
    margin-left: 50;
    margin-top: 10px;
}

.Footing h1{
    position: absolute;
    top: 3rem;
    left: 13rem;
    color: white;
}

.Footing h2{
    position: relative;
    left: 40%;
    color: white;
    font-size: 15px;
    width: 350px;
    bottom: 14vh;
    line-height: 25px;
    font-weight: 100;
}

.Footing h2 a{
    text-decoration: none;
    color: white;
}

.Footer{
    position: relative;
    display: flex;
    gap: 0px;
    width: 300px;
    left: 65rem;
    bottom: 15vh;
}

.Footer img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

.Footer a{
    background: transparent;
    border: .2rem solid white;
    border-radius: 200px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    margin-right: 10px;
    transition: .5s;
}

.Footer a:hover{
    border: .2rem solid black;
    color: black;
    background: white;
}

@media (max-width: 700px){
    .Footing{
        background: #124720;
        width: 100%;
        height: 300px;
        position: relative;
        top: 10rem;
    }

    .Foot-img{
        display: flex;
        justify-content: center;
    }

    .Footing h1{
        text-align: left;
        position: relative;
        top: 20px;
        left: 0;
        color: white;
    }

    .Footing h2{
        display: flex;
        justify-content: center;
        text-align: center;
        color: white;
        line-height: 25px;
        font-size: 15px;
        bottom: 0%;
        position: relative;
        width: auto;
        left: 0;
    }

    .Footing img{
        width: 100px;
        height: 100px;
        display: flex;
        margin: 10px;
    }
    
    .Footer{
        position: relative;
        left: 25%;
        width: 50%;
        bottom: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 5px;
        top: 20px;
        
        
    }
    
    .Footer img{
        width: 30px;
        height: 30px;
        margin: 5px;
        display: flex;
        cursor: pointer;
    }

    .Footer a{
        background: transparent;
        border: .2rem solid white;
        border-radius: 100px;
        gap: 50px;
        cursor: pointer;
        transition: .2s;
        color: white;
        font-size: 20px;
        margin-right: 0;
    }

    .Footer a:hover{
        background: white;
        border: .2rem solid black;
        color: black;
    }
}


.Test1{
    position: absolute;
    top: 0;
}

.Test1 img{
    width: 150px;
    height: 150px;
    margin-left: 20px;
    margin-top: 20px
}

.Test1 h1{
    color: white;
    position: absolute;
    left: 180px;
    top: 35px;
    font-size: 30px;
    width: 200px;
}

@media (max-width: 700px){
    .Test1 img{
        display: none;
    }
    
    .Test1 h1{
        display: none;
    }
    
}


@media only screen and (min-width: 768px) and (max-width: 1025px){
    
    .Back-Title .Title h1{
        position: absolute;
        top: 50vh;
    }
    
    .BackTitle-Info .Title-Info h1{
        position: relative;
        top: 10vh;
        text-align: center;
        left: 7%;        
    }

    .BackTitle-Info .Title-Info .Info p{
        position: relative;
        top: 10vh;
        width: 100%;
        text-align: center;
    }
    
    .BackTitle-Image img{
        width: 70%;
        position: relative;
        left: 15%;
        top: 10vh;
    }
    
    .Title-GRADE{
        position: relative;
        top: 20vh;
    }
    
    .Campus{
        position: relative;
        right: 15%;
        top: 20vh;
    }
    
    .footing{
        position: relative;
        top: 30vh;
        width: 100%;
    }
    
    .Footer{
        position: relative;
        left: 65%;
        color: black;
        top: -7rem;
    }
    
    .Footing h2{
        position: relative;
        left: 65%;
        bottom: 9rem;
        width: 95%;
    }
    
}