*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.main-wrapper{
	float:left;
	width:100%;
}
.main-wrapper img{
    width: 100%;
    display: block;
}
.main-wrapper a{
    color: #000;
    text-decoration: none;
}
.main-wrapper ul li{
    list-style-type: none;
}

.navbar{
	background-color:#fafafa;
    padding: 0 1rem;
	position: relative;
	float:left;
    width: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.brand-and-icon{
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}
.navbar-brand{
    font-size: 1.8rem;
    letter-spacing: 3px;
    font-weight: 700;
	float:left;
}
.navbar-toggler{
    display: block;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.4s ease;
    /* border: 1px solid #CCC;
    border-radius: 4px; */
}
.navbar-toggler:hover{
    opacity: 0.9;
}
.navbar-collapse{
    overflow-y: scroll;
    display: none;
}
.navbar-nav > li > a{
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    padding: 0.6rem 0;
    margin: 0.2rem 0;
    border-bottom: 1px solid #ddd;
    border-radius: 1px;
    position: relative;
    transition: all 0.4s ease;
}
.drop-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.navbar-nav > li > a:hover{
    opacity: 0.7;
}
.sub-menu h4{
    text-transform: capitalize;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.sub-menu ul li{
    text-transform: capitalize;
    padding: 0.2rem 0;
    margin: 0.2rem 0;
    font-size: 0.95rem;
}
.sub-menu ul li a{
    opacity: 0.8;
    transition: all 0.5s ease;
}
.sub-menu ul li a:hover{
    padding-left: 14px;
    opacity: 0.9;
}
.sub-menu{
    display: none;
}

.sub-menu-item{
    padding-left: 1.2rem;
}

.sub-menu-item ul li a{
	width:100%;
	display:block;
	padding-top:5px;
	padding-bottom:5px;

}

.sub-menu-item:nth-child(3){
    background: #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.sub-menu-item:nth-child(3) h2{
    text-transform: capitalize;
    margin: 1.5rem 0;
}
.sub-menu-item:nth-child(3) .btn{
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    background: #000;
    color: #fff;
    transition: all 0.5s ease;
}
.sub-menu-item:nth-child(3) .btn:hover{
	background-color:#0090ff;
    color: #FFFFFF;
}
.sub-menu-item:nth-child(4){
    width: 50%;
    margin: 0 auto;
    padding: 2rem 0;
}

/* header */
.header{
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.header h2{
    margin: 1rem;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}
.header p{
    margin: 1rem auto;
    color: #fff;
    width: 60%;
    opacity: 0.8;
    font-weight: 300;
    font-size: 1.2rem;
    text-align: center;
}
.header button{
    margin: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    transition: all 0.5s ease;
    cursor: pointer;
}
.header button:hover{
    background: #fff;
    color: #000;
}

/* Media Queries */
/*Desktop*/
@media screen and (min-width: 992px){
	
	.main-wrapper{
	float:left;
	width: 100%; /* alterado */
	border:none;
	}
	
    .navbar{
		float:left;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #ddd;
		position: relative;
		z-index:1;
		background-color:#FFF; /* cor de fundo*/
		border:none;
    }
    .navbar-toggler{
        display: none;
    }
    .brand-and-icon{
        /* flex: 0 0 190px; */
        border-bottom: none;
        padding: 0;
		margin-left:4%;
		display:block; /* alterado */
    }
    .navbar-collapse{
        display: block !important;
        overflow-y: hidden;
        flex: 1 0 auto;
    }
    .navbar-nav{
        display: flex;
        align-items: center;
        justify-content: center;
		float: right; /* alterado */
    }
    .navbar-nav > li > a{
        border-bottom: none;
        margin: 0 0.4rem;
		padding: 2.4rem 1.8rem 2.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .sub-menu{
        position: absolute;
        left: 0;
        width: 100%;
        top: 100%;
		z-index:-20 !important;
        background: #f8f8f8;
    }
	.sub-menu .sub-menu-item{
	padding-top :20px;	
	padding-bottom:20px;
	}
    .navbar-nav > li:hover .sub-menu{
        display: grid!important;
        grid-template-columns: repeat(4, 1fr);
        padding: 0 5rem;
    }
    .navbar-nav > li{
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.5s ease;
    }
    .navbar-nav > li:hover{
        border-bottom-color: #0090ff;
    }
    .sub-menu-item{
        padding-left: 0;
    }
    .sub-menu-item:nth-child(3){
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* header */
    .header{
        height: calc(100vh - 75px);
    }
    .header h2{
        font-size: 6rem;
    }
    .header p{
        width: 40%;
    }

	
	/* area na direita do menu*/
	.topRightFull{ display:none; }
	.topRight {
	float: right;
	margin-right: 4%;
	}
	.topRight a {
	width: 175px;
	margin-right:25px;
	font-size:140%;
	color: #0091ff;
	}
	
	.topRight a:last-child {margin-right:0px; }
	.topRight a img {width:27px; height:27px; display:inline-block; vertical-align:middle; }
	.topRight a div {display:inline-block; }
	.topRight a div span{display:inline-block; 	font-size:90%;}
	
}
/*Mobile - Celulares*/

@media screen and (max-width: 1307px){
	.topRight{ display:none;}
	.topRightFull{display:block; float:left; width:100%; text-align:center; margin-top:12px; margin-bottom:10px; }
	
	.main-wrapper img{
    width: auto; float:none; display:inline-block; }
	/* header */
    .header{
        height: calc(100vh - 75px);
    }
    .header h2{
		display: block;
        font-size: 6rem;
    }
    .header p{
        width: 40%;
    }

	
	/* area na direita do menu*/

	.topRightFull a {
	width: 175px;

	margin-right:25px;
	font-size:140%;
	color: #0091ff;
	}
	
	.topRightFull a:last-child {margin-right:0px; }
	.topRightFull a img {width:27px; height:27px; display:inline-block; vertical-align:middle; }
	.topRightFull a div {display:inline-block; }
	.topRightFull a div span{display:inline-block; 	font-size:90%;}

}