:root{
	--white: #fff;
}

.nav{
	position: sticky;
	top: 0px;
	background-color: #363636;
	user-select: none;
	z-index: 999999;
}
.nav > menu{
	display: flex;
	align-items: center;
	font-size: 12pt;
	max-width: 1024px;
	margin: 0 auto;
	padding-inline-start: 0px;
	padding: 0 30px;
}
.nav > menu > span:nth-child(1){
	color: #fff;
	font-size: 24pt;
	padding: 10px 20px;
	width: 120px;
	height: 30px;
	background-image: url('../images/logo.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.nav > menu > span:nth-child(2){
	color: #fff;
	font-size: 16pt;
	padding: 0 0 0 20px;
}
.nav > menu > span:nth-child(2) > a{
	color: #fff;
	opacity: 0.3;
}
.nav > menu > span:nth-child(2) > a:hover{
	opacity: 1;
}
.nav > menu > span:nth-child(2) > i{
	padding: 2px;
}
.nav > menu > span:nth-child(2) > a > .fa-lg{
	width: 22px;
	height: 20px;
	background-image: url(../images/LG-white-100x100.png);
	background-size: cover;
}
.nav > menu > span:nth-child(3){
	margin-left: auto;
}
.nav > menu > span:nth-child(3) > ul{
	padding: 0px;
	margin: 0px;
	text-transform: uppercase;
}
.nav > menu > span:nth-child(3) > ul > a{
	text-decoration: none;
	color: inherit;
}
.nav > menu > span:nth-child(3) > ul > a > li{
	display: inline-block;
	padding: 20px;
	color: #bbb;
	cursor: pointer;
}
.nav > menu > span:nth-child(3) > ul > a > li:hover{
	color: #fff;
	background-color: #e31319;
}

.side-menu{
	display: none;
}
.hamb {
  cursor: pointer;
  float: right;
  padding: 30px 20px;
  display: none;
}

.hamb-line {
  position: relative;
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--white);
}

.hamb-line::before,
.hamb-line::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transition: all .1s ease-in;
}

.hamb-line::before {
  top: 8px;
}

.hamb-line::after {
  top: -8px;
}


@media screen and (max-width: 970px){
	.nav > menu > span:nth-child(2){
		display: none;
	}
}

@media screen and (max-width: 850px) {
  .hamb {
    display: block;
    margin-left: auto;
  }
  
  .nav > menu > span:nth-child(2), span:nth-child(3){
  	display: none;
  }
  
  .side-menu:checked + .nav > menu > .hamb{
  	margin-left: 0;
  	border: 1px solid grey;
  	border-radius: 50px;
  }
  
  .side-menu:checked + .nav > menu > .hamb .hamb-line {
    background: transparent;
  }

  .side-menu:checked + .nav > menu > .hamb .hamb-line::before {
    transform: rotate(45deg);
    top: 0;
  }

  .side-menu:checked + .nav > menu > .hamb .hamb-line::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  .side-menu:checked + .nav{
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #363636ed;
	backdrop-filter: blur(10px);
  }
  
  .side-menu:checked + .nav > menu{
	flex-direction: column;
	justify-content: center;
    padding-inline-start: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    font-size: 14pt;
  }
  
  .side-menu:checked + .nav > menu > span:nth-child(1){
	order: 1;
	width: 180px;
	height: 40px;
	padding: 15px 20px;
  }
  .side-menu:checked + .nav > menu > span:nth-child(2){
	order: 3;
	padding: 15px 0;
	font-size: 24pt;
	display: block;
  }
  .side-menu:checked + .nav > menu > span:nth-child(2) > a > .fa-lg{
  	width: 35px;
  	height: 35px;
  }
  .side-menu:checked + .nav > menu > span:nth-child(3){
	order: 2;
	margin-left: 0px;
	width: 100%;
	font-size: 16pt;
	display: block;
  }
  .side-menu:checked + .nav > menu > span:nth-child(3) > ul{
  	text-align: center;
  }
  .side-menu:checked + .nav > menu > span:nth-child(3) > ul > a > li{
  	display: block;
  }

}