:root{
	--lightred: #d64848;
	--red: #a53e3e;
	--dark: #262626;
	--lightdark: var(--lightdark);
	--black: #000;
  --white: #fff;
	--whitegray: #eeeeee;
  --whitefordark: #cbcbcb;
  --darkgrey: #5e5e5e;
}

.nav-menu{
	z-index: 1000;
	align-items: center;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	background: none;
	background-color: rgba(242, 242, 242, 20);
	text-decoration: none;
	list-style: none;

	display: flex;
	justify-content: space-around;
	align-items: center;
	text-transform: uppercase;
	font-size: 1.6rem;
	min-height: 8vh;

	position: fixed;
	transition: .5s
}

.brand{
	margin: 0;
	font-size: 3rem;
	font-weight: 300;
	transform: translateX(-100rem);
	animation: slideIn .5s forwards;
	color: var(--dark);
}

.brand:hover{
	color: var(--dark);
	transition: .5s;
	text-decoration: none;
}

.brand span{
	color: #a53e3e;
}

.nav-menu ul{
	display: flex;
	justify-content: space-around;
	width: 30%;
	text-decoration: none;
	list-style: none;
}

.nav-menu ul li{
	display: inline-block;
	list-style: none;
	transform: translateX(100rem);
	animation: slideIn .5s forwards;
	text-decoration: none;
	transition: .5s;
}

.nav-menu ul li.active a{
	color: #a53e3e;
}

.nav-menu ul li :hover{
	text-decoration: none;
}

.nav-menu ul li:nth-child(1){
	animation-delay: : 0s;
}

.nav-menu ul li:nth-child(2){
	animation-delay: .3s;
}

.nav-menu ul li:nth-child(3){
	animation-delay: .6s;
}

.nav-menu ul li:nth-child(4){
	animation-delay: .9s;
}

.nav-menu ul li:nth-child(5){
	animation-delay: 1.2s;
}

.nav-menu ul li a{
	padding: 1rem 0;
	margin: 0 3rem;
	position: relative;
	letter-spacing: 2px;
	color: #000000;
}

.nav-menu ul li a:last-child{
	margin-right: 0;
}

.nav-menu ul li a::before,
.nav-menu ul li a::after{
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: #a53e3e;
	left: 0;
	transform: scaleX(0);
	transition: all .5s;
}

.nav-menu ul li a::before{
	top: 0;
	transform-origin: left;
}

.nav-menu ul li a::after{
	bottom: 0;
	transform-origin: right;
}

.nav-menu ul li a:hover::before,
.nav-menu ul li a:hover::after{
	transform: scaleX(1);
}

.fa-bars{
	color: var(--lightdark);
	font-size:30px;
}

/* ====== DARK MOD ITEM ====== */

.darkmodeItem.darkActive{
	background-color: var(--dark);
	color: #ededed;
}

.darkmodeItem{
	border-radius: 50%;
	text-shadow: none;
	text-align: center;
	background-color: #ededed;
	transition: .5s;
	float: left;
	cursor: pointer;
	color: #ce4040;
	transform: translateX(-100rem);
	animation: slideIn .5s forwards;
}

.darkmodeItem:hover{
	background-color: var(--dark);
	transition: .25s;
}

/* ====== SLIDE MENU ====== */
/* ====== SLIDE MENU ====== */
/* ====== SLIDE MENU ====== */
/* ====== SLIDE MENU ====== */

.side-nav{
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  background-color: rgb(40, 40, 40);
  opacity: 1;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.8s;
	list-style: none;
	display: block;
	text-align: center;
}

.side-nav a{
  padding: 10px 10px 10px 30px;
  text-decoration: none;
	list-style: none;
  font-size: 22px;
  color: #ccc;
  display: block;
  transition: 0.4s;
}

.side-nav ul li {
	list-style: none;
}

.side-nav ul li.active a{
	color: #a53e3e;
}

.side-nav a:hover {
  color: #fff;
}

.side-nav .btn-close{
  position:absolute;
  top: 0;
  right: 22px;
  font-size: 36px;
  margin-left: 50px;
}

.brand2{
	margin-bottom: 50px;
	font-size: 60px !important;
	font-weight: 300;
	transform: translateX(-100rem);
	animation: slideIn .5s forwards;
	color: var(--dark);
}

.brand2:hover{
	color: var(--dark);
	transition: .5s;
	text-decoration: none;
}

.brand2 span{
	color: #a53e3e;
}

.btn-close:hover{
	color: #a53e3e;
}

@keyframes slideIn {
	from{

	}
	to{
		transform: translateX(0);
	}
}

@keyframes fadeAndScale {
	from {
		opacity: 0;
		transform: scale3d(.75, .75, 1)
	}
	to {
		opacity: 1;
		transform: scale3d(1, 1, 1)
	}
}


@media screen and (max-width: 1569px) {

	.nav-menu ul{
		display: none;
	}

}

@media (min-width:1570px) {
  .open-slide{display:none}
	.brand{ margin-left: -400px; }
}
