@import url("https://fonts.googleapis.com/css?family=Bungee+Shade&display=swap")


/* bungee-shade-regular - latin */
@font-face {
  font-family: 'Bungee Shade';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/bungee-shade-v5-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Bungee Shade'), local('BungeeShade-Regular'),
       url('fonts/bungee-shade-v5-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/bungee-shade-v5-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/bungee-shade-v5-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/bungee-shade-v5-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/bungee-shade-v5-latin-regular.svg#BungeeShade') format('svg'); /* Legacy iOS */
}


body, html{
	font-size: 100%;
	font-family: "Work Sans", sans-serif;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1rem;
}

body,html{
	margin:0;
	padding:0;
}

h1
{
	color: #4bc0c8;
	font-size: 30px;
}


h2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: normal;
	width: 100%;
	font-family: "Bungee Shade", cursive;
	margin-bottom: .1em;
	
	font-size: 8vw;
	background: linear-gradient(
		90deg, 
		#4bc0c8 25%, 
		#feac5e 25%, 
		#feac5e 50%, 
		#4bc0c8 50%, 
		#4bc0c8 75%, 
		#feac5e 75%, 
		#feac5e);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 20px, 20px;
	background-position: 0 0;
	animation: stripes 1s linear infinite;
}	

@keyframes stripes {
	100% { 
		background-position: 20px 0, 20px 0, 20px 0;
	}
}

nav ul{
	list-style: none;
	padding:0;
	background: white;	
}

nav ul li a{
	color: black;
	text-decoration: none;
	padding: .8rem 1rem;
	display: block;
	line-height: 1;
}

nav ul li{
	border-bottom: 1px dotted white;
}

/*styling logo*/

nav div first-child{
	background:white;
}

nav div:first-child h1{
	line-height:0;
	padding: 0rem 0rem;
	text-align: left;
}

nav div:first-child img{
	padding-left: 1.5rem;
	background-color: white;
}

nav div:first-child h1, nav ul{
	margin:0;
}

/* Body Content */


.body-container{
	background-color:#ffed94;
	display: flex;
	align-items: Center;
	flex:1;
	flex-direction: column;
}

.body
{
	color: midnightblue;
	flex:1;
	
}

.name
{
	font-size: 100px;
}



.footer
{
	display:flex;
	flex-direction: column;
	justify-content: space-between;
	background: dimgrey;
	align-items: center;
}

.footer ul{
	display: flex;
	align-items: center;
	list-style: none;
	background:dimgrey;	
}

.footer ul li {
	display: flex;
	color: white;
	text-decoration: none;
	padding: .8rem 1rem;
	line-height: 1;
}




/*Styling for larger devices*/

@media only screen and (min-width: 20em){
	nav{
		display: flex;
		justify-content: space-between;
		background: white;
		align-items: center;
	}

	nav ul{
		display: flex;
		align-items: center;
		background:none;
	}
	nav div:first-child h1{
		padding: 0;
		margin-left:0 1rem;
	}

	nav div:first-child img{
		height: 40px;
	}
	nav ul li{
		border-bottom: none;
	}

	nav ul li a{
		padding:1.2rem 1rem;
	}

	nav ul li a:hover{
		color: aliceblue;
		transition: color .1s;
	}
}
