header{
    margin:0;
    
    
}

nav{
    padding:0px 20px;
    align-items: center;
    justify-content: space-between;
    margin:0;
    background-color: rgb(233, 150, 122);
}

nav, ul{
    display:flex;
    flex-direction: row;
    

}

button{
    background: transparent;
    border:none;
    color: black;
    font-size: 40px;
    position: absolute;
    right: 10px;
    top: 10px;
    display:none
}

.logo{
    color:black;
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: italic;
}

ul{
    list-style: none;
    padding: 0;
    overflow:hidden;
    transition: 0.5s
}

li{
    padding: 10px 20px
}

li:hover,
button:hover{
    cursor: pointer;
    background-color: white;
    transition: 0.5s;
}

button:focus ~ ul{
    height: 200px;
}

a{
    padding:10px 15px;
    text-decoration: none;
    color:black;
    font-size: 20px;
}

@media (max-width:870px) {
    nav, ul{
        flex-direction: column;
        align-items: unset;
    }
    

    ul{
        text-align: center;
        height:0
    }

    nav{
        padding-top: 10px;
    }

    button{
        display: flex;
    }
}

/*Corpo da Página*/

body{
    margin:0;
    background-color: #FEAEC9;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.container{
    display:flex;
    height:700px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin:auto;
    max-width: 2000px;
    min-width: 300px;

}

.item{
    color:black;
    padding:20px;
    margin:10px;
    max-width:50%;
    max-height: 700px;

}

.item img{
    width: 100%;
}

.item h1, h2{
    width: 100%;
    max-height: 100%
}

h1{
    text-align: center;
    font-size: 50px;
    background-color:#81FF81;
}

h2{
    text-align: justify;
    font-family: 'Times New Roman', Times, serif;
    
}

@media (max-width:870px){
    body{
        background-color:#FEAEC9;
        background-image: none;
    }
    .container{
        display: flex;
        flex-direction: column;
        height: auto;
        width: auto;
        }

    .item h1, h2{
        height: 100%;
        width: 100%;
    }

    .item img{
        height: 100%;
        width: 100%;
    }

    h1{
        background-color: #81FF81;
        font-size: 25px;
    }

}
