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

body {
    color: #fff;
    font-family: 'Metamorphous', cursive;
    font-size: 16px;
    background: #23074d;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #cc5333, #23074d);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #cc5333, #23074d); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}
h2 {
    text-align: center;
    padding: 0.3em 0 1em 0;
    font-size: 2em;
    color: #e7f4fff0;
}
textarea {
    resize: none;
}
img {
    display: none; /* CAMBIAR DISPLAYcccc */
}
a {
    text-decoration: none;
}
a:visited {
    color: currentColor;
}
a:link {
    color: currentColor;
}

/* HEADER */

header .logo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3%;
    flex-wrap: wrap;
    padding-top: 0.6em;
}

header .logo a svg {
    margin-top: 0.3em;
}


/* MAIN */

main {
    margin-bottom: 2em;
}

main .contenedor-encriptador {
    max-width: 900px;
    min-width: 300px;
    height: 600px;
    border-radius: 10px;
    background-color: #5a4dc34a;
    margin: 0 auto;
    padding: .5em;
}
main .contenedor-encriptador p {
    padding: .5em;
    text-align: center;
    font-family: sans-serif;
}
main .contenedor-encriptador .btn {
    text-align: center;
    width: 250px;
    display: block;
    margin: 0.5em auto;
    padding: 0.6em;
    border: none;
    border-radius: 5px;
    background: linear-gradient(to right, #d7784a -200%, transparent);
    transition: all .3s;
    color: currentColor;
}

main .contenedor-encriptador .btn:hover {
    box-shadow: inset 0px 0px 5px #23074d;
    background-color: #d7784a;
    color: #1f131f; /* DISEÑO V2 */
    letter-spacing: 1px; /* DISEÑO V2 */
    text-shadow: 0px 0px 1px #490449; /* DISEÑO V2 */
}

/* BORRAR CUANDO FINALICE DESENCRIPTAR */

/* #desencriptador:hover {
    background-color: #f10e0e;
    text-decoration: line-through;
} */

main .contenedor-encriptador .texto-inicio, .texto-final {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    display: block;
    max-width: 600px;
    min-width: 300px;
    height: 210px;
    margin: 0 auto;
    color: #fff;
    background-color: #00000021;
    padding: 10px;
    border: none;
    border-radius: 10px;
    outline: none;
}

main .contenedor-encriptador .texto-inicio::placeholder, .texto-final::placeholder {
    color: #fff;
}

main .contenedor-encriptador .texto-final::placeholder {
    height: 180px;
    background-image: url('./assets/lupa_clara.svg');
    background-size: 6em;
    background-repeat: no-repeat;
    background-position: center;
}

main .contenedor-encriptador .texto-escondido {
    width: 200px;
    margin: 0 auto;
    transition: all .2s;
    position: relative;
    opacity: 0;
}
main .contenedor-encriptador .texto-copiado {

    transform: translateY(-160px);
    width: 200px;
    margin: 0 auto;
    padding: 1em;
    background: brown;
    border-radius: 13px;
    box-shadow: 0px 0px 10px #0000002e;
    opacity: .8;
    transition: all .5s;
}

/* FOOTER */

footer .contenedor-footer {
    width: 100%;
    height: 300px;
    background: linear-gradient(360deg, #00000091 50%, transparent 80%);
}

footer .contenedor-footer p {
    text-align: center;
}

footer .contenedor-footer p a svg {
    width: 25px;
    height: auto;
}
@media screen and (max-width: 375px) {
    main .contenedor-encriptador {
        height: 500px;
    }
    main .contenedor-encriptador .texto-inicio, .texto-final {
        height: 150px;
    }
    main .contenedor-encriptador .texto-final::placeholder {
        height: 130px;
        background-size: 4em;
    }
    main .contenedor-encriptador .btn:hover {
        box-shadow: none;
        letter-spacing: 0;
        text-shadow: none;
        background: linear-gradient(to right, #d7784a -200%, transparent);
        transition: all .3s;
        color: currentColor;
    }
    main .contenedor-encriptador .btn:active {
        box-shadow: inset 0px 0px 5px #23074d;
        background-color: #d7784a;
        color: #1f131f; /* DISEÑO V2 */
        letter-spacing: 1px; /* DISEÑO V2 */
        text-shadow: 0px 0px 1px #490449; /* DISEÑO V2 */
    }
}