*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
    --azul-oscuro:#0A3871;
}

body{
    background-color:#F3F5FC ;
    font-size: 16px;
    height: 100vh;
}

main{
    display: flex;
    flex-direction: row;
    padding: 20px;
    justify-content: center;
    gap: 20px;
}

main .logo{
    width: 10%;
}

main .cajaTexto{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    justify-content: space-between;
}

main .ingresaTexto{
    padding: 100px;
    height: 500px;
    border: 1px solid saddlebrown;
    font-size: 1rem;
    font-family:'Montserrat', sans-serif;
    font-style: regular;
    border: none;
    background: #F3F5FC;
    outline: none;
    resize: none;
    color: var(--azul-oscuro);
}

textarea{
    width: 100%;
}


textarea:placeholder{
    color: var(--azul-oscuro);
}


main .cajaTexto .advertencia{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 10px;
}

main .recuadro{
    width: 25%;
    padding: 40px;
    display: flex;
    justify-content: center;
    /* White */
    background: #FFFFFF;
    /* shadow */
    box-shadow: 0vw 1.6vw 2.2vw -0.56px rgba(0, 0, 0, 0.08);
    border-radius: 2.2vw;
}


main .recuadro .salida{
    word-wrap:normal;
}

.recuadro .aviso{
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    /* or 29px */
    text-align: center;
    /* Gray/gray-500 */
    color: #343A40;

}

.recuadro .info{
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    /* or 24px */
    text-align: center;
    /* Gray/gray-400 */
    color: #495057;
}

/* .advertencia{
    display: flex;
} */

.footer-cajaTexto svg{
   width: 100%;
}

.footer-cajaTexto p{

    /* Solo letras minúsculas y sin acentos */
    width: 230px;
    height: 18px;

    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    /* identical to box height, or 18px */

    /* Gray/gray-400 */
    color: #495057;

    opacity: 0.8;

    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
    
}

.cajaTexto .botones{
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
}

.botonEncriptar{
    width: 328px;
    height: 67px;
    border-radius: 24px;
    padding: 24px;
    gap: 8px;
    background: #0A3871;
    color: white;
    cursor: pointer;
    transition: all 0.45s ease-in-out;
}

.botonEncriptar:hover,.botonDesencriptar:hover{
transform: scale(1.05);
}

.botonDesencriptar{
    left: 592px;
    width: 328px;
    height: 67px;
    padding: 24px;
    gap: 8px;

    /* Light gray */
    background: #D8DFE8;

    /* Dark blue/dark-blue-300 */
    border: 1px solid #0A3871;
    border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 16px;
    line-height: 19px;

    /* Dark blue/dark-blue-300 */
    color: #0A3871;
    cursor: pointer;
    transition: all 0.45s ease-in-out;
}

@media screen and (max-width: 768px){
    main{
        flex-direction: column;
        align-items: center;
    }
    main .logo{
        width: 50%;
    }
    main .cajaTexto{
        width: 90%;
    }
    main .ingresaTexto{
        height: 300px;
    }
    main .recuadro{
        width: 90%;
    }
    .salida{
        width: 90%;
        height: 300px;
        left: 0;
        top: 0;
    }
    .recuadro .aviso{
        font-size: 20px;
    }
    .recuadro .info{
        font-size: 14px;
    }
    .footer-cajaTexto p{
        width: 100%;
    }
    .cajaTexto .botones{
        flex-direction: row;
        align-items: center;
    }
    .botonEncriptar{
        width: 100%;
    }
    .botonDesencriptar{
        width: 100%;
    }
}

@media screen and (max-width: 375px){
    main .logo{
        width: 80%;
    }
    main .cajaTexto{
        width: 90%;
    }
    main .ingresaTexto{
        height: 300px;
    }
    main .recuadro{
        width: 90%;
    }
    .salida{
        width: 90%;
        height: 300px;
        left: 0;
        top: 0;
    }
    .recuadro .aviso{
        font-size: 20px;
    }
    .recuadro .info{
        font-size: 14px;
    }
    .footer-cajaTexto p{
        width: 100%;
    }
    .cajaTexto .botones{
        flex-direction: column;
        align-items: center;
    }
    .botonEncriptar{
        width: 100%;
    }
    .botonDesencriptar{
        width: 100%;
    }
}
