* {
    box-sizing: border-box;
    font-family: "Aestetico";
}

header { 
    background-image: url(../images/bg.png);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95vh;
}

header .teste {
    position: absolute;
    left: 5em;
    top: 1.5em;
    margin-bottom: 25px;
}
header h1 {
    font-size: 6rem;
    color: #FFF;
    line-height: 1;
}
header .content {
    display: flex;
    align-items: center;
}
header h4 {
    text-align: center;
    color: #FFF;
    font-size: 1.9rem;
    margin-top: -5px;
    margin-bottom: 50px;
}

header .box {
    display: flex;
    align-items: center;
    justify-items: center;
    flex-direction: row;
    margin: 0 auto;
}

header .box_1 {
    background-color: #39bde1;
    border: 2px solid #FFF;
    border-radius: 8px;
    width: 290px;
    height: auto;
    margin-right: 30px;
}

header .box_1 h3 {
    color: #FFF;
    font-size: 3.5rem;
    margin-left: 25px;
}
header a {
    text-decoration: none !important;
}

header .box_1 button {
    background-color: #0000ff;
    border: none;
    color: #FFF;
    border-radius: 4px;
    width: 90%;
    font-size: 1.8rem;
    padding: 8px 15px 8px 15px !important;
    margin-bottom: 15px;
    margin-top: 4em;
}

header .box_2 {
    background-color: #ff7f00;
    border: 2px solid #FFF;
    border-radius: 8px;
    width: 290px;
    height: auto;
}

header .box_2 h3 {
    color: #FFF;
    font-size: 3.5rem;
    margin-left: 25px;
}

header .box_2 button {
    background-color: #b15b07;
    border: none;
    color: #FFF;
    border-radius: 4px;
    width: 90%;
    font-size: 1.8rem;
    padding: 8px 15px 8px 15px !important;
    margin-bottom: 15px;
    margin-top: 4em;
}

@media screen and (max-width: 1100px) {
    header {
        height: auto;
    }
    header .content {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }
    header .teste {
        position: relative;
        left: 0px;
        top: 0px;
    }
    header .logo {
        margin: 0 auto;
        margin-top: 30px;
    }
    header h1 {
        font-size: 4rem;
        font-weight: bold;
        text-align: center;
        width: 100%;
    }
    header h4 {
        text-align: left;
        margin-top: 30px;
    }
    header .box {
        flex-direction: column;
    }
    header .box_1 {
        margin-right: 0px;
        margin-bottom: 15px;
    }
    header .box_2 h3, header .box_1 h3 {
        margin-left: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    header .box_1 button {
        margin-top: 3.5em;
    }
    header .box_2, header .box_1 {
        margin-bottom: 2em;
        width: 100%;
    }
    header .box_2 button, header .box_1 button {
        margin-top: 1em;
    }
}

