@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Cinzel:wght@400..900&family=Raleway:ital,wght@0,686;1,686&family=Viaoda+Libre&display=swap');


* {

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

body {
    font-family: "Cinzel", serif;
  font-weight: 400; 
  font-style: normal;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: transparent;
}

.container {

  position:relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;
  padding: 2rem;
  
}


.quote-container {
  max-width: 800px;
  text-align: center;
  padding:2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.quote-text {
  font-size: 2rem;
  font-weight: 600;
  color: rgb(74, 64, 64);
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}


.quote-text.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.quote-author {
  font-size: 1.2rem;
  color: rgb(74, 64, 64);
  font-style: italic;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
  position: relative;
  z-index: 1;
  
}

.quote-author.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.quote-author.fade-in {

  opacity: 1;
  transform: translateY(0)
}


.quote-author::before {
  content: '— ';
  color: rgba(42, 35, 35, 0.6);
}

.new-quote-button {
  margin-top: 3rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  background:rgba(74, 64, 64, 0.8);
  color: white;
  border: 2px solid rgba(74,64, 64, 0.8);
  border-radius: 50px;
  cursor:pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.new-quote-button::before {

  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s;
  z-index: -1;

}

.new-quote-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);

}

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

.header.finisher-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0; 
}

@media (max-width: 768px) {
  .quote-container {
    padding: 2rem;
    margin: 2rem;
  }
  .quote-text{
    font-size: 1.5rem;

  }
  .quote-author{
    font-size: 1rem;
  }
  .new-quote-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;

  }
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}