@font-face {
  font-family: "Molot";
  src: url(../../../fonts/Molot.otf);
}

@font-face {
  font-family: "Roboto Mono";
  src: url(../../../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
}

:root {
  --bg-color: #222222;
  --es-green: #9dcd55;
  --es-white: #ffffff;
  --es-black: #000000;
  --es-red: #9e0000;
  --es-darkblue: #1c1d63;
}

.bl2 {
  background-color: var(--bg-color);
}

.es2-green-color {
  color: var(--es-green) !important;
}

#everlasting-summer-2 h1,
#everlasting-summer-2 h2 {
  font-family: "Jikharev";
  text-transform: none;
  line-height: 89%;
  color: var(--es-white);
}

.page-template-page-bl2-php {
  background: var(--bg-color);
}

.es2-hero {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.es2-hero--secondary {
  padding: 120px 0;
  position: relative;
}

.es2-hero__leaf {
  pointer-events: none;
}

.es2-hero__content {
  position: absolute;
  top: 217px;
  width: 100%;
}

.es2-hero--secondary .es2-hero__content {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.es-2-banner__title {
  font-size: 100px;
  color: var(--es-white);
  text-shadow: 0 0 30px var(--es-black);
  margin-bottom: 24px;
}

.es2-hero__subtitle {
  font-family: "Raleway";
  /* text-shadow: 0 0 30px var(--es-black); */
  color: var(--es-white);
  font-size: 16px;
  font-weight: 500;
}

.es-2-trailer__title {
  color: var(--es-white);
  font-size: 64px;
  margin-bottom: 24px;
  position: absolute;
  left: 50%;
  top: -33px;
  transform: translateX(-565px) rotate(-3.39deg);
}

.es-2-trailer__image-wrapper {
  margin: 24px 0;
  text-align: center;
}

.es-2-trailer__image {
  max-width: 1075px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.es-2-trailer__subtitle {
  max-width: 824px;
  margin: 24px auto 0;
}

.es2-hero-img {
  width: 100%;
}

.es2-hero-img__mobile {
  display: none;
}

.page-template-page-bl2 .footer--bl2 {
  color: var(--es-white);
  background-color: var(--bg-color);
}

.es2-hero__buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 56px;
}

.es2-hero__buttons--single {
  gap: 0;
}

.es2-hero__buttons_btn {
  position: relative;
  filter: drop-shadow(0 0 120px rgb(0, 0, 0));
}

.es2-hero__buttons span {
  position: absolute;
  height: 100%;
  width: 84%;
  left: 8%;
  z-index: 0;
  box-shadow: 0 0 120px var(--es-black);
  clip-path: polygon(8% 0, 93% 0, 100% 49%, 93% 95%, 8% 100%, 0% 50%);
}

.es2-hero__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
  font-family: "Molot" !important;
  width: 283px;
  height: 62px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
  gap: 10px;
}

.es2-hero__buttons-dw {
  background-image: url("../../../assets/everlasting-summer/download_btn.png");
  color: var(--es-white);
}

.es2-hero__buttons-dw:hover {
  background-image: url("../../../assets/everlasting-summer/download_btn_hover.png");
  color: var(--es-white);
}

.es2-hero__buttons-steam {
  background-image: url("../../../assets/everlasting-summer/tr_btn.png");
  color: var(--es-green);
  gap: 16px !important;
}

.es2-hero__buttons-steam:hover {
  background-image: url("../../../assets/everlasting-summer/tr_btn_hover.png");
  color: #bbeb73;
}

.es2-hero__buttons-steam-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-block;
  flex-shrink: 0;
}

.es2-hero__buttons-steam > span {
  position: static !important;
  display: inline-block !important;
  z-index: 1 !important;
  box-shadow: none !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  left: auto !important;
}

.es2-hero__buttons-tr {
  background-image: url("../../../assets/everlasting-summer/tr_btn.png");
  color: var(--es-green);
}

.es2-hero__buttons-tr:hover {
  background-image: url("../../../assets/everlasting-summer/tr_btn_hover.png");
  color: #bbeb73;
}

.es2-hero__leaf-left {
  position: absolute;
  left: -380px;
  top: 340px;
  z-index: 1;
  object-fit: contain;
  object-position: left center;
}

.es2-hero__leaf-right {
  position: absolute;
  right: -260px;
  top: 0;
  z-index: 1;
  object-fit: contain;
  object-position: right center;
}

.es2-hero__leaf-left-mobile,
.es2-hero__leaf-right-mobile {
  display: none;
}

/* About Section */
.es-about {
  position: relative;
  min-height: 972px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
}

.es-about__background {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(calc(-50% + 80px));
  height: 100%;
  z-index: 0;
  width: 2424px;
  max-width: 2424px;
  display: flex;
}

.es-about__bg-image {
  width: 2424px;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
}

.es-about__bg-image-mobile {
  display: none;
}

.es-about__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.es-about__text {
  color: var(--es-white);
}

.es-about__title {
  font-size: 48px;
  font-weight: 400;
  color: var(--es-red) !important;
  margin-bottom: 56px;
  text-transform: uppercase !important;
  font-family: "Molot" !important;
  line-height: 100% !important;
}

.es-about__description {
  font-family: "Raleway";
  font-size: 20px;
  line-height: 132%;
  color: var(--es-black);
  font-weight: 600;
  max-width: 762px;
}

/* Collage Section */

.es2-collage {
  margin-bottom: 120px;
}

.es2-collage h2 {
  font-size: 64px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  top: 100px;
  text-align: center;
}

.es2-collage__area {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.es2-collage__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es2-collage__bg-image {
  width: 100%;
  height: 100%;
}

.es2-collage__image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.es2-collage__bg-image-mobile,
.es2-collage__image-mobile {
  display: none;
}

/* Slider Section */
.page-template-page-bl2-php .es2-swiper {
  overflow: visible;
}

.es2-slider {
  position: relative;
  background: var(--bg-color);
  width: 100%;
  overflow: hidden;
  margin: 130px auto;
  min-height: 778px;
  margin-left: -60px;
}

.es2-slider-main {
  margin-left: auto;
}

.es2-slider h2 {
  width: 100%;
  font-size: 64px;
  z-index: 1;
  position: relative;
  text-align: center;
  margin-left: 210px;
  transform: rotate(-3.12deg);
}

.es2-slider-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-600px);
  top: 90px;
  width: 1215px;
  z-index: 0;
}

.es2-slider-bg.__mobile {
  display: none;
}

.es2-slider-image {
  position: absolute;
  left: 50%;
  transform: translateX(-330px) rotate(5.55deg);
  top: 393px;
  width: 346px;
  z-index: 2;
}

.es2-swiper-text {
  color: var(--es-black);
  font-family: "Roboto Mono";
  position: absolute;
  top: 41.5px;
  width: 430px;
  left: 50%;
  transform: translateX(138px) rotate(-3.12deg);
  z-index: 1;
}

.es2-swiper-subtitle {
  font-size: 64px;
  line-height: 89%;
  margin-bottom: 40px;
  font-family: "Good-Vibes";
  color: var(--es-darkblue);
}

.es2-swiper-text p {
  font-size: 16.5px;
  line-height: 132%;
  color: var(--es-darkblue);
  font-family: "Raleway";
  font-weight: 600;
  height: 500px;
}

.es2-swiper-slide {
  min-height: 760px;
}

.es2-swiper-photo {
  position: absolute;
  left: 50%;
  transform: translate(-510px) rotate(-9.3deg);
  top: 29px;
  width: 346px;
  z-index: 1;
}

.es2-tape {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.es2-tape-mobile-1,
.es2-tape-mobile-2 {
  display: none;
}

.es2-slider-bg-mobile {
  display: none;
}

/* Ленты на es2-swiper-photo */
.es2-tape-photo-1 {
  left: 50%;
  transform: translate(-517px, 0);
  top: 320px;
}

.es2-tape-photo-2 {
  left: 50%;
  transform: translate(-260px, 0);
  top: -21px;
}

/* Ленты на es2-slider-image */
.es2-tape-image-3 {
  left: 50%;
  transform: translate(-370px, 0);
  top: 350px;
}

.es2-tape-image-4 {
  left: 50%;
  transform: translate(-75px, 0);
  bottom: 10px;
}

.es2-swiper .es2-swiper-button-prev,
.es2-swiper .es2-swiper-button-next {
  background-image: url("../../../assets/everlasting-summer/slider-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  left: 50%;
  opacity: 1;
  background-size: cover;
  z-index: 3;
}

.es2-swiper .es2-swiper-button-prev:hover,
.es2-swiper .es2-swiper-button-next:hover {
  opacity: 0.8;
}

.es2-swiper .es2-swiper-button-prev::after,
.es2-swiper .es2-swiper-button-next::after {
  content: none;
}

.es2-swiper .es2-swiper-button-prev {
  top: 647px;
  transform: translateX(503px) rotate(-3.13deg);
}

.es2-swiper .es2-swiper-button-next {
  top: 643px;
  transform: translateX(567px) rotate(176.87deg);
}

@media (max-width: 1440px) {
  .es2-collage h2 {
    top: 50px;
  }
}

@media (max-width: 1280px) {
  .es2-hero__leaf-left {
    left: -430px;
  }

  .es2-hero__leaf-right {
    right: -330px;
  }
}

@media (max-width: 1200px) {
  .es2-swiper .es2-swiper-button-prev {
    transform: translateX(143px) rotate(-3.13deg);
  }

  .es2-swiper .es2-swiper-button-next {
    transform: translateX(207px) rotate(176.87deg);
  }
}

@media (max-width: 1024px) {
  .es2-hero__leaf-left {
    top: 250px;
  }

  .es2-hero__leaf-right {
    top: 0;
  }
  .es-2-banner__title {
    font-size: 64px;
  }
  .es2-hero__content {
    top: 180px;
  }
  .es-2-trailer__title {
    font-size: 48px;
    transform: translateX(-475px) rotate(-3.39deg);
  }
  .es-about__title {
    margin-bottom: 48px;
    font-size: 42px;
  }
  .header__bl2-logo img {
    height: 48px;
  }
  .es2-collage h2 {
    font-size: 48px;
  }
  .es2-slider h2 {
    font-size: 48px;
    margin-left: 110px;
  }
  .es-about__description {
    max-width: 600px;
    font-size: 18px;
  }
  .es2-slider-bg {
    max-width: unset;
  }

  .es2-swiper-text p {
    font-size: 13px;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .es2-hero__leaf-left {
    top: 80px;
  }

  .es2-hero__leaf-right {
    top: 0;
  }
  .es-2-banner__title {
    font-size: 48px;
  }
  .es2-hero__content {
    top: 140px;
  }
  .es-about {
    padding: 90px 0;
  }
  .es2-hero--secondary {
    padding-bottom: 0;
  }
  .es-about__bg-image {
    width: 1824px;
    object-fit: contain;
  }
  .es-2-trailer__title {
    font-size: 36px;
    transform: translateX(-325px) rotate(-3.39deg);
  }
  .es2-hero__subtitle {
    font-size: 14px;
  }
  .es-2-trailer__subtitle {
    max-width: 600px;
  }
  .es2-hero__buttons {
    margin-top: 20px;
  }
  .es-about__title {
    margin-bottom: 36px;
    font-size: 32px;
  }
  .header__bl2-logo img {
    height: 36px;
  }
  .es2-collage h2 {
    font-size: 36px;
  }
  .es2-slider h2 {
    font-size: 36px;
    margin-left: 110px;
  }
  .es2-slider {
    margin: 0 auto 160px;
  }
  .es-about__description {
    max-width: 540px;
    font-size: 16px;
  }
  .es2-slider-bg {
    max-width: unset;
  }
  .es2-swiper-wrapper {
    margin-top: 140px;
  }

  .es2-swiper-text p {
    font-size: 11px;
    max-width: 220px;
  }

  .es2-hero-img {
    display: none;
  }
}

@media (max-width: 600px) {
  .es2-hero-img__mobile {
    display: block;
    width: 100%;
  }

  .es-2-banner__title {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .es-2-trailer__title {
    font-size: 24px;
    width: 250px;
    top: -30px;
    transform: translateX(-185px) rotate(-4.25deg);
  }

  .es-2-trailer__subtitle {
    max-width: 335px;
  }

  .es2-hero--secondary {
    padding: 60px 0 0;
  }

  .es2-hero__subtitle br {
    display: none;
  }

  .es-2-subtitle {
    max-width: 288px;
    margin: 0 auto;
  }

  .es2-hero__buttons {
    margin-top: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .es2-hero__buttons span {
    box-shadow: 0 0 12rem var(--es-black);
  }

  .es2-hero__buttons a {
    font-size: 1.6rem;
    letter-spacing: 0.15rem;
    width: 18.3rem;
    height: 4rem;
  }

  .es2-hero__leaf-left,
  .es2-hero__leaf-right {
    display: none;
  }

  .es2-hero__leaf-left-mobile {
    display: block;
    position: absolute;
    left: -90px;
    top: 140px;
    z-index: 1;
    object-fit: contain;
    object-position: left center;
  }

  .es2-hero__leaf-right-mobile {
    display: block;
    position: absolute;
    right: -87px;
    top: 75px;
    z-index: 1;
    object-fit: contain;
    object-position: right center;
  }

  .es-about {
    padding: 40px 0;
    min-height: 620px;
    margin: 90px 0;
  }

  .es-about__background {
    width: 100%;
    max-width: 100%;
    transform: translateX(-407.5px);
    left: 50%;
  }

  .es-about__bg-image {
    display: none;
  }

  .es-about__bg-image-mobile {
    display: block;
    min-width: 965px;
    min-height: 620px;
    object-fit: contain;
  }

  .es-about__content {
    max-width: 280px;
    grid-template-columns: 1fr;
    padding-left: 15px;
    margin-top: -40px;
    gap: 20px;
  }

  .es-about__title {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .es-about__description {
    font-size: 12px;
    max-width: 216px;
    line-height: 132%;
  }

  .es2-collage {
    margin-bottom: 80px;
  }

  .es2-collage__title {
    font-size: 24px;
    top: 40px;
    width: 270px;
    max-width: 100%;
  }

  .es2-collage__area {
    min-height: 835px;
    overflow: hidden;
  }

  .es2-collage__background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-277.5px);
    z-index: 0;
    width: 553px;
    min-height: 835px;
    display: flex;
  }

  .es2-collage__bg-image {
    display: none;
  }

  .es2-collage__bg-image-mobile {
    display: block;
    min-width: 553px;
    min-height: 835px;
    object-fit: contain;
  }

  .es2-collage__image {
    display: none;
  }

  .es2-collage h2 {
    font-size: 24px;
    top: 65px;
  }

  .es2-collage__image-mobile {
    display: block;
    position: relative;
    z-index: 1;
    min-width: 747px;
    min-height: 744px;
    object-fit: contain;
    margin: 85px -100px 0 0;
  }

  /* Slider Section мобильная адаптация */
  .es2-slider {
    margin: 0 auto 80px;
    min-height: 600px;
    margin-left: 0;
  }

  .es2-slider h2 {
    font-size: 24px;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .es2-slider-bg {
    display: none;
  }

  .es2-slider-bg-mobile {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-750px);
    top: 40px;
    min-width: 937px;
    min-height: 676px;
    z-index: 0;
    object-fit: contain;
  }

  .es2-swiper-wrapper {
    margin-top: 60px;
  }

  .es2-swiper-slide {
    min-height: 500px;
  }

  .es2-swiper-photo {
    width: 240px;
    height: 216px;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-260px) rotate(-12.18deg);
    top: 0;
    z-index: 1;
  }

  .es2-slider-image {
    width: 240px;
    height: 216px;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-86px) rotate(10.41deg);
    top: 40px;
    z-index: 1;
  }

  .es2-swiper-text {
    position: absolute;
    top: 260px;
    max-width: 248px;
    z-index: 1;
    transform: translateX(-160px) rotate(-3.12deg);
  }

  .es2-swiper-subtitle {
    font-size: 40px;
    margin-bottom: 2px;
  }

  .es2-swiper-text p {
    font-size: 7.7px;
    max-width: 100%;
  }

  .es2-tape-photo-1,
  .es2-tape-photo-2,
  .es2-tape-image-3,
  .es2-tape-image-4 {
    display: none;
  }

  .es2-tape-mobile-1 {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-90px);
    top: 10px;
    z-index: 2;
    pointer-events: none;
  }

  .es2-tape-mobile-2 {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-135px);
    top: 193px;
    z-index: 2;
    pointer-events: none;
  }

  .es2-swiper .es2-swiper-button-prev,
  .es2-swiper .es2-swiper-button-next {
    width: 30px;
    height: 30px;
  }

  .es2-swiper .es2-swiper-button-prev {
    top: 500px;
    transform: translateX(60px) rotate(-3.13deg);
  }

  .es-2-trailer__image {
    border-radius: 6px;
  }

  .es2-swiper .es2-swiper-button-next {
    top: 497.5px;
    transform: translateX(104px) rotate(176.87deg);
  }
}
