* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Titillium Web', sans-serif;
}

body {
  background-image:
    url('../../res/img/backgrounds/honorbg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

.honor-sec1 {
  background: linear-gradient(rgba(18, 35, 72, 0.7), rgba(18, 35, 72, 0.9));
  min-height: 90vh;
  margin: 0;
  padding: 0;
  margin-top: -25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0;
  text-align: center;
}

#honor_title {
  font-size: 40px;
  font-family: 'Bree Serif', serif;
  letter-spacing: 5px;
  line-height: 1;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  margin-top: -90px;
}

.head h1 {
  font-size: 70px;
  padding-top: 20px;
  padding-bottom: 5px;
  font-family: 'Bree Serif', serif;
  letter-spacing: 5px;
  line-height: 1;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-in-out;
}

hr {
  background-color: #cda757;
  opacity: 100%;
  border: none;
  width: 90%;
  height: 4px;
  border-radius: 6px;
  margin: 0 auto;
}

#honor_paragraph {
  font-size: 25px;
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 1px;
  line-height: 1.3;
  padding: 10px;
  width: 80%;
  max-width: 1400px;
  text-align: justify;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-in-out;

}

/*__________HONOR INFO_________*/
.honor-sec2,
.honor-sec3 {
  background: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding: 0;

}

.sec2 {
  padding: 100px;
  min-height: 100vh;
}

.sec2 hr {
  height: 5px;
}

h3 {
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Titillium Web', sans-serif;
  line-height: 1;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #122348;
  margin-top: -90px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-in-out;
}
.honor-info-content {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 25px;
  justify-items: center;
  align-items: start;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.left,
.middle,
.right,
.edge {
  background: transparent;
  height: auto;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
  animation: fadeInUp 1s ease-in-out;
}

.left:hover,
.middle:hover,
.right:hover,
.edge:hover {
  transform: translateY(-5px);
}

.icon-lie,
.icon-cheat,
.icon-steal {
  margin-top: 7px;
  margin-bottom: 15px;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

.honor-info-content p {
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #122348;
  text-align: justify;
  padding: 0 10px;
}

/* RESPONSIVE — 2 columns on tablets */
@media screen and (max-width: 1024px) {
  .honor-info-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE — 1 column on phones */
@media screen and (max-width: 600px) {
  .honor-info-content {
    grid-template-columns: 1fr;
  }

  .honor-info-content p {
    text-align: center;
  }
}


/* honor 3 */
.honor3-section,
#honor4-section,
#honor5-section,
#honor4_1 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: justify;
  padding: 50px;
  width: 100%;
  gap: 20px;
}


#honor4-section,
.honor5-sec {
  display: block;
  background-color: rgba(18, 35, 72, 0.9);
  font-size: 1.7rem;
}

.honor3,
#honor4 {
  width: 30%;
  flex-shrink: 0;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

#honor2 {
  width: 250px;
  flex-shrink: 0;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

.honor3_1,
#honor4_1,
#honor5_1 {
  color: #122348;
  flex: 1;
  padding: 20px;
  font-size: 1.2rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.honor5-sec {
  color: white;
  background-color: rgba(18, 35, 72, 0.9);
  margin: 0;
  padding: 0;
  font-size: 20px;
}

.honor5-sec .bottom {
  color: #122348;
  background-color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  padding: 20px;
  height: auto;
  width: 100%;
  z-index: 50;
  font-size: 1.7rem;
  text-align: center;
}

.honor3-sec {
  color: #122348;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding: 0;
  font-size: 20px;
}

#honor5_1 p {
  color: #122348;
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  height: auto;
  width: 100%;
  z-index: -1;
  border-radius: 5px;
  text-shadow: none;
  border-bottom: 5px solid #cda757;
}

#honor5_1 p:hover {
  transform: translateY(-7px);
  box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
}

#honor4_1 p {
  color: #122348;
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  height: auto;
  width: 100%;
  z-index: 50;
  border-radius: 5px;
  text-shadow: none;
  border-bottom: 5px solid #cda757;
  text-align: center;
  font-size: 2rem;
}

#honor4_1 p:hover {
  transform: translateY(-7px);
  box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);

}

#honor5 {
  width: 300px;
  height: auto;
  flex-shrink: 0;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

.honor-code {
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.honor-code p {
  background-color: rgba(255, 255, 255, 1);
  font-family: 'Bree Serif', serif;
  border-radius: 5px;
  padding: 60px;
  color: #122348;
  width: 70%;
  font-size: 1.2rem;
  z-index: 1;
  border: 10px solid #cda757;
}


.honor-code hr {
  background-color: #cda757;
  opacity: 60%;
  border: none;
  height: 15px;
  width: 100%;
  position: absolute;
  margin-top: 70px;
  z-index: 0;
}

@media screen and (min-width: 1650px) {
  .head h1 {
    font-size: 5.5rem;
    margin-bottom: 5px;
  }

  .honor-sec1 {
    margin-top: -25px;
  }


  #honor_paragraph {
    font-size: 2rem;
  }

  /*__________HONOR INFO_________*/
  .sec2 {
    padding: 20px;
    min-height: 50vh;
  }

  .sec2 hr {
    height: 5px;
  }

  h3 {
    font-size: 3.5rem;
    margin-top: 0px;
  }

  .left,
  .middle,
  .right {
    padding: 10px;
    height: auto;
    width: 100%;
  }

  .honor-info-content p {
    font-size: 1.5rem;
  }

  .bottom {
    font-size: 1.5rem;
  }

  .honor3-section p,
  #honor4-section p,
  #honor5-section p,
  #honor4_1 p {
    text-align: justify;
    font-size: 1.5rem;
  }

  #honor4-section,
  .honor5-sec {
    font-size: 2.2rem;
    padding: 20px;
  }

  .honor3,
  #honor4 {
    width: 50%;
  }

  #honor2 {
    width: 50%;
  }

  .honor3_1,
  #honor4_1,
  #honor5_1 {
    padding: 20px;
    font-size: 2rem;
    text-align: justify;
  }

  .honor5-sec {
    margin: 0;
    padding: 0;
    font-size: 20px;
  }

  .honor5-sec .bottom {
    font-size: 2rem;
  }

  .honor3-sec {
    font-size: 2rem;
  }

  #honor4_1 p {
    text-align: center;
    font-size: 2rem;
  }

  .honor-code {
    padding: 5px;
  }

  .honor-code p {
    padding: 30px;
    width: 90%;
    font-size: 2.2rem;
    text-align: center;
  }
}

@media screen and (max-width: 1200px) {
  .head h1 {
    font-size: 3.2rem;
    margin-bottom: 5px;
  }

  .honor-sec1 {
    margin-top: -25px;
  }


  #honor_paragraph {
    font-size: 1.5rem;
  }

  /*__________HONOR INFO_________*/
  .sec2 {
    padding: 20px;
    min-height: 80vh;
  }

  .sec2 hr {
    height: 5px;
  }

  h3 {
    font-size: 2rem;
    margin-top: 0px;
  }

  .left,
  .middle,
  .right {
    padding: 10px;
    height: auto;
    width: 100%;
  }

  .honor-info-content p {
    font-size: 1.2rem;
  }

  .bottom {
    font-size: 1.2rem;
  }

  .honor3-section p,
  #honor4-section p,
  #honor5-section p,
  #honor4_1 p {
    text-align: justify;
    font-size: 1.2rem;
  }

  #honor4-section,
  .honor5-sec {
    font-size: 1.5rem;
    padding: 20px;
  }

  .honor3,
  #honor4 {
    width: 50%;
  }

  #honor2 {
    width: 50%;
  }

  .honor3_1,
  #honor4_1,
  #honor5_1 {
    padding: 20px;
    font-size: 1.2rem;
    text-align: justify;
  }

  .honor5-sec {
    margin: 0;
    padding: 0;
    font-size: 20px;
  }

  .honor5-sec .bottom {
    font-size: 1.3rem;
  }

  .honor3-sec {
    font-size: 1.2rem;
  }

  #honor4_1 p {
    text-align: center;
    font-size: 1.2rem;
  }

  .honor-code {
    padding: 5px;
  }

  .honor-code p {
    padding: 30px;
    width: 90%;
    font-size: 1.2rem;
    text-align: center;
  }
}

@media screen and (max-width: 1024px),
(max-width: 768px),
(max-width: 480px) {
  .honor-sec1 {
    margin-top: -25px;
  }

  .head h1 {
    font-size: 2rem;
    padding-top: 50px;
  }

  #honor_paragraph {
    font-size: 1rem;
    padding: 5px;
    width: 85%;
  }

  /*__________HONOR INFO_________*/
  .sec2 {
    padding: 20px;
  }

  .sec2 hr {
    height: 5px;
  }

  h3 {
    font-size: 2rem;
    margin-top: 0px;
  }

  .honor-info-content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .left,
  .middle,
  .right {
    padding: 10px;
    height: auto;
    width: 100%;
  }

  .honor-info-content p {
    font-size: 1.2rem;
  }

  .bottom {
    font-size: 1.2rem;
  }

  /* honor 3 */
  .honor3-section,
  #honor4-section,
  #honor5-section,
  #honor4_1 {
    display: block;
    text-align: center;
    padding: 10px;
  }

  .honor3-section p,
  #honor4-section p,
  #honor5-section p,
  #honor4_1 p {
    text-align: justify;
    font-size: 1.2rem;
  }

  #honor4-section,
  .honor5-sec {
    font-size: 1.5rem;
    padding: 20px;
  }

  .honor3,
  #honor4 {
    width: 70%;
  }

  #honor2 {
    width: 70%;
  }

  .honor3_1,
  #honor4_1,
  #honor5_1 {
    padding: 20px;
    font-size: 1.2rem;
    text-align: justify;
  }

  .honor5-sec {
    margin: 0;
    padding: 0;
    font-size: 20px;
  }

  .honor5-sec .bottom {
    font-size: 1.3rem;
  }

  .honor3-sec {
    font-size: 1.2rem;
  }

  #honor4_1 p {
    text-align: center;
    font-size: 1.2rem;
  }

  .honor-code {
    padding: 5px;
  }

  .honor-code p {
    padding: 30px;
    width: 90%;
    font-size: 1.2rem;
    text-align: center;
  }
}