/* Base styles */

/* Extend the background color into the safe area */


body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
      Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  min-height: 100dvh;
  background-color: transparent; /* Fallback in case gradient fails */
  padding-top: env(safe-area-inset-top); /* Push content below the notch */
  padding-bottom: env(safe-area-inset-bottom); /* Accommodate the bottom safe area */
}

.container {
  text-align: center;
  /* padding: 100px 20px; */
  /* min-height: calc(100vh - 200px); */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: env(safe-area-inset-top); 
}

h1 {
  font-size: 4rem;
  margin-bottom: rem;
}

.logo {
  min-width: 50%;
  max-width: 75%;
 /* max-width: 500px;*/
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button {
  padding: 1rem 2rem;
  background-color: #007aff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  max-width: 20%;
}

.button:hover {
  background-color: #005bb5;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.modal:target {
  display: block;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  text-decoration: none;
  font-size: 1.5rem;
  color: #aaa;
}

.close-button:hover {
  color: #000;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

form input {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  margin-top: 1.5rem;
  padding: 0.75rem;
  width: 100%;
  background-color: #007aff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

form button:hover {
  background-color: #005bb5;
}

/* Light mode styles */
@media (prefers-color-scheme: light) {

  

  
  body {
      /* background: linear-gradient(135deg, #0a84ff 0%, #ffffff 100%); */
      /* background: linear-gradient(to top, #f5f5f7, #265994 60%, #265994 100%); */
      background-image: linear-gradient(135deg, #f5f5f7, #265994 100%);
      background-color: #f5f5f7;
      color: #1d1d1f;
  }
  .modal-content {
      background-color: #fff;
      color: #1d1d1f;
  }
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {


  body {
      /* background: linear-gradient(135deg, #0a84ff 0%, #1c1c1e 100%); */
      background-image: linear-gradient(to bottom, #1c1c1e, #265994 60%, #265994 100%);
      background-color: #1c1c1e;
      color: #f5f5f7;
  }
  .modal-content {
      background-color: #2c2c2e;
      color: #f5f5f7;
  }
}