@import url('https://fonts.googleapis.com/css2?family=Edu+QLD+Beginner:wght@400..700&family=Poppins:ital,wght@0,400;0,700&display=swap');

/*@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&family=Poppins:ital,wght@0,400;0,700&display=swap');*/

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  text-rendering: optimizeLegibility;
  color: #040606;
  background-color: #f6f8f3;
  overflow-x: hidden;
}

a {
  color: #040606 !important;
  text-decoration: underline;
}

.header {
  position: absolute;
  width: 100%;
  z-index: 2;
  padding: 10px;
}

.logo {
  display: grid;
  grid-template-columns: min-content 1fr min-content;
  align-items: center;
  justify-items: flex-end;
  opacity: .9;
}

.logo img {
  max-width: 128px;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.9rem;
}

.content-wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

section {
  position: relative;
  min-height: 100%;
  margin-block-start: 0 !important;
  overflow: hidden;
}

img  {
  max-width: 100%;
}

.img-title {
  max-height: 70px;
  width: auto;
  margin-top: 10px;
}

.hero-img-title {
  max-height: 85px;
  width: auto;
}

.font-poppins {
  font-family: Poppins;
}

.font-edu {
  font-family: 'Edu QLD Beginner';
}

.fs-small {
  font-size: 1.1rem;
  line-height: 1.3rem;
}

.fs-1-2rem {
  font-size: 1.2rem;
  line-height: 1.6rem;
}

.fs-medium {
  font-size: 1.4rem;
  line-height: 1.9rem;
}

.fs-large {
  font-size: 1.6rem;
  line-height: 2rem;
}

.m-auto {
  margin-left: auto;
  margin-right: auto;
}

.mtop-2rem {
  margin-top: 2rem;
}

.mtop-4rem {
  margin-top: 4rem;
}

.mtop-8rem {
  margin-top: 8rem;
}

.mtop--10px {
  margin-top: -10px;
}

.mtop--20px {
  margin-top: -20px;
}

.ptop-0 {
  padding-top: 0;
}

.ptop-15px {
  padding-top: 15px;
}

.ptop-2rem {
  padding-top: 2rem;
}

.ptop-4rem {
  padding-top: 4rem;
}

.pbtm-2rem {
  padding-bottom: 2rem;
}

.pbtm-4rem {
  padding-bottom: 4rem;
}

.pleft-1rem {
  padding-left: 1rem;
}

.color-blue {
  color: #3d60ff;
}

.w-100 {
  width: 100%;
}

.w-500px {
  max-width: 500px;
}

.w-fit {
  width: fit-content;
}

.opacity-full {
  opacity: 1 !important;
}

.box-yellow, .box-yellow2 {
  padding: 1.5rem 2rem;
  background-color: #fffaea;
  font-size: 1rem;
  line-height: 1.4rem;
  opacity: .8;
}

.box-yellow2 {
  width: 300px;
  padding: 1rem 1.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

.box-yellow h1 {
  font-size: 1.5rem;
  line-height: 1.8rem;
  margin-bottom: 15px;
}

.box-yellow li:not(:last-child) {
  padding-bottom: 15px;
}

.box-orange {
  padding: 1rem 1.5rem;
  background-color: #fff1c3;
  opacity: .8;
}

/*.bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.bg, .bg2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}*/

.bg-full {
  width: 100vw;
  height: auto;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-wrapper {
  width: 50%;
  height: 100%;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin: 0 20px;
  z-index: 4;
}

.video-control {
  display: none;
}

/*.video-wrapper video {
  width: 90%;
  height: auto;
  z-index: 4;
}*/

.video-wrapper video {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  width: auto;
  max-height: 80vh;
  max-width: 100%;
}

/*.video-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  gap: 50px;
  padding: 20px;
  z-index: 2;
}

.video-box {
  flex: 1;
}*/

.full-screen-video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.excerpt {
  margin-top: 10px;
  font-size: 1.25rem;
  line-height: 1.7rem;
}

.excerpt br {
  margin-top: 15px;
}

.scroll-box {
  display: block;
  position: relative;
  height: 100vh;
  z-index: 2;
}

.content-box {
  margin-left: 40px;
  padding: .6rem .9rem .6rem;
  color: #fff;
  background-color: #1f2257;
  max-width: 400px;
  opacity: .85;
}

.content-box p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.7rem;
}

.heading {
  line-height: 2.1rem !important;
  font-size: 1.4rem !important;
  font-weight: bold;
}

.heading2 {
  font-size: 2rem !important;
  font-weight: bold;
  line-height: 2.8rem;
  padding-bottom: .7rem;
}

.text-normal {
  font-weight: normal;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

p.quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4rem;
}

.cite {
  font-size: 1rem !important;
  line-height: 1.3rem !important;
  margin: 20px 0 0 0;
}


.flex-center {
  width: 800px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.4rem;
}

.flex-static-content {
  z-index: 2;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.p4-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  justify-items: center;
}

.p3-container,
.p5-container,
.p7-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.p5-container {
  column-gap: 80px;
}

.p7-container {
  column-gap: 20px;
  align-items: center;
}

.p3-container {
  column-gap: 20px;
}

.p3-container .col_1,
.p3-container .col_2 {
  flex: 0 0 60%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}

.p3-container .col_2 {
  flex: 0 0 calc(40% - 20px);
}

.p5-container .col {
  flex: 0 0 200px;
  box-sizing: border-box;
  text-align: center;
}

.p5-container img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
}

.p7-container .col_1,
.p7-container .col_2 {
  flex: 0 0 420px;
  box-sizing: border-box;
}

.p7-container .col_2 {
  flex: 1 0 calc(380px - 20px);
}

.p10-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.p10-container .col {
  flex: 1 1 calc(50% - 40px);
}

.p10-container .col img {
  max-width: 400px;
}

.name-tag {
  font-size: 1.3rem;
  padding: 5px 10px;
  background-color: #fcf2f7;
}

.footer {
  width: 100%;
  max-width: 700px;
  font-size: .9rem;
  /* Center absolute positioned DIV */
  margin: 0 auto; 
  text-align: center;
  padding: 10px;
  z-index: 2;
  line-height: 1.2rem;
}

button.top {
  margin-top: 40px;
  padding: 10px 20px;
  border: 1px solid #040606;
  border-radius: 50px;
  background-color: transparent;
  color: #040606;
}

.video_popup {
  cursor: pointer;
}

.video_popup img {
  display: block;
  margin: 0 auto;
  max-width: 480px;
  height: auto;
}

.yt-video {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}

.video-control:hover,
button.top:hover {
  color: #3d60ff;
  border: 1px solid #3d60ff;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  width: 75%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
  max-width: 800px;
}

.video-overlay h1 {
  font-size: clamp(47px, 3.1rem + ((1vw - 7.68px) * 0.721), 64px);
  font-weight: 700;
  line-height: 1.2;
}

.video-overlay p {
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.3;
  letter-spacing: .3px;
}

.scroll-indicator {
  margin-top: 6vh;
  font-size: 0.8rem;
}

.fa-computer-mouse {
  font-size: 24px;
  margin-bottom: 8px;
}

p.date {
  margin-top: 40px;
  font-size: 0.9rem;
}


.jiggly:hover {
  animation: jiggle 0.5s infinite linear;
}

@keyframes jiggle {
  /* start at 0deg and this scale size.
     scale size is repeated here to maintain smooth scaling */
  0% {transform: rotate(0deg) scale(1.05,1.05);}
  /* midway rotate 2deg right */
  50% {transform: rotate(2deg) scale(1.05,1.05);}
  /* end rotate -2deg left */
  100% {transform: rotate(-2deg) scale(1.05,1.05)}
}



/* Menu */
.menu {
  position: absolute;
  top: 10px;
  left: -20px;
  z-index: 3;
}

.menu li {
  width: 100px;
  list-style:none;
  margin-bottom: 10px;
  padding: 5px 10px;
  font-size: .9rem;
  line-height: 1.2rem;
  background-color: #fcf7f2;
  border-radius: 30px;
  text-align: center;
  z-index: 3;
}

.menu li a {
  cursor: pointer;
  text-decoration: none;
}

.menu li.active {
  background-color: #fff1c3;
  font-weight: bold;
}

/* Modal */
.bg-hi-opacity {
  background-color: rgb(0, 0, 0, 0.8);
}

.blocker::before {
  margin: 0
}

#custom-modal.modal {
  /* Modal max-width should not be percentage, as it will cause issues on large screens */
  max-width: 900px;
  max-height: 90%;
  margin: 0;
  background-color: transparent;
  box-shadow: none;
  padding: 6px;
}

#custom-modal img {
  max-width: 100%;
}

.close-modal {
  border-radius: 50%;
  border: 4px solid #19b999;
}

#custom-modal .close-modal {
  top: 0 !important;
  right: -10px !important;
  border: 3px solid #fff;
}

#p1 {
  background-image: url('/wp-content/uploads/2024/11/sec-sch-scrapbook-1-bg.jpg');
  background-position: top;
  background-size: cover;
}

#p2 {
  background-image: url('/wp-content/uploads/2024/11/sec-sch-scrapbook-2-bg.jpg');
  background-position: center;
}

#p3, #p12, #p16, #p22 {
  background-image: url('/wp-content/uploads/2024/10/sec-sch-scrapbook-3-bg.jpg');
  background-position: bottom;
}

#p4 {
  background-image: url('/wp-content/uploads/2024/11/sec-sch-scrapbook-4-bg.jpg');
  background-position: top;
  background-size: cover;
}

#p5, #p13, #p17, #p21, #p24, #p26, #p27, #p28, #p29  {
  background-image: url('/wp-content/uploads/2024/11/sec-sch-scrapbook-generic_bg.jpg');
  background-repeat: repeat;
  background-size: contain;
}

#p10 {
  background-image: url('/wp-content/uploads/2024/10/sec-sch-scrapbook-10_bg.jpg');
  background-position: top;
  background-size: cover;
}

#p11, #p15, #p20, #p23 {
  background-image: url('/wp-content/uploads/2024/10/sec-sch-scrapbook-11-bg.png');
  background-position: top;
  background-size: cover;
}


/* Media Queries
-------------------------------------------- */

@media only screen and (max-width: 767px) {

  .logo img,
  .logo-btm img {
    width: 100px;
    height: auto;
  }

  .p3-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .p3-container .col_1,
  .p3-container .col_2,
  .p7-container .col_1,
  .p7-container .col_2 {
    flex: 100%;
  }

  .p4-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .p5-container {
    justify-content: center;
    column-gap: 30px;
  }

  .p5-container .col {
    flex: 0 0 150px;
  }

  .p10-container {
    flex-direction: column;
  }

  .column-reverse {
    flex-direction: column-reverse;
  }

  .p10-container .col img,
  .video_popup img {
    max-width: 100%;
    height: auto;
  }

  .video-overlay {
    font-size: 2.2rem;
    width: 85%;
  }

  .video-overlay-sm h1 {
    font-size: 35px;
  }

  .video-wrapper {
    width: 100%;
    margin: 0;
  }

  .video-wrapper video {
    /*width: 100%;
    height: 100%;*/
    max-height: 100vh;
    object-fit: cover;
    aspect-ratio: 9/16;
  }

  video::-webkit-media-controls {
    display: none;
  }

  .video-control {
    display: inline-block;
    font-weight: bold;
    margin: 15px 0;
    padding: 5px 10px;
    color: #fff;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 50px;
    cursor: pointer;
  }

  .content-box {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
    /*overflow-y: scroll;*/
  }

  .flex-center {
    max-width: 340px;
  }

  .flex-nowrap {
    flex-wrap: wrap !important;
  }

  .footer {
    bottom: 10px;
  }

  
}

/* Image comparison slider CSS */
.beforeafter-wrapper{
  max-width: 100%;
}

.beforeafter-horizontal .beforeafter-handle:before, .beforeafter-horizontal .beforeafter-handle:after, .beforeafter-vertical .beforeafter-handle:before, .beforeafter-vertical .beforeafter-handle:after {
  content: " ";
  display: block;
  background: white;
  position: absolute;
  z-index: 30;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); }
  
  .beforeafter-horizontal .beforeafter-handle:before, .beforeafter-horizontal .beforeafter-handle:after,  .beforeafter-horizontal .beforeafter-handle{
    -webkit-animation: hormove 3s ease-in-out; /* Safari 4.0 - 8.0 */
    animation: hormove 3s ease-in-out;	
}

  .beforeafter-vertical .beforeafter-handle:before, .beforeafter-vertical .beforeafter-handle:after,  .beforeafter-vertical .beforeafter-handle{
    -webkit-animation: vertmove 3s ease-in-out; /* Safari 4.0 - 8.0 */
    animation: vertmove 3s ease-in-out;	
}

.beforeafter-horizontal .beforeafter-handle:before, .beforeafter-horizontal .beforeafter-handle:after {
  width: 3px;
  height: 9999px;
  left: 50%;
  margin-left: -1.5px; 
}

.beforeafter-vertical .beforeafter-handle:before, .beforeafter-vertical .beforeafter-handle:after {
  width: 9999px;
  height: 3px;
  top: 50%;
  margin-top: -1.5px; 
}

.beforeafter-before-label, .beforeafter-after-label, .beforeafter-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%; 
}

.beforeafter-before-label, .beforeafter-after-label, .beforeafter-overlay {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s; 
}

.beforeafter-before-label, .beforeafter-after-label {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  transition-property: opacity; 
}

.beforeafter-before-label:before, .beforeafter-after-label:before {
  color: white;
  font-size: 13px;
  letter-spacing: 0.1em; 
}

.beforeafter-before-label:before, .beforeafter-after-label:before {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  line-height: 38px;
  padding: 0 20px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px; 
}

.beforeafter-horizontal .beforeafter-before-label:before, .beforeafter-horizontal .beforeafter-after-label:before {
  top: 50%;
  margin-top: -19px; 
}

.beforeafter-vertical .beforeafter-before-label:before, .beforeafter-vertical .beforeafter-after-label:before {
  left: 50%;
  margin-left: -45px;
  text-align: center;
  width: 90px; 
}

.beforeafter-left-arrow, .beforeafter-right-arrow, .beforeafter-up-arrow, .beforeafter-down-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute; 
}

.beforeafter-left-arrow, .beforeafter-right-arrow {
  top: 50%;
  margin-top: -6px; 
}

.beforeafter-up-arrow, .beforeafter-down-arrow {
  left: 50%;
  margin-left: -6px; 
}

.beforeafter-container {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  z-index: 0;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none; 
}

.beforeafter-container img {
    max-width: 100%;
    position: absolute;
    top: 0;
    display: block; 
}

.beforeafter-container.active .beforeafter-overlay, .beforeafter-container.active :hover.beforeafter-overlay {
    background: rgba(0, 0, 0, 0); 
}

.beforeafter-container.active .beforeafter-overlay .beforeafter-before-label,
.beforeafter-container.active .beforeafter-overlay .beforeafter-after-label, 
.beforeafter-container.active :hover.beforeafter-overlay .beforeafter-before-label,
.beforeafter-container.active :hover.beforeafter-overlay .beforeafter-after-label {
  opacity: 0; 
}

.beforeafter-container * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box; 
}

.beforeafter-before-label {
  opacity: 0; 
}

.beforeafter-before-label:before {
  content: attr(data-content); 
}

.beforeafter-after-label {
  opacity: 0; 
}

.beforeafter-after-label:before {
  content: attr(data-content); 
}

.beforeafter-horizontal .beforeafter-before-label:before {
  left: 10px; 
}

.beforeafter-horizontal .beforeafter-after-label:before {
  right: 10px; 
}

.beforeafter-vertical .beforeafter-before-label:before {
  top: 10px; 
}

.beforeafter-vertical .beforeafter-after-label:before {
  bottom: 10px; 
}

.beforeafter-overlay {
  -webkit-transition-property: background;
  -moz-transition-property: background;
  transition-property: background;
  background: rgba(0, 0, 0, 0);
  z-index: 25; 
}

.beforeafter-overlay:hover {
  background: rgba(0, 0, 0, 0.5); 
}
    
.beforeafter-overlay:hover .beforeafter-after-label {
  opacity: 1; 
}

.beforeafter-overlay:hover .beforeafter-before-label {
  opacity: 1; 
}

.beforeafter-before {
  z-index: 20; 
}

.beforeafter-after {
  z-index: 10; 
}

.beforeafter-handle {
  height: 38px;
  width: 38px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border: 3px solid white;
  -webkit-border-radius: 1000px;
  -moz-border-radius: 1000px;
  border-radius: 1000px;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  z-index: 40;
  cursor: pointer; 
}

.beforeafter-horizontal .beforeafter-handle:before {
  bottom: 50%;
  margin-bottom: 22px;
  -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); 
}
  
.beforeafter-horizontal .beforeafter-handle:after {
  top: 50%;
  margin-top: 22px;
  -webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.beforeafter-vertical .beforeafter-handle:before {
  left: 50%;
  margin-left: 22px;
  -webkit-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); 
}

.beforeafter-vertical .beforeafter-handle:after {
  right: 50%;
  margin-right: 22px;
  -webkit-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); 
}

.beforeafter-left-arrow {
  border-right: 6px solid white;
  left: 50%;
  margin-left: -17px; 
}

.beforeafter-right-arrow {
  border-left: 6px solid white;
  right: 50%;
  margin-right: -17px; 
}

.beforeafter-up-arrow {
  border-bottom: 6px solid white;
  top: 50%;
  margin-top: -17px; 
}

.beforeafter-down-arrow {
  border-top: 6px solid white;
  bottom: 50%;
  margin-bottom: -17px; 
}
  
  
/* Safari 4.0 - 8.0 */
@-webkit-keyframes hormove {
  0% {left: 0%; }
  50% {left: 80%; }
  100% {left: 50%; }
}

@-webkit-keyframes vertmove {
  0% {top: 0%; }
  50% {top: 80%; }
  100% {top: 50%; }
}

/* Standard syntax */
@keyframes vertmove {
    0% {top: 0%; }
	50% {top: 80%; }
	100% {top: 50%; }
}
   
@keyframes hormove {
  0% {left: 0%; }
  50% {left: 80%; }
  100% {left: 50%; }
}
