body {
    margin: 0;
    padding: 0;
    font-family: "Ubuntu", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(400deg, #21538a, #8c4b5b, #db2b2f);
    color: white;
    position: relative;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Ubuntu", sans-serif;
}

.fondo {
    position: absolute;
    width: 40%;
    height: 87%;
    background-image: url("../img/fondo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right; /* Alineado a la derecha por defecto */
    opacity: 0.4;
    z-index: -2;
    right: 5%;
    bottom: 0%;
}

.container {
    text-align: left;
    z-index: 2;
    
}

.content {
    position: fixed;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    text-align: left;
}

.logo {
    position: absolute;
    top: 100px;
    left: 50px;
    width: 200px;
}

h1 {
    font-size: 70px;
    margin: 0;
    line-height: 1.2;
}

h2 {
    font-family: "Etrusco Now Condensed", sans-serif;
    font-size: 60px;
    margin: 5px 10px 5px 200px;
    line-height: 1.2;
}

p {
    font-family: 'Etrusco Now Condensed', sans-serif;
    font-size: 55px;
    margin: 5px 10px 5px 200px;
  }
  
  .facil {
    font-family: "Etrusco Now Condensed", sans-serif;
    font-weight: bold;
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 1); 
  } 

footer {
    background-color: transparent;
    padding: 20px 0;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

a {
    color: #07a4ff;
    text-decoration: none;
}

.animated-button {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: #ffff;
    box-shadow: 0 0 0 2px #ffff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    right: 15%;
    bottom: 25%;
}

.animated-button svg {
    position: absolute;
    width: 24px;
    fill: #ffff;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 16px;
}

.animated-button .arr-2 {
    left: -25%;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #e73539;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #ffff;
    border-radius: 12px;
}

.animated-button:hover .arr-1 {
    right: -25%;
}

.animated-button:hover .arr-2 {
    left: 16px;
}

.animated-button:hover .text {
    transform: translateX(12px);
}

.animated-button:hover svg {
    fill: #ffff;
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px #8c4b5b;
}

.animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

/* Media queries para tablets y dispositivos móviles */
@media (max-width: 1024px) {
    .logo {
        width: 150px; /* Haz el logo más pequeño */
        left: 10px; /* Alinea el logo a la izquierda */
        top: 20px; /* Ajusta la posición vertical si es necesario */
    }

    .fondo {
        width: 100%; /* Usa el ancho completo en pantallas más pequeñas */
        background-position: center; /* Centra la imagen en pantallas más pequeñas */
    }

    .content {
        width: 100%; /* Asegúrate de que el contenido no se salga de la pantalla */
        text-align: left; 
        /* Mantén el texto alineado a la izquierda */
    }

    h1 {
        font-size: 50px;
        margin-left: 30%;
    }

    h2 {
        font-size: 50px;
        margin-left: 30%;
    }
    
    p {
        font-size: 18px;
        margin-left: 30%;
    }

    p {
        font-family: 'Etrusco Now Condensed', sans-serif;
        font-size: 25px;
        margin-left: 30%;
      }
      
      .facil {
        font-family: "Etrusco Now Condensed", sans-serif;
        font-weight: bold;
        text-shadow: 4px 6px 6px rgba(0, 0, 0, 0.5); 
      } 

    .animated-button {
        margin: 20px auto; /* Centra el botón horizontalmente y agrega espacio arriba */
    }

    footer {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}
