:root {
  --user-primary-blue: #2f4293;
  --user-dark-blue: #324b77ff;
  --user-light-blue: #00b0d9;
  --user-primary-green: #cddc84;
  --user-primary-pink: #ed2c7e;
  --user-primary-grey: #706f6f;
}

@font-face {
  font-family: "BungeeInline";
  src: url("../fonts/Bungee-Inline.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MyriadPro";
  src: url("../fonts/MyriadPro-Regular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Vipnagorgialla";
  src: url("../fonts/vipnagorgialla\ rg.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "TransformaSans-Trial";
  src: url("../fonts/TransformaSans_Trial-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "TransformaSans-Trial";
  src: url("../fonts/TransformaSans_Trial-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "TransformaSans-Trial";
  src: url("../fonts/TransformaSans_Trial-ExtraBold.ttf") format("truetype");
  font-weight: 800, bolder;
  font-style: normal;
}

@font-face {
  font-family: "TransformaSans-Trial";
  src: url("../fonts/TransformaSans_Trial-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "TransformaSans-Trial";
  src: url("../fonts/TransformaSans_Trial-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "TransformaSans-Trial";
  src: url("../fonts/TransformaSans_Trial-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TransformaSans-Trial";
  src: url("../fonts/TransformaSans_Trial-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

* {
  font-family: "TransformaSans-Trial";
}

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

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-exbold {
  font-weight: 800 !important;
}

.nmt-1 {
  margin-top: -1%;
}

.fw-black {
  font-weight: 900 !important;
}

html,
body {
  background-color: var(--user-primary-blue) !important;
  max-width: 100%;
  overflow-x: hidden;
}

.txt-primary-grey {
  color: var(--user-primary-grey);
}

.txt-primary-blue {
  color: var(--user-primary-blue) !important;
}

.txt-light-blue {
  color: var(--user-light-blue) !important;
}

.txt-purple {
  color: #6f42c1;
}

.txt-pink {
  color: #ed2c7e !important;
}

.ps-6 {
  padding-left: 13rem;
}

.p-6 {
  padding: 6rem;
}

.p-7 {
  padding: 7rem;
}

.bg-green {
  background-color: var(--user-primary-green) !important;
}

.bg-purple {
  background-color: #6f42c1;
}

.bg-pink {
  background-color: #ed2c7e;
  color: white;
}

#main-header {
  position: sticky;
  top: 0%;
  color: white;
  background-color: var(--user-primary-blue);
  border-bottom: 1px solid black;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-banner {
  background-color: var(--user-primary-blue);
  color: white;
  background: linear-gradient(
    180deg,
    var(--user-primary-blue) 99.5%,
    var(--user-primary-green) 99.5%
  );
  background-size: contain;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding-top: 1rem;
  margin-top: -0.1%;
  text-align: center;
}

.green-wave-container img {
  position: relative;
  width: 100%;
  margin-top: -5%;
}

.about-section {
  background-color: var(--user-primary-green);
  background: url("../images/two-person.svg") no-repeat 99% 100%,
    url("../images/astronaut.svg") no-repeat 8% 9%;
  background-size: 11rem, 7rem;
  color: var(--user-primary-blue);
}

.btn-view-video {
  color: var(--user-primary-blue);
  border: 2px solid var(--user-primary-blue);
}

.for-students {
  background-color: white;
}

.nav-link {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.main-title-green {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.main-title-green::after {
  content: "";
  background: url("../images/white-line-2.svg") no-repeat center center;
  background-size: contain;
  width: 80%;
  height: clamp(40px, min(8vw, 7rem), 100px);
}

.bg-white-pink {
  background: linear-gradient(180deg, white 50%, var(--user-primary-pink) 50%);
}

#students-tab {
  position: relative;
  z-index: 9;
  background: url("../images/purple-button.svg") no-repeat center center;
  background-size: 100%;
  color: white;
  width: 108% !important;
  margin-bottom: -0.75rem;
  margin-right: -23rem !important;
  padding-left: 3rem !important;
  padding-top: 5rem !important;
  padding-bottom: 3rem !important;
  border: none;
}

#students-tab.active {
  background: url("../images/white-button-1.svg") no-repeat center center;
  background-size: 100%;
  background-color: transparent;
  border: none;
  font-weight: 600 !important;
  color: var(--user-primary-pink);
  margin-bottom: -3rem;
}

#teachers-tab {
  position: relative;
  z-index: 10;
  text-align: left;
  margin-right: -25rem;
  width: 108% !important;
  border: none;
  background: url("../images/blue-button.svg") no-repeat center center;
  background-size: 100%;
  color: white;
  margin-bottom: -0.75rem;
  padding-left: 3rem !important;
  padding-top: 5rem !important;
  padding-bottom: 3rem !important;
}

#teachers-tab.active {
  background: url("../images/white-button-1.svg") no-repeat center center;
  border: none;
  font-weight: 600 !important;
  color: var(--user-light-blue);
  background-size: 100%;
  margin-bottom: -3rem;
}

#parents-tab {
  position: relative;
  z-index: 11;
  width: 110% !important;
  text-align: left;
  background: url("../images/dark-blue-button-2.svg") no-repeat center center;
  background-size: 100%;
  border: none;
  color: white;
  padding-top: 5rem !important;
  margin-bottom: -0.75rem;
  padding-bottom: 3rem !important;
  padding-left: 3rem !important;
}

#parents-tab.active {
  background: url("../images/white-button-1.svg") no-repeat center center;
  background-size: 100%;
  border: none;
  background-color: transparent;
  font-weight: 600 !important;
  color: var(--user-primary-blue);
  margin-bottom: -3rem;
}

#myTabEducations {
  margin-bottom: 2rem;
}

.education-tabs {
  background-color: transparent !important;
  border: none !important;
  color: white;
  opacity: 80%;
}

.education-tabs:hover {
  color: rgb(207, 207, 207);
}

.education-tabs.active {
  color: white !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 100%;
}

.education-tabs.active::after {
  content: "";
  background: url("../images/white-line.svg") no-repeat center center;
  background-size: contain;
  width: 100%;
  height: 34px;
}

.books-image {
  width: 100%;
  height: auto;
  margin-right: -50px;
  position: relative;
  float: right;
}

.first-tumbnail-img {
  width: 113%;
  position: relative;
  left: -11%;
}

.second-thumbnail-img {
  width: 110%;
  position: relative;
  right: -15%;
}

.carousel-item.partners {
  transform: 2s;
}

.carousel-item.partners.active,
.carousel-item-start,
.carousel-item-end {
  display: flex;
  justify-content: space-between;
  transform: 2s;
}

.carousel-cell.partners img {
  width: 100% !important;
  max-width: 250px;
}

.carousel-control-prev.partners {
  left: -11%;
}

.carousel-control-next.partners {
  right: -11%;
}

.contact-form input {
  color: white;
  background-color: var(--user-dark-blue);
}

.contact-form textarea {
  color: white;
  background-color: var(--user-dark-blue);
}

.expeditions-section {
  background: url("../images/white-wave.webp") no-repeat center -5%,
    url("../images/flying-girl.svg") no-repeat 100% 25%,
    linear-gradient(180deg, white 1.5%, var(--user-primary-pink) 1.5%);
  background-size: contain, 12rem, auto;
  padding-bottom: 2rem;
}

.materials-section {
  background: url("../images/pink-wave.png") no-repeat center 0%,
    linear-gradient(180deg, var(--user-primary-pink) 0.1%, white 0.1%);
  background-size: contain;
}

.tools-kit {
  background: url("../images/blue-artefact.svg") no-repeat center 0%,
    linear-gradient(180deg, white 20%, var(--user-primary-blue) 20%);
  background-size: contain;
}

.partners-section {
  background: url("../images/green-wave-2.svg") no-repeat center 0%,
    linear-gradient(
      180deg,
      var(--user-primary-blue) 15%,
      var(--user-primary-green) 15%
    );
  background-size: contain;
}

.another-group {
  width: 100%;
  margin-bottom: -38rem;
}

.group-people {
  width: 30vw;
  margin-left: -8rem;
  margin-bottom: -4.1111rem;
}

.alert-float {
  position: fixed;
  z-index: 100000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0);
}

.alert-float.alert-float:hover {
  opacity: 95%;
}

.transport-button {
  position: fixed;
  display: flex;
  top: 85%;
  left: 90%;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  z-index: 1000;
  -webkit-box-shadow: 2px 4px 11px 4px rgba(0, 0, 0, 0.22);
  -moz-box-shadow: 2px 4px 11px 4px rgba(0, 0, 0, 0.22);
  box-shadow: 2px 4px 11px 4px rgba(0, 0, 0, 0.22);
  transition: 0.2s;
}

.transport-button:hover {
  background-color: rgb(231, 231, 231) !important;
}

.lone-man-image {
  width: 17vw;
  margin-left: -7vw;
  margin-bottom: -30rem;
}

.close-button,
.close-button-ex-1,
.close-button-ex-2,
.close-button-ex-3 {
  position: fixed;
  top: 2%;
  left: 96%;
  color: rgb(230, 0, 0);
  background-color: transparent;
  border: none;
  transition: 0.3s;
}

.close-button:hover,
.close-button-ex-1:hover,
.close-button-ex-2:hover,
.close-button-ex-3:hover {
  opacity: 80%;
}

.modal-dialog-about,
.modal-dialog-ex-1,
.modal-dialog-ex-2,
.modal-dialog-ex-3 {
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  background-color: transparent;
}

.video-iframe {
  width: 70vw;
  height: 40vw;
}

dialog:-internal-dialog-in-top-layer::backdrop {
  background: rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1400px) {
  .lone-man-image {
    margin-bottom: -5rem;
  }
}

@media screen and (max-width: 1080px) {
  .p-7 {
    padding: 4.5rem;
  }

  .carousel-cell.partners img {
    width: 100% !important;
    max-width: 200px;
  }

  .expeditions-section {
    background-position-y: -3%, 30%;
  }

  .another-group {
    margin-bottom: -42rem;
  }

  .tools-kit {
    background: url("../images/blue-artefact.svg") no-repeat center 0%,
      linear-gradient(180deg, white 16%, var(--user-primary-blue) 16%);
    background-size: contain;
  }
}

@media screen and (max-width: 780px) {
  * {
    font-size: 80%;
  }

  .contact-form {
    width: 90% !important;
  }

  .carousel-cell.partners img {
    width: 100% !important;
    max-width: 300px;
  }

  .carousel-control-prev.partners {
    left: -5%;
  }

  .carousel-control-next.partners {
    right: -5%;
  }

  .carousel-item.partners.active,
  .carousel-item-start,
  .carousel-item-end {
    justify-content: center;
    transform: 2s;
  }

  .p-6,
  .p-7 {
    padding: 7rem 2rem;
  }

  .books-image {
    float: none;
    margin: 0;
  }

  /* .main-banner {
    background-position: center 104%;
  } */

  .expeditions-section {
    background-position-y: -2%, 30;
  }

  .tools-kit {
    background: url("../images/blue-artefact.svg") no-repeat center 0%,
      linear-gradient(180deg, white 15%, var(--user-primary-blue) 15%);
    background-size: contain;
  }

  .second-thumbnail-img {
    position: static;
    width: 100%;
  }

  .education-content {
    padding: 1rem !important;
  }

  .another-group {
    margin-bottom: -47rem;
  }

  .group-people {
    width: 35vw;
    margin-left: -4rem;
    margin-bottom: -3.8rem;
  }
}

@media screen and (max-width: 767px) {
  .another-group {
    display: none;
  }

  .row-for-content {
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .lone-man-image {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .expeditions-section {
    background-position-y: 0%, 101%;
  }

  .tools-kit {
    background: url("../images/blue-artefact.svg") no-repeat center 0%,
      linear-gradient(180deg, white 3%, var(--user-primary-blue) 3%);
    background-size: contain;
  }

  .partners-section {
    background: url("../images/green-wave-2.svg") no-repeat center 0%,
      linear-gradient(
        180deg,
        var(--user-primary-blue) 5%,
        var(--user-primary-green) 5%
      );
    background-size: contain;
  }

  .about-section {
    background-position: 99% 100%, 8% 2%;
  }

  .group-people {
    width: 80%;
    margin-left: 0;
    margin-bottom: -4.1111rem;
  }

  #students-tab {
    background: none;
    background-color: var(--user-primary-pink);
    margin: 0 !important;
    padding: 2rem !important;
  }

  #teachers-tab {
    background: none;
    background-color: var(--user-light-blue);
    text-align: center;
    margin: 0 !important;
    padding: 2rem !important;
  }

  #parents-tab {
    background: none;
    background-color: var(--user-dark-blue);
    text-align: center;
    margin: 0 !important;
    padding: 2rem !important;
  }

  #parents-tab.active,
  #teachers-tab.active,
  #students.active {
    background: none;
    background-color: white;
  }

  .education-tabs.active::after {
    width: 60%;
  }

  .transport-button {
    width: 4rem;
    height: 4rem;
    left: 81%;
  }
}
