/* ------------------  Nav Section ------------------ */

nav {
    background-color: #1E1C1C;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    height: 100px;
    width: 100%;
}

/* ----  Title ---- */
nav #logo {
    margin: 15px;
} 

nav h1 {
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
}
nav h3 {
    color: white;
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-weight: 400;
    margin: 0 0 5px 0;
    font-style: italic;
}

/* PC Nav */
#pc_nav {
    justify-self: end;
    margin: 0 40px 0 auto;
}

nav li {
    display: inline-block;
}
nav a {
    color: white;
    font-size: 18px;
    font-family: 'Poppins', sans-serif !important; 
}
nav li:hover {
    text-decoration: underline;  
}

/* Mobile Nav */
#menu_toggle {
	display: block;
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 1;
	user-select: none;
}
#menu_toggle input {
	display: block;
	width: 40px;
	height: 32px;
	position: absolute;
	top: -7px;
	left: -5px;
	cursor: pointer;
	opacity: 0;
	z-index: 2;
}
#menu_toggle span {
	display: block;
	width: 33px;
	height: 4px;
	margin-bottom: 5px;
	position: relative;
	background: white;
	border-radius: 3px;
	z-index: 1;
	transform-origin: 4px 0px;
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
	background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
	opacity 0.55s ease;
}
#menu_toggle span:first-child { transform-origin: 0% 0%; }
#menu_toggle span:nth-last-child(2) { transform-origin: 0% 100%; }
#menu_toggle input:checked~span {
	opacity: 1;
	transform: rotate(45deg) translate(-2px, -1px);
	background: white; /* cross */
}
#menu_toggle input:checked~span:nth-last-child(3) {
	opacity: 0;
	transform: rotate(0deg) scale(0.2, 0.2);
}
#menu_toggle input:checked~span:nth-last-child(2) {
	opacity: 1;
	transform: rotate(-45deg) translate(0, -1px);
}
#menu_toggle input:checked~ul {
	transform: scale(1.0, 1.0);
	opacity: 1;
}

#menu {
	position: absolute;
	width: 170px;
	margin: -100px 0 0 0;
	padding: 125px 0 10px 0;
	right: -40px;
	background: #1E1C1C;
	list-style-type: none;
	transform-origin: 0% 0%;
	transform: translate(100%, 0);
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
	overflow-x: hidden;
}
#menu li {
	padding: 8px 0;
	font-size: 22px;
    display: list-item;
}

nav a:link {
	font-family: arial;
	text-decoration: none;
	font-size: 18px;
	color: white;
}
a:visited {
	color: white;
}

footer a:link {
	font-family: arial;
	text-decoration: none;
	font-size: 18px;
	color: white;
}


/* ------------------ Media Queries ------------------ */

/* Small devices (phones) */
@media (max-width: 770px) {
    /* title & logo */
    h1 {font-size: 28px;}
    h3 {font-size: 11px;}
    #logo {height: 60px;} 

    /* set nav type */
	#pc_nav {display: none;}
	#menu_toggle {display: block;}
    li {margin-left: 18px;}
}

/* Medium devices (tablets, laptops) */
@media (min-width: 770px) { 
    /* title & logo */
    h1 {font-size: 40px;}
    h3 {font-size: 15px;}
    #logo {height: 80px;} 

    /* set nav type */
	#pc_nav {display: block;}
	#menu_toggle {display: none;}
    li {margin-left: 18px;}
}
 
/* Large devices (desktops) */
@media (min-width: 1400px) { 
    /* title & logo */
    h1 {font-size: 40px;}
    h3 {font-size: 15px;}
    #logo {height: 80px;} 

    /* set nav type */
	#pc_nav {display: block;}
	#menu_toggle {display: none;}
    li {margin-left: 30px;}
}