@import url('https://fonts.googleapis.com/css?family=Kirang+Haerang');

* {
  padding: 0;
  margin: 0;
}

.glitch {
  position: relative;
  height: 100vh;
  background-image: url('img/korku.jpeg'); /* Yerel dosya yolu */
  background-size: cover;
  background-position: center; /* Ensure the image is centered */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: transform 0.3s ease-in-out; /* Add transition for smooth effect */
}

.glitch:hover {
  animation: smallShake 0.1s; /* Apply the smallShake animation on hover */
  animation-iteration-count: infinite; /* Repeat the animation infinitely */
}

.glitch > .Holly {
  position: relative;
  z-index: 1;
  margin-top: 25px;
  font-size: 140px;
}

.glitch > p {
  font-size: 5rem;
  color: #fff;
  position: relative;
  z-index: 1;
  font-family: 'Kirang Haerang', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
  letter-spacing: 2px; /* Slightly increase letter spacing */
}



.glitch > .btn-get-started {
  position: relative;
  z-index: 1;
  margin: 15px auto; /* Butonu ortalar */
  font-size: 30px;
  padding: 10px 20px; /* Butona biraz iç boşluk ekler */
  background-color: #8698de; /* Beyaz arka plan */
  color: #000000; /* Siyah metin rengi */
  border: none; /* Kenarlık yok */
  border-radius: 5px; /* Köşeleri yuvarlar */
  cursor: pointer; /* İşaretçiyi el işaretçisine çevirir */
  transition: background-color 0.3s ease; /* Arka plan renginin geçiş efekti */
}

/* Mobil cihazlar için */
@media (max-width: 768px) {
  .glitch > .btn-get-started {
    font-size: 20px; /* Buton yazı boyutunu küçültür */
    padding: 8px 16px; /* Buton iç boşluğunu küçültür */
  }
}

/* Daha küçük mobil cihazlar için */
@media (max-width: 480px) {
  .glitch > .btn-get-started {
    font-size: 18px; /* Buton yazı boyutunu daha da küçültür */
    padding: 6px 12px; /* Buton iç boşluğunu daha da küçültür */
  }
}

#videoFrame {
  position: relative;
  z-index: 1;
}

