:root {
  --campsite-orange: #fb5d03;
  --campsite-orange-dark: #441604;
  --campsite-yellow: #F9B938;
  --campsite-yellow-bg: #facb74;
  --campsite-blue: #54BEE2;
  --campsite-blue-dark: #114354;
  --campsite-red: #EA5675;
  --campsite-red-dark: #5E1323;
  --campsite-purple: #B97ED5;
  --campsite-purple-dark: #2E133B;
  --campsite-green: #85CA5F;
  --campsite-green-dark: #2F521B;
  --campsite-beige: #F1EFE1;
  --campsite-beige-dark: #D5D3C2;
  --campsite-black: #2D2D2D;
  --mycampapp--teal: #01CCBE;
}

main {
  background-color: var(--campsite-yellow-bg);
  padding-top: 48px;
}

.mycampapp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 64px 0;

  text-align: center;
  border-radius: 16px;

  background-color: var(--campsite-beige);
  background-image:
  url('../images/map.svg'),
  radial-gradient(30% 60% at 11% 30%, #F1EFE1 0%, rgba(255, 255, 255, 0) 100%),
  radial-gradient(60% 100% at 150% 90%, #01CCBE 0%, rgba(255, 255, 255, 0) 100%),
  radial-gradient(54.41% 142.22% at 7.85% 135.36%, #F9B938 0%, rgba(255, 255, 255, 0) 100%),
  linear-gradient(248deg, rgba(255, 255, 255, 0) 72%, #01CCBE 106%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: background-drift 60s ease-in-out infinite;
}

@media screen and (max-width: 90rem) {
  .mycampapp-hero {
    border-radius: 0;
  }
}

/*
  Logo
  --------------------------------
*/
.mycampapp-hero__logo {
  width: 100%;
  max-width: 300px;

  transform: translateY(16px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated .mycampapp-hero__logo {
  transform: translateY(0);
  opacity: 1;
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__logo {
    max-width: 150px;
  }
}

/*
  Heading text
  --------------------------------
*/
.mycampapp-hero__heading {
  font-size: 5rem;
  font-weight: 1000;
  text-wrap: balance;
  max-width: 800px;
  width: 100%;
  margin: 48px auto 0 auto;

  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: scale(.9);
}

.animated .mycampapp-hero__heading {
  opacity: 1;
  transform: scale(1);
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__heading {
    font-size: 4rem;
    margin-top: 34px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 600px) {
  .mycampapp-hero__heading {
    font-size: 2.5rem;
  }
}

.mycampapp-hero__heading-line {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  padding-bottom: 14px;
}

.mycampapp-hero__heading-line:nth-of-type(1) {
  margin-top: -40px;
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__heading-line:nth-of-type(1) {
    margin-top: -20px;
  }
}

.mycampapp-hero__heading-line:nth-of-type(2) {
  margin-top: -10px;
}

@media screen and (max-width: 600px) {
  .mycampapp-hero__heading-line:nth-of-type(2) {
    margin-top: -10px;
  }
}

.mycampapp-hero__heading--highlight {
  background: linear-gradient(to top, #ee6726, #f8b338);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* For Firefox */
  background-clip: text;
  color: transparent;
}

/*
  Subheading
  --------------------------------
*/
.mycampapp-hero__subheading {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: #2D2D2D;
  max-width: 600px;
  padding: 0 64px;
  margin-top: -8px;
  margin-bottom: 24px;
  text-wrap: pretty;

  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(-24px) scale(.9);
  opacity: 0;
}

.animated.mycampapp-hero__subheading {
  transform: translateY(0) scale(1);
  opacity: .7;
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__subheading {
    padding: 0 24px;
    font-size: 14px;
    line-height: 1.4;
    margin-top: -28px;
  }
}

.mycampapp-hero__footer {
  position: relative;
  width: 100%;
}

/*
  Feature bubbles
  --------------------------------
*/
.mycampapp-hero ul {
  list-style-type: none;
}

.mycampapp-hero__features {
  position: absolute;
  top: 50%;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 24px;
  padding: 0;

  height: 80%;
  transform: translateY(-50%);
  z-index: 50;
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__features {
    position: static;
    width: 100%;
    align-items: center;
  }

  .mycampapp-hero__features-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media screen and (max-width: 450px) {
  .mycampapp-hero__features-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.mycampapp-hero__features--left {
  left: 10%;
}

@media screen and (max-width: 1300px) {
  .mycampapp-hero__features--left {
    left: 24px;
  }
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__features--left,
  .mycampapp-hero__features--right {
    transform: translateY(0);
  }
}

.mycampapp-hero__features--right {
  right: 10%;
  align-items: flex-end;
}

@media screen and (max-width: 1300px) {
  .mycampapp-hero__features--right {
    right: 24px;
  }
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__features--right {
    transform: translateY(0);
    align-items: center;
  }
}

/*
  Phones
  --------------------------------
*/
.mycampapp-hero__phones {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 0;
}

@media screen and (max-width: 960px) {
  .mycampapp-hero__phones {
    margin-bottom: 24px;
  }
}

.phone,
.mycampapp-hero__circle {
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  will-change: opacity, transform;
}

.mycampapp-hero__circle {
  position: absolute;
  padding-left: 24px;
  padding-right: 24px;
}

.phone--center {
  z-index: 10;
  opacity: .8;
}

.animated.animate--fan-out .phone--center {
  transform: scale(1);
  opacity: 1;
}

.phone--left {
  z-index: 2;
  transform: rotate(0) translateX(64px);
}

.animated.animate--fan-out .phone--left {
  transform: rotate(-8deg) translateX(24px);
  opacity: 1;
}

@media screen and (max-width: 1120px) {
  .animated.animate--fan-out .phone--left {
    transform: rotate(-8deg) translateX(48px);
  }
}

.phone--left-far {
  z-index: 1;
  transform: rotate(0) translateX(128px) translateY(0);
}

.animated.animate--fan-out .phone--left-far {
  transform: rotate(-16deg) translateX(64px) translateY(28px);
  opacity: 1;
}

@media screen and (max-width: 1120px) {
  .animated.animate--fan-out .phone--left-far {
    transform: rotate(-16deg) translateX(128px) translateY(28px);
  }
}

.phone--right {
  z-index: 2;
  transform: rotate(0) translateX(-64px);
}

.animated.animate--fan-out .phone--right {
  transform: rotate(8deg) translateX(-24px);
  opacity: 1;
}

@media screen and (max-width: 1120px) {
  .animated.animate--fan-out .phone--right {
    transform: rotate(8deg) translateX(-64px);
  }
}

.phone--right-far {
  z-index: 1;
  transform: rotate(0) translateX(-128px) translateY(0);
}

.animated.animate--fan-out .phone--right-far {
  transform: rotate(16deg) translateX(-64px) translateY(32px);
  opacity: 1;
}

@media screen and (max-width: 1120px) {
  .animated.animate--fan-out .phone--right-far {
    transform: rotate(16deg) translateX(-128px) translateY(32px);
  }
}

.mycampapp-hero__circle {
  opacity: 0;
  transform: scale(0);
}

.animated .mycampapp-hero__circle {
  opacity: 1;
  transform: scale(1);
}

/*
  Bubbles
  --------------------------------
*/
.mycampapp-bubble {
  border-radius: 999px;
  background-color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 12px;
  gap: 10px;
  /* background: #F28052; */
  background: var(--campsite-beige);
  border: 1px solid var(--campsite-black);
  width: fit-content;

  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.mycampapp-bubble__text {
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: #441604;
  text-align: left;
}

.mycampapp-bubble--left {
  transform: translateX(30px);
}
.animated.animate--bubbles-left .mycampapp-bubble--left {
  opacity: 1;
  transform: translateX(0);
}

.mycampapp-bubble--right {
  transform: translateX(-30px);
}
.animated.animate--bubbles-right .mycampapp-bubble--right {
  opacity: 1;
  transform: translateX(0);
}

/*
  Demo form
  --------------------------------
*/
@media screen and (min-width: 1500px) {
  .contact-information > .container {
    padding-left: 0;
    padding-right: 0;
  }
}
.contact-information,
.contact-information.request-quote:after {
  background-color: transparent !important;
  color: var(--campsite-black);
}

.contact-information p {
  text-wrap: pretty;
}

.contact-information.request-quote {
  padding-bottom: 48px;
}

.content-col .title,
.content-col .widget-title,
.content-col .review-content,
.content-col .review-col .meta-info span,
.star-rating .star-icon {
  color: var(--campsite-black) !important;
}

/*
  Transitions control
  --------------------------------
*/
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .mycampapp-hero__logo,
  .mycampapp-hero__heading,
  .mycampapp-hero__heading-line,
  .mycampapp-hero__subheading {
    opacity: 1 !important;
    transform: none !important;
  }

  .phone--center {
    transform: scale(1) !important;
    opacity: 1 !important;
  }
  .phone--left {
    transform: rotate(-8deg) translateX(24px) !important;
    opacity: 1 !important;
  }
  .phone--left-far {
    transform: rotate(-16deg) translateX(64px) translateY(28px) !important;
    opacity: 1 !important;
  }
  .phone--right {
    transform: rotate(8deg) translateX(-24px) !important;
    opacity: 1 !important;
  }
  .phone--right-far {
    transform: rotate(16deg) translateX(-64px) translateY(32px) !important;
    opacity: 1 !important;
  }
  .mycampapp-hero__circle {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  .mycampapp-bubble--left {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
  .mycampapp-bubble--right {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
}

/*
  Animations
  --------------------------------
*/
@keyframes background-drift {
  0% {
    background-position:
      50% 50%,
      11% 30%,
      150% 90%,
      7.85% 135.36%,
      50% 50%;
  }
  50% {
    background-position:
      52% 52%,
      13% 32%,
      148% 88%,
      9.85% 137.36%,
      52% 52%;
  }
  100% {
    background-position:
      50% 50%,
      11% 30%,
      150% 90%,
      7.85% 135.36%,
      50% 50%;
  }
}
