html {
  scroll-behavior: smooth;

}

body {
  font-family: "Roboto Mono", monospace;
  margin-left: 0;
  margin-right: 0;
}

.buttons {
  top: 0;
  right: 0;
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

a button {
  cursor: pointer;
  height: 50px;
  border-radius: 5%;
  color: black;
  background-color: darkgray;
  font-size: 16px;
  font-family: "Roboto Mono", monospace;
}

li {
  font-size: 1.25rem;
}

p {
  font-size: 1.5rem;
}

#pic img {
  width: 15em;
  height: auto;
  margin-right: 3em;
  border-radius: 50%;
  border-color: black;
  border: solid;
}



.header {
  padding-top: 10%;
  align-items: center;
  height: 100vh;
}

.header-holder {
  position: fixed;
  top: 0;
  margin-top: 0%;
  width: 100%;
  height: 60px;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
}


.header .intro-wrapper {
  display: flex;
  flex-direction: column;
}

.header .intro {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-left: 15%;
  padding-right: 15%;
  margin-bottom: 2%;
}



/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0px;
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-left: 0%;
  margin-top: 3px;
  margin-right: 0%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky+.main {
  padding-top: 102px;
}

#name {
  font-size: 2em;
}

.intro #pic {
  width: 50%;
}

.intro .text {
  width: 50%;
}

.intro .text #details p {
  font-size: 18px;
}

.icons {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 2%;
  align-items: center;
}

.icons img {
  height: 40px;
  width: 40px;
  cursor: pointer
}

.email {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input .email {
  display: hidden;
}

.main {
  margin-left: 10%;
  margin-right: 10%;
}

.main .contents {
  display: flex;
  flex-direction: column;
}

.main .contents {
  height: 100%;
}

.main .contents .buttons {
  padding-bottom: 10px;
  height: 100%;
  width: 100%;
  bottom: 20px;
  display: flex;
  justify-content: space-evenly;
}

.section {
  display: flex;
  text-align: left;
  flex-direction: column;
  height: 100vh;
  align-items: flex-start;
  align-content: space-around;
  justify-content: center;
}

.section-title {
  font-size: 22px;
}

.location {
  font-size: 18px;
  font-weight: bold;
}

.timeline,
.title {
  font-size: 16px;
}

.when-and-where,
.proj-title {
  align-self: center;
  white-space: nowrap;
  margin-right: 2em;
}

.job-details p,
ul,
li,
.proj-details {
  font-size: 15px;
}

.job,
.proj {
  border: 2px solid black;
  border-radius: 1%;
  padding: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  display: flex;
}

#snackbar {
  visibility: hidden;
  position: fixed;
  z-index: 1;
  top: 5%;
  right: 5%;
  padding: 16px;
  background-color: darkgrey;
  color: black;  
}

#snackbar.show {
  visibility: visible;
  /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }

  to {
    top: 5%;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }

  to {
    top: 5%;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    top: 5%;
    opacity: 1;
  }

  to {
    top: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    top: 5%;
    opacity: 1;
  }

  to {
    top: 0;
    opacity: 0;
  }
}

#top-button {
  position: fixed;
  bottom: 5px;
  right: 5px;
  visibility: hidden;
}

#top-button.show {
  position: fixed;
  bottom: 5px;
  right: 5px;
  visibility: visible;
  ;
}

.proj-list-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}