/**
 * Hero Section Styles
 *
 * Extracted from main-styles.css for modular loading.
 * Enqueued by template-parts/frontpage/hero.php
 *
 * @package PhilFred
 */

.hero-home {
  position: relative;
  z-index: 3;
  background: #1d1d1d;
  clip-path: polygon(0 0, 100% 0, 100% 89%, 0 100%);
}

@media (max-width: 101.25rem) {
  .hero-home {
    clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
  }
}

@media (max-width: 61.9988rem) {
  .hero-home {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }
}

.hero-home__wrapper {
  background: #1d1d1d;
}

.hero-home__container {
  position: relative;
  z-index: 2;
}

@media (max-width: 47.9988rem) {
  .hero-home__container {
    padding: 0;
  }
}

.hero-home__body {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transform: translate(-100%, 0);
  -ms-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}

.hero-home__slide {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

@media (max-width: 47.9988rem) {
  .hero-home__slide {
    min-height: 57.5625rem;
    overflow: hidden;
  }
}

.hero-home__slide-02 {
  opacity: 0;
  visibility: hidden;
}

.hero-home__slide-reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.hero-home__slide-reverse .hero-home__info {
  border: none;
}

@media (min-width: 47.9988rem) {
  .hero-home__slide-reverse .hero-home__info-wrapper {
    padding-bottom: 8.25rem;
  }
}

.hero-home__slide-reverse .hero-home__switcher {
  left: 0;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.hero-home__slide-reverse .hero-home__switcher svg {
  position: relative;
  z-index: 2;
  margin-right: 0.6875rem;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.hero-home__slide-reverse .hero-home__pizza-image {
  margin-left: 0;
  -webkit-transform: translate(-68%, -50%) scale(0.9);
  -ms-transform: translate(-68%, -50%) scale(0.9);
  transform: translate(-68%, -50%) scale(0.9);
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 47.9988rem) {
  .hero-home__slide-reverse .hero-home__pizza-image {
    -webkit-transform: translate(-65%, 0);
    -ms-transform: translate(-65%, 0);
    transform: translate(-65%, 0);
  }
}

.hero-home__slide-reverse .hero-home__decor::after {
  left: -50vw;
}

.hero-home__slide-reverse .hero-home__decor::before {
  display: none;
}

@media (max-width: 47.9988rem) {
  .hero-home__slide-reverse .hero-home__buton {
    display: none;
  }
}

.hero-home__info {
  z-index: 2;
  background: #1d1d1d;
}

@media (max-width: 47.9988rem) {
  .hero-home__info {
    width: 100%;
    background: transparent;
  }
}

@media (min-width: 47.9988rem) {
  .hero-home__info {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 50%;
    flex: 0 1 50%;
    border-right: 0.125rem solid #fff;
  }
}

@media (min-width: 47.9988rem) {
  .hero-home__info {
    padding-bottom: 3.125rem;
  }
}

.hero-home__info-wrapper {
  overflow: hidden;
  position: relative;
}

@media (max-width: 75rem) {
  .hero-home__info-wrapper {
    padding: 9.375rem 1.25rem 17.0625rem 1.25rem;
  }
}

@media (min-width: 75rem) {
  .hero-home__info-wrapper {
    padding-left: 162px;
    padding: 13.0625rem 4.375rem 17.0625rem 10.125rem;
  }
}

@media (min-width: 75rem) and (max-width: 1440px) {
  .hero-home__info-wrapper {
    padding-left: calc(0px + 162 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__info-wrapper {
    padding: 0;
  }
}

.hero-home__label {
  font-size: 34px;
  line-height: 106%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  max-width: 15.75rem;
  margin-bottom: 27px;
}

@media (max-width: 1440px) {
  .hero-home__label {
    font-size: calc(22px + 12 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 1440px) {
  .hero-home__label {
    margin-bottom: calc(13px + 14 * (100vw - 390px) / 1050);
  }
}

@media (min-width: 47.9988rem) {
  .hero-home__label {
    -webkit-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__label {
    max-width: 8.125rem;
  }
}

.hero-home__main-title {
  font-weight: 700;
  font-size: 64px;
  line-height: 100%;
  color: #fff;
  max-width: 29.375rem;
}

@media (max-width: 1440px) {
  .hero-home__main-title {
    font-size: calc(29px + 35 * (100vw - 390px) / 1050);
  }
}

@media (min-width: 47.9988rem) {
  .hero-home__main-title {
    margin-bottom: 4.25rem;
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__main-title {
    -webkit-box-shadow: -0.125rem 0.25rem 0.75rem 0 rgba(0, 0, 0, 0.04);
    box-shadow: -0.125rem 0.25rem 0.75rem 0 rgba(0, 0, 0, 0.04);
    background: rgba(29, 29, 29, 0.41);
    border: 0.0638rem solid #fff;
    border-radius: 50%;
    backdrop-filter: blur(0.625rem);
    aspect-ratio: 1/1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: rotate(-8deg);
    -ms-transform: rotate(-8deg);
    transform: rotate(-8deg);
    margin-bottom: 18.625rem;
    width: 68.1%;
    margin-top: 150px;
    margin-left: -50px;
    min-width: 18.5625rem;
  }
}

@media (max-width: 47.9988rem) and (max-width: 1440px) {
  .hero-home__main-title {
    margin-top: calc(113px + 37 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) and (max-width: 1440px) {
  .hero-home__main-title {
    margin-left: calc(-25px + -25 * (100vw - 390px) / 1050);
  }
}

.hero-home__main-title-alt {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 88px;
  line-height: 91%;
  text-transform: uppercase;
  color: #e5193a;
  margin-bottom: 40px;
}

@media (max-width: 1440px) {
  .hero-home__main-title-alt {
    font-size: calc(44px + 44 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 1440px) {
  .hero-home__main-title-alt {
    margin-bottom: calc(0px + 40 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__header {
    -webkit-box-shadow: -0.125rem 0.25rem 0.75rem 0 rgba(0, 0, 0, 0.04);
    box-shadow: -0.125rem 0.25rem 0.75rem 0 rgba(0, 0, 0, 0.04);
    background: rgba(29, 29, 29, 0.41);
    border: 0.0638rem solid #fff;
    border-radius: 50%;
    backdrop-filter: blur(0.625rem);
    aspect-ratio: 1/1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transform: rotate(-8deg);
    -ms-transform: rotate(-8deg);
    transform: rotate(-8deg);
    margin-bottom: 24rem;
    width: 68.1%;
    margin-top: 150px;
    margin-right: -50px;
    min-width: 18.5625rem;
    margin-left: auto;
    padding-inline: 60px;
  }
}

@media (max-width: 47.9988rem) and (max-width: 1440px) {
  .hero-home__header {
    margin-top: calc(102px + 48 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) and (max-width: 1440px) {
  .hero-home__header {
    margin-right: calc(-25px + -25 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) and (max-width: 1440px) {
  .hero-home__header {
    padding-inline: calc(50px + 10 * (100vw - 390px) / 1050);
  }
}

.hero-home__main-title-label-01 {
  font-family: "Edo", sans-serif;
  font-weight: 400;
  font-size: 80px;
  color: #1d1d1d;
  text-shadow: -0.0625rem -0.0625rem 0 #000, 0.0625rem -0.0625rem 0 #fff, -0.2rem -0.2rem 0 #fff, 0.1rem 0.1rem 0 #fff;
}

@media (max-width: 1440px) {
  .hero-home__main-title-label-01 {
    font-size: calc(35px + 45 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__main-title-label-01 {
    line-height: 125%;
  }
}

.hero-home__main-title-label-02 {
  font-weight: 600;
  font-size: 130px;
  line-height: 103%;
  text-transform: uppercase;
  color: #e5193a;
}

@media (max-width: 1440px) {
  .hero-home__main-title-label-02 {
    font-size: calc(60px + 70 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__main-title-label-02 {
    letter-spacing: -0.02em;
  }
}

.hero-home__subtitle {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  color: #fff;
  max-width: 20.75rem;
  margin-bottom: 80px;
}

@media (max-width: 1440px) {
  .hero-home__subtitle {
    font-size: calc(18px + 2 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 1440px) {
  .hero-home__subtitle {
    margin-bottom: calc(90px + -10 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__subtitle {
    margin: 0 auto;
  }
}

@media (max-width: 28.125rem) {
  .hero-home__subtitle {
    max-width: 14.4375rem;
  }
}

.hero-home__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 68.75rem) {
  .hero-home__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 18.5625rem;
    margin: 0 auto;
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__actions {
    margin-bottom: 6.3125rem;
  }
}

.hero-home__switcher {
  position: absolute;
  width: 5.875rem;
  height: 5.875rem;
  top: 47.08%;
  right: 0;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transform: translate(50%, 0);
  -ms-transform: translate(50%, 0);
  transform: translate(50%, 0);
}

@media (max-width: 47.9988rem) {
  .hero-home__switcher {
    color: #e5193a;
  }
}

.hero-home__switcher::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: #fff;
  border: 0.0625rem dashed #000000;
  z-index: 1;
  -webkit-animation: spin 20s linear infinite;
  animation: spin 20s linear infinite;
}

@media (max-width: 47.9988rem) {
  .hero-home__switcher::after {
    background: #1d1d1d;
    border-color: #fff;
  }
}

.hero-home__switcher svg {
  position: relative;
  z-index: 2;
  margin-left: 0.6875rem;
}

.hero-home__buton {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

.hero-home__buton-alt {
  padding: 0.625rem;
  display: inline-block;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.hero-home__decor {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 50%;
  flex: 0 1 50%;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

@media (min-width: 47.9988rem) {
  .hero-home__decor::after {
    content: "";
    position: absolute;
    width: 100vw;
    height: 110%;
    top: 0;
    left: 0%;
    background: #fff;
    z-index: 1;
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__decor {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

.hero-home__pizza-image {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 3;
  height: 49.0625rem;
  aspect-ratio: 1/1;
}

@media (max-width: 47.9988rem) {
  .hero-home__pizza-image {
    top: 200px;
    right: 0;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    margin-left: 28%;
  }
}

@media (max-width: 47.9988rem) and (max-width: 1440px) {
  .hero-home__pizza-image {
    top: calc(0px + 200 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__pizza-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
}

.hero-home__boxes-image {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-bottom: 27.14%;
}

@media (min-width: 61.9988rem) {
  .hero-home__boxes-image {
    margin-bottom: 9.625rem;
    margin-left: -1.6875rem;
  }
}

@media (max-width: 61.9988rem) {
  .hero-home__boxes-image {
    max-width: 21.875rem;
  }
}

@media (max-width: 47.9988rem) {
  .hero-home__boxes-image {
    max-width: 25rem;
    margin-left: 5.64%;
    margin-bottom: 30px;
  }
}

@media (max-width: 47.9988rem) and (max-width: 1440px) {
  .hero-home__boxes-image {
    margin-bottom: calc(230px + -200 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 26.25rem) {
  .hero-home__boxes-image {
    margin-bottom: 66.14%;
    max-width: 94.61%;
  }
}

.hero-home__footer {
  position: relative;
  z-index: 5;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  overflow: visible;
}

.hero-home__crawl {
  border-top: 0.125rem solid #636363;
  border-bottom: 0.125rem solid #636363;
  margin-top: -14rem;
  margin-bottom: 8rem;
  -webkit-transform: rotate(-4deg);
  -ms-transform: rotate(-4deg);
  transform: rotate(-4deg);
  font-family: "Edo", sans-serif;
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 100%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #636363;
  gap: 2.8125rem;
  padding: 0.625rem 0;
  position: relative;
  z-index: 2;
  /* Extend beyond viewport on both sides to cover edges when rotated */
  width: 120vw;
  margin-left: -10vw;
  padding-left: 10vw;
  padding-right: 10vw;
  /* Enable flexbox for horizontal layout */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (max-width: 47.9988rem) {
  .hero-home__crawl {
    font-size: 1.25rem;
    line-height: 110%;
    margin-bottom: -7.5rem;
    margin-top: -12rem;
  }
}
