@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
    --lightBlue100: #f3f5fc;
    --lightBlue200: #eff1fa;
    --lightBlue300: #e9ecf8;
    --lightBlue400: #aab2d5;
    --lightBlue500: #757fb2;

    --darkBlue100: #609ed4;
    --darkBlue200: #356ea9;
    --darkBlue300: #0a3871;
    --darkBlue400: #072b61;
    --darkBlue500: #052051;

    --gray100: #ced4da;
    --gray200: #adb5bd;
    --gray300: #868e96;
    --gray400: #495057;
    --gray500: #343a40;
    --colorPrincipal: rgba(0, 0, 0, 0.059);
    --colorHover: #272727;


    --fuentePrincipal: "Inter", sans-serif;

}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    background-image: url("/Assets/Img/fondo pastel.webp");
    background-size: cover;

}



.container {
    display: flex;
    height: 100vh;
    max-height: 100vh;
    justify-content: space-between;
    padding: 4%;

}

.ladoIzquierdo {
    width: 70%;
    height: 70%;

}

.inputText {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.parteInferior {
    display: flex;
    margin-top: 15%;
}

.parteInferior img {
    display: flex;
    margin-right: 10px;
    animation: heartbeat 2s ease-in-out infinite;

}

.parteInferior small {
    font-family: var(--fuentePrincipal);
    font-size: 0.75rem;
    color: var(--gray500);
    transition: color 0.4s;
}

.inputText textarea {
    border-radius: 1rem;
    border: none;
    outline: none;
    padding: 1.2rem;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    height: 40vh;
    box-sizing: border-box;
    background-color: var(--colorPrincipal);
    font-family: var(--fuentePrincipal);
    transition: border-color 0.4s;
}

.inputText textarea.error {
    border: 2px solid red;
}

.parteInferior small.error {
    color: red;
}



.botones {
    display: flex;
    justify-content: center;

}

.botones .encriptarBtn {
    background-color: var(--darkBlue300);
    color: white;
    padding: 1.5rem;
    width: 100%;
    border-radius: 1.5rem;
    border: none;
    font-family: var(--fuentePrincipal);
    transition: opacity 0.3s ease;
}

.botones .desencriptarBtn {
    background-color: var(--colorPrincipal);
    border-color: var(--darkBlue500);
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    width: 100%;
    border-radius: 1.5rem;
    border-width: 1px;

    font-family: var(--fuentePrincipal);
    transition: opacity 0.3s ease;

}

.botones .encriptarBtn:hover,
.botones .desencriptarBtn:hover,
.copiar:hover {
    opacity: 0.60;
}



.contenidoResultado {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contenidoResultadoParrafo {
    text-align: start;
    height: 100%;
    word-wrap: break-word;
    overflow: auto;
}

.copiar {
    background-color: var(--colorPrincipal);
    border-color: var(--darkBlue500);
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    width: 100%;
    border-radius: 1.5rem;
    border-width: 1px;

    font-family: var(--fuentePrincipal);
    transition: opacity 0.3s ease;
}

.resultados {
    background-color: var(--colorPrincipal);
    backdrop-filter: blur(5px);
    border-radius: 1.5rem;
    padding: 3.53%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 16%;
    height: 70%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-family: var(--fuentePrincipal);
}


.resultados img {
    width: 100%;

}

.parrafos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.mensajeDeError {
    color: var(--gray500);
    font-size: 1.5rem;
}

.mensajeDeAyuda {
    color: var(--gray400);
    font-size: 1rem;
}

/*
.copiarResultado {
   display: flex;
   justify-content: end;
   flex-direction: column;
   height: 50%;
   
}

.copiar {
    background-color: inherit;
    width: 100%;
    border-radius: 1.5rem;
    padding: 1rem;
    font-family: var(--fuentePrincipal);
    border-width: 1px;
}
*/
.inputText,
.botones {
    margin-top: 20px;
}

.botones button {
    margin-right: 10px;
}

.notification {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    /* Verde */
    color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: opacity 1s ease-out;
}

.notification.show {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {

    body {
        height: 100vh;
        box-sizing: border-box;
        padding: 0px;
        margin: 0px;
        background-image: url("/Assets/Img/fondo pastel.webp");
        background-size: cover;
    
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: 80vh;
        justify-content: space-between;
        padding: 4%;

    }

    .inputText {
        width: 90%;
        height: 30vh;
        justify-content: center;
    }

    .ladoIzquierdo {
        width: 100%;
        height: 35%;

    }

    .botones {
        display: flex;
        justify-content: center;
        max-width: 90%;
    }

    .resultados {
        background-color: var(--colorPrincipal);
        backdrop-filter: blur(5px);
        border-radius: 1.5rem;
        padding: 3.53%;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        width: 83vw;
        height: 20vh;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-family: var(--fuentePrincipal);
    }

    .resultados img {
        display: none;

    }

}
@media (max-width: 375px) {

    body {
        height: 100vh;
        box-sizing: border-box;
        padding: 0px;
        margin: 0px;
        background-image: url("/Assets/Img/fondo pastel.webp");
        background-size: cover;
    
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: 80vh;
        justify-content: space-between;
        padding: 4%;

    }

    .inputText {
        width: 90%;
        height: 30vh;
        justify-content: center;
    }

    .ladoIzquierdo {
        width: 100%;
        height: 35%;

    }

    .botones {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 90%;
        max-width: 100%;
        gap: 1.5rem;
    }

    .resultados {
        background-color: var(--colorPrincipal);
        backdrop-filter: blur(5px);
        border-radius: 1.5rem;
        padding: 3.53%;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        width: 90%;
        height: 30vh;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-family: var(--fuentePrincipal);
    }

    .resultados img {
        display: none;

    }

}