h2 {
  text-align: center;
  font-size: 300%;
}

article,
div {
  text-align: center;
}

article {
  margin: 2em 0;
}

#ythSlSchlNf {
  background-color: #f2f2f2;
  line-height: 1.6;
  padding: 2em 10%;
  margin: 2em 0;
  scroll-margin-top: 120px;
}

.ythSlSchlNf-cntntMn {
  text-align: justify;
}

.ythSlSchlNf-cntntMrNf {
  text-align: left;
  /* margin-left: 10%;
    margin-right: 10%; */
}

.ythSlSchlNf-cntntMrNf-Slctr {
  position: relative;
  display: inline-block;
  width: 100%;
  background: linear-gradient(lightgray, #f2f2f2);
  padding: 1%;
}

.ythSlSchlNf-cntntMrNf-Slctr::after {
  content: "\25BC";
  position: absolute;
  right: 1em;
  top: 1em;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #000;
}

.ythSlSchlNf-cntntMrNf-Slctr:hover {
  background: linear-gradient(darkblue, lightblue);
  color: white;
}

.ythSlSchlNf-cntntMrNf-Slctr:hover::after {
  color: #ffffff;
}

/* #schoolReg {
    font-size: 3em;
    padding: 5px;
    margin: 5px;
    background-color: green;
    border-radius: 10px;
} */

#schoolReg {
  font-size: 6em;
  padding: 5px;
  margin: 5px;
  background-color: green;
  border-radius: 10px;
  position: relative;
  top: -378px;
  left: 320px;
  height: 280px;
  width: 39%;
  color: #fff;
  font-weight: bold;
}

#lrntosailimg {
  height: 1750px;
  margin: 2em 0;
  scroll-margin-top: 120px;
}

#schoolReg:hover {
  background-color: lightgreen;
  color: #000;
}

.doc-viewer {
  width: 80%;
  height: 800px;
  border-bottom: 2px solid;
}

#ythSlSchl {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}

#slSchlLg {
  text-align: left;
  background-image: url("../media/Getting-rigged-up.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  height: 1000px;
}

article div img {
  position: relative;
  top: -8%;
  left: 1%;
}

#ythSlSchlTtl {
  font-family: "Great Vibes", sans-serif;
  font-size: 4em;
  color: chocolate;
  margin: 0;
  position: relative;
  top: 42%;
  left: 22%;
}

#slSchlNf {
  display: flex;
  justify-content: space-around;
  background-color: lightskyblue;
}

.schlNfImgs {
  position: relative;
  left: 110px;
}

.slchlimg {
  border: 10px solid rgb(98, 98, 98);
}

#slSchlImg1 {
  rotate: -8deg;
}

#slSchlImg2 {
  rotate: 8deg;
}

#slSchlImg3 {
  rotate: -8deg;
}

#schlImg4 {
  background-color: rgb(255, 200, 0);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  border: 4px solid rgba(255, 255, 0, 0.5);
  position: relative;
  left: 0;
  rotate: -5deg;
  line-height: 0.3;
  top: 247px;
  font-size: 2em;
}

#schlImg4bldtxt {
  font-size: xx-large;
  font-weight: bolder;
}

.schlNfCntntHdr {
  background-color: #28a7d0;
  color: white;
  padding: 10px;
}

.schlNFCntntLst {
  list-style-type: "\2713";
}

.hidden {
  display: none;
}

@media screen and (max-width: 830px) {
  .mn-cntnt {
    padding: 0;
  }

  #ythSlSchlNf {
    padding: 1px;
  }

  .ythSlSchlNf-cntntMrNf-Slctr::after {
    right: 0.3em;
    top: 0.6em;
  }

  #ythSlSchl {
    width: 100%;
    margin: 0;
  }

  #slSchlLg {
    text-align: left;
    background-image: url("../media/Getting-rigged-up.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 16em;
  }

  #ythSlSchlTtl {
    font-size: 2em;
    color: chocolate;
    margin: 0;
    position: relative;
    top: 35%;
    left: 15%;
    width: fit-content;
  }

  #slSchlLgImg {
    position: relative;
    top: -40px;
    left: 0;
    width: 100px;
    height: auto;
  }

  #slSchlNf {
    display: block;
    /* justify-content: space-around; */
    background-color: lightskyblue;
  }

  .schlNfImgs {
    position: relative;
    left: 0;
  }

  .slchlimg {
    width: 300px;
    height: auto;
    left: auto;
  }

  #schlImg4 {
    width: 200px;
    height: 200px;
    rotate: -5deg;
    line-height: 0.2em;
    font-size: 2.5em;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
  }

  #schoolReg {
    font-size: 1em;
    top: -103px;
    left: 80px;
    height: 71px;
    width: 49%;
  }

  #lrntosail2025img {
    width: 100%;
  }

  #lrntosailimg {
    height: auto;
  }

  .doc-viewer {
    width: 100%;
    height: 800px;
  }
}

#slschlsel {
  margin: 3em 0;
}

#adltlrntosl-cntnt {
  margin: 3em 0;
  scroll-margin-top: 120px;
}

#adltlrntoslimg {
  margin: 2em 0;
}

#Ythhndbk,
#AdltHndbk {
  margin: 3em 0;
  scroll-margin-top: 120px;
}

.adult-program-details {
  padding: 2em 10%;
  text-align: left;
}

.program-section {
  background-color: #f2f2f2;
  padding: 2em;
  margin: 2em 0;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.program-section h4 {
  color: #28a7d0;
  font-size: 1.5em;
  margin-bottom: 1em;
}

.program-section h5 {
  font-size: 1.2em;
  margin: 1.5em 0 0.5em;
}

.program-section ul {
  list-style-type: none;
  padding-left: 1em;
}

.program-section ul li {
  margin: 0.5em 0;
  color: #333;
}

.program-section .fee {
  font-weight: bold;
  color: #28a7d0;
  font-size: 1.2em;
  margin: 1em 0;
}

@media screen and (max-width: 830px) {
  .adult-program-details {
    padding: 1em;
  }

  .program-section {
    padding: 1em;
    margin: 1em 0;
  }
}
