*{
    margin: 0;
    padding: 0;
}

:root{
    --color-primario:#f3f5fc;
    --color-secundario:#40A2D8;
    --color-tercierio:#922e2e;
    --destacar-boton:#F0EDCF;
}


.enlace{

    background-color: #f3f5fc;
    display: flex;
    flex-direction: row;
}

.contenedor{
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-primario);
}

.texto {
    position: absolute;
    width: 42%;
    height: 60%;
    left: 12%;
    top: 15%;
    border: none;
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 150%;
    background-color: #f3f5fc;
}

.texto::placeholder{
    color: #0a3871;

}

.texto:focus,
.texto:active{
    border: none;
    outline: none;
}

.terminos {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 8px;
    position: absolute;
    width: 80%;
    left: 12%;
    top: 80%;
}

.terminos p {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150px;
    color: #495057;
    opacity: 0.8;
    flex: none;
    border: 1;
    flex-grow: 0;
}

.botones {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 1% 0;
    position: absolute;
    width: 80%;
    left: 12%;
    top: 82% ;
}

.btn-encriptar{
    align-items: center;
    justify-content: center;
    padding: 2%;
    gap: 8px;
    width: 25%;
    background-color: #003870;
    border-radius: 28px;
    font-family: "Inter";
    font-size: 18px;
    text-align: center;
    color: #fff;
    
}

.btn-desencriptar{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 2%;
    gap: 8px;
    width: 28%;
    background: #d8dfe8;
    border :1p solid #0a3871;
    border-radius: 24px;
    font-family: "Inter";
    font-size: 28px;
    line-height: 19px;
    text-align: center;
    color: #0a3871;
}

.btn-encriptar:hover,
.btn-desencriptar:hover{
    margin: 0,3%;
    width: 24.8%;
    padding: 1.8%;
}

.encriptado{
    display: flex;
    justify-content: center;
    position: absolute;
    width: 30%;
    height: 90%;
    left: 60%;
    top: 5%;
    background: #fff;
    box-shadow: 0px 24px -8px rgba(0, 0, 0, 0.08);
    border-radius: 50px;
}

.mensaje-encriptado{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1%;
    gap: 16px;
    position: absolute;
    width: 100%;
    top: 65%;
    text-align: center;
}

.mensaje-encriptado h2{
    width: 60%;
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    color: #343a40;
}

.mensaje-encriptado p{
    width: 80%;
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #495057;
}

.encriptado img{
    position: absolute;
    width: 80%;
    height: 50%;
    top: 15%;
}


/*responsive desing*/
@media (max-width: 57.5em) {
    .contenedor {
       display: flex;
       flex-direction: row;
    }
    .encriptar{
        width: 100%;
    }
.texto{
    width: 80%;
    height: 60%;
    left: 10%;
    top: 5%;
}
.terminos{
    width: 80%;
    left: 10%;
    top: 67%;
}
.terminos p{
    font-size: 16px;
}
.botones{
    width: 80%;
    left: 10%;
    top: 70%;
}
.btn-encriptar,
.btn-desencriptar {
    width: 48%;
    border-radius: 16px;
}
.btn-encriptar:hover,
.btn-desencriptar:hover{
    margin: 0.3%;
    height: 47.5%;
    padding: 1.8%;
}
.encriptado{
    width: 80%;
    height: 15%;
    left: 10%;
    top: 80%;
}
.mensaje-encriptado{
    width: 100%;
    top: 5%;
}
.encriptado img {
    top: 0;
    display: none;
    visibility: hidden;
}
 }
 