@import url("https://fonts.googleapis.com/css2?family=Creepster&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, black 50%, orange 90%);
  overflow: hidden;
}

main {
  height: 100vh;
  width: 100%;
  display: grid;
  cursor: pointer;
  grid-template-rows: 60vh auto;
  grid-template-columns: 0.5fr 1.2fr 0.5fr;
  grid-template-areas: "left top right" "bottom-left bottom-left bottom-right";
  gap: 20px;
  padding: 30px;
}

.left {
  grid-area: left;
  border-radius: 30px;
  border: 2px solid white;
  background-image: url("https://images.unsplash.com/photo-1573306533578-12e23afbf2c6?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTJ8fGhhbGxvd2VlbnxlbnwwfHwwfHx8MA%3D%3D&auto=format&fit=crop&q=60&w=600");
  background-size: cover;
  background-position: center;
}

.left h2 {
  font-family: "Creepster", sans-serif;
  color: whitesmoke;
  font-size: 2rem;
  padding: 20px;
  animation: spookyFade 3s ease-out forwards;
}

.left h3 {
  font-family: Arial, Helvetica, sans-serif;
  color: whitesmoke;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 50%;
  animation: spookyFade 3s ease-out forwards;
}

.top {
  grid-area: top;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid whitesmoke;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.top .overlay-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  font-family: "Creepster", sans-serif;
  font-size: 3rem;
  padding-top: 20%;
  animation: flicker 10s infinite;
}

.right {
  grid-area: right;
  border-radius: 30px;
  background-image: url("https://cdn.pixabay.com/photo/2021/10/24/17/12/halloween-6738713_1280.jpg");
  background-size: cover;
  background-position: center;
  border: 2px solid white;
}

.right h2 {
  font-family: cursive;
  font-size: 1.9rem;
  padding-top: 90%;
  text-align: center;
  color: whitesmoke;
}

.bottom-left {
  grid-area: bottom-left;
  background-image: url("https://media.istockphoto.com/id/1270227481/vector/spiders-and-bats-on-halloween-orange-background.jpg?s=612x612&w=0&k=20&c=goX0jgX4zf0m17sqJQPhh_q_BU4DaP0ump6yzOTuzdw=");
  background-size: cover;
  background-position: center;
  border-radius: 30px;
}

.bottom-left h2 {
  color: white;
  font-family: "Creepster", sans-serif;
  font-size: 5rem;
  padding: 10px;
  text-align: center;
}

.bottom-left p {
  color: whitesmoke;
  font-family: cursive;
  font-size: 20px;
  font-weight: 300;
  text-align: center;
}

.bottom-left h2, p {
  margin: 0;
  padding: 0;
}

.bottom-left button {
  height: 35px;
  width: 15%;
  border-radius: 35px;
  text-align: center;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 20px;
  background-color: black;
  color: white;
  margin-left: 45%;
  margin-top: 15px;
  transition: all 1.5s ease;
}

.bottom-left button:hover {
  color: orange;
  cursor: pointer;
  transform: scale(1.08);
}

.bottom-right {
  grid-area: bottom-right;
  background-image: url("https://m.media-amazon.com/images/I/41wmbcYz4jL._UY1100_.jpg");
  background-position: center;
  background-size: contain;
  border-radius: 30px;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow: 0 0 20px orange, 0 0 40px red, 0 0 60px orange;
  }
  20%, 24%, 55% {
    opacity: 0.2;
    text-shadow: none;
  }
}
@keyframes spookyFade {
  0% {
    opacity: 0;
    transform: scale(0.8);
    letter-spacing: 5px;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    letter-spacing: 1px;
  }
}
.float-icon {
  position: absolute;
  bottom: -100px;
  width: 60px;
  opacity: 0.8;
  animation: floatUp 15s linear infinite;
  pointer-events: none;
}

.icon1 {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 18s;
  filter: brightness(0) invert(1);
}

.icon2 {
  left: 35%;
  animation-delay: 5s;
  animation-duration: 20s;
}

.icon3 {
  left: 65%;
  animation-delay: 10s;
  animation-duration: 16s;
}

.icon4 {
  left: 85%;
  animation-delay: 2s;
  animation-duration: 22s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) rotate(360deg);
    opacity: 0;
  }
}
.float-icon:hover {
  transform: scale(1.2);
  transition: 0.3s;
}/*# sourceMappingURL=style.css.map */