@font-face {
  font-family: "CircularStd-Book";
  src: url("../fonts/CircularStd-Book.eot");
  src: url("../fonts/CircularStd-Book.eot?#iefix") format("embedded-opentype"),
    /* url("../fonts/CircularStd-Book.woff2") format("woff2"), */
      url("../fonts/CircularStd-Book.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "CircularStd-Medium";
  src: url("../fonts/CircularStd-Medium.eot");
  src: url("../fonts/CircularStd-Medium.eot?#iefix") format("embedded-opentype"),
    /* url("../fonts/CircularStd-Medium.woff2") format("woff2"), */
      url("../fonts/CircularStd-Medium.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "CircularStd-Bold";
  src: url("../fonts/CircularStd-Bold.eot");
  src: url("../fonts/CircularStd-Bold.eot?#iefix") format("embedded-opentype"),
    /* url("../fonts/CircularStd-Bold.woff2") format("woff2"), */
      url("../fonts/CircularStd-Bold.woff") format("woff");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

body {
  min-width: 330px;
  font-family: "CircularStd-Book", sans-serif;
  font-weight: 400;
  background-color: #f4a038;
}

main {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "CircularStd-Book", sans-serif;
  margin-bottom: 0;
}

div,
span,
label {
  font-family: "CircularStd-Book", sans-serif;
}

.ms-32 {
  margin-left: 2rem;
}

.bold {
  font-weight: 700 !important;
}

.top-container {
  background: #ffffff;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  margin: 1.5rem 1.5rem 0;
}

.logo {
  width: auto;
  height: 10.5rem;
}

.title {
  color: #78483f;
  font-size: 3.5rem;
  font-weight: 700;
}

.academia-year {
  color: #78483f;
  font-size: 2rem;
  font-weight: 700;
}

.download-btn {
  background: #eb5427;
  color: #fefefe;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.25rem 1rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: auto;
}

.profile-container {
  background: #59beac;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  padding: 1rem 1rem 0.5rem;

  .name-dropdown {
    border: 2px solid #ffffff;
    border-top-left-radius: 0.625rem;
    border-top-right-radius: 0.625rem;
    width: 100%;
    background: transparent;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.25rem 0;
    cursor: pointer;
  }

  #student_name option {
    padding: 0.625rem;
    background: #fff;
    color: #00092c;
  }

  .profile-label {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
  }

  .box-container {
    border: 2px solid #ffffff;
    border-top-left-radius: 0.625rem;
    border-top-right-radius: 0.625rem;
  }
}

.profile-img-container {
  background-image: url("../image/bg.jpg"), url("../image/bg.jpg");
  background-position: left center, right center; /* Positions the images horizontally on their respective sides */
  background-size: 50% 100%, 50% 100%; /* Ensures each image takes up 50% width and 100% height */
  /* background-repeat: no-repeat, no-repeat; */
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* filter: blur(5px); */
  display: flex;
  justify-content: center;
  height: 100%; /* Ensure the container itself has full height */

  .overlay {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    /* background-color: rgba(96, 139, 193, 0.5);  */
  }

  .profile-learner {
    margin: -3.5rem 0 -9rem;
    .profile-img {
      /* border: 1px solid #000000; */
      border-radius: 50%;
      width: auto;
      height: 30rem;
      /* box-shadow: 0 0 0 11px #eeeae5, 0 0 0 12px #000000; */
    }
    .profile-score {
      transform-origin: 18.25rem 16.875rem;
      transition: transform 1s ease-in-out; /* Add animation */
    }
  }

  .profile-label {
    background: #eb5427;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 1.5rem;
    width: max-content;
    padding: 0.25rem 1.75rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: -4rem;
    position: relative;
  }
}

.quote {
  background: #ffffff;
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  /* Container for the quote */
  .quote-box {
    position: relative;
    border: 4px solid #f5a542;
    border-radius: 0 1rem;
    text-align: center;
    width: 33.33%;
  }

  /* Styling the quotation marks */
  .quote-mark {
    font-size: 5rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: #00092c;
    position: absolute;
  }

  .quote-mark.left {
    /* top: -2.5rem; */
  }

  .quote-mark.right {
    /* bottom: -20px; */
  }

  /* Styling the quote text */
  .quote-text {
    font-size: 1.25rem;
    line-height: 1.5;
    padding: 1rem;
  }
}

.section {
  height: 100%;
  .section-title-bg {
    padding: 1rem 0;

    .section-title {
      color: #ffffff;
      font-size: 1.5rem;
      font-weight: 600;
      text-align: center;
    }
  }
  .section-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    gap: 1.5rem;

    .section-score-container {
      position: relative;
      z-index: 1;
      .score-container {
        position: absolute;
        top: 30%;
        width: 100%;
        /* left: 30%; */
        display: flex;
        flex-direction: column;
        text-align: center;
        .score {
          color: #ffffff;
          font-size: 2.5rem;
          font-weight: 600;
          line-height: 2.125rem;
        }
        .words {
          color: #ffffff;
          font-size: 1rem;
          font-weight: 500;
          line-height: 1rem;
        }
        .words-small {
          color: #ffffff;
          font-size: 0.875rem;
          font-weight: 500;
          line-height: 1rem;
        }
      }

      .section-score-meter {
        width: 10rem;
        height: auto;
      }

      .section-score-reader {
        transform-origin: 6.25rem 6rem;
        transition: transform 1s ease-in-out; /* Add animation */
      }
    }

    .arrow {
      position: absolute;
      left: calc(40% - 3.125rem);
      width: 0;
      height: 0;
      border-top: 6rem solid transparent;
      border-bottom: 5rem solid transparent;
      border-right: 5rem solid #bccecc;
    }

    .video-player-container {
      position: relative;
      z-index: 1;
      border-radius: 0.8rem;
      background: linear-gradient(
        90deg,
        rgb(79 185 167) 0%,
        rgb(80 186 168) 26%,
        rgb(80 187 168) 87%
      );
      padding: 6px 6px 10px;
      box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2),
        -5px -5px 15px rgba(255, 255, 255, 0.5);

      .video-player {
        border-radius: 0.8rem;
        height: 8.5rem;
        /* height: 12.5rem; */
        object-fit: cover;
        background: white;
      }

      .video-title {
        background: #bbbac0;
        color: #3f3f41;
        font-size: 0.875rem;
        font-weight: 700;
        border-radius: 2rem;
        text-align: center;
        padding: 0 1rem;
        width: max-content;
        margin: auto;
      }
    }
  }
}

.section-title-bg1 {
  background: #50bba8;
}

.section-body1 {
  background: #badfd7;
  height: 100%;
}

.section-title-bg2 {
  background: #6d914f;
}

.section-body2 {
  background: #cfdbc5;
  height: 100%;
}

.section-title-bg3 {
  background: #78483f;
}

.section-body3 {
  background: #e1d8d5;
  height: 100%;
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .profile-learner {
    margin: 1rem auto !important;
  }

  .quote {
    padding: 1rem;
    display: grid;
    gap: 1.5rem;
    justify-content: center;

    .quote-box {
      width: 100% !important;
    }
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .arrow {
    border-bottom: 4rem solid transparent !important;
    left: calc(40% - 2.5rem) !important;
  }

  .profile-learner {
    margin: 1rem auto !important;
  }

  .quote {
    padding: 1rem;
    display: grid;
    gap: 1.5rem;

    .quote-box {
      width: 100% !important;
    }
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .profile-img {
    height: 25rem !important;
  }

  .title {
    font-size: 2.5rem;
  }

  .video-player {
    height: 7rem !important;
  }

  .arrow {
    border-bottom: 4rem solid transparent !important;
  }

  .profile-learner {
    margin: 1rem auto !important;
  }

  .quote {
    padding: 1rem;
    display: grid;
    gap: 1.5rem;

    .quote-box {
      width: 100% !important;
    }
  }
}

@media (max-width: 768px) {
  .top-container {
    margin: 1.5rem 1rem 0 !important;
  }

  .mobile-align-center {
    justify-content: center;
    gap: 0.5rem 0;
  }

  .profile-label {
    text-align: center !important;
  }

  .logo {
    margin: auto;
  }

  .download-btn {
    margin-bottom: 1rem;
  }

  .title {
    font-size: 2.5rem;
    text-align: center;
  }

  .academia-year {
    text-align: center;
  }

  .profile-learner {
    margin: 1rem auto !important;
  }

  .quote {
    padding: 1rem;
    display: grid;
    gap: 1.5rem;

    .quote-box {
      width: 100% !important;
    }
  }
}

@media (min-width: 569px) and (max-width: 768px) {
  .profile-img {
    height: 25rem !important;
  }

  .title {
    font-size: 2.5rem;
  }

  .video-player {
    height: 9rem !important;
  }

  .section-body {
    gap: 3rem !important;
  }

  .arrow {
    border-bottom: 6.25rem solid transparent !important;
    left: calc(42% - 2.5rem) !important;
  }
}

@media (min-width: 425px) and (max-width: 568px) {
  .profile-img {
    height: 22rem !important;
  }

  .video-player {
    height: 8rem !important;
  }
}

@media (max-width: 424px) {
  .profile-img {
    height: 22rem !important;
  }

  .video-player {
    height: 10rem !important;
  }

  .section-score-container,
  .arrow {
    display: none !important;
  }
}

/* Backdrop styles */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it sits above other elements */
}

.message {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: #ffffff;
}

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.dot {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #3498db;
  border-radius: 50%;
  animation: bounce 1.5s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
  background-color: red;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
  background-color: orange;
}

.dot:nth-child(4) {
  animation-delay: 0.6s;
  background-color: yellow;
}

.dot:nth-child(5) {
  animation-delay: 0.8s;
  background-color: green;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0.8);
  }
  40% {
    transform: scale(1.2);
  }
}

.loader-container {
  /* display: flex; */
  justify-content: center;
  align-items: center;
  margin: auto;
  gap: 0.5rem;
  position: absolute;
  width: 100%;
  top: 15%;
  display: none;
}

.loader-container div {
  width: 8px;
  border-radius: 4px;
  background: linear-gradient(to top, #ff00d5, #15ceff, #ff00d5);
  transform: scaleY(1.4);
  animation-duration: 2.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.rectangle-1 {
  height: 15px;
  animation-delay: 0.1s;
}
.rectangle-3 {
  height: 25px;
  animation-delay: 0.2s;
}
.rectangle-5 {
  height: 35px;
  animation-delay: 0.4s;
}

.animation-load {
  animation-name: load;
}

@keyframes load {
  0%,
  100% {
    transform: scaleY(1);
  }
  16.67% {
    transform: scaleY(1.6);
  }
  33.33% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.6);
  }
  66.67% {
    transform: scaleY(1);
  }
  83.34% {
    transform: scaleY(1.6);
  }
}
