* {
    box-sizing: border-box;
}

body {
    background-color: rgba(0, 0, 0, 0.973);
    color: rgba(240, 248, 255, 0.384);
    font-size: 1rem;
    font-weight: 100;
    line-height: 150%;
}

.logo {
    padding-top: 40px;
    margin-left: 40px;
    width: 6%;
    height: 4.8%;
}

main {
    display: flex;
    margin: 2%;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.sec1 {
    width: 50%;
}

h5 img {
    width: 5%;
    margin-right: 10px;
    margin-top: 5px;
    background: none;
}

.text-encriptado {
    border:none;
    color: rgba(255, 255, 255, 0.877);
    margin-bottom: 0;
    background-color:rgba(0, 0, 0, 0) ;
    resize: none;
    font-family: "Play", sans-serif;
    font-size: 2rem;
}
::placeholder { color:rgb(255, 255, 255); }
    .text-encriptado:focus {
        outline : none;
}


.imagen {
    width: 55%;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.texto1 {
    font-family: "Play", sans-serif;
    font-size: 1.5rem;
}
.texto2 {
    font-family: "Play", sans-serif;
    font-size: 1rem;
}

.placeholder-img {
    width: 80%;
    margin-bottom: 20px;
}

.text-resultado {
    display: flex;
    background-color: rgba(0, 0, 0, 0);
    text-align: center;
    height: 88%;
    width: 50%; 
    border:none;
    resize: none;
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    font-family: "Space Grotesk", sans-serif;
}

.text-resultado:focus {
    outline: none;
}
.cont-resultado {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    border: solid 4px #6fd3f1;
    width: 45%;
    height: 90%;
    padding: 20px;
    border-radius: 32px;
    box-shadow: 0 24px 58px -8px rgba(120, 202, 240, 0.432);
}
.aviso {
    display: flex;
    justify-content: center;
    margin-top: 25%;
    margin-bottom: 0;
    font-size: 28px;
    font-family:  "Kanit", sans-serif;;
}

.botones {
    display: flex;
    gap: 20px;
    justify-content: center;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}
button img {
    display: flex;
    width: 55px;
    margin-right: 10px;
    margin-top: 5px;
    background: none;
}
button:hover {
    color: white; 
    border: 2px solid #D8DFE8;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); 
}

.b-encriptar {
    border: 1px solid #000000;
    border-radius: 24px;
    background:linear-gradient(56deg,rgb(59, 6, 119),rgb(255, 0, 98));
    color: #0A3871;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 40%;
    height: 15%;
}

.b-desencriptar {
    border: 1px solid #000000;
    border-radius: 24px;
    background:linear-gradient(56deg,rgb(5, 117, 29),rgb(13, 228, 181));
    color: #0A3871;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 40%;
    height: 15%;
}

.cont-copiar {
    display: none;
    width: 65%;
}

.b-copiar {
    border: 1px solid #00000093;
    border-radius: 24px;
    background:linear-gradient(198deg,rgba(233, 27, 205, 0.904),rgb(114, 6, 51));
    color: #0A3871;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.footer {
    display: flex;
    background-color: #30303000;
    font-size: 1.8rem; 
    justify-content: center;
    align-items: center; 
    gap: 30px; 
    font-family: "Baskervville SC", serif;
    font-weight: 600;
    color: #ffffff; 
    border-radius: 20px;
    box-shadow: 0 -2px 10px rgba(117, 117, 117, 0.5); 
}

.footer a img {
    display: flex;
    width: 50px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    text-decoration: none;
}

.footer a img:hover {
    transform: scale(1.1);
    opacity: 1;
}

.link1,.link2 {
    display: flex;
    box-sizing: content-box;
    width: 50px;
}


 @media (min-width: 768px) and (max-width:1180px) {
    
    main {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cont-resultado {
        display: flex;
        width: 40%;
    }

    .text-encriptado {
        height: 15vh;
        width: 50%;
    }

    .botones {
        flex-direction: column;
        width: 120vw;
        margin-left: 7%;
    }

    .aviso {
        font-size: 1.5rem;
        margin: 5% 0;
    }

    .imagen {
        align-items: center;
        justify-items: center;
    }

    .texto1,.texto2 {
        font-size: 1.3rem;
    }

} 

@media (min-width: 393px) and (max-width:767px) {
    
    main {
        flex-direction: column;
        align-items: center;
        margin-right: 2%;
        height: 100vh;
        width: 100vw;
    }

    .placeholder-img {
        display: none;        
    }

    .logo {
        width: 15%;
        height: 8%;
    }

    .cont-resultado {
        width: 100%;
        height: 20vh;
        justify-content: center;
        align-content: center;
        box-sizing: border-box;
    }

    .sec1 {
        width: 100%;
    }

    .text-encriptado {
        height: 15vh;
        width: 50%;
    }

    .botones {
        flex-direction: column;
        align-items: center;
        width: 119vw;
        margin-left: 7%;
    }

    .aviso {
        font-size: 1.5rem;
        margin: 2% 0;
    }

    .texto1,.texto2 {
        font-size: 1.3rem;
        margin: 1%;
    }

    .footer {
        margin-top: 5%;
        font-size: 1rem;
        box-sizing: border-box;
    }
    
}