* {
  box-sizing: border-box;
}

body {
  background-color: #1f252f;
  color: #1f252f;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin: 0;
}

header {
  background-color: #1f252f;
  height: 50px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  border-bottom: 4px solid #fa9500;
}

h1 {
  color: #e5e6e9;
  font-size: min(5vw, 1.2em);
  padding: 0.4rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}

nav {
  width: 50%;
  max-width: 400px;
  height: 50px;
}

nav > ul{
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  padding-inline-start: 0;
  margin-block: 0;
  height: 100%;
}

nav > ul > li {
  color: #e5e6e9;
  text-transform: uppercase;
  display: block;
  margin: 0 0.2rem;
  padding: 0.2rem;
}

nav > ul > li:hover {
  background-color: #f6ae2d;
  color: #1f252f;
  cursor: pointer;
  border-radius: 3px;
}

li > a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: 50px;
  display: flex;
  flex-direction: column;
}

section.home {
  background-color: #e5e6e9;
}

article {
  width: 80%;
  margin: 0 auto;
  max-width: 800px;
}

article.home {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 50px 0;
}

div.home {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

div.home > h2 {
  font-size: 72px;
  padding-top: 0;
  border: none;
}

p {
  font-size: 20px;
}

img {
  width: 100%;
  max-width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  object-position: 0 -8px;
  order: -1;
  box-shadow: 0 0 3px;
}

h2 {
  padding-top: 60px;
  font-size: 36px;
  border-bottom: 2px solid #f6ae2d;
}

section.about {
  background-color: #748b75;
  color: #e5e6e9;
}

.resume {
  display: block;
  margin: 40px auto;
  background-color: #fa9500;
  color: #1f252f;
  width: 30%;
  padding: 12px;
  font-size: 24px;
  text-align: center;
  border: 2px solid #1f252f;
  border-radius: 3px;
  text-decoration: none;
}

.resume:hover {
  background-color: #f6ae2d;
}

section.contact {
  background-color: #1f252f;
  color: #e5e6e9;
  margin-bottom: 40px;
}

ul.contact {
  padding-left: 0;
  margin-left: 0;
}

.contact > li {
  font-size: 24px;
  list-style: none;
  padding-top: 5px;
}

.contact > li > a:hover {
  color: #fa9500;
}

span:hover {
  color: #fa9500;
}