@media (max-width: 1200px) {
  .title-other {
    font-size: 50px;
  }
  .about-text {
    font-size: 15px;
  }
  #no-bullet img {
    width: 20px;
  }
  .about-list > h2 {
    font-size: 20px;
  }
  .pub-tab {
    width: 150px;
    font-size: 15px;
  }
  .publications-grid {
    grid-template-rows: 160px 1fr;
  }
  .pub-title {
    font-size: 18px;
  }
}

@media (max-width: 970px) {
  #link-img {
    width: 200px;
  }
  #error-404 {
    width: 400px;
  }
  #no-upcoming {
    font-size: 20px;
  }
}

@keyframes open-up {
  from {
    transform-origin: left center;
    transform: scaleX(0);
  }
  to {
    transform-origin: left center;
    transform: scaleX(1);
  }
}
@keyframes close-down {
  from {
    transform-origin: left center;
    transform: scaleX(1);
  }
  to {
    transform-origin: left center;
    transform: scaleX(0);
  }
}

@media (max-width: 790px) {
  #open-menu {
    display: block;
  }
  .menu-grid.off {
    display: none;
  }
  .menu-grid.closed {
    animation-name: close-down;
    animation-duration: 0.2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
  }
  .menu-grid.open {
    animation-name: open-up;
    animation-duration: 0.2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
  }
  .under-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .about {
    grid-template-columns: 1fr;
    grid-template-rows: 150px 350px 320px 200px;
  }
  #interests-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 100px;
  }
  #hobbies-more {
    grid-template-columns: 1fr;
    grid-template-rows: 150px 300px;
  }
  .title {
    font-size: 70px;
  }
  #front-photo {
    height: 250px;
  }
  .front-title-image {
    height: 500px;
  }
  .menu-grid {
    grid-template-rows: 300px 1fr;
  }
  #menu-list li {
    padding: 15px 0px;
  }
  .pub-tab {
    max-width: 110px;
    font-size: 12px;
  }
  .conf-head-title {
    font-size: 20px;
  }
  .conf-body-box p {
    font-size: 18px;
  }
  #no-upcoming {
    font-size: 18px;
  }
  #conference-bottom-padding {
    display: block;
  }
  .update-link {
    font-size: 18px;
  }
}

@media (max-width: 410px) {
  .about {
    grid-template-columns: 1fr;
    grid-template-rows: 150px 550px 370px 200px;
  }
  #interests-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 250px 100px;
  }
  .pub-tab {
    max-width: 90px;
    font-size: 12px;
  }
  .pubs-box {
    background-color: rgb(66, 66, 66);
  }
  #error-404 {
    width: 350px;
  }
}
