body{
    padding-top: 129px;
}
.header{
    height: 129px;
    width: 100%;
    display: flex;
    align-items: center;
    background: rgb(255 255 255 / 1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    border-bottom: 1px solid #f7f7f7;
    
}
.top-hide{
    top:-130px;
    transition:  0.3s ease;
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.top-show{
    top:0;
    transition:  0.3s ease;
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}
.header-mobile{
    display: none;
}
.header .grid{
    height: 100%;
}
.navDesktop{
    width: 100%;
    display: flex;
    height: 100%;
}
.navDesktop .logo{
    display: flex;
    align-items: center;
    width: 16vw;
    height: auto;
}
.navDesktop .logo{
    padding-bottom: 10px;
}
.navDesktop .social{
    width: 210px;
    display: flex;
    align-items: center;
    height: 100%;
}
.navDesktop .social img{ 
    max-width: 1.5vw;
    max-height: auto;
}
.navDesktop .social a{
    margin: 0 5px;
    filter: invert(0); 
}
.navDesktop .social a:hover{
    filter: invert(100%);
}
.navDesktop .menu-topo-container{
    width: 100%;
    margin: 0 32px;
    display: flex;
    align-items: center;
}

.navDesktop .menu-cabecalho-container{
    right: 0;
}
.navDesktop .menu {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    height: 129px;
    align-items: center;
}
.navDesktop .menu li,
.navDesktop .menu li:last-child{
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    
}
.navDesktop .menu > li:last-child a{
    height: 55px;
    border-radius: 32px;
    padding: 0 22px;
    border: 2px solid var(--darkpurple);
    color:  var(--darkpurple);
    display: flex;
    align-items: center;
    transition:  0.3s ease;
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}
.navDesktop .menu > li:last-child a:hover{
    border: 2px solid var(--darkpurple);
    color:  var(--white);
    background: var(--darkpurple);
}
.navDesktop .menu li a{
    color: var(--darkpurple);
    font-weight: 400;
    font-size: 1.2vw;
    padding: 0px 2px;
    margin: 0 8px;
    position: relative;
    text-align: center;
    font-weight: 500;
}

.navDesktop .menu li a::before{
    position: absolute;
    content: "";
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--darkpurple);
    transition:  0.3s ease;
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}
.navDesktop .menu li a:hover::before{
    width: 100%;
}
.navDesktop .menu li a:hover{
    
}
.navDesktop .sub-menu {
    position: absolute;
    border-radius: 12px;
    background-color: var(--lightgrey2);
    top: -700px;
    left: -45px;
    padding: 45px;
    width: 370px;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0px -10px 16px rgb(0 0 0 / 3%);
}

.navDesktop .sub-menu li:first-child {
    position: relative;
}
.navDesktop .menu > li:last-child a:before{
    display: none;
}
.navDesktop .sub-menu li:first-child::before {
    position: absolute;
    top: -62px;
    left: 35px;
    content: '';
    width: 70px;
    height: 30px;
    background-size: 100%;
}
.navDesktop .menu li:hover .sub-menu{
    opacity: 1.0;
    top: 125px;
    transition: var(--transition);
    z-index: 99;
}
.navDesktop .sub-menu li{
    border-bottom: 1px solid var(--lightgrey);
}
.navDesktop .sub-menu li a{
    font-size: 16px;
    font-weight: 400;
    line-height: 18.4px;
    padding: 10px 0;
    color: var(--grey);
}
@media (max-width: 990px) {
    body{
        padding-top: 100px;
    }
    .header{
        display: none;
    }
    .header-mobile{
        display: block;
        height: 100px;
        background: var(--darkpurple);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        
    }
        
    .header-mobile .social{
        width: 80%;
        display: flex;
        align-items: center;
        height: auto;
        margin: auto;
        margin-top: 20px;
    }
    .header-mobile .social img{ 
        max-width: 50px;
        max-height: 50px;
        border-radius: 100%;
        border: 2px solid #FFF;
    }
    .header-mobile .social a{
        margin: 0 5px;
        display: block;
    }
    .header-mobile .hide{
        right: -120px!important;
    }
    .mobile-container {
    max-width: 480px;
    margin: auto;
    background-color: #555;
    height: 500px;
    color: white;
    border-radius: 10px;
  }
  .topnav {
    position: relative;
    height: 100px;
    width: 100%;
    margin-right: 20px;
  }
  .top-hide{
    top:-100px;
    transition:  0.3s ease;
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
  }
  .top-show{
    top:-0;
    transition:  0.3s ease;
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
  }
  .topnav .fa,
  .topnav .fas{
    margin: auto;
  }
  
  .topnav a {
    color: white;
    width: 120px;
    text-decoration: none;
    font-size: 40px;
    display: block;
  }
  
  .topnav a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 100px;
    display: flex;
    align-items: center;
    padding:  0 40px;
  }
  .topnav li a {
    width: 100%;
    padding: 20px;
  }
  .topnav li a:hover {
    background-color: #ddd;
    color: black;
  }
  .topnav #myLinks {
    display: block;
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100vh;
    text-align: center;
    margin-top: 100px;
    display: none;
    background: rgb(0 0 0 / 0.9);
    padding-top: 40px;
}
}

