@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNava-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --plyr-color-main: #283f8a;
  --plyr-video-control-background-hover: #283f8a;
}

* {
  margin: 0;
  padding: 0;
}

body,
html {
  font-family:
    "Proxima Nova",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  margin: 0px;
  padding: 0px;
  color: #e7e9f1;
  box-sizing: border-box;
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
}

/* HEADER */

.header__title {
  color: white;
  font-weight: bold;
  font-size: 40px;
  line-height: 60px;
  padding: 45px 0px 45px 0px;
  text-align: center;
  color: #e7e9f1;
}

/* HEADER */

/* MAIN */

main {
  background-image: url("../img/bg__main.png");
  background-position: center;
  background-size: cover;
}

.inner__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 90px;
}

.section video {
  max-width: 570px;
  object-fit: cover;
  border-radius: 8px;
}

.section--left {
  max-width: 541px;
}

.section__title {
  color: #e7e9f1;
  font-size: 50px;
}

.section__title span {
  font-weight: bold;
}

.section__content {
  color: #e7e9f1;
  font-size: 48px;
}

.section__red {
  background-color: #da3e3e;
  margin: 13px 0px;
  padding: 0px 5px;
}

.section__content span {
  font-weight: bold;
}

.small__section {
  font-size: 34px;
  font-weight: 600;
}

.decr__video {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin-top: 16px;
}

/* LINE */

.line {
  overflow: hidden;
  background-color: #070a16;
  width: 100%;
  display: flex;
}

.marquee-wrapper {
  display: flex;
  flex-shrink: 0;
  will-change: transform;
  animation: scroll linear infinite;
  animation-duration: 20s;
}

.inner__line {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 16px;
  white-space: nowrap;
}

.inner__line p {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: bold;
  font-size: 19px;
  color: white;
  margin: 0;
  font-weight: 600;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* CONTACT */

.contact {
  padding: 120px 0px 30px 0px;
}

.btn__table {
  position: relative;
}

#copy__status {
  display: none;
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(255, 255, 255);
  background-color: #23252b;
  font-size: 18px;
  padding: 16px;
  z-index: 100;
  border-radius: 8px;
  font-weight: 600;
}

.polygon__copy {
  position: absolute;
  top: 49px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.secton_info {
  max-width: 517px;
  position: relative;
}

.secton_info H3 {
  color: #23252b;
  font-size: 45px;
  font-weight: bold;
}

.secton_info P {
  color: #6d7281;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 600;
}

.inner__contact {
  display: flex;
  gap: 88px;
}

.contact__table {
  padding: 32px;
  border: 2px solid #dcdfea;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.inner__table h3 {
  margin-bottom: 16px;
  font-size: 24px;
  color: #23252b;
  font-weight: 600;
}

.inner__table h3 span {
  font-weight: bold;
}

.btn__table button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 0px;
  border-radius: 8px;
  outline: none;
  border: none;
  border: 2px solid #283f8a;
  font-size: 20px;
  cursor: pointer;
  margin-top: 32px;
  background-color: transparent;
  font-weight: 600;
  color: #23252b;
}

.arrow__contact__arrow {
  position: absolute;
  bottom: -71px;
  right: 0;
}

/* WORK */

.work {
  padding: 85px 0px;
  background-image: url("../img/bg__work.png");
  background-position: center;
  background-size: cover;
}

.title__work {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}

.pre__title__work {
  color: #da3e3e;
  font-size: 36px;
  text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 55px;
}

.grid-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-weight: bold;
  color: white;
}

.grid-item img {
  max-width: 100%;
  object-fit: cover;
}

.grid-item h3 {
  margin: 16px 0px 40px 0px;
  font-size: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* VAC */

.vac {
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 120px;
}

.rows__vac {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.title__vac {
  text-align: center;
  color: black;
  font-size: 45px;
}

.pre__title__vac {
  text-align: center;
  font-size: 35px;
  display: inline-block;
  color: white;
  width: 48%;
}

.block__title__vac {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 45px;
}

.card__vac {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 2px solid #dcdfea;
  max-width: 370px;
}

.card__vac img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.card__vac > img:first-child {
  max-width: 100%;
  width: 100%;
}

.card__vac:first-child {
  width: 100%;
}

.card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 32px;
}

.name__card__vac {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 24px;
  color: black;
}

.money__vac {
  display: flex;
  margin-top: 12px;
  gap: 12px;
}

.info__money__vac p {
  font-size: 20px;
  font-weight: 600;
  color: #6d7281;
}

.info__money__vac p span {
  font-weight: bold;
}

.deposit p {
  color: #6d7281;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 20px;
  margin-bottom: 60px;
  font-weight: 600;
}

.btn__vac {
  margin-top: auto;
  width: 100%;
  padding: 16px 0px;
  border-radius: 8px;
  outline: none;
  border: 2px solid #283f8a;
  color: #23252b;
  font-size: 18px;
  background-color: transparent;
  cursor: pointer;
  font-weight: 600;
}

/* POPUP */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.video-wrapper .loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


.video-wrapper.loading .loader {
  display: block;
}


.video-wrapper.loading img,
.video-wrapper.loading video {
  opacity: 0.7;
  filter: blur(2px);
  transition: all 0.3s;
}

.popup-content {
  background: white;
  padding: 48px 40px;
  border-radius: 8px;
  position: relative;
  max-width: 960px;
  width: 90%;
  transform: translateY(20px);
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.4s;
  opacity: 0;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.separately__popup {
  padding: 20px 0px;
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup.active .popup-content {
  transform: translateY(0);
  opacity: 1;
}

.close {
  position: absolute;
  top: 20px;
  right: -2px;
  cursor: pointer;
  font-size: 24px;
  color: #23252b;
}

.close img {
  pointer-events: none;
}

.important__vacancy p {
  text-align: center;
}

.pros,
.cons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pros p,
.cons p {
  display: flex;
  gap: 8px;
  align-items: self-start;
}

.pros p img,
.cons p img {
  padding-top: 2px;
}

.title__popup {
  font-size: 24px;
  font-weight: bold;
  color: #23252b;
  margin-bottom: 16px;
}

.pros__cons {
  margin: 16px 0px;
}

.inner__pros__cons {
  display: flex;
  gap: 20px;
}

.info__title p {
  color: #6d7281;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.style__popup__text {
  color: #6d7281;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  flex: 1;
}

.small_width__popup {
  max-width: 609px;
}

.info__title {
  max-width: 487px;
}

.video__popup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48%;
}

.video__popup video {
  max-width: 365px;
  border-radius: 8px;
}

.rows__top__popup {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.wrapper__popup {
  max-width: 100%;
  width: 100%;
  max-width: 335px;
}

/* VIDEO */

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.main__wrapper {
  max-width: 570px;
  aspect-ratio: 16 / 9;
  min-height: 340px;
}

.hls-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hls-video:fullscreen {
  object-fit: contain;
}

.hls-video:-webkit-full-screen {
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.play-button {
  width: 56px;
  height: 56px;
  background-color: #da3e3e;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-wrapper:hover .play-button {
  transform: scale(1.1);
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid white;
  margin-left: 5px;
}

.video-wrapper.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.decr__video__popup {
  display: none;
}

/* VIDEO */

/* footer */

.footer {
  padding: 20px 0px;
  background-image: url("../img/bg__footer.png");
  background-position: center;
  background-size: cover;
}

.inner__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title_footer {
  font-size: 48px;
  font-weight: bold;
}

.btn__footer__up {
  padding: 16px 50px;
  color: #e7e9f1;
  background-color: transparent;
  outline: none;
  border: 1px solid #dcdfea;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
  font-weight: 600;
}

.mobilu__text {
  display: none;
}

.arrow__mibilu__contact {
  display: none;
}

.bg__title__popup__mobilu {
  display: none;
}

.separately__popup p {
  align-items: center;
  gap: 8px;
}

.img__money__vac {
  padding-top: 3px;
}

.img__text__popup {
  margin-bottom: 20px;
}

.img__text__popup img {
  vertical-align: text-bottom;
  margin-right: 8px;
}

.separately__popup img {
  vertical-align: sub;
}

@media (max-width: 1260px) {
  .inner__main {
    padding: 0px 15px 90px 15px;
  }

  .contact {
    padding: 120px 15px 30px 15px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .footer {
    padding: 20px 15px;
  }

  .vac {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 120px;
  }

  .pre__title__vac {
    width: unset;
  }
}

@media (max-width: 1160px) {
  .inner__main {
    flex-direction: column;
    align-items: center;
  }

  .section--left {
    text-align: center;
    margin-bottom: 24px;
  }
  .rows__vac {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
}

@media (max-width: 992px) {
  .title__work {
    font-size: 37px;
  }

  .pre__title__work {
    font-size: 29px;
  }
}

@media (max-width: 900px) {
  .inner__contact {
    display: flex;
    flex-direction: column;
  }

  .arrow__contact__arrow {
    display: none;
  }

  .btn__footer__up {
    padding: 12px 50px;
    font-size: 16px;
  }

  .title_footer {
    font-size: 40px;
  }

  .pre__title__vac {
    font-size: 30px;
  }

  .inner__pros__cons {
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .rows__top__popup {
    flex-direction: column-reverse;
  }
}

@media (max-width: 778px) {
  .rows__vac {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .section__content {
    font-size: 32px;
  }

  .section__title {
    font-size: 32px;
  }

  .pc__text {
    display: none;
  }

  .mobilu__text {
    display: block;
  }

  .section--left {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .decr__main_dd {
    font-size: 25px;
  }

  .header__title {
    padding: 45px 0px 10px 0px;
  }

  .contact {
    padding: 67px 15px 20px 15px;
  }
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .title__work {
    font-size: 29px;
  }

  .pre__title__work {
    font-size: 19px;
    max-width: 252px;
    margin: 0 auto;
  }

  .vac {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 48px;
  }

  .rows__vac > .card__vac {
    max-width: 100% !important;
    width: 100% !important;
  }
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 9999;
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
  }

  .popup-content {
    margin: 0;
    width: 100% !important;
    min-height: 100%;
    overscroll-behavior: contain;
    padding: 20px;
    padding-top: calc(30px + env(safe-area-inset-top));
    box-sizing: border-box;
    transform: none !important;
    opacity: 1 !important;
  }
  .close {
    top: 45px;
  }

  .important__vacancy p {
    text-align: left;
  }

  .video__popup video {
    max-width: 100%;
    width: 100%;
  }
  .video__popup {
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .main__wrapper {
    min-height: unset !important;
  }
  .decr__video {
    font-size: 20px;
  }

  .inner__line p {
    font-size: 17px;
    gap: 20px;
  }

  .inner__line img {
    max-width: 20px;
  }

  .main {
    background-image: url("../img/bg__main__mobilu.svg");
  }

  .work {
    background-image: url("../img/bg__work__mobilu.svg");
  }

  .header__title {
    padding: 22px 0px 10px 0px;
  }

  .secton_info H3 {
    font-size: 34px;
    max-width: 435px;
  }

  .secton_info P {
    font-size: 18px;
  }

  .bg__title__popup__mobilu {
    position: absolute;
    display: block;
    top: -8px;
    z-index: 22;
    width: 100%;
    max-height: 80px;
    left: 0;
  }

  .pc__img__popup_close {
    display: none;
  }

  .pc__img__mobilu_close {
    display: block;
  }

  .separately__popup p {
    font-size: 18px;
  }

  .title__popup {
    position: absolute;
    top: 30px;
    color: white;
    z-index: 2323;
  }

  .close {
    top: 28px;
    z-index: 323232;
    color: white;
    right: 20px;
    height: 30px;
    width: 30px;
  }

  .popup-content {
    padding: 100px 20px 20px 20px;
  }

  .contact__table {
    padding: 24px;
  }

  .inner__table h3 {
    font-size: 18px;
  }

  .title__work {
    font-size: 25px;
  }

  .btn__table button {
    font-size: 18px;
    padding: 12px 0px;
  }

  .btn__table img {
    max-width: 20px;
  }

  .inner__contact {
    display: flex;
    gap: 40px;
  }

  .arrow__mibilu__contact {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0px;
  }

  .grid-item {
    align-items: flex-start;
  }

  .grid-item h3 {
    font-size: 24px;
    gap: 8px;
  }

  .grid-item h3 img {
    max-width: 24px;
  }

  .title__vac {
    font-size: 33px;
  }

  .pre__title__vac {
    font-size: 24px;
  }

  .block__title__vac {
    margin-bottom: 20px;
  }

  .decr__video__popup {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #6d7281;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
  }

  .rows__top__popup {
    gap: 22px;
  }

  .title__popup {
    font-size: 20px;
  }

  .pros p,
  .cons p {
    font-size: 18px;
  }

  .important__vacancy p {
    font-size: 18px;
  }
}

@media (max-width: 550px) {
  .section__title,
  .section__content {
    font-size: 25px;
  }

  .grid-item h3 {
    font-size: 18px;
  }

  .decr__main_dd {
    font-size: 21px;
  }

  .contact {
    padding: 40px 15px 20px 15px;
  }

  .secton_info H3 {
    font-size: 24px;
    max-width: 306px;
  }

  .btn__table img {
    max-width: 18px;
  }
  .btn__table button {
    font-size: 16px;
  }
  .inner__table h3 {
    font-size: 17px;
  }

  .info__title p {
    font-size: 17px;
    /* display: flex; */
    align-items: self-start;
    gap: 8px;
  }

  .separately__popup {
    padding: 12px 0px;
  }

  .decr__video {
    font-size: 18px;
  }
  .style__popup__text {
    font-size: 18px;
  }

  .inner__line p {
    font-size: 16px;
    gap: 20px;
  }

  .secton_info P {
    font-size: 16px;
  }

  .work {
    padding: 45px 0px;
  }

  .grid-container {
    margin-top: 24px;
  }

  .separately__popup p {
    font-size: 16px;
  }

  .inner__contact {
    display: flex;
    gap: 24px;
  }

  #copy__status {
    font-size: 16px;
    width: 178px;
  }

  .title__work {
    font-size: 22px;
  }

  .title__vac {
    font-size: 31px;
  }

  .pre__title__vac {
    font-size: 22px;
  }

  .deposit p {
    margin-bottom: 24px;
  }

  .deposit p {
    font-size: 17px;
  }
}

@media (max-width: 500px) {
  .name__card__vac {
    font-size: 20px;
  }
  .important__vacancy p {
    font-size: 17px;
  }

  .deposit p {
    font-size: 16px;
  }

  .pros p,
  .cons p {
    font-size: 17px;
  }

  .info__money__vac p {
    font-size: 16px;
  }

  .btn__vac {
    padding: 12px 0px;
    font-size: 16px;
  }

  .decr__video__popup {
    font-size: 16px;
    width: 100%;
  }
  .info__title {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .arrow__mibilu__contact {
    right: -13px;
    bottom: -8px;
  }

  .grid-item h3 {
    font-size: 16px;
  }

  .title__vac {
    font-size: 28px;
  }

  .pre__title__vac {
    font-size: 19px;
  }

  .rows__vac > .card__vac {
    max-width: 100% !important;
    width: 100% !important;
  }

  .decr__video__popup {
    font-size: 15px;
  }
}

@media (max-width: 370px) {
  .decr__video__popup {
    font-size: 13px;
  }
}
