/* Caja principal: cuadrada, responsiva y centrada */
.box {
    box-sizing: border-box;
    background-color: rgb(169, 169, 169);
    width: min(420px, 44vw); 
    aspect-ratio: 1 / 1; 
    margin: 1%;
    border: none;
    border-radius: 16px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    transition: transform 200ms ease, box-shadow 200ms ease;
}


.box > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    padding-left: 0; 
    padding-right: 0;
    box-sizing: border-box;
}

.body {
    background-color: rgb(83, 81, 81);
}

.boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 1rem;
}



.imput {
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    
    width: 250.63px;
    height: 41.6px;
    display: block;
    margin: 0.5rem auto; 
    text-align: left; 
    border: 1px solid rgba(0,0,0,0.12);
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}


.imput:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(40, 229, 40, 0.12);
    border-color: rgb(31, 197, 31);
}

.box button {
    border-radius: 12px;
    background-color: rgb(31, 197, 31);
    color: rgb(255, 255, 255);
    font-family: Arial;
    padding: 0.6rem 1rem;
    border: 1px solid transparent; 
    cursor: pointer;
    display: inline-block; 
    width: 100%;
    max-width: 360px; 
    margin: 0.5rem auto; 
    align-self: center; 
    transform-origin: center center; 
    will-change: transform;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 160ms ease, border-color 160ms ease;
}

.navbar {
    background-color: rgb(23, 180, 23) !important;
}


.navbar {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

@media (max-width: 575.98px) {
    .navbar {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
}

a.nav-link {
    font-family: Arial;
    color: rgb(255, 255, 255);
}

a.nav-link:hover {
    color: rgb(255, 255, 0);
}


.box button:hover {
    background-color: rgb(234, 234, 37);
    color: rgb(0, 0, 0);
    border-color: rgb(234, 234, 37); 
    transform: scale(1.04); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

.info {
    align-items: center;
    justify-content: center;
}

.titulo, .tilulo, .texto {
    text-align: center;
}


@media (max-width: 767.98px) {
    .box {
        width: min(92vw, 420px);
        aspect-ratio: 1 / 1;
    }
    .imput {
        width: 100%;
        max-width: 250.63px;
    }
}

.footer-personalizado {
    padding-top: 20px;
}

.footer-personalizado,
.footer-personalizado a,
.footer-personalizado small {
    color: #000 !important;
    text-decoration: none !important;
}

a.navbar-brand {
    font-family: sans-serif;
    color:rgb(0, 255, 255);
    font-weight: bold;
    letter-spacing: 1px;

}

a.navbar-brand:hover {
    color: rgb(0, 255, 255);
}