html {
  box-sizing: border-box;
  background:#efefef;
  font-family: 'Montserrat', 'helvetica neue';
  font-size: 20px;
  font-weight: 200;
}
body {
  margin: 0;
}

header {
  color: white;
  text-shadow: 3px 4px 0 rgba(0,0,0,0.2);
  text-align: center;
  background:linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) ),url(img/big_sky.jpg) bottom center no-repeat;
  background-size:cover;
  align-items:center;
  justify-content: center;
  padding: 30px;
}

h2.welcome{
  font-family: 'Dancing Script', cursive;
}

h1 {
  font-size: 3em;
}

nav {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  background:black;
  top:0;
  width: 100%;
  transition:all 0.5s;
  position: relative;
  z-index: 1;
}

nav a:hover {
  color: #CAEBF2;
  transform: scale(1.1)
}

.fixed-nav nav {
  position: fixed;
}

nav ul {
  margin: 0;
  padding:0;
  list-style: none;
  display:flex;
}

nav ul li {
  flex:1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

li.logo {
  max-width:0;
  overflow: hidden;
  background: white;
  transition: all 0.5s;
  font-weight: 600;
  font-size: 30px;
}

li.logo a {
  color:black;
  padding: 0;
}

.fixed-nav li.logo {
  max-width:140px;
}

a {
  text-decoration: none;
  display: inline-block;
}

nav a {
  padding:20px;
  color:white;
  transition:all 0.3s;
  text-transform: uppercase;
}

h2#intro {
  padding-right: 30%;
}

div#portfolio {
  display: flex;
}

.section {
  margin: 15px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h2.section-title {
  font-size: 2em;
  color: #999;
  text-align: center;
  padding: 20px;
  margin: 0;
}

.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding:15px;
  position: relative;
}
.portfolio-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /* Adjust the position of the border */
  transform: translateX(-50%);
  width: 80%; /* Adjust the width of the border */
  height: 3px; /* Adjust the thickness of the border */
  background-color: #efefef; /* Color of the border */
}

.intro {
  display: flex;
  max-width: fit-content;
}

.blurb {
  flex: 5;
}

div.job-header {
  display: flex;
}

div.job-details {
  flex: 4;
}

div.image {
  flex: 1;
  max-width: 230px;
}

.image img {
  width: 80%;
  border: 2px solid #eee;
  border-radius: 50%;
  margin: 10px auto;
}

p, h3, h4 {
  margin: 10px auto;
}

a.work, a.work:visited {
  color: #555555;
  font-weight: bold;
  margin-top: 10px;
  margin-right: 40px;
  font-size: 22px;
}

a.work:hover {
  filter: brightness(50%);
}

a.source-code, a.source-code:visited {
  color: #555555;
  font-weight: bold;
  margin-top: 10px;
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h4.position {
  color: #FF3B3F;
}

ul.bullet-points li {
  margin-bottom: 5px;
}

footer {
  background-color: white;
  color: #999;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

@media screen and (max-width: 800px) {
  html {
    font-size: 16px;
    font-weight: 150;
  }

  header {
    text-shadow: 1px 2px 0 rgba(0,0,0,0.2);
  }

  nav ul li.logo {
    flex: 2;
  }

  nav a {
    padding: 10px;
  }

  h1 {
  font-size: 2em;
  }

  h2#intro {
    padding-right: 0;
    font-size: 1em;
  }
  div#portfolio {
    display: block;
  }
}
