@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400&display=swap');

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

html {
  font-size: 100%;
}

body {
  font-family: 'Raleway', sans-serif;
  background: linear-gradient(135deg, #ff8c00, #ffb84d);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

/* Pealkirjad */
h1 {
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Suur apelsin esilehel */
.apelsin {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 2rem;
}

/* CTA link */
.cta-link {
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: hsl(32, 87%, 84%);
  text-decoration: none;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  position: relative;
  bottom: 0;
  margin-top: auto;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  text-align: center;
  max-width: 90%;
  line-height: 1.2;
}

/* Keskendatud konteiner */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* Väiksem apelsin avalehel */
.apelsin-small {
  width: 70%;
  max-width: 150px;
  display: block;
  margin: 1rem auto;   /* sama suur vahe ülemisel ja alumisel poolel */
}

/* Küsimuse plokk */
.question-container {
  padding-top: 0;
  margin-top: 0;
}

.intro-text {
  margin-bottom: 1rem; /* jätab sama vahe apelsinini */
}
