* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #3e9763; 
  color: rgba(10, 20, 116, 0.801);
}

.cabecera {
  background-color: #1d975e;
  text-align: center;
  padding: 25px 0;
  font-size: 24px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

.menu {
  background-color: #036b14;
  text-align: center;
  padding: 10px 0;
}

.menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: #208371;
}

.contenido {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
}

.izquierda {
  background-color: #58abb6f1;
  flex: 1;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.derecha {
  background-color: #3aca4d;
  flex: 1;
  padding: 20px;
  border-radius: 10px;
  text-align:center;
}

.pie {
  background-color: #036b14;
  text-align: center;
  padding: 15px 0;
  border-radius: 0 0 10px 10px;
  font-weight: bold;
}
@media (max-width: 768px) {
  .contenido {
    flex-direction: column;
  }

  .izquierda, .derecha {
    margin-bottom: 10px;
  }

  .menu ul {
    flex-direction: column;
    gap: 10px;
  }
}


.btn-wobble {
  background-color: #e74c3c;
  color: white;
}

.btn-wobble:hover {
  animation: wobble 0.8s;
}

@keyframes wobble {
  0%,
  100% {
    transform: translateX(0%);
  }
  15% {
    transform: translateX(-25%) rotate(-5deg);
  }
  30% {
    transform: translateX(20%) rotate(3deg);
  }
  45% {
    transform: translateX(-15%) rotate(-3deg);
  }
  60% {
    transform: translateX(10%) rotate(2deg);
  }
  75% {
    transform: translateX(-5%) rotate(-1deg);
  }
}

.btn {
    font-size: 20px;
    font-weight: 700;
    color: rgb(63, 89, 79);
    border: 0;
    padding: 10px 70px;
    border-radius: 80px;
    cursor: pointer;
    background: linear-gradient(90deg, #4e7dff, #7ba3ff, #457dff);
    border: 6px solid rgb(24, 39, 106);
    box-shadow: 0px 10px 0px #000;
    transition: transform .15s ease-in-out;
    
}


.cursor{
    position: relative;
    width: 24em;
    margin: 0 auto;
    border-right: 2px solid rgba(255,255,255,.75);
    font-size: 30px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);    
}
.typewriter-animation {
  animation: 
    typewriter 5s steps(50) 1s 1 normal both, 
    blinkingCursor 30ms steps(50) normal;
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blinkingCursor{
  from { border-right-color: rgba(255,255,255,.75); }
  to { border-right-color: transparent; }
}
