#profilna {
	height: auto;
	width: 15vh;
	border-radius: 50%;
}
h1 {
	font-size: 4em;
	flex-basis: 100%;
	font-weight: 900;
}
html {
	margin-left: 20%;
	margin-right: 10%;
	margin-bottom: 20%;
}

* {
	font-family: monospace;
	font-weight: 500;
	color: #1f1f1d;
	background-color: #eee;

	padding: 0;
	box-sizing: border-box;
}
header {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
header div {
	flex-basis: 100%;
	margin-top: 20%;
	display: flex;
}
nav {
	flex-basis: 50%;
}

a {
	text-decoration: none;
	font-size: 1.5em;
	line-height: 2%;
}
li {
	margin-bottom: 5%;
}
ul {
	list-style-type: none;
}
a:hover {
	border-radius: 6%;
	border: 2px solid #1f1f1d;
}

img {
	position: relative;
	left: 0;
	animation: slideIn 0.8s;
}

@keyframes slideIn {
	0% {
		left: -100%;
	}
	100% {
		left: 0;
	}
}

h1 {
	position: relative;
	right: 0;
	animation: slideInn 1s 0.5s backwards;
}

@keyframes slideInn {
	0% {
		right: -100%;
		opacity: 0;
	}
	100% {
		right: 0;
	}
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  li {
	position: relative;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.5s, transform 0.5s;
  }
  
  li:nth-child(1) {
	animation: appear 0.5s forwards;
	animation-delay: 1.4s;
  }
  
  li:nth-child(2) {
	animation: appear 0.5s forwards;
	animation-delay: 1.6s;
  }
  
  li:nth-child(3) {
	animation: appear 0.5s forwards;
	animation-delay: 1.8s;
  }
  
  li:nth-child(4) {
	animation: appear 0.5s forwards;
	animation-delay: 2s;
  }
  
  li:nth-child(5) {
	animation: appear 0.5s forwards;
	animation-delay: 2.2s;
  }
  
  @keyframes appear {
	0% {
	  opacity: 0;
	  transform: translateY(100%);
	}
	100% {
	  opacity: 1;
	  transform: translateY(0);
	}
  }

@media (max-width: 1010px) {
	nav {
		flex-basis: 100%;
	}
}

@media (max-width: 600px) {
	html {
		margin-left: 0;
		margin-right: 0;
	}
	nav {
		flex-basis: 96%;
	}
	li {
		padding-bottom: 20px;
	}
}
