@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap');

text {
  font-size: 20px;
}

text a {
  color: #a2c8f2;
}

.logo-font {
  font-family: "Black Ops One", sans-serif;
  text-shadow: #aaaaaa 1px 0 10px;
}

.heading {
  margin: 0 auto;
  max-width: 70%;
  font-size: 50px;
  text-align: center;
  padding: 100px
}

.heading .image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

body {
  margin: 0;
  background: linear-gradient(to bottom, #222222, #000000);
  font-family: "Nanum Gothic Coding", sans-serif;
  color: #aaaaaa;
  background-size: cover;
}

main {
  padding: 20px;
  max-width: 50%;
  margin: 0 auto;
  margin-bottom: 30px;
}

.footer {
  text-align: center;
  font-size: 15px;
  height: 35px;
}

* {
  box-sizing: border-box;
}

.top-space {
  display: flex;
  height: 50px;
  padding: 1em;
  z-index: 10;
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to left, #000000, #222222);
  color: #aaaaaa;
  height: 50px;
  padding: 1em;
  box-shadow: #555555 0px 8px 24px;
  z-index: 10;
  position: fixed;
  width: 100%;
}

.nav li {
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #aaaaaa;
}

.logo {
  font-size: 35px;
}

.menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  display: flex;
  align-items: center;
  margin: 0 1rem;
  padding: 0.5em 0;
}

.toggle {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.icon,
.icon::before,
.icon::after {
  display: block;
  background-color: #aaaaaa;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.icon::before {
  content: "";
  margin-top: -8px;
}

.icon::after {
  content: "";
  margin-top: 8px;
}

.line {
  width: 100%;
  height: 2px;
  background-color: #aaaaaa;
  margin-bottom: 30px;
}

.space {
  width: 100%;
  margin-bottom: 30px;
}

.title {
  font-size: 35px;
}

.lead {
  font-size: 30px;
}

.article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 200px;
  width: 80%;
  border: 2px solid #333333;
  border-radius: 10px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, #444444, #111111);
  margin: 0 auto;
}

.article .image {
  height: 70px;
  width: auto;
  margin-bottom: 10px;
  border-radius: 100%;
}

.article .title {
  font-size: 30px;
  text-align: center;
}

#menu-toggle:checked + .toggle .icon::before {
  margin-top: 0;
  transform: rotate(405deg);
}

#menu-toggle:checked + .toggle .icon {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .toggle .icon::after {
  margin-top: 0;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {
  #menu-toggle:not(:checked) ~ .menu li a {
    display: none;
  }

  #menu-toggle:checked ~ .menu li a {
    display: block;
  }

  .toggle {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }

  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked ~ .menu li {
    height: 2.5em;
    padding: 0.5em;
    border: 1px solid #aaaaaa;
  }

  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #111111;
  }

  .menu > li:not(:last-child) {
    border-bottom: 1px solid #333333;
  }

  main {
    max-width: 90%;
  }

  .heading {
    max-width: 80%;
    font-size: 35px;
    padding: 30px;
  }

  .title {
    font-size: 30px;
  }
  
  .lead {
    font-size: 25px;
  }

  text {
    font-size: 15px;
  }

  .heading .image {
    height: 100px;
  }
}
