body {
    margin: 0;
    padding: 0;
    font-family: Impact, sans-serif;
    color: black;
    display: flex;
    height: 100vh;
  }

  #main {
    background-color: #FF3131;
    width: 25%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }

  #links {
    display: flex;
    flex-direction:column;
    gap: 5px;
  }

  #links a {
    text-decoration: none;
    color: black;
    font-size: 25px;
    transition: color 0.3s;
  }

  #links a:hover {
    color: #AF2424;
  }

  #instagram {
    align-items: center;
    gap: 10px;
    display: flex;
  }

  #instagram img {
    width: 25px;
    height: 25px;
    cursor: pointer;
  }
  
  #links a.active {
    color: #AF2424;
  }

  #top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }   

  #top img {
    margin-bottom: 10px;
  }

  #extras {
    width: 75%;
    background-color: black;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 60px;
  }

  #top-image {
    position: relative;
    height: 40vh;
    min-height: 250px;
  }

  #top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #about-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    height: auto;
    width: 300px;
  }

  .boxes {
    background-image: url("back1.png");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 25px;
    margin: 60px;
    margin-bottom: -35px;
  }
  
  .boxes:nth-child(3) {
    background-image: url("back2.png");
  }
  .boxes:nth-child(4) {
    background-image: url("back3.png");
  }
  .boxes:nth-child(5) {
    background-image: url("back4.png");
  }
  .boxes:nth-child(6) {
    background-image: url("back5.png");
  }
  .boxes:nth-child(7) {
    background-image: url("back6.png");
  }

  .boxes ul {
    list-style: disc;
    padding-top: 10px;
    padding-left: 20px;
    line-height: 1.6;
    margin: 0;
  }

  .boxes li {
    margin-bottom: 6px;
    font-size: 16px;
    font-family: 'Gill Sans','Segoe UI',sans-serif;
    color: white;
  }

  .boxes:nth-child(n+5) ul {
    list-style: none;
    padding-left: 0;
  }

  #text {
    flex-shrink: 0;
    text-align:left;
  }

  #content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  #title {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  @media (min-width: 2560px) {
    #main {
      padding: 50px;
    }
    #links a {
      font-size: 70px;
    }
    #instagram {
      gap: 20px;
    }
    #instagram img {
      width: 60px;
      height: 60px;
    }
    #extras {
      padding-bottom: 150px;
    }
    #top-image {
      height: 50%;
      min-height: 250px;
    }
    #about-overlay {
      width: 40%;
    }
    #content {
      max-width: 1500px;
      padding: 80px;
    }
    .boxes {
      border-radius: 60px;
      margin: 150px;
      margin-bottom: -35px;
    }
    .boxes li {
      font-size: 60px;
      line-height: 1.8;
    }
    #title {
      display: block;
      width: 100%;
      margin: 60px;
      margin-bottom: -10px;
    }
  }

  @media (max-width: 1440px) {
    #links a {
      font-size: 40px;
    }
    #instagram img {
      width: 40px;
      height: 40px;
    }
    .boxes {
      border-radius: 30px;
      margin: 80px;
      margin-bottom: -35px;
    }
    .boxes li {
      font-size: 20px;
      line-height: 1.8;
    }
    #extras {
      padding-bottom: 80px;
    }
    #about-overlay {
      width: 45%;
    }
  }
  
    @media (max-width: 1024px) {
    #links a {
      font-size: 25px;
    }
    #instagram img {
      width: 30px;
      height: 30px;
    }
  }

  @media (max-width: 768px) {
    body {
      flex-direction: column;
      min-height: auto;
    }
    #main {
      width: 100%;
      min-height: auto;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 15px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    #top {
      flex-direction: row;
      align-items: center;
      gap: 10px;
    }
    #top img {
      height: 22px;
      margin-bottom: 0;
    }
    #links {
      flex-direction: row;
      gap: 15px;
    }
    #links a {
      font-size: 14px;
    }
    #instagram {
      gap: 5px;
    }
    #instagram img {
      width: 15px;
      height: 15px;
    }
    #extras {
      width: 100%;
    }
    #top-image {
      height: 30vh;
      min-height: 180px;
    } 
    #about-overlay {
      width: 40%;
    }
    #content {
      flex-direction: column;
      gap: 15px;
      padding: 10px;
    }
    #title {
      margin-bottom: 10px;
    }
    .boxes {
      border-radius: 20px;
      margin: 50px;
      margin-bottom: -10px;
    }
    .boxes li {
      font-size: 14px;
    }
    #extras {
      padding-bottom: 50px;
    }
  }

  @media (max-width: 425px) {
    #main {
      gap: 15px;
    }
    #links {
      align-content: center;
      flex-direction: row;
      gap: 10px;
    }
    #links a {
      font-size: 16px;
    }
    #top img {
      height: 25px;
    }
    #instagram {
      align-items: center;
      gap: 5px;
    }
    #about-overlay {
      width: 55%;
    }
    .boxes {
      border-radius: 8px;
      margin: 30px;
      margin-bottom: -10px;
    }
    .boxes li {
      margin: 5px;
      font-size: 13px;
    }
    #extras {
      padding-bottom: 50px;
    } 
    #title {
      width: 150%;
      margin: -20px;
      margin-bottom: -5px;
      margin-top: -5px;
    }
    #content {
      max-width: 1500px;
      margin-left: -35px;
      margin-bottom: -20px;
    }
  }

  @media (max-width: 375px) {
    #main {
      gap: 15px;
    }
    #links {
      align-content: center;
      flex-direction: row;
      gap: 10px;
    }
    #links {
      flex-direction: row;
      gap: 5px;
    }
    #links a {
      font-size: 14px;
    }
    #main {
      padding: 10px;
    } 
    #title {
      width: 200%;
      margin: -15px;
      margin-left: -25px;
      margin-bottom: -5px;
      margin-top: -5px;
    }
    #content {
      max-width: 1500px;
      margin-left: -40px;
      margin-bottom: -25px;
    }
    #about-overlay {
      width: 55%;
    }
  }

  @media (max-width: 320px) {
    #instagram img {
      display: none;
    }
    #title {
      width: 200%;
      margin: -10px;
      margin-left: -25px;
    }
    #content {
      max-width: 1500px;
      margin-left: -40px;
      margin-right: -25px;
      margin-bottom: -25px;
    }
  }