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

:root {
  --primary-color: #00d4ff;
  --secondary-color: #020024;
  --text-color: #333333;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, var(--secondary-color) 0%, #090979 35%, var(--primary-color) 100%);
  color: #f4f4f4;
}

header {
  background: var(--secondary-color);
  padding: 20px;
  text-align: center;
  animation: fadeIn 1.5s;
}

main {
  padding: 20px;
  animation: fadeIn 2s;
}

main section {
  margin-bottom: 20px;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: var(--text-color); /* Agregamos el color de texto */
}

main section:hover {
  transform: translateY(-5px);
}

main section h2 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  color: var(--primary-color);
  margin-top: 0;
}

main section p {
  line-height: 1.5;
}

main section ul {
  list-style-type: none;
  padding: 0;
}

footer {
  background: var(--secondary-color);
  padding: 20px;
  text-align: center;
  animation: fadeIn 2.5s;
}

footer .social-media-links {
  list-style-type: none;
  padding: 0;
}

footer .social-media-links li {
  display: inline-block;
  margin-right: 10px;
}

footer .social-media-links li i {
  font-size: 24px;
  color: var(--primary-color);
  transition: color 0.5s ease;
}

footer .social-media-links li i:hover {
  color: white;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.toggle-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.toggle-button:hover {
  background-color: #45a049;
}

.toggle-button:active {
  background-color: #3e8e41;
}