

* {
    padding: 0;
    margin: 0;
}

.nav {
    background-color: orange;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    transition: 0.31s;
    border-radius: 5px;
    padding: 5px 10px;
}

a:hover{ 
    color: rgb(83, 77, 77);
    /* background:black; */
    padding: 5px 10px;
    border-radius: 5px;

}
 

/** hero **/ 
h2, h4 {margin: 15px;
     text-align: center;
     text-shadow: 2px 2px 8px black;
    text-wrap: nowrap;
 
}
main {
    margin-top:20px ;
   
}

.section1 {
    height: 125vh;
    width: 100%;

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url("school-image.png") no-repeat center/cover;

  
}
.about {
    padding: 40px;
    background: #f5f5f5;
}
.classes {
  padding: 40px;
  text-align: center;
}

.class-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.class-box {
  background: orange;
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.class-box:hover{
    transform: scale(1.05);
}
.staff {
  padding: 40px;
  text-align: center;
}

.staff-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.staff-card {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
}

.staff-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 10px;
}

.annual-fista {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  width: 80vw;
  border-radius: 10px;
  border: 2px solid black;
  height: 250px;
  padding: 15px 20px 15px 20px;
  background-color:whitesmoke;
   
}

.annual-fista-div {
   background:linear-gradient(skyblue , rgba(37, 28, 28, 0.699));
    text-shadow: 2px 2px 8px white;
    border-radius: 10px;
    background-image: url(annual.JPG);
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 70vw;

   
}
.annualmaindiv {
  display: flex;
  justify-content: center;
  align-items: center;
}
.annual-button {
  width: 200px;
 background:linear-gradient(orange ,yellow);
 border: none;
 border-radius: 20px;
 margin-top: 5px;

}
.annual-button:hover {
  transform: scale(1.2);
  transition: 1s;
  transition-timing-function: ease-in;
  cursor: help;
}




.contact {
  padding: 40px;
  text-align: center;
  background: #f5f5f5;
}

.contact p {
  margin: 10px 0;
}
.btn { 
    padding: 10px 20px;
    background: linear-gradient(orange, rgba(197, 218, 16, 0.671));
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}
.btn:hover{ background:linear-gradient(gray,black);
color: white;}

.footer { display: flex;
justify-content: space-around;
flex-direction: row;
 background: #f5f5f5;
}
/* clock */

#clock {
  font-size: 20px;
  font-weight: bold;
  color: white ;
  text-align: start;
  text-shadow: 2px 2px 5px white;

  padding: 10px 10px 10px 10px;
  border: 5px solid rgba(245, 245, 245, 0.11);
  max-width: 130px;

  border-radius: 40%;
}



@media ( max-width:450px) {
  .footer{
    display: flex;
    justify-content: center;
          align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  h2 {
    font-size: 25px;
  }

  h4 {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .class-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .staff-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .about,
  .classes,
  .staff,
  .contact {
    padding: 20px;
  }
}
.class-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
