* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;
}

.progress-bar {
  position: fixed;
  bottom: 0;
  /* Đưa thanh tiến độ xuống dưới cùng */
  left: 0;
  height: 5px;
  background-color: #da3e00;
  width: 0%;
  z-index: 10;
  transition: width 0.1s;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--foreground);
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Header Styles */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

.header-content {
  display: flex;
  gap: 2.6rem;
  justify-content: space-between;
  align-items: center;
}

.fixed-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.fixed-header.header-hidden {
  transform: translateY(-100%);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  box-shadow: 0 0 6px #000;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #a3aeff;
  font-family: "Sofia", sans-serif;
  text-shadow: 3px 3px 3px #8f8f8f;
}

/* nav */
.main-nav {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.main-nav ul {
  display: flex;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(165, 165, 165, 0.3);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: #acceff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 10px rgba(165, 165, 165, 0.3);
}

.nav-link:hover {
  color: var(--primary-light);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 16px;
  right: 16px;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 60%;
}

/* Menu mobile ẩn bên trái */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 250px;
  height: 100vh;
  background-color: #8997ff;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 1001;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu li {
  margin-bottom: 14px;
  color: #04164e;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.mobile-menu a {
  display: block;
  width: 100%;
  text-align: center;
}

/* Nút đóng (X) */
.close-btn {
  background: none;
  border: none;
  background: rgb(194, 82, 99);
  padding: 4px 10px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.925);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Overlay nền mờ khi mở menu */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

#overlay.show {
  display: block;
}

/* Chỉ hiện menu-toggle ở mobile */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  background: var(--primary-light);
  color: rgb(253, 253, 253);
  padding: 2px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.menu-toggle:hover {
  background: #5e70fa;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  background: url("../images/backhome.avif") center no-repeat;
  background-size: cover;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Đảm bảo phần tử cha có position relative */
  overflow: hidden;
}

.hero-section::before {
  content: "";
  /* Tạo phần tử giả */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.473);
  /* Tạo nền tối mờ (opacity 0.5) */
  z-index: 0;
  /* Đảm bảo phần tử này ở dưới các phần tử khác */
}

.radial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, rgba(248, 250, 252, 1) 70%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 100%;
  z-index: 2;
}

.hero-logo {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.lotus-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgb(255, 93, 120) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-soft 3s ease-in-out infinite;
}

.lotus-container {
  position: relative;
  z-index: 2;
}

.hero-lotus-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid pink;
  animation: hover-float 3s ease-in-out infinite;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, rgb(241 184 193) 0%, rgb(117 117 255) 100%);
  font-weight: 900;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-description {
  position: relative;
  font-size: 1.45rem;
  font-weight: bolder;
  color: #a7cbff;
  border-right: 2px solid #a7cbff;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 26ch;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  -webkit-animation: typing 3s steps(17) infinite alternate-reverse,
    blink 0.6s step-end infinite;
  animation:
    typing 3.8s steps(26) infinite alternate-reverse,
    blink 0.8s step-end infinite;
  ;
}

@keyframes typing {
  from {
    width: 0ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.hero-cta {
  margin-bottom: 2rem;
}

.explore-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.explore-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.explore-button:active {
  transform: translateY(0);
}

.icon-arrow-down {
  animation: hover-float 2s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: hover-float 2s ease-in-out infinite;
}

/* music */

.music {
  display: flex;
  justify-content: center;
  padding: 6rem 1rem 3rem;
}

.music-player {
  width: 400px;
  background: #9149fc;
  border-radius: 15px;
  box-shadow: 0 0 10px black;
  text-align: center;
  padding: 20px;
  font-family: Arial, sans-serif;
  transition: all 0.4s ease;
}

.music-player img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  margin: 0 auto;
  border: 2px solid #75d450b4;
  box-shadow: 0 0 10px black;
}

.music-player h3 {
  margin: 5px 0;
  color: #ffffffe0;
}

.music-player audio {
  width: 100%;
  margin-top: 10px;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background: var(--background);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.featured-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.featured-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.featured-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.05);
}

.featured-image-container img.active {
  opacity: 1;
  transform: scale(1);
}

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

.thumbnail {
  cursor: pointer;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.thumbnail.active {
  border-color: var(--primary);
  transform: scale(1.03);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.thumbnail:hover img {
  transform: scale(1.05);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted-foreground);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Social Section */
.social-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(to bottom, var(--background), rgba(99, 102, 241, 0.05), var(--background));
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  width: 100%;
  height: 200px;
  pointer-events: none;
}

.gradient-overlay.top {
  top: 0;
  background: linear-gradient(to bottom, var(--background), transparent);
}

.gradient-overlay.bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--background), transparent);
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 70%);
  opacity: 0.3;
}

.decorative-circle.top-right {
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
}

.decorative-circle.bottom-left {
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
}


.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.social-card {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.social-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 20px rgba(var(--lotus-200-rgb), 0.2);
  transform: scale(1.02);
}

.social-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  margin-right: -2.5rem;
  margin-top: -2.5rem;
  border-radius: 9999px;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s;
}

.social-card:hover .social-card-bg {
  opacity: 0.1;
  animation: shimmer 2s infinite;
}

.facebook-bg {
  background: linear-gradient(to bottom right, #3b82f6, #3b5998);
}

.tiktok-bg {
  background: linear-gradient(to bottom right, #ec4899, #9333ea);
}

.zalo-bg {
  background: linear-gradient(to bottom right, #38bdf8, #0ea5e9);
}

.social-card-content {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.social-logo-wrapper {
  position: relative;
  margin-right: 1rem;
}

.social-logo-bg {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity 0.3s;
  filter: blur(6px);
}

.social-card:hover .social-logo-bg {
  opacity: 1;
}

.facebook-glow {
  background: linear-gradient(to bottom right, #3b82f6, #3b5998);
}

.mess-glow {
  background: linear-gradient(to bottom left, #ff47c8b4, #46e3ff91);
}

.tiktok-glow {
  background: linear-gradient(to bottom right, #ec4899, #9333ea);
}

.zalo-glow {
  background: linear-gradient(to bottom right, #38bdf8, #0ea5e9);
}

.social-logo {
  height: 3rem;
  width: 3rem;
  position: relative;
  z-index: 1;
}

.social-info {
  display: flex;
  flex-direction: column;
}

.social-name {
  font-size: 1.25rem;
  font-weight: 600;
}

.social-username {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.social-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  transform: translateY(4px);
  opacity: 0.9;
  transition: all 0.3s;
}

.social-card:hover .social-follow {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.facebook-btn {
  background: linear-gradient(to right, #3b82f6, #3b5998);
}

.mess-btn {
  background: linear-gradient(to right, #2a7fce, #aa4fff);
}

.tiktok-btn {
  background: linear-gradient(to right, #ec4899, #9333ea);
}

.zalo-btn {
  background: linear-gradient(to right, #38bdf8, #0ea5e9);
}

.external-link {
  width: 1rem;
  height: 1rem;
}


/* Buddhism Section */
.buddhism-section {
  padding: 6rem 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.buddhism-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.buddhism-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.buddhism-paragraph {
  line-height: 1.8;
}

.buddhism-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--primary);
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  margin: 1.5rem 0;
}

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

.buddhism-image-container {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.buddhism-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.buddhism-image-container:hover .buddhism-image {
  transform: scale(1.05);
}

.noble-truths {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.noble-truths-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.noble-truths-list {
  padding-left: 1.5rem;
  list-style-position: inside;
}

.noble-truths-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Idols Section */
.idols-section {
  padding: 6rem 0;
  background: var(--background);
}

.idols-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.idols-sidebar {
  flex: 1;
}

.idol-tab {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.idol-tab:hover {
  background: var(--primary-light);
  color: white;
  transform: translateX(5px);
}

.idol-tab.active {
  background: var(--primary);
  color: white;
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.idol-tab-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.idol-tab-role {
  font-size: 0.875rem;
  opacity: 0.8;
}

.idols-content {
  flex: 2;
  position: relative;
  min-height: 400px;
}

.idol-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.5s ease;
  border: 1px solid var(--border);
}

.idol-card.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.idol-image-container {
  width: 100%;
  height: 300px;
}

.idol-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idol-info {
  padding: 2rem;
}

.idol-name {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.idol-role {
  color: var(--muted);
  margin-bottom: 1rem;
}

.idol-description {
  line-height: 1.8;
}

/* wrapend */
.wrapend {
  font-family: 'Palatino Linotype', 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #2c2c2c;
  text-align: center;
  line-height: 1.8;
  margin: 60px auto;
  max-width: 720px;
  padding: 40px 30px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  opacity: 0.95;
  letter-spacing: 0.3px;
  background-color: #fdf9e6;
  background-image: url('https://www.transparenttextures.com/patterns/paper.png');
  background-size: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.wrapend::before,
.wrapend::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #4b2a0bab;
}

.wrapend::before {
  left: 0;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.wrapend::after {
  right: 0;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.wrapend::before,
.wrapend::after {
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wrapend:hover {
  color: #111;
  transform: scale(1.05);
}


/* Footer */
.footer {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--background), rgba(99, 102, 241, 0.05));
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-light);
  border-radius: 50%;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: 1px;
  font-family: "Sofia", sans-serif;
  text-shadow: 3px 3px 3px #ababab;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-credits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  user-select: none;
  text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
  animation: glitch 1s infinite;
}

@keyframes glitch {
  0% {
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
  }

  50% {
    text-shadow: 0 0 10px #ff0, 0 0 20px #ff0;
  }

  100% {
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
  }
}

.icon-heart {
  color: #ef4444;
  width: 18px;
  height: 18px;
  animation: pulse-soft 2s infinite;
}

.footer-copyright {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hover-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.animate {
  opacity: 0;
}

.fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

.fade-in-delay-1 {
  animation: fade-in 0.8s ease-out 0.1s forwards;
}

.fade-in-delay-2 {
  animation: fade-in 0.8s ease-out 0.2s forwards;
}

.fade-in-delay-3 {
  animation: fade-in 0.8s ease-out 0.3s forwards;
}

.fade-in-delay-4 {
  animation: fade-in 0.8s ease-out 0.4s forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.visible-delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.visible-delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.visible-delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.visible-delay-4 {
  transition-delay: 0.4s;
}

.animate-on-scroll.visible-delay-5 {
  transition-delay: 0.5s;
}

.falling-heart {
  position: fixed;
  top: -30px;
  font-size: 24px;
  animation-name: drop;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  z-index: 9999;
  pointer-events: none;
}

@keyframes drop {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(150vh) rotate(360deg);
    opacity: 0;
  }
}