@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500&display=swap');

body{
    background-color: #f3f5fc;
    padding: 40px;
    padding-bottom: 0;
    
}

.logo{
    width: 120px;
    height: 48px;
    text-align: center;
}

.imagem{
    width: 50px;
    height: 50px;
}

.container{
    width: 100%;
    height: 592px;
}

.grupoInput{
    display: inline-block;
    position: relative;
    top: 80px;
    left: 200px;
}

textarea{
    border: none;
    outline: none;
    background-color: none;
}
#textoEntrada{
    display: inline-block;
    width: 100%;
    height: 300px;

    border: none;
    outline: none;

    background-color: #f3f5fc;

    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 500;

    resize: none;
}

.aviso{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-items: center;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    margin-top: 130px;

    box-sizing: border-box;
}

.texto-aviso{
    margin-left: 5px;
}

.botoes{
    margin-top: 16px;
}

.criptografar{
    margin-right: 24px;
    background: #5c101c;
    border: none;
}

.descriptografar{
    background: #9b1b30;
    border: #5c101c;
}

.criptografar, .descriptografar{
    width: 328px;
    height: 67px;

    border-radius: 24px;
    padding: 24px;
    
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;

    cursor: pointer;
    transition: all 0.2s ease-in-out;

}

.btn-copiar{
    width: 328px;
    height: 67px;

    border-radius: 24px;
    padding: 24px;
    margin-top: 24px;
    
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;

    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: #5c101c;

    border-color: #5c101c;
}

.descriptografar:hover{
    transform: scale(1.1);
}

.criptografar:hover{
    transform: scale(1.1);
}

aside{
    display: inline-block;

    position: absolute;
    width: 400px;
    height: 660px;
    top: 40px;
    right: 40px;
    text-align: center;

    background-color: white;
    box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08);
    border-radius: 32px;

    padding: 32px;

    box-sizing: border-box;

}

.aside{
    position: relative;
    top: 80px;

}
.textos-aside{
    width: 336px;
    height: 140px;

    text-align: center;
    display: inline-block;
    margin-top: 16px;
}

.titulo-aside{
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
}

.subtitulo-aside{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-top: 16px;
}

footer{
    margin-top: 65px;
    padding: 20px;
    
    text-align: center;
    
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    align-items: center;
}

ul{
    display: flex;
    justify-content: center;
    flex-direction: row;
    
    margin-top: 16px;
}

ul li {
    margin-right: 16px;
    stroke: black;
    cursor: pointer;
  }

.midiaimg{
    width: 40px;
    height: 40px;
    transition: all 0.2s ease-in-out;
}
.midiaimg:hover{
    transform: scale(1.3);
    stroke: #9b1b30;
}

#texto-Entrada{
    display: inline-block;
    width: 100%;
    height: 300px;

    border: none;
    outline: none;

    background-color: none;

    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 500;

    resize: none;
}

@media screen and (max-width: 768px) {

    main{
        height: auto;
        max-width: 768px;
    }
    .container {
      height: auto;
      display: flex;
      flex-direction: column;
      justify-items: center;
      align-items: center;
      
    }
  
    .grupoInput {
        position: static;
        max-width: 768px;
        margin-top: 24px;
        text-align: center;
        justify-items: center;
      
    }
  
    aside{
        display: inline-block;
    
        position: absolute;
        width: 100vw;
        height: 100vh;
        top: 100%;
        text-align: center;
        left: 6px;
        background-color: white;
        box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08);
        border-radius: 32px;
    
        margin-top: 30px;
        box-sizing: border-box;

        align-items: center;
        justify-content: center;
    
    }

    #output .vetor .textos-aside{
        justify-content: center;
        align-items: center;
        text-align: center;
    }
  
    #textoEntrada,
    .textos-aside {
      font-size: 24px;
      text-align: center;
    }
  
    .botoes {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-items: center;
    }
  
    .criptografar,
    .descriptografar,
    .btn-copiar {
      width: 100%;
      margin-top: 16px;
    }

    .criptografar{
        background: #5c101c;
        border: none;
    }
    
    .descriptografar{
        background: #9b1b30;
        border: #5c101c;
    }
    
    .criptografar, .descriptografar{
        width: 328px;
        height: 67px;
    
        border-radius: 24px;
        padding: 24px;
        
        color: white;
        font-family: 'Montserrat', sans-serif;
        font-size: 20px;
        font-weight: 400;
    
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    
    }

    footer{
        order: 2;
    }
}
  