.banner_img {
  background-image: url("/sites/default/files/assets/quiz/image.png");
}

.article-box {
  position: relative;
  max-width: 300px;
  height: 150px;
  /* Adjusted height */
  border-radius: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3c806b;
  font-size: 0.875rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  background-color: #fff;
  text-align: center;
  text-decoration: none;
}
.article-box a {
  color: inherit;
  text-decoration: none;
  padding: 10px;
}
.article-box:hover {
  box-shadow: rgba(50, 50, 93, 0.45) 0px 13px 27px -5px, rgba(0, 0, 0, 0.5) 0px 8px 16px -8px;
}

/* Ribbon styling */
.ribbon {
  position: absolute;
  top: 0;
  left: 20px;
  width: 25px;
  height: 60px;
  background-color: #3b7c83;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}

.article_box_2 {
  width: 100%;
  height: 187px;
  background-image: url("/sites/default/files/assets/video page/article_backgroundv2.png");
  background-size: 140px 187px;
  font-size: 13px !important;
  text-decoration: none;
  border-radius: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3C806B;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.article_box_2:hover {
  box-shadow: rgba(50, 50, 93, 0.45) 0px 13px 27px -5px, rgba(0, 0, 0, 0.5) 0px 8px 16px -8px;
}

.article_box_2 a {
  font-size: 13px !important;
  text-decoration: none;
  color: inherit;
  padding-top: 30px;
}

.article_cont_2:hover a {
  text-decoration: none;
}

.article_cont_2 {
  width: 140px;
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 40px;
}

.article_cont_3 {
  width: 140px;
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  margin-right: 20px;
}

.mini_container {
  width: 73%;
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 10px 40px 10px;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .mini_container {
    width: 100%;
  }
}
/*
@media only screen and (max-width: 1062px) {
  .quiz_prompt {
    display: none;
  }

  .quiz_lower {
    display: block !important;
  }
}
*/
.quiz_lower {
  display: block !important;
}

.quiz_button {
  padding: 7px 25px 7px 25px;
  border: 2px solid #3C806B;
  background-color: white;
  border-radius: 10px;
  outline: none;
  color: #3C806B;
  text-decoration: none;
  font-size: 20px !important;
}

.quiz_button:hover {
  background-color: #EAEAEA;
}

.quiz_prompt {
  padding: 20px;
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: rgba(225, 225, 225, 0.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  text-align: center;
  border-radius: 10px;
  position: absolute;
  top: 30%;
  right: 10%;
}

.quiz_lower {
  padding: 20px;
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #E4FEFC;
  text-align: center;
  border-radius: 10px;
  margin: 0 auto;
  display: none;
}

.good_teacher_bottom {
  width: 100%;
  height: 450px;
  padding-top: 40px;
  padding-bottom: 40px;
  background-image: url(/sites/default/files/assets/quiz/quiz_footer.jpg);
  background-position: center;
  background-position-y: 400px !important;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.image-container {
  width: 100%;
  /* Make it take the full width of its parent */
  max-width: 500px;
  /* Optional: Set a maximum width */
  aspect-ratio: 5/3;
  /* Keep a consistent aspect ratio (500px:300px = 5:3) */
  overflow: hidden;
  border-radius: 1.5rem;
}

.image-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* Ensures the image fills the container */
  -o-object-position: 50% 15%;
     object-position: 50% 15%;
  /* Focus on the top of the image */
}

#start-quiz {
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.number-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 80px;
  min-height: 80px;
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 2px #3b7c83;
}
