body {
  background-color: aliceblue;
}

.h1 {
  color: rgb(248, 0, 165);
  text-shadow: 4px 4px 5px rgb(22, 22, 22);
  font-size: 70px;
  letter-spacing: 8x;
  font-weight: bold;
  font-style: italic;

}

.titulo2 {
  color: rgb(177, 135, 245);
  text-shadow: 2px 2px 5px rgb(43, 41, 41);
  font-size: 50px;
  letter-spacing: 8x;
  font-weight: bold;
  font-style: italic;
}

.imagen1 {
  border-radius: 25px;
  box-shadow: 10px 10px 15px rgb(58, 57, 57);
}

#parrafo1 {
  font-family: "Kelly Slab", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
}

#parrafo2 {
  font-family: "Felipa", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
}

#parrafo3 {
  font-family: "Eagle Lake", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
}

#parrafo4 {
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
}

.menu {
  display: flex;
  padding: 20px;
  justify-content: center;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  background-color: rgb(162, 148, 167);
  padding: 8px;
  border-radius: 8px;

}

a.seleccionada {
  background-color: rgb(37, 155, 209);
}

a:hover {
  background-color: rgb(228, 9, 155);
}

.redondo:hover {
  animation: animacion 2s ease forwards;
}

@keyframes animacion {
  0% {
    opacity: 10%;
  }

  50% {
    opacity: 70%;
  }

  100% {
    opacity: 100%;
  }
}

.central {
  display: flex;
  justify-content: center;

}

.titulo1:hover {
  animation: colores 4s ease forwards;
}

@keyframes colores {
  0% {
    color: rgb(37, 155, 209);
    font-size: 50px;
  }

  80% {
    color: rgb(228, 9, 155);
    font-size: 30px;
  }

  100% {
    color: rgb(228, 9, 155);
    font-size: 70px;
  }
}

.mover {
  white-space: nowrap;
  overflow: hidden;
  animation: desplazar 10s linear infinite;
}

@keyframes desplazar {
  from {
    transform: translateX(-80%);
  }

  to {
    transform: translateX(70%);
  }
}

/*CONTACTENOS*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Contenedor de la tabla con animación de entrada */
.tabla.contenedor {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.6s ease-out;
  width: 50%;
  max-width: 20px;
  margin: 20px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilo principal de la tabla */
table {
  width: 50%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Encabezado */
th {
  background: linear-gradient(135deg, #0615e9 0%, #5ebde2 100%);
  color: white;
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Animación de brillo en el encabezado */
th::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

th:hover::before {
  left: 100%;
}

/* Celdas */
td {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  background-color: white;
}

/* Animación de hover en filas */
tr {
  transition: all 0.3s ease;
}

tr:hover td {
  background-color: #f8f9ff;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* Animación de entrada para cada fila */
tr {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

tr:nth-child(1) {
  animation-delay: 0.1s;
}

tr:nth-child(2) {
  animation-delay: 0.2s;
}

tr:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para los iconos */
.icono {
  margin-right: 12px;
  font-size: 1.2em;
  display: inline-block;
  transition: transform 0.3s ease;
}

tr:hover .icono {
  transform: scale(1.1) rotate(5deg);
}

/* Estilo específico para el correo */
.email-link {
  color: #01a7f3;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.email-link:hover {
  color: #764ba2;
  transform: translateX(5px);
}

/* Estilo para el teléfono */
.telefono-numero {
  display: inline-flex;
  align-items: center;
  color: #333;
}

/* Hacer la tabla responsive */
@media (max-width: 600px) {
  .tabla-contenedor {
    padding: 15px;
  }

  th,
  td {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  .icono {
    font-size: 1em;
    margin-right: 8px;
  }
}

/* Animación de pulso para los iconos al cargar */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.icono {
  animation: pulse 2s ease-in-out;
}

/*ICONO*/
.fa-solid {
  animation: girar 2s ease-in-out infinite;
}

@keyframes girar {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.contenedor-imagen {
  width: 320px;
  /* Ajusta según tu diseño */
  overflow: hidden;
  /* Oculta lo que sobresalga al agrandarse */
}

.contenedor-imagen img {
  width: 10%;
  height: auto;
  transition: transform 0.3s ease;
  /* Suaviza el efecto */
  display: block;
  /* Evita espacios no deseados debajo de la imagen */
}

.contenedor-imagen img:hover {
  transform: scale(1.2);
  /* Aumenta el tamaño un 20% */
}

img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* El cuadro decorado */
.card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
}

h2 {
  color: #000000;
  margin-bottom: 1.5rem;
}

/* Estilo de las etiquetas y entradas */
.input-group {
  text-align: left;
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  color: #201f1f;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  /* Evita que el input se salga del cuadro */
}

.calculadora {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

#result {
  margin-bottom: 15px;
  font-weight: bold;
  color: #2c3e50;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #27ae60;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #219150;
}


.container {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
}

canvas {
  background: #fafafa;
  border-radius: 15px;
  border: 1px solid #eee;
  margin-bottom: 15px;
}

select,
input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  box-sizing: border-box;
}

#resultado {
  margin-top: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 10px;
  border-radius: 10px;
}


.container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.input-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #218838;
}

.result-box {
  margin-top: 20px;
  font-weight: bold;
  color: #333;
}

#resultado2 {
  margin-top: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #2b7a88;
  background: #e8f5e9;
  padding: 10px;
  border-radius: 10px;
}

.contact-form-container {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 400px;
}

h2 {
  text-align: center;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #28a745;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #218838;
}