@font-face {
    font-family: 'Asen Pro';
    src: url('../fonts/AsenPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Asen Pro';
    src: url('../fonts/AsenPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    background-image: url('../images/DMRunnerBG.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: calc(var(--vh, 1vh) * 100);
    overflow-x: hidden;
}

#main-header {
    height: 8vh;
    width: 100%;
    z-index: 1;
}

#landing {
    height: 92vh;
    width: 100%;
    z-index: 1;
}

.mission-background {
    background-image: url('../images/mission.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 75vh;
    z-index: 10;
}

.mission-text {
    font-size: 5.2vh;
}

.about-bg-img {
    background-image: url('../images/aboutUs.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 75vh;
    z-index: 10;
}

.contact-section {
    background-image: url('../images/contact.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    z-index: 10;
}

.footer-bg {
    background-image: url('../images/footer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    z-index: 10;
}

.about-text {
    font-size: 3.0vh;
}

.asen {
    font-family: 'Asen Pro', sans-serif;
}

.asen-bold {
    font-weight: 700;
}

.modal-content {
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px; /* Extend to hide blur edges */
    background-image: url('../images/3WkCalculusBackgroundCMP.jpeg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    filter: blur(3px);
    z-index: 0;
}

.modal-header,
.modal-body,
.modal-footer {
    position: relative;
    z-index: 1;
}

.btn-close {
    filter: invert(1); /* Makes the close button white */
}

.crayola {
    color: #1F75FE;
}

.pale-lime-green {
    color: #A8FF60;
}

.pale-lime-green-bg {
    background-color: #A8FF60;
}

.salmon {
    color: #FA503D;
}

.salmon-bg {
    background-color: #FA503D;
}

.butter {
    color: #FFFD74;
}

.butter-bg {
    background-color: #FFFD74;
}

.peach {
    color: #E8A87C;
}

.peach-bg {
    background-color: #E8A87C;
}

.ebony {
    color: #555D50;
}

.ebony-bg {
    background-color: #555D50;
}

.catch-phrase {
    font-size: 8vh;
}

.tagline {
    font-size: 6vh;
}

.course-info {
    font-size: 3vh;
}

.stacked-img {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* or center, depending on layout */
    gap: 0;
    position: relative;
}

.top-right-image {
    height: 50vh;
    object-fit: contain;
    z-index: 1;
    top: 0;
    left: 0;
}

.icon-bubble {
    width: 5.5vh;
    height: 5.5vh;
    background-color: #1F75FE;
}

.chalk {
    height: 15vh;
    z-index: 2;
    margin-top: -15vh;
}

#particles-js canvas {
    display: block;
    vertical-align: bottom;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: opacity .8s ease, -webkit-transform 1.4s ease;
    transition: opacity .8s ease, transform 1.4s ease;
}

#particles-js {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.no-wrap-overflow-desktop {
    transform: translate(0%, 0%);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

@media (min-width: 1200px) {
    .no-wrap-overflow-desktop {
        transform: translate(-30%, 0%);
        white-space: nowrap;
        overflow: visible;
        text-overflow: unset;
    }
}

#course-content {
    display: block;
    font-size: 3.5vh;
}

.variable-columns {
    column-count: 1;
}

.video-wrapper {
  max-height: 60vh;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

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

.video-player {
  /*height: 80vh;*/
  width: 100vw;
}

.hide-on-mobile {
    display: block;
}

.show-on-mobile {
    display: none;
}

.section-gap {
    margin-top: 10vh;
}

.social-icon {
  height: 6vh;
  transition: transform 0.2s ease;
    z-index: 100;
}

.social-icon:hover {
  transform: scale(1.1);
}

@media (max-width: 920px) {
  .social-icon {
    height: 4vh;
  }
}

/* @media (max-width: 576px) { */
@media (max-width: 990px) {
    .about-bg-img {
        background-image: url('../images/aboutUsMobile.webp');
        background-size: contain;
        height: 100vh;
    }

    .catch-phrase {
        font-size: 4vh;
    }

    .contact-section {
        height: 100vh;
    }

    .tagline {
        font-size: 3vh;
    }

    .course-info {
        font-size: 2.1vh;
    }

    #landing {
        height: calc(100vh - 8vh);
    }

    .mission-text {
        font-size: 3.7vh;
    }

    .footer-bg {
        background-image: url('../images/footerMobile.webp');
    }

    .top-right-image {
        height: 32vh;
        margin-left: auto;
        margin-right: auto;
    }

    .chalk {
        height: 8vh;
        z-index: 2;
        margin-top: -8vh;
        margin-left: 30vh;
    }

    .call-to-action {
        font-size: 2.5vh;
    }

    #course-content {
        font-size: 2.2vh;
    }

    .about-text {
        font-size: 2.3vh;
    }

    .variable-columns {
        column-count: 2;
    }

    .hide-on-mobile {
        display: none;
    }

    .show-on-mobile {
        display: block;
    }

    .video-player {
      /*height: 30vh;*/
      width: 100vw;
    }
}
