.popup-wrapper-langs {
  position: fixed;
  z-index: 1000000000;
  top: -100vh;
  height: 100vh;
  width: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  text-transform: uppercase;
}

.popup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 100%;
  max-height: 660px;
  max-width: 930px;
  width: 100%;
  border-radius: 25px;
  padding: 32px 29px 32px 24px;
  top: 0;
  background-color: #000;
  z-index: 100;
}

.popup-text * {
  white-space: normal !important;
}

.popup .redirect-link {
  letter-spacing: -0.68px;
  margin-bottom: 0;
}

.show-modal {
  height: 100vh;
  overflow: hidden;
}

.list-alphabet li {
  list-style-type: lower-alpha;
}

.popup-text {
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 0 20px 20px;
  width: 100%;
  max-height: 570px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.popup-text p a {
  font-size: 18px;
  line-height: 28px;
  color: #3fd62b;
}

.popup-text p a:visited {
  color: #3fd62b;
}

.popup-text-title {
  font-size: 18px;
  padding-top: 8px;
  color: #3fd62b;
}

.popup ol,
.popup ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-link {
  margin-top: 60px;
}

.popup-text h2 {
  text-align: left;
}

.popup-headline {
  color: #3fd62b;
  text-transform: uppercase;
  font-size: 4vh;
  text-align: center;
  padding: 10px 0;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 10px;
  padding: 10px;

  background-color: transparent;
  border: none;
  outline: none;
}

.popup-close-img {
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.close-popup {
  display: none;
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 5000;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.popup-btn__wrap {
  border-radius: 0 0 25px 25px;
  height: 30%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-text-title {
  font-size: 18px;
  padding-top: 8px;
  color: #3fd62b;
}

.popup__title {
  /*font-family: "TT Octosquares Trl Cnd", sans-serif;*/
  font-size: 28px;
  line-height: normal;
  color: #3fd62b;
  margin-bottom: 32px;
  text-align: center;
}

.popup-text p,
.green-span {
  /*font-family: "TT Octosquares Trial Variable", sans-serif;*/
  font-size: 22px;
  line-height: 163.636%;
  color: #e6e6e6;
  margin-bottom: 5px;
}

.green-span {
  color: #3fd62b;
}

.popup-text ol,
.popup-text ul {
  padding-left: 32px !important;
  margin-bottom: 16px !important;
}

.popup-text ul ul,
.popup-text ul ol,
.popup-text ol ul,
.popup-text ol ol {
  margin-bottom: 0 !important;
}

.popup-text ol li,
.popup-text ol li span,
.popup-text ol li a,
.popup-text ul li,
.popup-text ul li span,
.popup-text ul li a {
  color: #e6e6e6;
  font-size: 20px;
}

.popup-text ol li a,
.popup-text ul li a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.popup-text li,
.popup-text li * {
  margin: 0 !important;
}

.accent-color {
  color: #3fd62b;
}

table {
  display: grid;
  grid-template-columns: minmax(auto, 300px) auto;
  border: 1px solid #3fd62b;
  border-radius: 8px;
}

thead,
tbody {
  display: contents;
}

tr {
  display: contents;
}

th,
td {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border: 1px solid #3fd62b;
  border-radius: 5px;
}

.popup-text * {
  white-space: normal !important;
  font-family: "TT Octosquares Trial Variable", sans-serif !important;
  letter-spacing: 0px !important;
  word-spacing: 0px;
}

.popup-text p,
.popup-text p * {
  font-size: 20px !important;
}

.popup-text h1,
.popup-text h1 * {
  font-size: 24px !important;
  margin: 0 !important;
  color: #3fd62b !important;
}

.popup-text h2,
.popup-text h2 * {
  font-size: 22px !important;
  color: #3fd62b !important;
}

.popup {
  padding-bottom: 0 !important;
}

.redirect-link {
  text-align: center;
}

@media screen and (max-height: 950px) and (min-width: 1000px) and (max-width: 1600px) {
  .popup-btn__wrap {
    height: 20% !important;
  }
}

@media screen and (max-width: 1024px) {
  .popup-btn__wrap {
    height: 20% !important;
  }

  .popup-text p,
  .popup-text p * {
    font-size: 16px !important;
  }

  .popup-text h1,
  .popup-text h1 * {
    font-size: 20px !important;
    margin: 0 !important;
  }

  .popup-text h2,
  .popup-text h2 * {
    font-size: 18px !important;
    margin: 0 0 16px !important;
  }

  .popup-text ul,
  .popup-text ol {
    padding-left: 16px !important;
  }

  .popup-text li {
    margin-left: 16px !important;
  }
}

@media screen and (max-width: 480px) {
  .popup-btn__wrap {
    height: 20% !important;
  }

  .popup-text p,
  .popup-text p * {
    font-size: 14px !important;
  }

  .popup-text h1,
  .popup-text h1 * {
    font-size: 18px !important;
    margin: 0 !important;
  }

  .popup-text h2,
  .popup-text h2 * {
    font-size: 16px !important;
    margin: 0 0 12px !important;
  }

  .popup-text ul,
  .popup-text ol {
    padding-left: 12px !important;
    margin-bottom: 12px !important;
  }

  .popup-text li {
    margin-left: 12px !important;
  }
}
