html {
  scroll-behavior: smooth;
}
body {
  background-color: #424547;
  color: white;
  align-content: center;
  font-family: "Roboto Slab", serif;
}
a,
a:visited {
  color: inherit;
}
h4 {
  font-family: "Raleway", sans-serif;
}

@keyframes header-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes header-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.intro {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.title {
  display: flex;
  align-items: center;
  flex-flow: column;
  font-family: "Raleway", sans-serif;
  animation-name: header-fade-in;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  opacity: 0;
}
.title > h1 {
  margin-bottom: 5px;
  font-size: 3em;
}
@media (max-width: 400px) {
  .title > h1 {
    font-size: 2.7em;
  }
}
@media (max-width: 368px) {
  .title > h1 {
    font-size: 2.3em;
  }
}
.title > h2 {
  font-size: 1.3em;
}
nav > ul {
  font-family: "Raleway", sans-serif;
  list-style: none;
  display: flex;
  padding-inline-start: 0;
}
.intro-links {
  opacity: 0;
  animation-name: header-fade-in;
  animation-duration: 4s;
  animation-delay: 2s;
  animation-fill-mode: forwards;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #6e7276;
  width: 100%;
  display: none;
  color: white;
  justify-content: center;
}
.navbar-fade-in {
  animation-name: header-fade-in;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  opacity: 0;
}
.navbar-fade-out {
  animation-name: header-fade-out;
  animation-duration: 2.5s;
  animation-fill-mode: forwards;
  opacity: 1;
}
.navbar li:not(:last-child)::after {
  content: "\00a0|\00a0";
  display: inline-block;
  margin-left: 30px;
  margin-right: 30px;
}

main > section {
  min-height: 100vh;
}
.anchor {
  display: block;
  position: relative;
  top: -150px;
  visibility: hidden;
}
main > section > h3 {
  text-align: center;
  font-size: 2em;
  font-family: "Montserrat", sans-serif;
}

.aboutSection {
  margin-bottom: 50px;
}

.work,
.tech {
  margin-top: 10px;
}
.work > main,
.tech > main {
  display: flex;
  justify-content: center;
}
.work > main > ul,
.tech > main > ul {
  display: grid;
  grid-column-gap: 50px;
  padding-left: 0;
}
@media (min-width: 703px) {
  .work > main > ul {
    grid-template-columns: auto auto;
  }
  .tech > main > ul {
    grid-template-columns: auto auto auto;
  }
}
@media (max-width: 702px) {
  .work > main > ul,
  .tech > main > ul {
    grid-template-columns: auto;
    row-gap: 20px;
  }
}
.work > main > ul > li,
.tech > main > ul > li {
  list-style-type: none;
  max-width: 600px;
}
.widget {
  min-width: 200px;
}
.widget > header {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: center;
}
.widget > main {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}
.workHistory > header {
  background-color: #f7c59f;
  color: black;
}
.workHistory > main {
  background-color: #e9e3e6;
  color: black;
  min-height: 220px;
}
.techList > main {
  background-color: #e9e3e6;
  color: black;
  min-height: 175px;
}
.techList > header {
  background-color: #93b7be;
  color: black;
}
.workHistory > main li,
.techList > main li {
  margin-bottom: 10px;
}
.techList > main {
  padding-right: 15px;
}
h4,
.education > main {
  text-align: center;
}
@media (max-width: 775px) {
  .work > main > ul {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

.university {
  font-style: italic;
  font-weight: bold;
}

.project {
  margin-bottom: 100px;
  margin-top: 50px;
  max-width: 700px;
}
.project > main {
  line-height: 1.4;
}
.project > header > h4 {
  text-align: inherit;
  font-size: 1.5em;
  margin-bottom: 5px;
}
.projectList {
  display: flex;
  list-style-type: none;
  padding-left: 50px;
  flex-direction: column;
}

.contact > main {
  display: flex;
  justify-content: center;
}
.contactList {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contactList > li {
  margin-bottom: 10px;
}
