@media screen and (min-width: 1640px) {
    body > div {
        width: 1420px;
        margin: auto;
    }

    .item-desc, .item-publication-text, .item-publication p {
        font-size: 15px;
    }
}

@media screen and (max-width: 1024px) {
    body {
        padding: 0 19px;
        margin: 0;
    }

    .title {
      margin: 0 0 35px;
    }

    .intro {
        flex-direction: column;
        padding: 30px 0 40px;
    }

    .intro-img {
        width: 240px;
    }

    .intro-column {
        width: 75%;
    }

    .intro-miniTitle {
        margin-top: 15px;
    }

    .intro-text {
        line-height: 1.6;
    }

    .intro-text:last-child {
        margin-bottom: 0;
    }

    .toggle {
        width: 100%;
        margin: 0 auto 20px;
    }

    .toggle h2 {
        font-size: 40px;
    }

    .cv {
        margin-bottom: 45px;
    }

    .flex-row {
        flex-direction: column;
    }

    .flex-row .item:last-child {
        padding-bottom: 12px;
    }

    .item {
        width: 100%;
        padding: 32px 24px 24px 0;
        min-height: 0;
        margin-left: 0;
        margin-right: 0 !important;
    }

    .item-dates {
        right: 0;
        top: 33px;
    }

    .item-dates.item-dates-mobile {
        display: block;
    }

    .item-dates.item-dates-desktop {
        display: none;
    }

    .item-header + .item-point, .item-link + .item-point {
        margin-top: 24px;
    }

    .item-header {
        width: 75% !important;
        font-size: 24px;
    }

    .awards .item-header {
        font-size: 24px;
        white-space: inherit;
    }

    .item-previous + .item, .item-educational + .item {
        padding-top: 0;
    }

    .item-publications {
        width: 100% !important;
        padding-right: 0 !important;
    }

    .item-publications + .item-publications {
        padding-top: 0;
    }

    .item-publication:last-child, .item-point:last-child {
        margin-bottom: 0;
    }

    .item-publication-source {
        right: -32px;
    }

    .item-publication-text {
        padding-right: 0;
    }

    .gallery {
        order: 3;
        width: calc(100% + 38px);
        margin: 32px -19px 6px;
    }

    .gallery-awards {
        margin-top: 0;
    }

    .gallery-awards img {
        object-position: center;
    }

    .image-path {
        width: calc(100% + 38px);
        margin-left: -19px;
        margin-right: -19px;
        margin-bottom: 55px;
        margin-top: 25px;
    }

    .footer {
        width: calc(100% - 38px);
        flex-direction: column;
        align-items: flex-start;
        bottom: 19px;
    }
    
    .footer-copy {
        margin-bottom: 5px;
    }
  }

  @media screen and (min-width: 480px) and (max-width: 1024px) {
    .title {
        margin: 20px 0 25px;
    }
  }

  @media screen and (min-width: 720px) and (max-width: 1024px) {
    .title {
        margin: 20px 0 35px;
      }

      .intro-column {
        margin-bottom: 20px;
      }

      .intro-img {
        width: 300px;
      }
  }

  @media screen and (max-width: 720px) {
    .intro-column {
       width: 100%;
    }

    .intro-text, .intro-links {
        width: calc(100% - 20px);
    }

    .intro-img {
        width: 100%;
    }

    .toggle span::after {
        font-size: 30px;
      }
  }

  @media screen and (max-width: 480px) {
    .toggle h2 {
        font-size: 32px;
    }
  }

  @media screen and (max-width: 370px) {
    .footer {
        flex-direction: column;
    }

    .footer-thanks {
        margin-top: 10px;
    }
  }