@font-face { src: url("../fonts/Geologica/Geologica-Regular.woff2") format("woff2"); font-family: "Geologica"; font-weight: 400; font-style: normal; font-display: swap; }
@font-face { src: url("../fonts/Geologica/Geologica-SemiBold.woff2") format("woff2"); font-family: "Geologica"; font-weight: 600; font-style: normal; font-display: swap; }
@font-face { src: url("../fonts/Geologica/Geologica-ExtraBold.woff2") format("woff2"); font-family: "Geologica"; font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --color-main: #F16641;
  --color-secondary: #489A82;
  --color-text: #22312E;
}

body {
	margin: 0;
	font-family: "Geologica", sans-serif;
	font-weight: 400;
	color: var(--color-text);
	line-height: 1.2;
  max-width: 425px;
  margin: 0 auto;
}
h1 {
	font-weight: 600;
	font-size: 32px;
  line-height: 36px;
  text-align: center;
	text-transform: uppercase;
  max-width: 360px;
  margin: 0 auto;
}
section {
  padding: 0 16px;
}
.error-field {
  border-color: red !important;
}
.main {
  background: url(../images/main-bg.jpg) no-repeat top center;
  padding-top: 472px;
  margin-bottom: 20px;
}
.main .camp {
  display: inline-block;
  font-size: 26px;
  line-height: 23px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  padding: 10px 25px;
  border-radius: 200px;
  transform: rotate(-4.27deg);
  background: var(--color-main);
  margin-left: 36%;
  border: 1px solid #fff;
  box-shadow: 1px 1px 1px rgba(241, 102, 65, 0.15);
}
.drawing .form-drawing {
  color: #fff;
}
.drawing .form-drawing .wrap {
  border-radius: 41px;
  background: linear-gradient(208.12deg, var(--color-main) 1.56%, #FB8173 36.96%, var(--color-main) 91.45%);
}
.drawing .form-drawing .title {
  font-size: 21px;
  font-weight: 600;
  line-height: 23px;
  text-align: center;
  padding: 22px 10px 28px 10px;
}
.drawing .form-drawing .inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 32px 72px 32px;
}
.drawing .form-drawing .inputs .subtitle {
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
}
.drawing .form-drawing .inputs .subtitle:before {
  content: '';
  display: block;
  width: 308px;
  height: 1px;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.drawing .form-drawing .input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawing .form-drawing .input-group label {
  font-size: 12px;
  text-transform: uppercase;
  padding-left: 20px;
}
.drawing .form-drawing .input-group input {
  height: 63px;
  background: rgba(255, 255, 255, 0.61);
  border: 1px solid #fff;
  border-radius: 17px;
  color: var(--color-text);
  padding: 0 20px;
}
.drawing .form-drawing .button {
  width: 100%;
  padding: 20px 12px;
  font-size: 21px;
  line-height: 29px;
  font-weight: 600;
  background: var(--color-main);
  border-radius: 200px;
  text-align: center;
  text-transform: uppercase;
  margin-top: 23px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.drawing .form-drawing .button:not(:disabled):hover {
  background-color: #ff6a4f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.drawing .form-drawing .button:disabled {
  opacity: 0.6;
  cursor: default;
}
footer {
  padding: 25px 0;
  background: var(--color-secondary);
  margin-top: 23px;
}
footer .info {
  font-size: 17px;
  line-height: 29px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s ease;
}
.popup .popup-content {
  width: 100%;
  max-width: 393px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  border-radius: 41px;
  background: #fff;
  position: relative;
  padding: 20px;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup .close {
  position: absolute;
  top: 27px;
  right: 30px;
  cursor: pointer;
}
.popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.popup.open .popup-content {
  transform: scale(1) translateY(0);
}

.popup.success .popup-content {
  padding: 108px 42px 52px 42px;
  background: url(../images/popup-decoration.svg) no-repeat bottom right, #fff;
}
.popup.success .title {
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 44px;
}
.popup.success .number-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 36px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}
.popup.success .number {
  font-size: 88px;
  font-weight: 600;
  color: var(--color-main);
  text-align: center;
  margin-bottom: 90px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
