
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
body::-webkit-scrollbar{
    display: none;
}
header {
    background: #004d40;
    color: white;
    padding: 20px 10px;
    text-align: center;
}
header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
}

nav{
    background: #327741;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    width: 100%;
    margin-top: 2rem;
    z-index: 1;
}
nav a{
    color: white;
    text-decoration: none;
}


.Bus{
    margin-top: 5rem;
}
.Bus img{
   height: 400px;
   width: 300px;
}
.Bus p{
    background-color: #e0f2f1;
    padding: 5px;
    color-scheme: red;
    border-radius: 2px;
}
.captains{
    background-color: #ffffff;
    padding: 20px;
}
.captains h1{
    text-align: center;
    color: green;
}
.captains div{
   display: flex;
   padding: 5px;
   gap: 30px;
}
.captains div img{
   width: 200px;
   height: 150px;
   border: 1px solid black;
}
.captains div p {
    color: green;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    text-align: left;
    width: 40ch;
}
section {
    padding: 2rem;
    text-align: center;
}
footer {
background: #34502c;
color: white;
text-align: center;
width: 100%;
padding: 0.5rem 0;
bottom: 0;
}

.body{
background-image: url(/img/admin2.jpeg);
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
}     
.topnav{
display: flex;
justify-content: space-around;
padding-top: 5%;
gap: 20px;
}

.topnav .annoucements{
width: 350px;
background: #e0f2f1;
border-radius: 3px;
height: 400px;
transition: transform 0.3s ease-in-out;
}
.topnav .annoucements ul{
text-align: left;
font-size: 15px;
color: green;
}
.topnav .annoucements ul li{
padding-top: 10px;
}
.topnav .annoucements:hover{
transform: scale(1.03);
cursor: pointer;
}
.topnav .events{
width: 350px;
background-color: white;
border-radius: 3px;
height: 400px;
transition: transform 0.3s ease-in-out;
}
.topnav .events ul{
text-align: left;
font-size: 15px;
color: green;
}
.toonav .events ul li{
padding-top: 10px;
}
.topnav .events:hover{
transform: scale(1.03);
cursor: pointer;
}
.topnav .updates{
width: 350px;
background: #e0f2f1;
border-radius: 3px;
height: 400px;
transition: transform 0.3s ease-in-out;
}
.topnav .updates:hover{
transform: scale(1.03);
cursor: pointer;
}
.topnav .links{
width: 350px;
background-color: white;
border-radius: 3px;
height: 400px;
transition: transform 0.3s ease-in-out;
}
.topnav .links:hover{
transform: scale(1.03);
cursor: pointer;
color: black;
}

/*style nav bars*/

.links ul{
font-size: 15px;
text-align: left;
}
.links li a{
text-decoration: none;
color: #327741;
}
.links li a:hover{
text-decoration: underline;
transform: scale(1.0);
}

/*style resources*/
.resource{
background-color: #ffffff;
width: 100%;
height: 500px;
border-radius: 10px;
}
.resource h1{
padding-top: 20px;
color: #327741;
}
.resource h3{
font-size: 15px;
font-weight: 100;
text-align: left;
width: 60ch;
padding: 20px 0 0 20px;
}
.rooms{
display: flex;
justify-content: space-around;
}
.rooms figure{
display: block;
}
.rooms figure img{
width: 350px;
height: 250px;
border-radius: 2;
transition: 0.5s ease-in-out;
}
.rooms figure img:hover{
box-shadow: 0 0 10px 5px rgb(224, 221, 221);
cursor: pointer;
transform: scale(1.05);
}
.rooms figure figcaption{
font-size: 13px;
color: brown;
width: 25ch;
margin-left: 90px;
}
.subjects{
background: #ffffff;
border-radius: 3px;
width: 50%;
height: 60%;
padding-bottom: 20px;
}
.subjects h1{
color: rgb(16, 204, 16);
padding-top: 15px;
font-size: 20px;
text-align: left;
padding-left: 3px;
}

.subjects h2{
font-weight: 200;
color: #428516;
font-size: 15px;
text-align: left;
padding-left: 3px;
}
.subjects ul{
text-align: left;
font-size: 15px;
color: #0f0606;
padding-left: 70px;

}
.subjects ul li{
    margin-left: 50px;
    text-align: left;
}

/*scholllife*/
.schoollife{
    display: flex;
    gap: 20px;
    padding: 10px;
    margin-top: 5%;
}
.group{
    background-color: rgb(39, 150, 12);
    border-radius: 5px;
    padding: 10px;
}
.group span{
    display: flex;
    gap: 60px;
    border-bottom: 1px solid #e0f2f1;
}
.group span img{
    width: 60px;
    height: 60px;
    margin-top: 20px;
}
.group span p{
   font-size: 20px;
   font-weight: 500px;
   color: #e0f2f1;
}
/*motto */
.motto{
    display: flex;
    gap: 10px;
}
.motto div{
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px;
    width: 100%;
    transition: transform 0.3s ease;
    border-top: 2px solid rgb(77, 207, 17);
    border-bottom: 2px solid rgb(77, 207, 17);
}
.motto div:hover{
    transform: scale(1.02);
}
.moto h1{
    color: green;
    margin-top: 50px;
    font-size: 30px;
}
.vision p{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.mission p{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
/*history */
.history div{
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px;
    width: 100%;
    margin-top: 30px;
    margin-left: -15px;
    transition: transform 0.3s ease;
    border-left: 3px solid rgb(42, 99, 153);
    border-right:  3px solid rgb(42, 99, 153);
}
.history div p{
    text-align: center;
}
.man{
    gap: 30px;
    display: flex;
}
.prins{
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px;
    width: 100%;
    margin-top: 30px;
    margin-left: -15px;
    transition: transform 0.3s ease;
    border-top: 2px solid rgb(31, 209, 55);

}
.prins img{
    height: 400px;
    width: 300px;
    border: 1px solid black;
}
.prins figure figcaption{
     text-align: center;
     color: green;
}
.sch{
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px;
    width: 100%;
    margin-top: 30px;
    margin-left: -15px;
    transition: transform 0.3s ease;
}
.sch img{
    height: 400px;
    width: 600px;
}
/*media screen*/
@media screen and (max-width: 770px){
body{
overflow-x: hidden;
}
.man{
    display: block;
    justify-content: center;
}

.prins{
    padding: 20px;
}
.prins img{
    height: 250px;
    width: 200px;
}
.prins figure figcaption{
     text-align: center;
     color: green;
}
section {
padding: 1rem;
text-align: center;
}
header {
width: 100%;
z-index: 1;
}
header h1{
font-size: 26px;
}
header p{
    font-size: 15px;
}
nav {
width: 100%;
margin-top: 4rem;
z-index: 1;
}
.topnav{
display: block;
padding-top: 20%;
gap: 40px;
}
.topnav .annoucements{
border: 2px solid green;
margin-left: 8%;
margin-bottom: 20px;
}
.topnav .events{
border: 2px solid green;
margin-left: 8%;
margin-bottom: 20px;
}
.topnav .updates{
border: 2px solid green;
margin-left: 8%;
margin-bottom: 20px;
}
.topnav .links{
border: 2px solid green;
margin-left: 8%;
margin-bottom: 20px;
}
.rooms{
display: block;
}
.subjects{
    width: 100%;
}
.subjects h1{
font-size: 18px;
}
.subjects h2{
    font-weight: 200;
    color: #188d2b;
    font-size: 14px;
    }
.subjects ul{
    text-align: left;
    font-size: 17px;
    color: #000000;
    padding-left: 35px;
    }
.subjects ul li{
        margin-left: 30px;
        text-align: left;
    }

.resource h3{
text-align: left;
width: 50ch;
padding: 10px 0 0 10px;
}
.resource{
width: 100%;
height: 70%;
border-radius: 10px;
}
.schoollife{
    display: block;
}
.captains div{
   display: block;
   padding: 5px;
   gap: 20px;
}
.Bus img{
    width:350px;
    height:200px;
}

.group{
    margin-top: 10px;
}
/*motto */
.motto{
    display: block;
    gap: 10px;
}
.motto div{
    margin-top: 10px;
}
.sch img{
    height: 400px;
    width: 300px;
}
}

