@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap');

*{
    margin: 0;
    padding: 0;
  
}

body {
    font-family: Georgia;
    background: #fae5c4;
}


/*Container*/
.container {
    overflow: hidden;

}

/*Header*/

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 1rem;
    background-color: #302B28;
    text-decoration: none;

    -webkit-box-shadow: 0px 2px 10px -9px rgba(0, 0, 0, 0.81);
    -moz-box-shadow: 0px 2px 10px -9px rgba(0, 0, 0, 0.81);
    box-shadow: 0px 2px 10px -9px rgba(0, 0, 0, 0.81);
}


.logo {
    max-width: 50%;
    left: 0;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100%;
   
}

.logo a{
    max-width: 100%;
    color: #FFDEAD;
    display: flex;
    align-items: left;
    font-family: Georgia;
    text-align: left;
    font-size: medium;
    margin-left: 5%;
}

header h1{
    max-width: 100%;
    color: #FFDEAD;
    display: inline;
    align-items: left;
    font-family: Georgia;
    text-align: left;
    justify-content: left;
}

header label{
    display: flexbox;
    font-size: 1.5em;
    font-family: Georgia;
    letter-spacing: 3px;
    line-height: 65px;
    color: #FFDEAD;
}

header label:hover{
    border-bottom: 2px solid #FFDEAD;
}

header a{
    text-decoration: none;
}

/* Menu profile */

.menu {
    width: 15%;  
    height: 140%;
    background-color: #302B28;
    color: #fff;
    position: absolute;
    left: -65%;
    transition: left .3s;
    padding-bottom: 5%;
    overflow-x: hidden;
}

/*MENU LIST*/
.link-nav {
    color: #FFDEAD;
    text-decoration: none;
    padding: 1rem;
    display: block;
    position: relative;
}

.link-nav:hover{
    font-weight: bold;
}


.list-nav {
    padding-top: 1rem;
}

.icon {
    width: 1.5rem;
}

/* MENU SECUNDÁRIO */

.list-nav-second {
    visibility: visible;
    max-height: 100vh; 
    transition: all .5s;
    opacity: 1;
 }


.item-nav-second a {
    color: black;
    background: #FFDEAD;
    text-decoration: none;
    padding: 0 0 1rem 2.7rem;
    display: block;
    padding-top: 0.5em;
    border-top: 2px solid #302B28;
    border-bottom: 2px solid #302B28;
}

.item-nav-second a:hover {
    font-weight: bold;
}

.item-nav-cad{
    background: #ffdead2d;
}

/* MENU HAMBURGUER */
.__move .menu{
    left: 0;
    transition: left .3s;
}

/*CONTENT*/
.content {
    position: relative;
    left: 0;
    height: 100%;
    transition: left .3s;
    top: 0;
    bottom: 0;
    background: #fae5c4;

}

.page{
    padding: 20px;
    height: 100%;
    padding-bottom: 10%;
}


.__move .content::before {
    content: "";
    background-color: black;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    opacity: .5;
   
}

.__move .content::before footer{
    background: #302B28;
}


.__move .content {
    left: 15%;
    right: 15%;
    transition: left .3s;
    padding-bottom: 5%;
}


/*MENU FECHAR*/

.__move .firstline {
    transform: translateY(30%) rotate(45deg);
    transform-origin: top;
    transition: transform .3s;
}

.__move .secondline {
    transform: translateX(-100%);
    transition: transform .3s;
}

.__move .thirdline {
    transform: translateY(-30%) rotate(-45deg);
    transform-origin: bottom;
    transition: transform .3s;
}

/* TRANSIÇÃO CSS*/

/* ESTADO INICIAL DO MENU HAMBURGUER*/
.firstline {
    transform: translateY(0%) rotate(0deg);
    transform-origin: top;
    transition: transform .3s;
}

.secondline {
    transform: translateX(0);
    transition: all .4s;
}

.thirdline {
    transform: translateY(0%) rotate(0deg);
    transform-origin: bottom;
    transition: transform .3s;
}

footer {
    background: #302B28;
    width: 100%;
    height: 5%;
    position: fixed;
    bottom: 0px;
    color: #FFDEAD;
    font-size: 1.5rem;
    text-align: center;
    border: none;
    font-family: Georgia;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 720px) {
    footer {
        width: 100%;
        height: 2%;
        position: absolute;
        bottom: 0px;
        font-size: medium;
        background: #302b28dc;
        
    }

}