/* Estilos globales */

:root {
  --primary-color: #ed2042;
  --secondary-color: #c01836;
  --success-color: #2ecc71;
  --warning-color: #ffc107;
  --danger-color: #f44336;
  --light-gray: #f5f5f5;
  --gray: #999;
  --dark-gray: #333;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

html {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
}

body {
  background: linear-gradient(135deg, #ed2042 0%, #c01836 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px 20px;
  min-height: 100vh;
}

/* Tipografía */

h1,
h2,
h3 {
  margin-bottom: 15px;
  color: var(--dark-gray);
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 15px;
  color: #555;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Botones */

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

/* Responsive */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
  .container {
    max-width: 700px;
    padding: 25px 20px;
  }

  html {
    font-size: 15px;
  }
}

/* Tablets pequeños y móviles grandes */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .container {
    padding: 20px 15px;
    border-radius: 6px;
  }

  html {
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 15px 10px;
    border-radius: 4px;
  }

  html {
    font-size: 13px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
  .container {
    padding: 12px 8px;
  }

  h1 {
    font-size: 18px;
  }

  h2 {
    font-size: 16px;
  }

  h3 {
    font-size: 14px;
  }
}
