:root {
  --bg-color: #fdf8f5;
  --card-bg: #ffffff;
  --primary-color: #8b4513;
  --accent-color: #e25822;
  --text-color: #333333;
}



/* reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}





.luckiest-guy-regular {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  font-style: normal;

}

.chelsea-market-regular {
  font-family: "Chelsea Market", system-ui;
  font-weight: 400;
  font-style: normal;
  color: #916242;
}




body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

}


.shit-bg {
    min-height: 100%;
  position: relative;
  margin: 0;

}

.shit-bg::before {
content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 350px;

  background-image: url('/img/shit-splat.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;

  mix-blend-mode: multiply;
  z-index: -1;
  pointer-events: none;
}

.shit-bg::after {
content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 388px;
  background-image: url('/img/shit-splat.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
  transform: scaleX(-1) rotate(18deg);
  transform-origin: top left;
  mix-blend-mode: multiply;
  z-index: -1;
  pointer-events: none;
}



header {
  position: relative;
  background-color: var(--primary-color);
  background: var(--bg-color) url('/img/hero-1.png') no-repeat center / cover;
  color: #fff;
  text-align: center;
  overflow: hidden;
}











.border-main {
padding: 0;
margin: 0 auto;
}


.header-fg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: url('/img/hero-3.png') no-repeat center / cover;
  pointer-events: none;
}

.phone-number {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  font-size: 3em;
  text-align: center;
  z-index: 4;
}

@media (max-width: 387px) {
  .phone-number {
    font-size: 2.5em;
  }
}

.phone-number > a {
  color: yellow;
  text-decoration: none;
}


.phone-number > a > span {
  position: relative;
  display: inline-block;
  top: 20px;
  color: yellow;
  text-shadow:
    0 1px 0 #968c00,
    0 2px 0 #968c00,
    0 3px 0 #968c00,
    0 4px 0 #968c00,
    0 5px 0 #968c00,
    0 6px 0 transparent,
    0 7px 0 transparent,
    0 8px 0 transparent,
    0 9px 0 transparent,
    0 10px 10px rgba(0, 0, 0, 0.5);
  animation: bounce 0.8s ease infinite alternate;
}

@keyframes bounce {
  100% {
    top: -20px;
    text-shadow:
      0 1px 0 #7d7d00,
      0 2px 0 #7d7d00,
      0 3px 0 #7d7d00,
      0 4px 0 #7d7d00,
      0 5px 0 #7d7d00,
      0 6px 0 #7d7d00,
      0 7px 0 #7d7d00,
      0 8px 0 #7d7d00,
      0 9px 0 #7d7d00,
      0 60px 30px rgba(0, 0, 0, 0.3);
  }
}


.phone-number > a > span:nth-child(1)  { animation-delay: 0.0s; }
.phone-number > a > span:nth-child(2)  { animation-delay: 0.1s; }
.phone-number > a > span:nth-child(3)  { animation-delay: 0.2s; }
.phone-number > a > span:nth-child(4)  { animation-delay: 0.3s; }
.phone-number > a > span:nth-child(5)  { animation-delay: 0.4s; }
.phone-number > a > span:nth-child(6)  { animation-delay: 0.5s; }
.phone-number > a > span:nth-child(7)  { animation-delay: 0.6s; }
.phone-number > a > span:nth-child(8)  { animation-delay: 0.7s; }
.phone-number > a > span:nth-child(9)  { animation-delay: 0.8s; }
.phone-number > a > span:nth-child(10) { animation-delay: 0.9s; }
.phone-number > a > span:nth-child(11) { animation-delay: 1.0s; }
.phone-number > a > span:nth-child(12) { animation-delay: 1.1s; }


header text {
  font-size: 48px;
  font-weight: bold;
}



.header-image-container {
  position: relative;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

.header-image-container img {

  display: block;
  border-radius: 12px;
  margin: 0 auto;
}


header h1 {
  margin: 0;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

header svg {
  display: block;
  width: 100%;
  height: auto;
}

header p {
  margin-top: 1rem;
  opacity: 0.9;
  font-style: italic;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex: 1;
  padding-bottom: 10em;


}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

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

.love-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.love-button:hover {
  transform: scale(1.05);
  background-color: #c04010;
}

.counter-display {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
  color: var(--primary-color);
}

footer {
    padding-top:1em;
  text-align: center;
  padding: 1.5rem;
  background-color: pink;
  color: #666;
  font-size: 0.9rem;
}

footer > img {
transform: rotate(180deg);
z-index: 2;
}




.social-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 5px solid yellow;
  overflow: hidden;
  padding: 1em;

}

.social-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;

}





.social-card:nth-child(odd) {
  border: 25px solid pink;
  border-image-source: url('/img/banana-border-image.png');
  border-image-slice: 20 22;
  border-image-repeat: round;
}


.social-card:nth-child(even) {
  border: 20px solid pink;
  border-image-source: url('/img/hearts-border-image.png');
  border-image-slice: 20 22;
  border-image-repeat: round;
}



@media (min-width: 900px) {

  .social-card:nth-child(4n+1),
  .social-card:nth-child(4n+0) {
    border: 25px solid pink;
    border-image-source: url('/img/banana-border-image.png');
    border-image-slice: 20 22;
    border-image-repeat: round;
  }


  .social-card:nth-child(4n+2),
  .social-card:nth-child(4n+3) {
    border: 20px solid pink;
    border-image-source: url('/img/hearts-border-image.png');
    border-image-slice: 20 22;
    border-image-repeat: round;
  }
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* not mobile first so i fucked it all up here */
@media (max-width: 568px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .social-card > img {
      aspect-ratio: 4 / 5;
}
}


#audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #111;
  color: pink;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}


.audio-controls {
  display: flex;
  gap: 8px;
  margin-right: 16px;
  flex-shrink: 0;
}

.audio-controls button {
  background: transparent;
  border: none;
  color: pink;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
}


.audio-track-container {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

#audio-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#volume-control {
  width: 70px;
  cursor: pointer;
  accent-color: pink;
}




#leaf-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

/* leafs */
.falling-leaf {
  position: absolute;
  top: -100px;
  will-change: transform;
  user-select: none;
}


@keyframes fallAndSway {
  0% {
    top: -100px;
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(40px) rotate(90deg);
  }
  50% {
    transform: translateX(-30px) rotate(180deg);
  }
  75% {
    transform: translateX(50px) rotate(270deg);
  }
  100% {
    top: 105vh;
    transform: translateX(-20px) rotate(360deg);
  }
}



/* map */


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

.subline {
  color: #768191;
  font-weight: normal;
}

.align {
  display: grid;
  place-items: center;
}

.grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 740px;
  width: 90%;
}

.map {
  position: relative;

}

.map-bg {
background-color: pink;
  position: relative;

}


.map-bg::before {
  content: '';
  position: absolute;
  top: 20px;    /* Negative offsets prevent white blurred borders at the edges */
  left: -20px;
  right: 0px;
  bottom: -20px;

  background-image: url('/img/places-map.png');
  background-size: cover;
  background-position: center;
  background-repeat: repeat-x;

  /* Apply the blur filter */
  filter: blur(4px);

  /* Continuous scrolling animation */
  animation: scrollMap 25s linear infinite;

  z-index: 0;
}


@keyframes scrollMap {
  0% {
    background-position: 0 0;
  }
  100% {
    /* Moves the background across its width continuously */
    background-position: -1000px 0;
  }
}

.map__markers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.map__marker {
  position: absolute;
}

.map__marker:after {
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-name: pop;
  border-radius: 50%;
  border: 1px solid #f731eb;
  content: "";
  height: 2em;
  left: 0;
  margin: -0.5em 0 0 -0.5em;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 2em;
}

.map__marker:hover .map__marker-info {
  display: block;
}

.map__marker > a {
  background-color: #f731eb;
  border-radius: 50%;
  height: 1em;
  display: block;
  text-indent: -9999px;
  width: 1em;
}

.map__marker--champaign {
  left: 64%;
  top: 40%;
}

.map__marker--houston {
  left: 47%;
  top: 77%;
}

.map__marker--florida {
  left: 85%;
  top: 86%;
}

.map__marker--florida:after {
  animation-delay: 3s;
}

.map__marker--los-angeles {
  left: 7%;
  top: 60%;
}

.map__marker--los-angeles:after {
  animation-delay: 5s;
}

.map__marker--new-york {
  left: 91%;
  top: 31%;
}

.map__marker--san-francisco {
  left: 1%;
  top: 46%;
}

.map__marker--san-francisco:after {
  animation-delay: 3s;
}

.map__marker--seattle {
  left: 8%;
  top: 1%;
}

.map__marker--seattle:after {
  animation-delay: 5s;
}

.map__marker-info {
  display: none;
  left: 50%;
  position: absolute;
  bottom: 0;
  transform: translate(-50%, -2em);
  width: 20em;
  z-index: 999;
}

.map__marker-info-header {
  background-color: #f731eb;
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
  color: #fff;
  padding: 0.5em 1em;
}

.map__marker-info-main {
  background-color: #fff;
  border-bottom-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
  color: #7e7e7e;
  padding: 0.5em 1em;
}

.map__marker-info h2 {
  margin-bottom: 0;
}

.map__marker-info-inner {
  border-radius: 0.5em;
  box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.3);
  font-size: 0.875em;
}

.map__marker-info-inner:after {
  border-left: 0.75em solid transparent;
  border-right: 0.75em solid transparent;
  border-top: 1em solid #fff;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
}

.animate {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes bounce-in {
  0%, 20%, 40%, 60%, 80%, 100% {
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

.animate--bounce-in {
  animation-duration: 0.75s;
  animation-name: bounce-in;
}

