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

:root {
    --white: #FFFFFF;

    --dark-blue-100: #609ED4;
    --dark-blue-200: #356EA9;
    --dark-blue-300: #0A3871;
    --dark-blue-400: #072B61;
    --dark-blue-500: #052051;

    --light-blue-100: #F3F5FC;
    --light-blue-200: #EFF1FA;
    --light-blue-300: #E9ECF8;
    --light-blue-400: #AAB2D5;
    --light-blue-500: #757FB2;

    --gray-100: #CED4DA;
    --gray-200: #ADB5BD;
    --gray-300: #868E96;
    --gray-400: #495057;
    --gray-500: #343A40;

    --gray: #D8DFE8;

    --padding: 2rem;

    --fonte-primaria: 'Inter', sans-serif;
}

body {
    margin: 0;
}

.quadradao {
    height: 95vh;
    width: 100vw;
    background-color: rgb(3, 66, 66);
    display: flex;
}

.quadradinho {
    height: 95vh;
    width: 11vw;
    background: var(--light-blue-100);
    display: flex;
    justify-content: center;
}

.logo {
    margin-top: 2.5rem;
    width: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boliadinho {
    height: 95vh;
    width: 56vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--light-blue-100);
    gap: 10px;
}

.caixinha {
    display: flex;
    margin-top: 10rem;
}

.textinho {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    font-family: var(--fonte-primaria);
    color: var(--dark-blue-300);
    flex-grow: 2;
    outline: none;
    width: 50vw;
    height: 56vh;
    resize: none;
    overflow: hidden;
    font-weight: 800;
}

.textinho::placeholder {
    color: var(--dark-blue-300);
}

.avisinho {
    width: 50vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

.aviso {
    width: 1rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.botoes {
    height: 150px;
    width: 50vw;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.botoes button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7.5vh;
    width: 22.5vw;
    border-radius: 1.6rem;
    background-color: var(--dark-blue-400);
    color: aliceblue;
    font-size: 1rem;
    font-family: var(--fonte-primaria);
    border: solid 1px var(--dark-blue-300);
}

.botoes .botao2 button {
    background-color: var(--light-blue-100);
    color: var(--dark-blue-300);
}

.botao1 button:hover {
    background-color: var(--dark-blue-500);
}

.botao2 button:hover {
    background-color: var(--gray);
}

.metido {
    height: 95vh;
    width: 33vw;
    background: var(--light-blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resultado {
    height: 88vh;
    width: 28vw;
    background-color: var(--white);
    border-radius: 2.5rem;
    box-shadow: 6px 1px 4px 1px rgba(0, 0, 0, 0.1), 0 7px 6px 0 rgba(4, 19, 154, 0.19);
}

.resultado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--fonte-primaria);
}

.desenho {
    display: flex;
    justify-content: center;
    width: 22vw;
    margin: 0 auto;
    height: auto;
}

.mensagem1 p {
    font-size: 1.5rem;
    font-weight: 800;
}

.mensagem2 p {
    font-size: 1.05rem;
    font-weight: 400;
}

.credito {
    background-color: var(--light-blue-100);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--fonte-primaria);
    font-weight: 600;
    position: absolute;
    width: 100vw;
    height: 5vh;
}

@media (max-width:1000px) {

    .quadradao {
        height: auto;
        width: auto;
        flex-direction: column;
    }

    .quadradinho {
        height: 10vh;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
    }

    .logo {
        margin:0;
    }

    .boliadinho {
        width: auto;
    }

    .caixinha {
        width: 90vw;
        margin-top: 6rem;
    }

    .avisinho{
        width: 90vw;
    }

    .botoes{
        height: 10vh;
        width: 90vw;
        justify-content: space-between;
    }

    .botoes button {
        width: 43.5vw;
    }

    .metido {
        width: 100vw;
        height: 20vh;
        padding-bottom: 30px;
    }

    .resultado {
        width: 90vw;
        height: 20vh;
    }

    .desenho {
        width: 0;
        height: 0;
        overflow: hidden;
    }
}

@media (max-width:450px) {
    .caixinha {
        margin-top: 1rem;
    }

    .boliadinho{
        height: 65vh;
        border: transparent;
    }

    .textinho {
        width: 50vw;
        height: 30vh;
    }

    .botoes{
        height: 1vh;
    }
    
}

.texto-resultado {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.resultado-texto {
    width: 100%;
    height: 70%;
    background: transparent;
    border: none;
    font-family: var(--fonte-primaria);
    font-size: 1.5rem;
    color: var(--gray-400);
    resize: none;
    outline: none;
    word-wrap: break-word;
    line-height: 1.5;
}

.botao-copiar {
    width: 100%;
    height: 4rem;
    background: transparent;
    border: 2px solid var(--dark-blue-300);
    border-radius: 1.5rem;
    font-family: var(--fonte-primaria);
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-blue-300);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.botao-copiar:hover {
    background: var(--dark-blue-300);
    color: var(--white);
    transform: translateY(-2px);
}

.botao-copiar:active {
    transform: translateY(0);
}