textarea {
    resize: none;
    background-color: transparent;
    border: none;
    outline: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    height: 100%;
    background-image: url('../img/o-pequeno-principe.jpg');
    background-position: inherit;
    background-repeat: no-repeat;
    background-size: cover;
}

header {
    display: flex;
    justify-content: space-evenly;
    margin: 10px auto 40px auto;
    max-width: 1000px;
}

header img {
    max-width: 60px;
    object-fit: contain;
    margin-left: 100px;
}

h1 {
    font-size: 2.5rem;
    align-self: flex-end;
    text-align:center;
    font-weight: 900;
    color: white;
}


.content {
    max-width: 1000px;
    margin-left: 15%;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 500px;
    padding: 10 20 10 20px;
    background-color: #6184d8;
    opacity: 0.9;
    border-radius: 20px;
}

.content-input {
    font-size: 1.2rem;
    padding: 30px 50px 0 20px;
    font-weight: bold;
}

.content-input::placeholder {
    color: white;
    font-weight: bold;
}

.content-answer {
    background-color: #cdd0d3;
    grid-row: span 2;
    font-size: 1.2rem;
    padding: 30px 50px;
    position: relative;
    border-radius: 20px;
    box-shadow: 3px 3px 6px 0 rgba(0,0,0,0.25);
}

.content-answer p {
    color: black;
    font-weight: bold;
}

.text-copied {
    position: absolute;
    bottom: 70px;
    right: 55px;
    padding: 5px 20px;
    font-size: 0.9rem;
    background-color: #e8d358;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.5s;
    border: 2px solid #2a3b56;
    visibility: hidden;
}

.content-copy {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #6184d8;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    cursor:pointer;
    transition: 0.5s;
    border: 2px solid #e8d358;
    font-size: 1rem;
}

.show {
    visibility: visible;
}

.content-buttons {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    align-self: end;
}

.button1,
.button2 {
    width: 150px;
    text-align: center;
    padding: 10px 0;
    background-color: #153d8b;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
    margin-bottom: 20px;
    font-weight: bold;
    border: 1px solid #e8d358;
}

.button1:hover,
.button2:hover,
.content-copy:hover {
    color: white;
    background-color: #6184d8;
    transform: scale(1.2);
}

@media (max-width: 800px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-buttons {
        grid-row: 2;
    }

    .button1:hover,
    .button2:hover,
    .content-copy:hover {
        transform: scale(1);
    }

    .text-copied {
        bottom: 27px;
        right: 130px;
    }
}

@media (max-width: 400px) {
    .button1,
    .button2,
    .button3 {
        width: 200px;
        margin-bottom: 0;
    }

    .button2 {
        margin-bottom: 20px;
    }

    .content-copy {
        bottom: 5px;
        right: 5px;
    }

    .text-copied {
        bottom: 13px;
        right: 110px;
    }
}

footer p {
    font-size: 1.3rem;
    text-align: center;
    padding: 20px;
    color: black;
    font-weight: bold;
    font-family:'Lucida Sans', sans-serif;
}

footer ul {
    flex-direction: column;
    margin-left: 40%;
}

footer ul li {
    list-style-type: none;
    display: inline-block;
    margin: 0 15px 0 15px;
}

footer ul li a {
    color: #153d8b;
    font-size: 3.5rem;
}
