/*vars*/
:root {
  --container-width: 1200px;
  --container-padding: 15px;
  --section-padding: 115px 0;
  --section-inner-margin: 44px;
  --font-accent: 'Manrope', sans-serif;
  --font-titles: var(--font-accent);
  --font-family-main: "Montserrat";
  --font-size-main: 16px;
  --font-weigth-main: 400;
  --font--height-main: 24px;
  --text-color: #000;
  --page-bg: #fff;
  --accent: #ac182c;
  --link-color: #2578c8;
}

.theme-back--colored {
  --page-bg: #F6F4F9;
  --text-color: #fff;
}

html {
  width: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-family-main);
  font-size: var(--font-size-main);
  font-weight: var(--font-weigth-main);
  line-height: var(--font--height-main);
  color: var(--text-color);
  background-color: var(--page-bg);
}

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

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

a,
a:link,
a:visited {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

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;
  display: inline-block;
}

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

address {
  font-style: normal;
}

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;
  -webkit-box-shadow: none;
  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;
}

/*utils*/
.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.al-center {
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.jc-sb {
  justify-content: space-between;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
}

.jc-center {
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.jc-end {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.w-100 {
  width: 100%;
}

img {
  display: block;
}

.rel {
  position: relative;
}

.pic-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.visible-xs,
.visible-s,
.visible-m {
  display: none;
}

.ta-center {
  text-align: center;
}

a {
  color: var(--text-color);
}



/*popup*/

@keyframes slideDown {
  0% {
    transform: translateY(-110%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  overflow: auto;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.popup.opened {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.popup.opened .popup__content {
  animation-name: slideDown;
  animation-duration: 0.3s;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

.popup__wrapper {
  display: table;
  width: 100%;
  height: 100%;
}

.popup__inner {
  display: table-cell;
  vertical-align: middle;
  padding: 50px 0;
}

.popup__content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 624px;
  margin: 0 auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  cursor: pointer;
  background: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: inline-block;
  z-index: 101;
}

.popup-close::before,
.popup-close::after {
  content: "";
  background: #191919;
  height: 20px;
  width: 1px;
  position: absolute;
  border-radius: 10px;
  top: 50%;
}

.popup-close::before {
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}

.popup-close::after {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}


/* ====== забрать только эти стили =====*/
@font-face {
  font-family: "Commissioner";
  src: url("../fonts/Commissioner.ttf");
  font-weight: 600;
  font-style: normal;
}

/*popup banner*/
.popup-banner .popup__content {
  padding: 0;
  max-width: 50%;
}

.popup-close::before,
.popup-close::after {
  background: #ffffff;
}


.banners-spring {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
}

.banners-spring__title {
  font-family: "Commissioner";
  position: absolute;
  top: max(0.8rem, min(3.12vw, 2.9rem));
  left: 50%;
  transform: translateX(-50%);
  max-width: max-content;
  width: 100%;
  color: #ffffff;
  font-size: max(2.49rem, min(3.12vw, 3.22rem));
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  ;
}

.banner-spring {
  width: calc(100% / 3);
}

.banner-spring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .popup-banner .popup__content {
    max-width: 100%;
  }

  .banners-spring__title {
    font-size: max(1.4rem, min(4.125vw, 3.225rem));
  }
}