.sub-unis {
  display: flex;
  gap: 24px;
  margin-top: 120px;

  .mobile-sub-unis-header {
    font-weight: 500;
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 0%;
    color: #212121;

    display: none;
  }

  .left {
    width: 454px;
    height: 433px;
    max-width: 454px;
    position: relative;
    img {
      object-fit: cover;
      border-radius: 50%;
      position: absolute;
      top: 0;
      left: 0;
    }

    img:nth-child(1) {
      width: 383px;
      height: 383px;
      z-index: 1;
    }

    img:nth-child(2) {
      width: 204px;
      height: 204px;
      top: 229.57px;
      left: 250.5px;
      z-index: 2;
    }
  }

  .sub-unis-content {
    width: 720px;
    height: 664px;
    max-width: 720px;

    display: flex;
    flex-direction: column;
    gap: 120px;

    h2 {
      font-weight: 600;
      font-size: 67px;
      line-height: 88px;
      letter-spacing: 0%;
      color: #121212;
    }

    .unis {
      display: grid;
      grid-template-columns: repeat(2, 345px);
      gap: 24px;

      .uni {
        width: 345px;
        height: 192px;
        max-width: 345px;
        border-radius: 8px;
        padding-top: 32px;
        padding-right: 24px;
        padding-bottom: 32px;
        padding-left: 24px;
        gap: 24px;
        transition: 0.5s all;

        display: flex;
        flex-direction: column;

        &:hover {
          box-shadow: 4px 11px 35px 0px #00000012;
        }

        h3 {
          font-weight: 600;
          font-size: 28px;
          line-height: 32px;
          letter-spacing: 0%;
          color: #212121;
        }

        p {
          font-weight: 400;
          font-size: 16px;
          line-height: 24px;
          letter-spacing: 0%;
          color: #484848;
        }
      }
    }
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sub-unis {
    margin-top: 100px;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    .left {
      max-width: 285px !important;
      height: fit-content !important;
      min-height: 285px !important;
      position: relative;
      align-self: center;
      img {
        object-fit: cover;
        border-radius: 50%;
        position: absolute;
        top: 0;
        left: 0;
      }

      img:nth-child(1) {
        width: 229px;
        height: 229px;
        z-index: 1;
      }

      img:nth-child(2) {
        width: 121px;
        height: 121px;
        top: 114.79px;
        left: 163.57px;
        z-index: 2;
      }
    }
  }

  .sub-unis .sub-unis-content {
    width: 100%;
    max-width: 720px;
    height: auto;
    gap: 80px;
  }

  .sub-unis .sub-unis-content h2 {
    font-size: 48px;
    line-height: 72px;
  }

  .sub-unis .sub-unis-content .unis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .sub-unis .sub-unis-content .unis .uni {
    width: 100%;
    max-width: none;
    height: auto;
  }
}

@media screen and (max-width: 450px) {
  .sub-unis {
    flex-direction: column;

    .mobile-sub-unis-header {
      display: block;
    }

    .left {
      max-width: 285px !important;
      height: fit-content !important;
      min-height: 285px !important;
      position: relative;
      align-self: center;
      img {
        object-fit: cover;
        border-radius: 50%;
        position: absolute;
        top: 0;
        left: 0;
      }

      img:nth-child(1) {
        width: 229px;
        height: 229px;
        z-index: 1;
      }

      img:nth-child(2) {
        width: 121px;
        height: 121px;
        top: 114.79px;
        left: 163.57px;
        z-index: 2;
      }
    }

    .sub-unis-content {
      width: 100% !important;
      max-width: 100% !important;
      height: fit-content;

      h2 {
        display: none;
      }

      .unis {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
      
        .uni {
          width: 100% !important;
          max-width: 100% !important;
          align-self: center !important;
          box-shadow: 4px 11px 35px 0px #00000012 !important;
        }
      }
    }
  }
}
