/* restoring things */
* {
  font-family: "Open Sans", sans-serif;
  background-color: rgb(247, 247, 247);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h5 {
  font-family: serif;
}

p {
  text-align: justify;
}

/* logos at top */
#logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

#logos img {
  width: 100px;
  height: 100px;
  margin: 3vw;
}

@media all and (max-width: 400px) {
  #logos{
    flex-direction: column;
  }
  
}

/* navigation bar at top */
#nav-head {
  background-color: white;
  box-shadow: 0px 2px 10px rgba(196, 196, 196, 0.644);
  padding: 10px;
}

#nav-head a {
  background-color: white;
  text-decoration: none;
  font-weight: 700;
  color: black;
  margin: 10px;
}

#nav-head a:hover {
  color: rgb(94, 94, 94);
  font-weight: 600;
  cursor:hand;
}

@media all and (max-width: 400px) {
    #nav-head{
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      align-items: center;
      align-content: center;
    }
}
/* changing images of main section */
#images {
  height: 27rem;
  overflow: hidden;
}

#images img {
  width: 100%;
}

@media all and (max-width: 990px) {
  #images{
    height: inherit;
  }
}

/* our pride section */
#pride{
  margin-top: 5vh;
}

#pride h1 {
  text-align: center;
  margin: 20px;
}

#cards {
  display: flex;
  justify-content: center;
  align-items: center;
}

#p-element1,
#p-element2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  width: 200px;
  margin: 10px;
  box-shadow: 0px 2px 10px rgba(196, 196, 196, 0.644);
  padding: 8px;
}

#p-element1 {
  margin-right: 40px;
}

#p-element2 {
  margin-left: 40px;
}

#pride #cards img {
  margin-top: 20px;
  width: 100%;
}

#img-cont1,
#img-cont2 {
  width: 200px;
  height: 200px;
  overflow: hidden;
}
@media all and (max-width: 500px) {
  #cards {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
  }
  #p-element1,
  #p-element2 {
    margin: 0;
    padding: 0;
  }
  #p-element1 {
    margin-bottom: 15px;
  }
  
  #p-element2 {
    margin-top: 15px;
  }

}

/* admission announcement section */
#add{
  margin-top: 50px;
  margin-left: 20px;
  margin-right: 20px;
}

#add-hadding{
  text-align: center;
  margin: 20px;
  color: #E69A8DFF;
  animation-name: hadding-ani;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

@keyframes hadding-ani {
  from {color: #E69A8DFF;}
  to {color: #5F4B8BFF;}
}

#add-p{
  padding-left: 2vw;
  padding-right: 2vw;
}

/* bottom fo website */
#horzontal{
  color: rgba(128, 128, 128, 0.541);
  margin: 20px 4px 10px 4px;
}

#copyright{
  text-align: center;
  margin: 30px;

}

#copyright::after{
  content:"\00a9";
}