*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 62.5%;
}
html,body{
    height: 100%;
}
body{
    transition: ease 1s;
    background: #F1F0F0;
}

/*
    boton de modo noche, titulo y texto explicativo
*/
.switch-mode-button{
    background: rgb(138, 142, 184);
    padding: 2px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    margin-left: 20px;
    cursor: pointer;
    user-select: none;
}
.img-mode{
    opacity: 70%;
    width: 28px;
    height: 28px;
    user-select: none;
}

header{
    width: 100%;
}
.title{
    color: #1b1717;
    font-size: 5rem;
    text-align: center;
    transition: ease 1s
}
.app-description{
    color: #1b1717;
    font-size: 1.6rem;
    text-align: center;
    transition: ease 1s
}

/*
    text area de ingreso de texto
*/
.textarea-container{
    display: flex;
    justify-content: center;
}
.text-area{
    color: #1b1717;
    text-transform: lowercase;
    margin-left: 30px;
    margin-right: 30px;
    font-size: 2.0rem;
    margin-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 450px;
    height: 150px;
    background: #FDF2D6;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    position: relative;
    border: none;
    outline: none;
    resize: none;
    transition: ease 1s
}


/*
    candados y botones para encriptar y desencriptar
*/
.buttons-container{
    display: flex;
    justify-content: center;
    padding-top: 15px;
    margin-right: 30px;
    margin-left: 30px;
}
.button{
    background: #FAFAFA;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 2.0rem;;
    user-select: none;
}
.buttons-container #encrypt-button{
    margin-right: 15px;
}
.buttons-container #decrypt-button{
    margin-left: 15px;
}
.padlock-open{
    margin-top: 10px;
    margin-left: 19px;
    user-select: none;
    opacity: 1;
    transition: ease 1s;
    
}
.padlock-locked{
    margin-top: 10px;
    margin-right: 19px;
    user-select: none;
    opacity: 1;
    transition: ease 1s
}


/*
    text area para mostrar el resultado de la encriptacion o desencriptacion
*/
.translated-text-margin{
    display: flex;
    justify-content: center;
    align-items: center;
}



/*
    boton para copiar y notificacion de texto copiado
*/
.clipboard-container{
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.copy-button{
    width: 95.14px;
    margin-top: 15px;
    font-size: 1.6rem;
    height: fit-content;
    background: #FAFAFA;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 2.0rem;
    user-select: none;
    animation: backwards 1s;
}
#copyText, #cantCopy{
    /* -webkit-transition: ease-in 2s linear; */
    font-size: 1.6rem;
    margin-top: 25px;
    margin-left: 10px;
    transition: ease-out 1s;
    display: inline;
}


/*
    decoracion de ola
*/
.wave{
    position: fixed;
    bottom: 0; 
    z-index: -1;
    opacity: 30%;
}


/*
    texto footer
*/

footer{
    width: 100%;
    text-align: center;
}
.footer-text{
    font-size: 1.6rem;
    display: inline-block;
    margin-top: 30px;
    color: black;
    opacity: 60%;
    cursor: pointer;
    padding-bottom: 15px;
}
.github-svg{
    margin-bottom: -3px;
    margin-left: 2px;
    opacity: 60%;
    cursor: pointer;
}

/*
    eventos de textarea y botones
*/

.text-area:hover{
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

button, .clipboard-button-container{
    transition-duration: 0.6s;
}
button:hover, #copy-button:hover {
    background:#F5EDED ;
    
}


/*
    media queries
*/
@media screen and (max-width:415px){
    .padlock-open, .padlock-locked{
        opacity: 0;
    }
}

 @media screen and (min-width:900px){
    #textarea{
        width: 550px;
        height: 160px;
    }
    #translated-text{
        width: 550px;
        height: 160px;
    }
}


/*
    clases para el modo noche
*/
.body-night-mode{
    background: #2E3540;
}
.text-area-night-mode{
    background: rgb(67 71 72);
    color: #E8E0E0;
}
.text-night-mode{
    color: #E8E0E0;
}
.switch-mode-night-mode{
    background: rgb(197 170 130);
}
.button-night-mode{
    background: rgb(44 44 44);
    color: #E8E0E0;
}

/*
    eventos del modo noche. placeholder y hovers
*/
.text-area-night-mode::-webkit-input-placeholder{
    color: #9f9999;
}

.text-area-night-mode::-moz-placeholder{
    color: #9f9999;
}

.text-area-night-mode:hover{
    box-shadow: 0px 4px 10px rgba(73, 72, 72, 0.5);
}

.button-night-mode:hover{
    background: rgb(56, 55, 55);
}
