@font-face {
  font-family: Repsol;
  src: url(../index/Repsol-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Repsol;
  src: url(../index/Repsol-Bold.ttf);
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: Repsol;
  src: url(../index/Repsol-Light.ttf);
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Repsol;
  src: url(../index/Repsol-Italic.ttf);
  font-weight: 400;
  font-style: italic;
}

.main-container {
  max-width: 1728px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 55px;
  padding: 0 8.3vw;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

@media (max-width:600px){

  .header__logo {
    flex-direction: column;
  }
    .header__logo img {
      height: 38px;
    }
}


@media (max-width:400px){
    .header__logo img {
      height: 34px;
    }
}
.header__burger-button {
  display: none;
}

.header__navigation {}

.navigation {
  display: flex;
  align-items: center;
  gap: 5.5vw;
}

.navigation__link {
  font-family: Repsol;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #3D3D3D;
  text-decoration: none;
  white-space: nowrap;

  position: relative;
}

.navigation__link:hover {
  color: #3D3D3D;
}

.navigation__link:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  height: 1px;
  width: 0;
  background-color: #3D3D3D;

  transition-duration: 0.3s;
}

.navigation__link:not(:last-child):hover::after {
  width: 100%;
}

.navigation__link:last-child {
  border-radius: 6px;
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%);
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
  color: #F8F8F8;
  padding: 13px 45px;

  transition-duration: 0.3s;
  background-size: 200% 200%;
}

.navigation__link:last-child:hover {
  background-position: 100% 0;
}

@media (max-width: 1100px) {
  .header__burger-button {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
    cursor: pointer;
  }

  .header.activated .header__burger-button span {
    width: 40px;
  }

  .header.activated .header__burger-button span:nth-of-type(2) {
    display: none;
  }

  .header.activated .header__burger-button span:nth-of-type(1) {
    transform: rotate(45deg) translateY(23px) translateX(-10px);
  }

  .header.activated .header__burger-button span:nth-of-type(3) {
    transform: rotate(-45deg) translateY(-23px) translateX(-10px);
  }

  .header__burger-button span {
    width: 30px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #222222;
    transition: all 0.5s;
    border-radius: 6px;
    background-color: #FAC041;
  }

  .header__burger-button span:nth-of-type(1) {
    top: calc(50% - 10px);
  }

  .header__burger-button span:nth-of-type(3) {
    top: calc(50% + 10px);
  }

  .navigation {
    display: none;
  }

  .header.activated .navigation {
    position: absolute;
    top: 149px;
    right: 9vw;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: start;

    padding: 27px 44px;
    background-color: #FFF;
    border-radius: 10px;

    gap: 20px;
  }

  .header.activated .navigation__link:last-child {
    margin-top: 70px;
  }
}

@media (max-width: 600px) {
  .header {
    margin-top: 30px;
  }
}

/* MAIN SCREEN */
.main-screen {
  position: relative;

  padding: 0 8.3vw;
  padding-top: 1px;
  margin-top: 20px;
}

.main-screen__background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;

  width: 100%;
}

.main-screen__background iframe {
  width: 100%;
  min-width: 1000px;
  height: 57.8vw;
  min-height: 600px;
  max-height: 1000px;
  filter: brightness(0.5);
}

.main-screen__text {
  margin: 10.3% auto;
  width: fit-content;
  /* width: 100vw; */

  /* background-color: rgba(255, 255, 255, 0.473); */
}

.main-screen__light-header {
  /* color: #3D3D3D; */
  color: white;
  font-family: Repsol;
  font-size: 66px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  margin: 0;
}

.main-screen__bold-header {
  /* color: #3D3D3D; */
  color: white;
  font-family: Repsol;
  font-size: 70px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;

  margin: 0;
}

.main-screen__red-header {
  /* color: #951824; */
  color: #FAC041;
}

@media (max-width: 1000px) {
  .main-screen__text {
    margin: calc(180px + 5vw) auto;
  }

  .main-screen__light-header {
    font-size: 36px;
    line-height: 110%;
  }

  .main-screen__bold-header {
    font-size: 48px;
    line-height: 110%;
  }
}

@media (max-width: 500px) {
  .main-screen__text {
    margin: calc(100px + 5vw) auto;
  }
}

/* ABOUT US */
.about-us {
  background-color: #091742;
  position: relative;

  padding: 115px 8.3vw;

  display: flex;
  align-items: center;
  gap: 11.5%;
}

.about-us__form-container {
  position: relative;
  /* padding: 0 150px; */
  /* padding: 0 8.6vw; */
}

.about-us__form-background {
  position: absolute;
  top: 50%;
  left: -33%;
  transform: translateY(-50%);
  width: calc(680px + 1vw);
  /* max-width: 100%; */
}

.about-us__form {
  border-radius: 6px;
  border: 1px solid #F8F8F8;
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
  background: linear-gradient(226deg, #951824c2 0%, #c81c30c5 100%);

  position: relative;
  z-index: 2;

  width: 435px;
}

.about-us__text-container {}

.about-us__header {
  color: #F8F8F8;
  font-family: Repsol;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 70%;

  position: relative;
  margin: 0;
}

.about-us__description {
  color: #F8F8F8;
  font-family: Repsol;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  margin-top: 28px;
}

@media (max-width: 1000px) {
  .about-us {
    flex-direction: column;

    margin-top: calc(600px + 10vw);
    padding-bottom: 42px;
  }

  .about-us__form-container {
    position: absolute;
    transform: translateY(-570px);
  }

  .about-us__form-background {
    left: -50%;
  }

  .about-us__form {
    padding: 35px 18px;
    width: 100%;
    max-width: 351px;
  }
}

@media (max-width: 600px) {
  .about-us__form-container {
    transform: translateY(-530px);
  }

  .about-us__form-background {
    left: -10%;
  }

  .about-us__form {
    max-width: unset;
  }
}

/* CALCULATOR */
.calculator {
  padding: 0 8.3vw;
}

.calculator__header {
  color: #3D3D3D;
  text-align: center;
  font-family: Repsol;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;

  margin-top: 120px;
}

.calculator__main {
  margin: 86px auto 0;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10.65vw;
}

.calculator__ranges-part {
  display: flex;
  flex-direction: column;
  gap: 78px;
}

.calculator__range-item {
  width: 100%;
  max-width: 654px;

  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: 42px;
}

.calculator__range-name {
  color: #3D3D3D;
  font-family: Repsol;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
}

.calculator__range-number {
  font-family: Repsol;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;

  color: #951824;
}

.calculator__range {
  grid-column: span 2;
  cursor: pointer;
}

/*generated with Input range slider CSS style generator (version 20211225)
https://toughengineer.github.io/demo/slider-styler*/
input[type=range].calculator__range {
  height: 35.2px;
  -webkit-appearance: none;
}

/*progress support*/
input[type=range].calculator__range.slider-progress {
  --range: calc(var(--max) - var(--min));
  --ratio: calc((var(--value) - var(--min)) / var(--range));
  --sx: calc(0.5 * 35px + var(--ratio) * (100% - 35px));
}

input[type=range].calculator__range:focus {
  outline: none;
}

/*webkit*/
input[type=range].calculator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 35px;
  height: 35px;
  border-radius: 100%;
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
  border: none;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.10);
  margin-top: calc(15px * 0.5 - 35px * 0.5);
}

input[type=range].calculator__range::-webkit-slider-runnable-track {
  height: 15px;
  border: none;
  border-radius: 6px;
  background: #F3F3F3;
  box-shadow: none;
}

input[type=range].calculator__range::-webkit-slider-thumb:hover {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
}

input[type=range].calculator__range::-webkit-slider-thumb:active {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
}

input[type=range].calculator__range.slider-progress::-webkit-slider-runnable-track {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%) 0/var(--sx) 100% no-repeat, #F3F3F3;
}

input[type=range].calculator__range.slider-progress:hover::-webkit-slider-runnable-track {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%) 0/var(--sx) 100% no-repeat, #F3F3F3;
}

input[type=range].calculator__range.slider-progress:active::-webkit-slider-runnable-track {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%) 0/var(--sx) 100% no-repeat, #F3F3F3;
}

/*mozilla*/
input[type=range].calculator__range::-moz-range-thumb {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
  border: none;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.10);
}

input[type=range].calculator__range::-moz-range-track {
  height: 15px;
  border: none;
  border-radius: 6px;
  background: #F3F3F3;
  box-shadow: none;
}

input[type=range].calculator__range::-moz-range-thumb:hover {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
}

input[type=range].calculator__range::-moz-range-thumb:active {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
}

input[type=range].calculator__range.slider-progress::-moz-range-track {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%) 0/var(--sx) 100% no-repeat, #F3F3F3;
}

input[type=range].calculator__range.slider-progress:hover::-moz-range-track {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%) 0/var(--sx) 100% no-repeat, #F3F3F3;
}

input[type=range].calculator__range.slider-progress:active::-moz-range-track {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%) 0/var(--sx) 100% no-repeat, #F3F3F3;
}

/*ms*/
input[type=range].calculator__range::-ms-fill-upper {
  background: transparent;
  border-color: transparent;
}

input[type=range].calculator__range::-ms-fill-lower {
  background: transparent;
  border-color: transparent;
}

input[type=range].calculator__range::-ms-thumb {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
  border: none;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.10);
  margin-top: 0;
  box-sizing: border-box;
}

input[type=range].calculator__range::-ms-track {
  height: 15px;
  border-radius: 6px;
  background: #F3F3F3;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
}

input[type=range].calculator__range::-ms-thumb:hover {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
}

input[type=range].calculator__range::-ms-thumb:active {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  ;
}

input[type=range].calculator__range.slider-progress::-ms-fill-lower {
  height: 15px;
  border-radius: 6px 0 0 6px;
  margin: -undefined 0 -undefined -undefined;
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%);
  border: none;
  border-right-width: 0;
}

input[type=range].calculator__range.slider-progress:hover::-ms-fill-lower {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%);
}

input[type=range].calculator__range.slider-progress:active::-ms-fill-lower {
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%);
}

/* ///////////////////////////GENERATED END/////////////////////////// */
.calculator__result-part {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border-radius: 6px;
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);
  box-shadow: 8px 8px 20px 0px rgba(0, 0, 0, 0.10);

  position: relative;
}

.calculator__result-inner-part {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.calculator__result-header {
  color: var(--3, #F8F8F8);
  text-align: center;
  font-family: Repsol;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;

  white-space: nowrap;
}

.calculator__result {
  color: #000;
  text-align: center;
  font-family: Repsol;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
}

.calculator__register-button {
  color: var(--3, #F8F8F8);
  font-family: Repsol;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;

  border-radius: 6px;
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%);
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);

  display: block;
  width: fit-content;

  padding: 13px 62px;
  margin: 113px auto 0;

  transition-duration: 0.3s;
  background-size: 200% 200%;
}

.calculator__register-button:hover {
  background-position: 100% 0;
  color: white;
}

@media (max-width: 700px) {
  .calculator__header {
    font-size: 44px;
    line-height: 110%;
  }

  .calculator__range-name {
    font-size: 28px;
  }

  .calculator__range-number {
    font-size: 36px;
  }

  .calculator__register-button {
    margin: 36px auto 0;
    width: 80%;
    text-align: center;
  }
}

/* SLIDER */
.slider {
  padding: 0 8.3vw;
  margin-top: 109px;
}

.slider__item {
  display: flex;
  align-items: center;
  justify-content: end;
}

.slider__text-part {
  border-radius: 6px;
  border: 1px solid #F8F8F8;
  opacity: 0.9;
  background: linear-gradient(226deg, #951824 0%, #C81C30 100%);
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);

  width: 524px;
  height: 377px;

  position: absolute;
  /* left: 70px; */
  left: 0;
}

.slider__inner-part {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 80%;
}

.slider__header {
  color: #F8F8F8;
  font-family: Repsol;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.slider__description {
  color: #F8F8F8;
  font-family: Repsol;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.slider__image {
  width: 70% !important;
}

.owl-dots {
  margin-top: 37px !important;
}

.owl-dot span {
  width: 24.841px !important;
  height: 24.841px !important;
  transform: rotate(-45deg) !important;
  border-radius: 6px !important;
}

.owl-dot.active span {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%) !important;
  box-shadow: 8px 8px 20px 0px rgba(0, 0, 0, 0.10) !important;
}

.owl-dot:not(:first-child) span {
  margin-left: 15px !important;
}

@media (max-width: 1200px) {
  .slider__item {
    flex-direction: column-reverse;
  }

  .slider__text-part {
    position: relative;

    width: 80%;
    min-width: 315px;

    transform: translateY(-30px);
  }

  .slider__image {
    width: 100% !important;
    min-width: 325px;
  }
}

@media (max-width: 600px) {
  .slider__text-part {
    height: 460px;
  }
}

/* REGISTER */
.register {
  background: linear-gradient(135deg, #EB700B 0%, #FAC041 100%);

  padding: 50px 8.3vw 0;
  margin-top: 120px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.register__image {
  max-width: 100%;
}

.register__form {
  border-radius: 6px;
  border: 1px solid #F8F8F8;
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
  background: linear-gradient(226deg, #951824c2 0%, #c81c30c5 100%);

  position: relative;
  z-index: 2;

  width: 435px;
}

@media (max-width: 1100px) {
  .register {
    flex-direction: column-reverse;
    padding-top: 0;
  }

  .register__form {
    padding: 35px 18px;
    width: 100%;
    max-width: 351px;
  }
}

@media (max-width: 600px) {
  .register__form {
    max-width: unset;
    width: 100vw;
  }
}

/* FOOTER */
.footer {
  padding: 58px 8.3vw;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;

  background-color: #F8F8F8;
}

.footer__link {
  color: #3D3D3D;
  font-family: Repsol;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;

  position: relative;
}

.footer__link:hover {
  color: #3D3D3D;
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  height: 1px;
  width: 0;
  background-color: #3D3D3D;

  transition-duration: 0.3s;
}

.footer__link:hover::after {
  width: 100%;
}

.footer__text {
  color: #3D3D3D;
  font-family: Repsol;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.form-group {
  padding: 16px;
}