@media (max-width: 1240px) {
  .pc-view {
    display: none;
  }

  #main-content {
    width: 100vw;
    margin: auto;
  }

  /* hamburger menu */
  .toggle.pc-view {
    display: block;
    width: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
  }

  .mobile-nav {
    display: block;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 3rem;
    border-bottom: 1px solid #111;
  }

  .burger div {
    width: 23px;
    height: 2px;
    background-color: #111;
    margin: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  /* Hamburger animation */
  .toggle .line1 {
    transform: rotate(-45deg) translate(-4px, 6px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(45deg) translate(-4px, -6px);
  }

  /* link animation */
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0px);
    }
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  /* logo header */
  .logo {
    width: 80px;
    height: 60px;
  }

  .toggle.pc-view {
    width: 80vw;
  }

  .blog-container {
    width: 100vw;
    height: 50vh;
  }

  .blog-container img {
    width: 90vw;
    height: 30vh;
    margin-top: 0.5rem;
  }

  .p-style {
    width: 300px;
    padding-bottom: 0.5rem;
  }
  /* newsletter */
  .form-elements {
    display: flex;
    flex-direction: column;
  }

  input {
    margin-bottom: 2rem;
  }

  .form-elements .submit-btn {
    margin: auto;
  }

  .submit-btn {
    width: 30%;
    margin: auto;
  }
  /* footer */
  .about-right {
    display: block;
  }
}
