* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cormorant Garamond", serif;
  background-image: url("photo1.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  color: #fff;
  text-align: center;
  position: relative;
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: 1;
}


.quote-box {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 30px 20px;
}

.quote {
  line-height: 1.3;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7), 0 0 14px rgba(255, 255, 255, 0.4);
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;

}

.author {
  margin-top: 25px;
  font-size: 1.8rem;
  opacity: 0.9;
  font-weight: 400;
  font-style: italic;
}


.hint {
  margin-top: 40px;
  font-size: 1rem;
  opacity: 0.7;
  font-weight: 400;
}


@media (max-width: 1024px) {
  .quote {
    font-size: 2rem;
  }
  
  .author {
    font-size: 1.6rem;
  }
}


@media (max-width: 768px) {
  .quote {
    font-size: 1.8rem;
  }
  
  .author {
    font-size: 1.4rem;
    margin-top: 20px;
  }
  
  .quote-box {
    padding: 25px 15px;
  }
  
  .hint {
    margin-top: 30px;
    font-size: 0.9rem;
  }
}


@media (max-width: 667px) and (orientation: landscape) {
  body {
    padding: 10px;
    min-height: auto;
    height: auto;
  }
  
  .quote-box {
    padding: 15px 10px;
  }
  
  .quote {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .author {
    font-size: 1.2rem;
    margin-top: 15px;
  }
  
  .hint {
    margin-top: 20px;
    font-size: 0.8rem;
  }
}


@media (max-width: 480px) {
  body {
    padding: 15px;
  }
  
  .quote {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .author {
    font-size: 1.2rem;
    margin-top: 15px;
  }
  
  .quote-box {
    padding: 20px 15px;
  }
  
  .hint {
    margin-top: 25px;
    font-size: 0.85rem;
  }
}


@media (max-width: 360px) {
  .quote {
    font-size: 1.3rem;
  }
  
  .author {
    font-size: 1.1rem;
  }
  
  .hint {
    font-size: 0.8rem;
  }
}


@media (min-height: 1000px) {
  .quote {
    font-size: 2.5rem;
  }
  
  .author {
    font-size: 2rem;
  }
  
  .hint {
    font-size: 1.1rem;
    margin-top: 50px;
  }
}