﻿:root {
  --font-family: "Arial", sans-serif;
  --second-family: "Calibri", sans-serif;
  --third-family: "Inter", sans-serif;
  --font3: "Consolas", sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

.content {
  max-width: 1180px;
  margin: 0 auto;
}

.main__overlay {
  position: relative;
  border-radius: 30px;
  width: var(--vw);
  height: calc(var(--vh) - 90px);
  left: 50%;
  transform: translate(-50%);
}

.cross-close-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 20px;
  height: 0;
  line-height: 1;
  text-decoration: none;
}

  .cross-close-btn:hover {
    color: #333;
  }

.bg-layer {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background-repeat: no-repeat;
  background-size: cover !important;
  background-position: center !important;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.bg-current {
    opacity: 1;
    z-index: -2;
}

.bg-next {
    opacity: 0;
    z-index: -1;
}

.main__content {
  max-width: 1180px;
  margin: 0 auto;
}

.form-reset {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    display: block;
}
