/* 
    Created on : 27 de jan. de 2022, 17:50:34
    Author     : Lima
*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Helvetica, Verdana, Arial;
}
/*CABEÇALHO*/
ul{
    margin: 0px;
    padding: 0px;
}
a{
    color: #006600;
    text-decoration: none;
    font-family: Times;
    font-weight: bold;
}
a:hover{
    background: rgba(0,0,0,0.05);
}
  /*  position: relative;
    background-color: #ddd;
    width: 90vw;
    height: 15vh;
    margin: 0 auto; */
#header{
    border-radius: 0 0 10px 10px;
    position: relative; /*relative*/
    box-sizing: border-box;
    height: 15.5vh; /*80px*/
    width: 90vw;
    padding: 1rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;/*#009966;*/
    /*background-image: url("img/casinhaSerra.jpeg");*/
    /*margin-left: 5vw;*/
}
#header #spmenu{
    /*background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.8)), url(img/future-g67bf3b129_1280.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;*/
    background-color: initial;
    width: auto;
    height: 2.7vh;
    position: fixed;
    left: 28vw;
    top: 1.5vh;
    z-index: 999;
}
#spmenu label{
    display: inline;
    font-size: 15px;
    font-weight: bold;
    color: #006600;
    padding: 10px;
    border-radius: 0px 0px 5px 5px;
    opacity: .6;
    transition: all .5s ease;
}
#spmenu label:hover{
    background-color: green;
    font-size: 16px;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 10px black;
    opacity: 1;
}

#logo{
    position: absolute;
    top: 2vh;
    left: 0vw;
    width: 300px;   /*250px;*/
    height: 80px;   /*70px;*/
}

#menu{
    display: block;
    position: absolute;
    list-style: none;
    width: 380px;
    top: 10.5vh;
    right: 0px;
    background: #d8d8c6;
    transition: 0.6s;
    z-index: 1000;
    height: 0px;
    visibility: hidden;
    overflow-y: hidden;
    
}
#menu a{
    display: block;
    /*padding: 0.5rem;*/
    padding: 1rem 0;
    margin: 0 1rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    transition: all .5s ease;
}
#menu a:hover{
    background-color: green;
    color: white;
    box-shadow: 0 0 10px black;
    padding: 20px;
}
#btn-mobile{
    display: flex;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
    border-radius: 5px;
}
#btn-mobile:hover{
    background-color: green;
    color: white;
}
#nav.active #menu{
    height: calc(100vh - 80px);
    visibility: visible;
    overflow-y: auto;
    margin-right: 5px;
}


#hamburger{
    border-top: 2px solid;
    width: 20px;
}
#hamburger::after,
#hamburger::before{
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
}
#nav.active #hamburger{
    border-top-color: transparent;
}
#nav.active #hamburger::before{
    transform: rotate(135deg);
}
#nav.active #hamburger::after{
    transform: rotate(-135deg);
    top: -7px;
}

.img-icons-menu-home{
    vertical-align: middle;
    margin-right: 15px;
    height: 48px;
    width: 48px;
    border-radius: 40%;
    padding: 4px;
    opacity: .4;
}

@media (max-width: 1000px){
    #header #spmenu{
        left: 23vw;
    }
}
@media (max-width: 900px){
    #header{
        min-height: 90px;
    }
    #header #spmenu{
        left: 20vw;
    }
    #menu{
        top: 100px;
    }
    #nav.active #menu{
        height: calc(100vh - 100px);
    }
}
@media (max-width: 800px){
    #header #spmenu{
        left: 15vw;
    }
}
@media (max-width: 750px){
    #header #spmenu label{
        left: 5vw;
    }
}
@media (max-width: 680px){
    #header #spmenu{
        left: 4vw;
    }
}
@media (max-width: 560px){
    #spmenu label{
        font-size: 14px;
        padding: 7px;
    }
}

@media (max-width: 500px){
    #header #spmenu{
        top: 1vh;
        left: .01vw;
    }
}
