* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #d9d9d9;
}

.nav-bar {
  list-style-type: none;
  background-color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  position: fixed;
  top: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
}

.nav-bar li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.nav-bar li a:hover {
  background-color: #111;
}

.page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.header {
  text-align: center;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
}

#title {
  font-size: 5em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 100;
}

#subtitle {
  font-size: 1.6em;
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  margin-top: 50px;
}

.section {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items:center;
  flex-direction: column;
}

.section-title {
  width: 80%;
  text-align: center;
  font-size: 3em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

.section-content {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  font-size: 1.3em;
  font-family: 'Noto Sans JP', sans-serif;
  width: 80%;
}

.section-content li {
  margin-top: 20px;
}

#projects {
  background-color: #d4cbc4;
}

#contact {
  background-color: #d4cbc4;
}

#contact a {
  width: 100%;
  color: #72c0c3;
  text-decoration: none;
}

#contact li {
  text-align: center;
  list-style-type: none;
}

@media only screen and (min-width: 501px) {
  .section {
    height: 60vh;
  }

  .section-title {
    text-align: left;
  }

  .section-content {
    width: 65%;
  }

  .contact-title {
    text-align: center;
  }
}

@media only screen and (min-width: 961px) {
  .nav-bar {
    justify-content: flex-end;
  }

  .section {
    width: 50%;
    height: 80vh;
  }

  #projects,
  #experience {
    background-color: #d4cbc4;
  }

  #contact {
    background-color: inherit;
  }

  .contact-title {
    text-align: center;
  }
}
