.loader {
  transition: all 1s ease-out;
}
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  animation-delay: 1s;
  position: absolute;
  /* background: #fff; */
  background: rgb(2, 2, 2);
  z-index: 2000;
  opacity: 1;
  visibility: visible;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader .item-1 {
  width: 20px;
  height: 20px;
  background: #f583a1;
  border-radius: 50%;
  background-color: #eed968;
  margin: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50%,
  75% {
    transform: scale(2.5);
  }
  78%,
  100% {
    opacity: 0;
  }
}
.loader .item-1:before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #eed968;
  opacity: 0.7;
  animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
  animation-delay: 200ms;
  transition: 0.5s all ease;
  transform: scale(1);
}

.loader .item-2 {
  width: 20px;
  height: 20px;
  background: #f583a1;
  border-radius: 50%;
  background-color: #eece68;
  margin: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50%,
  75% {
    transform: scale(2.5);
  }
  78%,
  100% {
    opacity: 0;
  }
}
.loader .item-2:before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #eece68;
  opacity: 0.7;
  animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
  animation-delay: 400ms;
  transition: 0.5s all ease;
  transform: scale(1);
}

.loader .item-3 {
  width: 20px;
  height: 20px;
  background: #f583a1;
  border-radius: 50%;
  background-color: #eec368;
  margin: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50%,
  75% {
    transform: scale(2.5);
  }
  78%,
  100% {
    opacity: 0;
  }
}
.loader .item-3:before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #eec368;
  opacity: 0.7;
  animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
  animation-delay: 600ms;
  transition: 0.5s all ease;
  transform: scale(1);
}

.loader .item-4 {
  width: 20px;
  height: 20px;
  background: #f583a1;
  border-radius: 50%;
  background-color: #eead68;
  margin: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50%,
  75% {
    transform: scale(2.5);
  }
  78%,
  100% {
    opacity: 0;
  }
}
.loader .item-4:before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #eead68;
  opacity: 0.7;
  animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
  animation-delay: 800ms;
  transition: 0.5s all ease;
  transform: scale(1);
}

.loader .item-5 {
  width: 20px;
  height: 20px;
  background: #f583a1;
  border-radius: 50%;
  background-color: #ee8c68;
  margin: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50%,
  75% {
    transform: scale(2.5);
  }
  78%,
  100% {
    opacity: 0;
  }
}
.loader .item-5:before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ee8c68;
  opacity: 0.7;
  animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
  animation-delay: 1000ms;
  transition: 0.5s all ease;
  transform: scale(1);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
}

header {
  background: #fae906;
  box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.18);
}

.tariff-img img {
  max-width: 293px;
  max-height: 332px;
}
.tariff-img {
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}

header .container .row {
  height: 388px;
}

.tariff-about-block {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  max-width: 355px;
}
.tariff-about-block h2 {
  font-weight: 800;
  font-size: 18px;
  line-height: 148.9%;
  height: 27px;
  text-transform: uppercase;
  color: #313131;
}

.tariff-about {
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.17);
  border-top: 1px solid rgba(0, 0, 0, 0.17);
  padding: 50px 0;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  letter-spacing: 0.02em;
  color: #494949;
}

.tariff-price-block {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #313131;
}

.tariff-price-title {
  text-transform: uppercase;
}

/* FORM  */

.tariff-form {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.tariff-form input,
.tariff-form textarea {
  width: 346px;
  margin: 5px;
  background: #ffffff;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.07);
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: #313131;
  padding: 10px 20px;
  border: none;
}

.tariff-form input {
  height: 45px;
}

.tariff-form input:focus,
.tariff-form textarea:focus {
  outline: 1px solid #fae906;
}

/* FORM CONTENT  */

.tariff-left-border {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  margin-top: 100px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0 50px 0 90px;
}

.details-tariff-form {
  margin-bottom: 10px;
}

.details-tariff-form .label {
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.02em;
  color: #505050;
}

.tariff-label-value {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.02em;
  color: #505050;
}

.btn-submit-tariff {
  width: 349px;
  height: 60px;
  font-weight: 800;
  font-size: 16px;
  line-height: 148.9%;
  text-align: center;
  color: #000000;
  background: #fae906;
  border: none;
  box-shadow: 0px 4px 19px rgba(0, 0, 0, 0.25);
  transition: all 0.15s ease-out;
  text-transform: uppercase;
  margin: 50px 0;
}

.btn-submit-tariff:focus {
  outline: none;
}

.btn-submit-tariff:hover {
  background: #f5c211;
}

.oferta {
  font-weight: 300;
  font-size: 14px;
  line-height: 126.9%;
  color: #000000;
}

.wrong-choose h2 {
  background: #ffffff;
  box-shadow: 0px 4px 77px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  padding: 50px;
  color: #e85e6d;
}

.wrong-choose {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  margin-top: 100px;
}

header .container {
  overflow: hidden;
}

.tariff-order-box {
  margin-bottom: 80px;
}

/* ************************ */
/* ******** TABLET ******** */
/* ************************ */

@media screen and (max-width: 767px) {
  .tariff-form {
    margin-top: 30px;
    flex-flow: row wrap;
  }

  .tariff-form input {
    width: 244px;
  }

  .tariff-form textarea {
    width: 100%;
  }

  .tariff-left-border {
    border-left: none;
    margin-top: 30px;
    padding: 0 20px;
  }
  .tariff-left-border h3 {
    margin-bottom: 25px;
    text-align: center;
  }
  .btn-submit-tariff {
    margin: 30px auto;
  }
  .oferta {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 2rem;
  }
  .tariff-order-box {
    margin-bottom: 40px;
  }
}

/* ************************ */
/* ******** MOBILE ******** */
/* ************************ */

@media screen and (max-width: 576px) {
  .tariff-img img {
    max-width: 200px;
    max-height: 228px;
  }
  .tariff-about-block h2 {
    font-size: 16px;
    line-height: 24px;
  }
  .tariff-about {
    padding: 30px 0;
    font-weight: normal;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.04em;
    color: #313131;
  }
  .tariff-form input {
    width: 100%;
  }
  header .container .row {
    height: 300px;
  }
  .tariff-order-box {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 375px) {
  .btn-submit-tariff {
    width: 300px;
  }
  .tariff-about-block h2 {
    font-size: 0.9rem;
    line-height: 22px;
  }
}

.card-old-price {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  /* identical to box height */

  text-align: center;
  letter-spacing: 0.02em;

  color: #A0A0A0;
  text-decoration: line-through;
}
