:root {
  --font-family: "Montserrat", sans-serif;
  --second-family: "Inter", sans-serif;
  --third-family: "Roboto Condensed", sans-serif;
  --font3: "Arial", sans-serif;
  --font4: "Lato", sans-serif;
  --font5: "Anek Latin", sans-serif;
  --font6: "Tahoma", sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

::marker{
  padding-left: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  font-family: var(--font-family);
}

a {
  text-decoration: none;
}

a,
button,
svg,
picture,
img,
div {
  transition: 0.2s;
}

ul,ol,
li {
  padding: 0;
}

body {
  background-color: #061e3d;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.header {
  position: relative;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 36px 0;
}

.header__logo:hover img {
  opacity: 0.5;
}

.header__pattern .header__pattern_first {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 1381px;
  height: 739px;
  z-index: 1;
}

.header__pattern .header__pattern_second {
  position: absolute;
  top: 286px;
  left: -7px;
  width: 1072px;
  height: 708px;
  z-index: 1;
}

.nav {
  display: flex;
  gap: 30px;
  z-index: 5;
}

.nav a:hover {
  color: #00b2e2;
}

.nav a {
  font-weight: 300;
  font-size: 18px;
  color: #fff;
}

.nav li {
  display: block;
}

.header__logo {
  width: 130px;
  height: 59px;
  z-index: 5;
}

.header__block {
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.header__bright {
  position: absolute;
  filter: blur(400px);
  background: rgba(0, 178, 226, 0.3);
  top: -22%;
  left: 21%;
  width: 1000px;
  height: 500px;
}

.header__title,
.header__subtitle {
  font-weight: 700;
  font-size: 64px;
  line-height: 120%;
  text-align: center;
  color: #fff;
  z-index: 5;
}

.header__subtitle {
  color: #00b2e2;
  text-transform: uppercase;
}

.header__text {
  display: block;
  font-weight: 300;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #fff;
  max-width: 532px;
  margin-top: 23px;
  z-index: 5;
}

.btn {
  border: 2px solid #fff;
  border-radius: 15px;
  width: 323px;
  height: 60px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  color: #fff;
  padding: 18px 48px 16px 47px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn:hover {
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1), 0 4px 6px 0 rgba(0, 0, 0, 0.1);
  background: linear-gradient(90deg, #0094fe 0%, #00b2e2 100%);
  border: none;
}

.header__block_link {
  display: flex;
  gap: 24px;
  margin-top: 50px;
  z-index: 6;
}

.person {
  border-radius: 255px;
  width: 70px;
  height: 70px;
  overflow: hidden;
}

.upper__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 19px;
  margin-top: 71px;
}

.upper__footer span {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.upper__footer span i {
  font-size: 24px;
}

.upper__footer_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.upper__footer_second {
  display: flex;
  gap: 22px;
}

.upper__footer_inner span {
  font-weight: 300;
  font-size: 18px;
  line-height: 140%;
  color: rgba(255, 255, 255, 0.5);
}

.footer__title {
  font-weight: 700;
  font-size: 30px;
  line-height: 140%;
  color: #fff;
  margin-right: 47px;
}

form {
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  width: 1200px;
  height: 186px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.policy__policy {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 11px;
  input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    /* Для Safari */
    -moz-appearance: none;
    /* Для Firefox */
    width: 20px;
    min-width: 20px;
    height: 20px;
    border: 2px solid #4ba8ff;
    /* Черная рамка */
    /* Скругленные углы */
    background-color: #fff;
    /* Белый фон */
    cursor: pointer;
    position: relative;
  }
  input[type="checkbox"]:checked {
    background-color: #4ba8ff; /* Черный фон при отмеченном состоянии */
    border-color: #4ba8ff; /* Черная рамка */
 }
 input[type="checkbox"]:checked::before {
    content: '\2713'; /* Юникод символ галочки */
    font-size: 10px;
    color: #fff; /* Белый цвет галочки */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
  label {
    margin-bottom: 0;
    text-align:left;
  }
}

label {
  display: block;
  font-weight: 300;
  font-size: 16px;
  color: #404040;
  margin-bottom: 12px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 260px;
  height: 46px;
  padding: 10px;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  outline: none;
}

.footer__form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.footer__btn {
  border: 0px solid #e5e7eb;
  border-radius: 10px;
  width: 258px;
  height: 46px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  background: linear-gradient(90deg, #4ba8ff 0%, #00b2e2 100%);
  margin-top: 30px;
}

.policy {
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  color: #fff;
  margin-top: 84px;
  margin-bottom: 67px;
}

.mfp-close {
  display: none !important;
}
