@import url("https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;700&display=swap");

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

body {
  font-family: "Arial", sans-serif;
  background-color: #f5f5f5;
  background-image: url("assets/background.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-display: swap;
  contain: layout;
  animation: fadeIn 0.6s ease-out;
}

@supports not (background-image: url("data:image/webp;base64,")) {
  body {
    background-image: url("assets/background.webp");
  }
}

.container {
  text-align: center;
  background: transparent;
  padding: 40px;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  animation: slideUp 0.8s ease-out;
}

.logo {
  margin-bottom: 30px;
}

.logo img {
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  will-change: transform;
  content-visibility: auto;
}

.title {
  width: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subtitle {
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 4px;
  text-align: center;
  margin-top: 10px;
}

.subtitle br {
  display: none;
}

.cta-button {
  background-color: #5c6661;
  color: #eddfcd;

  border: none;
  padding: 18px 38px;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  font-family: "Maven Pro";
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  will-change: transform;
}

.cta-button:hover {
  background-color: #4a6a6f;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tablets and small devices (768px and below) */
@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }

  .logo img {
    max-width: 120px;
  }

  .title {
    margin: 20px 0;
  }

  .title img {
    max-width: 100%;
    height: auto;
  }

  .subtitle {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 30px;
  }

  .cta-button {
    font-size: 32px;
    padding: 14px 30px;
  }
}

/* Mobile devices (480px and below) */
@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .container {
    padding: 20px 15px;
  }

  .logo img {
    max-width: 100px;
  }

  .title {
    margin: 15px 0;
  }

  .title img {
    max-width: 100%;
    height: auto;
  }

  .subtitle {
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    margin-top: 5px;
  }

  .subtitle br {
    display: block;
  }

  .cta-button {
    font-size: 24px;
    padding: 12px 24px;
    border-radius: 10px;
  }
}
