/* Global Styles */
html,
body {
  box-sizing: border-box;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  background-color: #EDF1D6;
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  padding: 70px 0;
  margin: 0 auto;
  width: 80%;
}

/* Header */
header {
  background: #2E4F4F;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0 2%;
  margin: 0;
}

.flex-bar {
  display: flex;
  align-items: flex-end;
  margin: 10px;
}

nav {
  width: 100%;
  margin: 0;
  padding: 0;
}

#logo {
  text-decoration: none;
  color: white;
  font-size: 1.25rem;
  display: inline-block;
}

#menu-list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: clip;
  height: 0px;
  transition: height 1s;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.nav-link {
  display: block;
  max-width: 100%;
  text-decoration: none;
  color: #EDF1D6;
  padding: 5px;
}

.nav-link:link {
  color: #EDF1D6;
}

.nav-link:hover {
  background-color: #4c8585;
  transition: background-color 0.8s;
}

#menu-button {
  background-color: #2E4F4F;
  border: solid 1px #EDF1D6;
  border-radius: 5px;
  color: #EDF1D6;
  cursor: pointer;
  font-size: 1.25rem;
  display: inline-block;
  margin-left: auto;
  margin-right: 5%;
}

#menu-list.active {
  height: 180px;
  transition: height 0.8s;
}

/* Hero */
#hero {
  background-color: #24414c;
  min-height: 600px;
  max-height: 1200px;
  width: 100%;
}

#hero h1,
#hero h2 {
  color: #EDF1D6;
  text-align: center;
}

#hero h2 {
  font-weight: 500;
}

#hero-link {
  background-color: #1f918e;
  color: #EDF1D6;
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  text-align: center;
  max-width: 200px;
  margin: 0 auto;
  border-radius: 5px;
}

/* About */
#about-image {
  height: auto;
  max-width: 200px;
  border-radius: 100%;
}

/* Education */

/* Experience */

.experience-item span {
  font-weight: bold;
}

.experience-item ul {
  padding: 0 20px;
}

.experience-item {
  margin-bottom: 40px;
}

li.experience-item-detail {
  margin: 1rem 0;
}

/* Contact */


/* Footer */
footer>p {
  text-align: center;
}

/* For screens larger than mobile */
@media (min-width: 800px) {
  .container {
    max-width: 100%;
  }

  .experience-item ul {
    padding: 0 40px;
  }
}

/* For accessibility */
@media (prefers-reduced-motion) {

  html,
  body {
    scroll-behavior: auto;
  }
}