/*----------------------------------------------*/
/* NAVIGATION STYLES */
/* (+ Also uses responsive-nav.css, but don't mess with that file. ) */
/*----------------------------------------------*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

header h1 { 
	margin: 0;
}
h1.logo {
  float: left;
}

.nav-collapse,
.nav-collapse * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


.nav-collapse li {
  width: 25%;
  height: 10vh;
  padding: 0;
  float: left;
transition: all ease 0.3s;
}

.nav-collapse li.active {
  background-color: #d79f1c;
}

.nav-collapse li.active a {
  color: white;
}

.nav-collapse li a:hover {
  background-color: #f7bf3c;
  cursor: pointer;
	transition: all ease 0.3s;
}

.nav-collapse a {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 40px;
  letter-spacing: 2px;
  transition-property: background-color;
  transition-property: color;
  transition-duration: 0.4s;
  transition-timing-function: ease;
}


/* nav desktop */
@media only screen and (min-width: 768px) {
	header ul a {
		background-color: #FFE497;
		padding: 20px;
		text-decoration: none;
		border-radius: 10px;
		margin: 0 1vw;
		width: 20vw;
		text-align: center;
		font-weight: 700;
		color: #302d8a;
		border-bottom: 5px solid #E88A66;
		height: 5vh;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	header ul {
		display: flex;
		align-items: center;
		height: 5vh;
	}
}


/* mobile screen */
@media only screen and (max-width: 768px) {

  h1.logo {
    float: left;
    display: block;
  }

  .nav-collapse {
    float: left;  
  }
	
.nav-collapse a {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 40px;
  letter-spacing: 2px;
  transition-property: background-color;
  transition-property: color;
  transition-duration: 0.4s;
  transition-timing-function: ease;
}

  .nav-collapse,
  .nav-collapse ul {
    float: left; 
  }
  
  .nav-collapse li {
    /* float: left; */
    width: 100%;
    display: inline-block;
  }
  
  .nav-collapse,
  .nav-collapse ul {
    width: 100%;
    /*height: calc(100vh - 60px);*/
    background-color: #000;
  }

  .nav-collapse li {
    padding: 10px 10px;
    background-color: #2f2e60;
    text-align: right;
  }
  .nav-collapse li:last-child {
    border-bottom: none;
  }
  .nav-collapse li a {
    padding-left: 10px;
    font-size: 1rem;
  }
	
	header ul a {
	margin: 0 1vw;
	width: 10vw;
	text-align: center;
	font-weight: 700;
	color: #FFE497;
	height: 2vh;
}
	
	.nav-collapse li a:hover {
  background: none;
		color: #E88A66;
	}
}



/*----------------------------------------------*/
/* NAV TOGGLE STYLES (the button)*/
/*----------------------------------------------*/


.nav-toggle {
  /*position: fixed;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  text-indent: -999px;
  position: relative;
  overflow: hidden;
  width: 70px;
  height: 60px;
  float: right;
  /*background-color: #555;*/
  background-color: transparent;

  font-family: "ff5";
  font-weight: 900;
  color: #888;
  transition: all 0.8s ease;

}

.nav-toggle:hover {
  color: #fff;

}

/*unicode*/
/* https://fontawesome.com/v5/cheatsheet */
/* bars f0c9 */

.nav-toggle:before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;

  /*color: #999;*/
  font-weight: normal;
  font-size: 28px;
  text-transform: none;
  position: absolute;
  content: "\F479"; /* nav burger icon */

  text-indent: 0;
  text-align: center;
  line-height: 60px;
  speak: none;
  width: 100%;
  top: 0;
  left: 0;
}





