@import url("https://fonts.googleapis.com/css?family=Rubik:400,500i&display=swap");

html,
body {
  margin: 0;
  background: #004d69;
  overflow-x: hidden;
  font-family: "Rubik", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  position: relative;
}


header img {
  width: 200px;
}

img {
  width: 100%;
}

.hidden {
  display: none !important;
  opacity: 0 !important;
}

/* Modal */
.modal-loading {
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #00000078;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
}

.modal-loading .loading {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #195566;
  padding: 20px;
  border-radius: 15px;
  width: fit-content;
}


.modal-loading .loading .waiting {
  width: 30px;
  height: 30px;
  animation: rotate 1.5s infinite linear;
}

.modal-loading .loading .waiting i {
  font-size: 30px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.title-about,
.commtitments-title {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
}

/* About */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

.about-container .text-container {
  background-color: #0082a4;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container .text-container .text {
  width: 50%;
  text-align: center;
}

.about-container .header-img {
  width: 300px;
}

h2 {
  margin-bottom: 10px;
}

.btn {
  background: #38a0bd;
  color: #000;
  transition: 150ms;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  align-self: start;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.btn:hover {
  background: #29798f;
}

.text-video-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  flex-wrap: wrap;
}

.text-field-video,
.video-container {
  background-color: #38a0bd30;
  border: 1px solid aqua;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 1px 5px 9px #00000020;
}


.text-field-video {
  width: 50vw;
  height: 310px;
  overflow-y: scroll;
}

.video-container {
  width: 400px;
  min-height: 200px;
}

.watch-text {
  color: aqua;
  font-weight: bold;
  text-align: center;
}

.choose-video {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 170px;
  margin-top: 20px;
}

.choose-video button {
  border: none;
  background: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
}

.choose-video button.active {
  color: aqua;
}

video {
  width: 100%;
  display: none;
}



/* Commitments */
.commitments {
  background-color: #0082a4;
  padding: 20px 0;
}

.commitments h6 {
  font-size: 16px;
  color: aqua;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 15px;
}

.commitment-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.commitment-button {
  width: 100px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.commitment-button .indicator {
  width: 10px;
  height: 10px;
  background-color: aqua;
  border-radius: 100px;
  opacity: 0;
  display: block;
}

.commitment-button .indicator.active {
  opacity: 1;
}

.commitment-info-container {
  max-width: 500px;
  min-height: 246px;
  padding: 20px;
  margin: 60px auto 115px;
  border: 1px solid aqua;
  border-radius: 10px;
  box-shadow: 1px 5px 9px #00000020;
}

.commitment-title {
  font-size: 20px;
  color: aqua;
  margin: 0 0 15px;
}

.commitment-info {
  max-height: 600px;
  overflow-y: scroll;
}

.members {
  display: flex;
  gap: 10px;
  width: 260px;
}

.members-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 5px 0;
  width: 100%;
}

.members-slider span {
  display: block;
}

.members-slider span.ball {
  width: 10px;
  height: 10px;
  background: #76dcff;
  border-radius: 50%;
  position: absolute;
}

.members-slider span.slider {
  width: 100%;
  height: 2px;
  background: #289ad0b3;
  border-radius: 50px;
}

* {
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  width: 0px;
}

*::-webkit-scrollbar-track-piece {
  background-color: transparent;
}


footer {
  background-color: #0082a4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer div:nth-child(2) {
  position: absolute;
  right: 0;
  padding: 0 50px 0 0;
}

footer a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer a span {
  font-size: 18px;
  text-transform: uppercase;
  color: aqua;
  font-weight: bold;
}

@media screen and (max-width:600px) {
  .commitment-info-container {
    margin-left: 10px;
    margin-right: 10px;
  }
}


@media screen and (max-width:700px) {
  header {
    flex-wrap: wrap;
  }

  .members {
    margin: 10px 0 0 auto;
    width: 135px;
  }
}

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

  .title-about,
  .commtitments-title {
    position: relative;
  }

  .commitment-info-container {
    margin-bottom: 200px;

  }

  footer {
    flex-direction: column;
  }

  footer div:nth-child(2) {
    position: relative;
    padding: 0 0 19px;
  }

  footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
}

@media screen and (max-width: 1100px) {
  .about-container {
    width: 100%;
  }

  .about-container .text-container .text {
    width: auto;
    padding: 0 30px;
  }

  .text-video-container {
    flex-direction: column;
    padding-right: 0;
    padding-left: 0;
  }

  .text-field-video,
  .video-container {
    width: 80vw;
  }

  .video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .choose-video {
    margin-bottom: 150px;
  }
}