@font-face {
	font-family: 'Montserrat';
	src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
	font-weight: 100 900;
	font-display: swap;
}


* {
  box-sizing: border-box;
}

body, html {
  height: 100%;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #eee;
  background:
    url('/img/index-background.avif')
    no-repeat center center fixed;

  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  margin: 10vh auto;
  padding: 1.5rem;
  background: rgba(0,0,0,0.5);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.slogan {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.slogan span {
  color: #FF6F61;
}

.description {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  /* white-space: pre-line; */
}

.cta {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #f0a07e;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2em;
}

a {
  color: white;
}

button {
  background-color: #FF6F61;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 0;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(255,111,97,0.4);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

button:hover {
  background-color: #e55a4d;
}

button:focus {
  outline: 2px solid #f6bba0;
  outline-offset: 2px;
}

.hidden {
  display: none;
}

@media (min-width: 700px) {
  main {
    max-width: 700px;
    padding: 2rem;
  }
  .slogan {
    font-size: 3rem;
  }
  .description {
    font-size: 1.25rem;
  }
  .cta {
    font-size: 1.1rem;
  }
  .buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
  button {
    padding: 0.75rem 2rem;
    width: auto;
    max-width: none;
  }
}
