/* FONTS */
@font-face {
  font-family: "PalatinoLinotype";
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/PalatinoLinotype-Regular.woff2") format("woff2"), url("../fonts/PalatinoLinotype-Regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "PalatinoLinotype";
  font-style: normal;
  font-weight: 700;
  src: url("../../fonts/PalatinoLinotype-Bold.woff2") format("woff2"), url("../fonts/PalatinoLinotype-Bold.woff") format("woff");
  font-display: swap;
}

/* RESET */
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* PROMO FORM */
.promo-form {
  display: flex;
  flex-direction: column;
}

.promo-form__item:not(:last-child).promo-form__item-err {
  margin-bottom: 4px;
}

.promo-form__item:not(:last-child) {
  margin-bottom: 16px;
}

.promo-form__input {
  width: 100%;
  font-family: "PalatinoLinotype", serif;
  padding: 18px 24px;
  font-size: 16px;
  line-height: 20px;
  color: #000;
  border: 2px dashed #000;
  outline: none;
  background-color: transparent;
}

.promo-form__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  justify-content: center;
  padding: 9px 31px;
  font-size: 14px;
  font-family: "PalatinoLinotype", serif;
  font-weight: 700;
  line-height: 30px;
  color: #fff;
  background-color: #000;
  border: 1px solid #000;
  transition: color 0.3s ease 0s, background-color 0.3s ease 0s;
  cursor: pointer;
}

.promo-form__btn:disabled,
.promo-form__btn.disabled {
  cursor: auto;
  opacity: 0.2;
}

.error {
  font-size: 14px;
  line-height: 14px;;
  font-family: "PalatinoLinotype", serif;
  color: crimson;
}

.error-cont {
  margin-bottom: 16px;
}

.success_result {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-family: "PalatinoLinotype", serif;
}

/*
@media (min-width: 768px) {

  .promo-form__item:not(:last-child) {
    margin-bottom: 24px;
  }

  .promo-form__item:not(:last-child):last-of-type {
    margin-bottom: 36px;
  }

  .promo-form__input {
    padding: 22px 24px;
    font-size: 18px;
    line-height: 24px;
  }

  .promo-form__btn {
    padding: 15px 44px;
    font-size: 18px;
  }
}

@media (min-width: 1800px) {
  .collection__arrow-left {
    left: -148px;
  }

  .collection__arrow-right {
    right: -148px;
  }
}

@media (max-width: 768px) {
  .touch [data-fullscreen] {
    transition: height 0.2s;
  }

  .menu__button {
    display: block;
  }
}
*/
@media (any-hover: hover) {
  .promo-form__btn:hover {
    color: #000;
    background-color: transparent;
  }
}

/*контейнер прелоадера */
.preloader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader {
  border: 8px solid #f3f3f3;
  /* серый цвет рамки */
  border-top: 8px solid #000;
  /* синий цвет верхней рамки */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}