
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.header{
    width: 100%;
    height: 150px;
    background-color: rgb(255, 165, 20);
    transition: 0.8s ease-in;
}
html{
    scroll-behavior: smooth;
    overflow: scroll;
}
.Main p, .header img, h1{
    padding-inline: 5%;
} 
/* Off-canvas menu styles */
.menu-toggle {
  position: relative;
  margin-top: -40px;
  margin-left: 30px;
  top: 100px;
  right: 20px;
  float: left;
  z-index: 1201;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 60%;
  background: dodgerblue;
  border-radius: 2px;
  transition: 0.3s;
}
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  z-index: 1202;
  transition: left 0.3s cubic-bezier(.22,1,.36,1);
  padding: 0 0 2rem 0;
  overflow-y: auto;
}

.offcanvas-menu.open {
  left: 0;
}
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}
.offcanvas-menu ul {
  list-style: none;
  padding: 1rem;
  margin: 0;
  margin-left: 45px;
}
.offcanvas-menu ul li {
  margin-bottom: 2.2rem;
}
.offcanvas-menu ul li a {
  color: #046acf;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s;
}
.offcanvas-menu ul li a:hover {
  color: #fff;
  background: #046acf;
  padding: 0.3em 0.8em;
  border-radius: 4px;box-shadow: 0 2px 4px rgba(0,0,0,0.1);

}
#menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffa514;
  cursor: pointer;
  line-height: 1;
}
.menu-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;}
/* @media */
.nav{
    float: right;
    top: 10px;
    margin-right: 20px;
    position: sticky;
    top: 0;
    transition: opacity 0.3s;
}
.nav ul li{
    display: inline-block;
    margin-left: 25px;
    margin-right: 25px;
    position: relative;
}
.nav ul li a{
    font-family: Tahoma;
    font-weight: 600;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in-out;

}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 600px) {
  .offcanvas-menu {
    /* width: 80vw; */
    min-width: 180px;
    max-width: 320px;
  }
}
body{
    overflow: hidden;
    scroll-behavior: smooth;
}
.Logo{
    width: auto;
    height: 100px;
}
.Logo img{
    width: 600px;
    height: 140px;
    margin: 0;
}
 marquee{
    background-color: rgb(25, 125, 225);
    color: white;
    padding: 10px;
    font-size: 27px;
    font-weight: 400;
    position: static;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
ul li a{
    display: block;
    font-family: Tahoma;
    font-size: 14px;
    text-decoration: none;
    color: rgb(4, 106, 207);
}
ul li a:hover{
    background-color: dodgerblue;
    color: white;
}
/* @media */
.nav{
    float: right;
    top: 10px;
    margin-right: 20px;
    position: sticky;
    top: 0;
}
.nav ul li{
    display: inline-block;
    margin-left: 25px;
}
.nav ul li a{
    font-family: Tahoma;
    font-weight: 600;
    font-size: 18px;
    color: white;
}
.nav ul li a:hover{
    background-color: transparent;
    color: maroon;
    transition: 0.5s;
}
/* end */
/* ...existing code... */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ...existing code... */
.container{
    width: 100%;
    min-height: 500px;
    font-family: Arial;
    font-size: 25px;
    font-weight: 500;
    color: rgb(233, 233, 233);
    text-align: center;
    background: url(assembly.JPG); 
    background-size: cover;
    background-position: center;
    letter-spacing: 2px;
}
.container h1{
    padding-top: 200px;
    vertical-align: center;
}
.content h2{
    color: rgb(48, 1, 1);
   font-family: Arial;
   font-size: 50px; 
   font-weight: 600;
   padding-left: 93px;
}
.content p{
    font-size: 15px;
    line-height: 42px;
    justify-content: center;
    margin-left: 80px;
    margin-right: 80px;
}
.container2 {
    width: 100%;
    min-height: 500px;
    color: rgb(233, 233, 233);
    text-align: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(80, 1, 1, 0.5)50%, rgba(80, 1, 1, 0.5)50%),url(pupils.JPG);
    background-size: cover;
    background-position: center;
    padding: 30px;
}
 .details{
    background-color: rgb(145, 199, 253);
    justify-content: center;
    padding: 50px;
 }
.details h2{
    font-family: Arial;
    font-size: 50px; 
    font-weight: 600;
    padding-left: 93px;
}
.details p{
    font-family: Arial;
    font-size: 15px;
    line-height: 42px;
    justify-content: center;
    margin-left: 80px;
    margin-right: 80px;
}
.staff{
    background-image:  url(School-block.JPG);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    padding: 20px;
}
.staff .avatar{
    text-align: center;
    transition: 0.3s ease-in;
    vertical-align: middle;
    width: 400px;
    height: auto;
    border-radius: 50%
}
.staff h2{
    
    font-size: 50px; 
    font-weight: 600;
    padding-left: 93px;
    color: gray;
}
.staff p{
    line-height: normal;
    justify-content: center;
    margin-left: 80px;
    margin-right: 80px;
}
.staff .title p{
    font-family: Arial;
    font-size: 27px;
    font-weight: 300;
    color: rgb(63, 106, 197);
}
.slide a svg{
    height: 20px;
    width: 20px;
    margin-right: 3px;
    margin-bottom: 0;
}
.author{
    background-color: aliceblue;
    color: rgb(39, 108, 255);
}
.author h2{
    padding-left: 93px;
    padding: 32px;
}
.author p{
    font-size: 15px;
    line-height: 42px;
    justify-content: center;
    margin-left: 80px;
    margin-right: 80px;
}
.author img{
    transition: 0.3s ease-in;
    width: 80px;
    height: auto;
    border-radius: 50%
}
.author img{
    float: left;
    margin: 12px;
}
footer{
    background-color: rgb(255, 165, 20);
    color: rgb(5, 5, 95);
    font-family: Arial;
    font-size: 18px;
    padding: 45px;
    text-align: center;
    justify-content: center;
}

@media only screen and (max-width: 600px){
    marquee{
        font-size: 15px;
        padding: 7px;
    }
    .slide{
        width: 160px;
    }    
    body{
        background-color: #e4e3e3;
    }
    .Logo img{
        width: 100%;
        height: auto;
    }
    .header{
        width: 100%;
        height: auto;
    }
    footer{
        font-size: 12px;
    }
    footer img{
        width: 60px;
        height: auto;
        float: left;
    }
    .content h2{
        font-size: 32px;
        padding-left: 70px;
    }
    .content p{
        color: rgb(71, 71, 71);
        font-size: 14px;
        line-height: 30px;
        padding-inline: 20px;
        margin: 0;   
    }
    .details h2{
        color: rgb(48, 1, 1);
        font-size: 32px;
        padding-left: 70px;
    }
    .details p{
        color: rgb(71, 71, 71);
        font-size: 14px;
        line-height: 30px;
        padding-inline: 20px;
        margin: 0;
    }
    .nav{
        display: none;
        visibility: hidden;
    }
    .staff .avatar{
        width: 200px;
        height: auto;
    }
    .staff h2{
        font-size: 32px;
        padding-left: 70px;
    }
    .staff p{
        font-size: 14px;
        line-height: 30px;
        padding-inline: 20px;
        margin: 0;  
    }
    .author h2{
        padding-left: 20px;
    }
    .author p{
        font-size: 14px;
        line-height: 30px;
        padding-inline: 20px;
        margin: 0;  
    }
    .author img{
        float: left;
        margin: 7px;
    } 
}
@media(width >=1020px){
    label{
        visibility: hidden;
    }
    .nav{
        visibility: visible;
    }
    .staff{
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        text-align: center;
        justify-content: center;
        padding-inline: auto; 
    }
    .author h2{
        font-size: 40px;
    }
}
@media(width <= 1020px){
    .nav{
        display: none;
    }
}  