* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    height:100%;
    background-color: #FAFAFA;
    color: #000046;
    font-family: "Ubuntu", serif;
    font-size: 36px;
    display: flex;
}

#welcome {
    position: relative;
    overflow: hidden;
}

#welcome::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("images/Vertical_United_States_Flag.png");
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 1.5s;
    transform: scale(1);
}

#welcome:hover:before {
    transition: transform 1.5s;
    transform: scale(1.1);
}

#boas-vindas {
    position: relative;
    overflow: hidden;
}

#boas-vindas::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("images/Flag_of_Brazil.png");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    transition: transform 1.5s;
    transform: scale(1);
}

#boas-vindas:hover:before {
    transition: transform 1.5s;
    transform: scale(1.1);
}

.section {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.upper-area {
    height: 40%;
}

.middle-area {
    height: 20%;
    align-self: center;
    position: relative;
}

.lower-area {
    height: 40%;
}

.greetings {
    text-align: center;
    margin-top: 10px;
}

.button {
    text-align: center;
    font-weight: 500;
    align-self: center;
    padding: 20px 30px;
    border-radius: 30px;
    box-shadow: 4px 4px rgb(0, 0, 0, 20%);
    border: 0.2px solid gray;
    background-color: #FAFAFA;
}

.button:active { 
    box-shadow: none;
}


.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.no-decoration {
    text-decoration: none;
    color: inherit;
}


@media (max-width: 720px) {
    body {
        flex-direction: column;
        font-size: 20px;
    }

    .section {
        height: 50%;
        width: 100%;
    }

    .greetings {
        text-align: center;
        margin-top: 10px;
    }

    .button {
        text-align: center;
        font-weight: 500;
        padding: 20px 30px;
        border-radius: 20px;
        box-shadow: 4px 4px rgb(0, 0, 0, 20%);
        border: 0.2px solid gray;
        background-color: #FAFAFA;
    }

    .middle-area {
        align-self: auto;
        width: 22rem;
        margin: auto;
    }
}