@media (min-width: 1024px) and (max-width: 1200px) {
    body {
        overflow-x: hidden;
      }
    
      .logo {
        font-size: 4em;
      }
    
    
      .menu-button-container {
        display: flex;
        padding-right: 2em;
      }
    
      .menu {
        margin-top: -15px;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    
      }
    
      #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 {
        border: 1px solid #333;
        height: 2.5em;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
      }
    
      .menu>li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #f4f7fc;
      }
    
      .menu>li:not(:last-child) {
        border-bottom: 1px solid #444;
      }
    
    
      .hero {
        height: 100vh;
        overflow: hidden;
      }
    
      #video-background {
        object-fit: cover;
    
      }
    
      .herotext {
        font-size: 60px;
        width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
      }
    
      .arrow {
        top: 85%;
        /* Reposition the arrow */
      }
    
      .timeline2 {
        flex-direction: column;
      }
    
    
      .tl-item {
        font-family: Future;
        font-size: 50px;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        position: relative;
        width: 100%;
        height: 50vh;
        min-height: 400px;
        overflow: hidden;
    
    
        &.tl-item.in-view {
          width: 100%;
    
          &:after {
            opacity: 0;
          }

          &:hover {
            width: 100% !important;
        }
    
          &:before {
            opacity: 1;
            -webkit-transform: translateY(0);
            transform: translateY(0);
            -webkit-transition: opacity 1s ease, transform 1s ease 0.25s;
            transition: opacity 1s ease, transform 1s ease 0.25s;
          }
    
          .tl-content {
            opacity: 1;
            -webkit-transform: translateY(0);
            transform: translateY(0);
            -webkit-transition: all 0.75s ease 0.5s;
            transition: all 0.75s ease 0.5s;
          }
    
          .tl-bg {
            filter: grayscale(0);
          }
    
          .tl-year {
            opacity: 0;
          }
        }
      }
    
      .tl-content {
        -webkit-transform: translateY(25px);
        transform: translateY(25px);
        position: relative;
        z-index: 1;
        text-align: center;
        opacity: 0;
        color: white;
        font-size: 24px;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
        h1 {
          font-family: f;
          text-transform: uppercase;
          color: #1779cf;
          font-size: 1.44rem;
          font-weight: normal;
        }
      }
    
      .tl-year {
        opacity: 1;
        -webkit-transition: opacity 0.5s ease;
        transition: opacity 0.5s ease;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        z-index: 1;
        border-top: 4px solid #000000;
        border-bottom: 4px solid #000000;
    
        p {
          font-family: 'Pathway Gothic One', Helvetica Neue, Helvetica, Arial, sans-serif;
          font-size: 1.728rem;
          line-height: 0;
        }
      }
    
    
    
      #three-container {
        height: 100%;
        padding-top: 2em;
        padding-bottom: 2em;
        background-color: #eaedf2;
      }
    
      .model-title {
        font-size: 2em;
        margin-top: -0.5em;
        height: 0.8em;
      }
    
      .model-description {
        left: 12.5%;
        margin: auto;
        bottom: 1.5em;
        width: 70vw;
        height: 8em;
        background-size: 40px 40px;
        margin-top: 20em;
    
      }
    
      .slide {
        height: 100%;
        animation: slideAnimation 15s infinite;
        display: none;
        align-items: center;
        justify-content: left;
        text-align: center;
        font-size: 12px;
      }
    
    
      .model-description2 {
        display: none;
      }
    
      .model-tooltip {
        height: 1.5em;
        width: auto;
        bottom: 20em;
        left: 50%;
        font-size: 12px;
        font-weight: bold;
      }
    
      .tooltip-text {
        color: black;
        text-transform: uppercase;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 12px;
        text-align: center;
      }
    
    
    
      .about-desc {
        font-size: 22px;
        width: 90vw;
        padding: 1em;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
      }
    
      .about-title {
        font-size: 42px;
        margin-bottom: 0.5em;
      }
    
      .team-title {
        font-size: 42px;
      }
    
      .team-row1,
      .team-row2,
      .cardContainer {
        display: flex;
        flex-direction: row;
    
        align-items: center;
    
      }
    
      .cardContainer .card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
      }
    
      .cardContainer .card .content .contentBox h3 {
        font-size: 16px;
        margin: 10px 0 5px;
      }
    
      .cardContainer .card .content .contentBox h3 span {
        font-size: 12px;
      }
    
      .cardContainer .sci li a {
        font-size: 20px;
      }
}