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

:root{
    --main-color: #F3F5FC;
}

nav{
    padding: 20px;
}

main{
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    color: black;
}

body {
    position: relative;
    padding: 0;
    margin: 0;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.jpg');
    background-position: center;
    background-size: cover;
    opacity: 0.5; 
    z-index: -1; 
}

.container-saida-texto{
    width: 30%;
    height: 100vh;
    box-shadow: 1px 5px 5px 5px rgba(128, 128, 128, 0.11);
    border-radius: 32px;
    background-color: white;
    color: #343A40;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s ease-in-out;
}

.container-saida-texto:hover{
    box-shadow: 1px 5px 5px 5px #0A3871;
}

.container-saida-texto img{
    max-width: 100%;
}

.container-entrada-texto{
    padding-top: 5rem;
    width: 50%;
    text-align: left;
}

#entrada-texto{
    max-width: 680px;
    height: 600px;
    border: none;
    outline: none;
    background-color: transparent;
    color: #0A3871;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    resize: none;
}

.saida-texto{
    font-size: 40px;
    color: #0A3871;
}

#aviso{
    padding-top: 20px;
}

.btn-container{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn{
    width: 328px;
    height: 67px;
    border-radius: 24px;
    padding: 20px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all .2s ease-in-out;
}

.btn:hover{
    transform: scale(1.05);
}

#cripto-btn{
    background-color: #0A3871;
    color: white;
}

#descripto-btn{
    background-color: #D8DFE8;
    color: #0A3871;
    border: 2px solid #0A3871;
}

@media  screen and (max-width: 1480px) {
    main{
        flex-direction: column;
        align-items: center;
    }

    .btn-container{
        justify-content: center;
    }

    .container-entrada-texto{
        width: 100%;
        text-align: center;
    }

    #entrada-texto{
        max-width: 100%;
    }

    .container-saida-texto{
        margin: 2rem;
        padding: 0;
        width: 100%;
    }
}

.icone-copiar{
    width: 30px;
    height: 30px;
    cursor: pointer;
}