html {
  font-size: 1.5625vw;
}
@media screen and (min-width: 968px) {
  html {
    font-size: 0.521vw;
  }
}

/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

.container {
  max-width: 168rem;
  width: 100%;
  margin: 0 auto;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #000000;
  background-color: #f5f5f7;
}

/* //======================================================================================================================================================== */
.main__title {
  font-weight: 800;
  font-size: 4rem;
  line-height: 120%;
}

.main__content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 10rem 0 12rem;
}

.main__heading {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.main__list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.main__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 120%;
}

.main__item::before {
  content: "";
  display: block;
  background-image: url("./../images/icons/check.svg");
  width: 2.4rem;
  height: 2.4rem;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.header__video {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.header__video video {
  width: 100%;
  border-radius: 20px;
}
.header__video video::-webkit-media-controls-volume-slider {
  display: none;
}
.header__video video::-webkit-media-controls-mute-button {
  display: none;
}
.header__sound {
  position: absolute;
  cursor: pointer;
  top: 2rem;
  right: 2rem;
  width: 5.6rem;
  height: 5.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
}
.header__sound .sound-off {
  display: none;
}
.header__sound.off .sound-on {
  display: none;
}
.header__sound.off .sound-off {
  display: block;
}
.header__click {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  justify-content: center;
  margin-bottom: 8rem;
}
.header__click svg {
  width: 4.5rem;
}
.header__info {
  display: flex;
  gap: 0.5rem;
  background: white;
  border-radius: 20px;
  margin: 4rem 1rem 9rem 12rem;
  position: relative;
}
.header__img {
  margin-top: -4rem;
  margin-left: -12rem;
  margin-right: -3rem;
  width: 46rem;
  flex-shrink: 0;
}
.header__arrow {
  position: absolute;
  right: -1rem;
  bottom: -9rem;
  width: 20rem;
}

.main__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #ffffff;
  border-radius: 2rem;
}

.form {
  width: 100%;
  padding: 3.2rem;
}

.form__inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
  position: relative;
}

.form-control label {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 100%;
}

.form-input {
  padding: 1.9rem 1.2rem;
  font-size: 1.6rem;
  border: 1px solid #aeaeae;
  border-radius: 1rem;
}

label.small {
  font-size: 1.2rem;
}

.form-check {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 2rem;
}

.form-btn {
  width: 100%;
  font-family: Montserrat;
  font-weight: 500;
  font-style: Medium;
  font-size: 2rem;
  line-height: 100%;
  letter-spacing: 2%;
  padding: 4rem 0;
  background-color: #000000;
  border-radius: 2rem;
  margin-top: 3rem;
  color: #fff;
}

.error {
  display: none;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.4274509804);
  backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 70rem;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2rem;
  padding: 4rem;
  position: relative;
}

.form-btn {
  text-align: center;
}

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

.form__title {
  text-align: center;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 100%;
  text-align: center;
  margin-bottom: 2.4rem;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 6rem;
  height: 6rem;
  cursor: pointer;
}

.form-input.err + .error {
  display: block;
}

.error {
  position: absolute;
  top: 3rem;
  right: 0;
  color: red;
  font-size: 1.2rem;
  display: none;
}

.icon-success {
  width: 16rem;
  margin-bottom: 4rem;
}

.form-btn {
  width: 100%;
  padding: 4rem 8rem;
  background-color: #000;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 100%;
  border-radius: 10rem;
  height: 10rem;
}
.form-btn.modal-close {
  position: static;
  background: none;
  border: 1px solid #000;
  color: #000;
  max-width: inherit;
  transition: all 0.3s ease-out;
  margin-top: 1.6rem;
}
.form-btn.modal-close:hover {
  background: #000;
  color: white;
}

/* footer */
/* //======================================================================================================================================================== */

.footer {
  border-top: 1px solid #464646;
}
.footer__content {
  display: flex;
  flex-direction: column;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  padding: 9.5rem 0;
}
.footer__top-wrapper {
  border-bottom: 1px solid #464646;
}
.footer__social {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.footer__lable {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 100%;
}
.footer__social-list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.footer__social-link {
  width: 5.9rem;
  height: 5.9rem;
  border-radius: 50%;
  border: 1px solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease 0s;
}
/* .footer__social-link img {
  filter: brightness(0) invert(1);
} */
.footer__social-link:hover {
  opacity: 0.7;
}
.footer__social-link.last {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 100%;
  width: auto;
  padding: 2rem 7rem 2rem 1rem;
  gap: 1rem;
  border-radius: 1rem;
  max-width: 31.7rem;
  width: 100%;
  color: #000000;
}
.footer__support {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  max-width: 75rem;
  width: 100%;
  flex-shrink: 0;
}
.footer__support-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.footer__support-item {
  width: 100%;
  max-width: 36.8rem;
}
.footer__support-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.2rem;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 100%;
  color: #000000;
  width: 100%;
  border: 1px solid #909090;
  border-radius: 1.2rem;
  transition: opacity 0.3s ease 0s;
}
/* .footer__support-link img {
  filter: brightness(0) invert(1);
} */
.footer__support-link:hover {
  opacity: 0.7;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 3.8rem 0 5.4rem;
}
.footer__offer {
  font-weight: 400;
  font-size: 2rem;
  line-height: 100%;
  color: #000000;
}
.footer__copyright {
  font-weight: 400;
  font-size: 2rem;
  line-height: 100%;
  text-align: right;
}

@media (max-width: 1024px) {
  html {
    font-size: 1.2vw
  }
  .main__content {
    padding: 3rem 4rem 6rem;
  }
  .main__item {
    font-size: 3.2rem;
  }
  .main__item::before {
    width: 4.2rem;
    height: 4.2rem;
  }
  .main__inner {
    display: flex;
    flex-direction: column-reverse;
  }
  .form {
    padding: 2.4rem;
  }
  .form__inputs {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  .form-control {
    gap: 1.6rem;
  }
  .form-control label {
    font-size: 3.2rem;
  }
  .form-control label.small {
    font-size: 2.8rem;
  }
  .form-input {
    height: 9rem;
    padding: 2.4rem;
    font-size: 2.8rem;
  }
  .form-btn {
    padding: 4rem 8rem;
    height: 12rem;
    font-size: 3.2rem;
    border-radius: 1.6rem;
  }
  .form-check {
    margin-top: 2.4rem;
    font-size: 2.8rem;
  }
  .footer__top {
    flex-direction: column;
    gap: 4rem;
    padding: 0;
    border-bottom: 0;
  }
  .footer {
    padding: 4rem;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 3rem;
  }
  .footer__copyright {
    text-align: left;
  }
  .footer__offer {
    text-decoration: underline !important;
  }
  .footer__lable {
    font-size: 2.8rem;
  }
  .footer__social-list {
    gap: 2.4rem;
  }
  .footer__social-link.last,
  .footer__social-link {
    width: 7.4rem;
    height: 7.4rem;
  }
  .footer__social-link.last {
    padding: 0;
  }
  .footer__top-wrapper {
    border-bottom: 0;
  }
  .footer__bottom {
    padding-bottom: 0;
    font-size: 2.8rem;
  }
  .footer__support-link {
    font-size: 2.4rem;
  }
}
