/**
 * @file
 * Subtheme specific CSS.
 */

body {
  font-family: "Golos";
  font-style: normal;
  font-weight: 400;
}

#header {
  height: 80vh;
  background-color: #000;
  margin: 0rem;
  overflow: hidden;
  position: relative;
}

.region-top-header {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1320px;
  width: 100%;
}

.field--name-field-kartinka .field__item {
  transition: 0.5s;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.field--name-field-kartinka .field__item:hover {
  transition: 0.5s;
}

#block-clear-telefon .phone__bottom a {
  border: 2px #fff solid;
  border-radius: 30px;
  box-sizing: border-box;
  color: #fff;
  display: block;
  padding: 5px 10px;
  padding: 10px 30px;
  text-decoration: none;
}

/**Верхнее меню **/

#block-clear-main-menu {
  width: auto;
}

#block-clear-main-menu > ul {
  display: flex;
  flex-direction: row;
}

#block-clear-main-menu > ul > li a {
  color: #fff;
  display: block;
  font-size: 18px;
  padding: 5px 30px;
  text-transform: uppercase;
}

.navbar-brand {
  max-width: 200px;
}

#block-clear-telefon {
  width: auto;
}

.region-main-offer {
  margin: 0 auto;
  max-width: 1320px;
  width: 100%;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 10px; /* Расстояние между колонками */
  align-items: center;
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
}

.region-main-offer h1 {
  color: #fff;
}

@keyframes rotate {
  from {
    rotate: 0deg;
  }

  50% {
    scale: 1 1.5;
  }

  to {
    rotate: 360deg;
  }
}

.bokeh {
  height: 100%;
  width: 100%;
  background-color: #124;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  filter: blur(50px);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.bokeh circle {
  animation: rotate 6s linear infinite;
  fill: #124;
  opacity: 0.43;
  transform-origin: 50%;
}
.bokeh circle:nth-child(2n) {
  fill: #614;
  transform-origin: 20% 110%;
  animation-delay: -3s;
  animation-duration: 4.1316s;
  opacity: 0.2;
}
.bokeh circle:nth-child(3n) {
  opacity: 0.65;
  fill: #469;
  transform-origin: 70% 30%;
  animation-delay: -1.5s;
  animation-duration: 7.9998s;
}
.bokeh circle:nth-child(4n) {
  fill: #c63;
  transform-origin: 110% 70%;
  animation-delay: -2s;
  animation-duration: 4.77996s;
}
.bokeh circle:nth-child(5n) {
  fill: #266;
  transform-origin: 30% 40%;
}
.bokeh circle:nth-child(6n) {
  fill: #124;
  transform-origin: -10% 80%;
  animation-delay: -7.8s;
}
.bokeh circle:nth-child(7n) {
  fill: #614;
  transform-origin: 70% -10%;
}
.bokeh circle:nth-child(8n) {
  fill: #c63;
  transform-origin: -30% 50%;
  animation-delay: -2.4s;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
