@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Extralight.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Extralight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Ultralight.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Ultralight.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Extrabold.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Extrabold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Bold.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Thin.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Demibold.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Demibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Black.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Light.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Regular.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Italian Plate No2 Expanded";
  src: url("./fonts/ItalianPlateNo2Expanded-Medium.woff2") format("woff2"),
    url("./fonts/ItalianPlateNo2Expanded-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html,
body {
  font-family: "Italian Plate No2 Expanded", "sans-serif" !important;
  font-style: normal;
  font-weight: 600;
  height: 100%;
  font-size: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.hidden {
  display: none!important;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header,
section,
footer {
  box-sizing: border-box;
  padding: 0 30px;
  max-width: 766px;
  margin: 0 auto;
  text-align: center;
}

header .header {
  margin: 50px 0 80px;
}

section .priority {
  padding: 12px 16px 13px 18px;
  border-radius: 100px;
  background: var(--Gray-Light, #f2f4f6);
  width: max-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

section .priority img {
  margin-right: 10px;
}

section h1 {
  color: #000;
  text-align: center;
  font-size: 54px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  margin: 16px 0;
}

section p {
  color: var(--Gray-Dark, #8f969c);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0 0 40px;
}

section form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  gap: 12px;
}

section form input,
section form textarea {
  background-color: #fff;
  padding: 16px;
  border-radius: 11px;
  border: 1px solid var(--bg-gray, #f2f4f6);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

section form input:active,
section form input:focus,
section form textarea:active,
section form textarea:focus {
  border: 1px solid var(--Black, #000);
  outline-offset: 0;
}

section form .custom-select {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

section form .custom-select input {
  pointer-events: none;
}

section form .custom-select.active input {
  border: 1px solid var(--Black, #000);
  outline-offset: 0;
}

section form .custom-select.active .custom-select__options,
section form .custom-select.active .custom-select__bg {
  display: block;
  height: auto;
  opacity: 1;
}

section form .custom-select.active .custom-select__input__chevron {
  transform: rotate(180deg);
}

section form .custom-select__bg {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
  display: none;
}

section form input.error,
section form textarea.error {
  border: 1px solid var(--Main-Red, #ef2c4f);
}

section form .custom-select__input {
  position: relative;
  cursor: pointer;
}

section form .custom-select__input input {
  cursor: pointer;
}

section form .custom-select__input__chevron {
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  padding: 15px;
  transition: transform 0.3s;
}

section form .custom-select__options {
  border-radius: 11px;
  background: #fff;
  box-shadow: 0px 4px 22px -4px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: absolute;
  z-index: 11;
  left: 0;
  right: 0;
  top: 60px;
  opacity: 0;
  height: 0;
  transition: opacity 0.3s;
}

section form .custom-select__options input[type="radio"] {
  display: none;
}

section form .custom-select__options label {
  display: block;
  padding: 16px;
  text-align: left;
  color: var(--Gray-dark, #8F969C);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

section form .custom-select__options label:hover {
  background: var(--Gray-light, #f2f4f6);
  color: var(--Black, #000);
}

section form textarea {
  font-family: "Italian Plate No2 Expanded", "sans-serif" !important;
}

section form button {
  margin: 20px auto 80px;
  max-width: 315px;
  width: 100%;
  display: flex;
  height: 62px;
  padding: 17px 30px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border: none;
  cursor: pointer;
}

section form button:hover {
  background-color: #3d3d3d;
}

footer {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding-bottom: 32px;
}

footer a {
  color: #8f969c;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 600px) {
  header .header {
    margin: 12px 0 32px;
  }

  section form button {
    margin: 20px auto 32px;
    width: 100%;
  }
}
