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

a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

html {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Oswald', sans-serif;
  margin: 0;
  padding: 0;
}

#header {
  display: flex;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 16px;
  font-size: 14px;
}

.tablet {
  display: none;
}

.phone {
  display: none;
}

.material-icons {
  display: none;
}

#legend {
  background: rgb(0, 0, 0);
  height: 96px;
  line-height: 96px;
  color: rgb(255, 255, 255);
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  padding: 0 16px 0 16px;
  min-width: 400px;
}

#nav {
  height: 64px;
  width: 100%;
  margin-top: 32px;
  padding: 16px;
  border-bottom: 1px solid rgb(0,0,0);
  display: flex;
  justify-content: space-around;
  font-size: 16px;
}

#nav label {
  text-align: center;
}

#profile {
  width: 100%;
  min-width: 100%;
}

#contents {
  text-align: center;
}

#contents section {
  min-width: 1024px;
  width: 1024px;
  margin: auto;
}

#contents header {
  text-align: left;
  font-size: 24px;
  min-height: 48px;
  border-bottom: 1px solid rgb(0, 0, 0);
  padding: 16px 0 16px 0;
}

#contents article {
  padding: 16px;
  text-align: left;
  min-height: 640px;
  font-size: 16px;
}

#contents article img {
  min-width: 100%;
  width: 100%;
  margin: auto;
}

#contents article header {
  font-size: 24px;
  border-bottom: 0;
}

#contents article p {
  margin: 16px 0 16px 0;
}

#go-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  min-height: 32px;
  min-width: 128px;
  background: rgba(64,64,64,0.4);
  padding: 16px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 1px 1px 1px rgba(0,0,0,0.3);
}

footer {
  width: 100%;
  padding: 16px;
  height: 48px;
}

@media screen and (max-width: 1024px) {
  #contents section {
    min-width: 768px;
    width: 768px;
    margin: auto;
  }
}

@media screen and (max-width: 768px) {
  .laptop {
    display: none;
  }

  .tablet {
    display: inline;
  }

  .phone {
    display: none;
  }

  .material-icons {
    display: inline;
    font-size: 36px;
    margin: 4px;
    width: 36px;
    height: 36px;
  }

  #nav {
    height: 64px;
    line-height: 64px;
    padding: 0px;
  }

  #contents section {
    min-width: 100%;
    width: 100%;
    margin: auto;
  }

  #contents header {
    text-align: center;
  }

  #contents article header {
    text-align: center;
  }
}

@media screen and (max-width: 425px) {
  .laptop {
    display: none;
  }

  .tablet {
    display: none;
  }

  .phone {
    display: inline;
  }

  #legend {
    width: 28%;
    min-width: 0px;
    height: 72px;
    line-height: 20px;
    font-size: 10px;
    text-align: left;
  }

  #nav {
    width: 72%;
    margin-top: 0px;
    padding: 16px;
    border-bottom: 1px solid rgb(0,0,0);
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    height: 72px;
    line-height: 72px;
  }
}
