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: 30px;
    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;
  }

  #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%);
    width: 350px;
  }

  #language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
  }

  #language-switch a {
    text-decoration: none;
    color: white;
    font-size: 25px;
    font-family: Impact, sans-serif;
    padding: 12px 12px;
  }

  #language-switch a:hover {
    color:#AF2424;
  }

  #content {
    padding: 40px;
    padding-top: 60px;
    padding-bottom: 20px;
    text-align: justify;
    color: white;
    max-width: 700px;
    margin: 0 auto;
  }

  #content p {
    font-size: 16px;
    font-family: 'Gill Sans','Segoe UI',sans-serif;
  }

  .small-image {
    max-height: 300px;
    padding: 40px;
    padding-bottom: 60px;
    padding-top: 10px;
    margin: 0 auto;
    max-width: 700px;
  }

  .small-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
  }

  @media (min-width: 2560px) {
    #main {
      padding: 50px;
    }
    #links a {
      font-size: 70px;
    }
    #instagram {
      gap: 20px;
    }
    #instagram img {
      width: 60px;
      height: 60px;
    }
    #top-image {
      align-items: flex-start;
      min-height: 300px;
    }
    #content {
      max-width: 1600px;
      padding-top: 110px;
    }
    #content p {
      font-size: 40px;
      line-height: 1.8;
    }
    #about-overlay {
      width: 45%;
    }
    .small-image {
      max-width: 1200px;
      margin-bottom: 200px;
      padding-bottom: 150px;
    }
    .small-image img {
      max-width: 1000px;
    }
    #language-switch a {
      font-size: 60px;
    }
  }

  @media (max-width: 1440px) {
    #links a {
      font-size: 40px;
    }
    #instagram img {
      width: 40px;
      height: 40px;
    }
    #content p {
      font-size: 20px;
      line-height: 1.3;
    }
    #content {
      max-width: 1700px;
      padding: 110px;
      padding-top: 80px;
      padding-bottom: 0px;
    }
    .small-image {
      max-width: 1200px;
      margin-bottom: 20px;
      padding-top: 50px;
    } 
    #about-overlay {
      width: 55%;
    } 
  }
  
  @media (max-width: 1024px) {
    #links a {
      font-size: 25px;
    }
    #instagram img {
      width: 30px;
      height: 30px;
    }
  }

  @media (max-width: 768px) {
    body {
      flex-direction: column;
      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;
    }
    #language-switch {
      top: 10px;
      right: 10px;
    }
    #language-switch a {
      font-size: 14px;
      padding: 6px 6px;
    }
    #about-overlay {
      width: 50%;
    }
    #content {
      padding: 45px;
      padding-top: 40px;
      padding-bottom: 20px;
    }
    #content p {
      font-size: 14px;
    }
    .small-image {
      padding: 45px;
      padding-top: 20px;
      margin-bottom: 80px;
      height: auto;
    }
    .small-image img {
      max-width: 100%;
    }
  }

  @media (max-width: 425px) {
    #main {
      flex-direction: row;
      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;
    }
    #language-switch a {
      font-size: 12px;
    }
    #content {
      padding: 20px;
      padding-top: 40px;
    }
    #content p {
      font-size: 13px;
      line-height: 1.5;
    }
    #about-overlay {
      width: 65%;
    }
    .small-image {
      padding: 20px;
      margin-top: -20px;
      margin-bottom: 10px;
    }
  }

  @media (max-width: 375px) {
    #main {
      gap: 15px;
    }
    #links {
      align-content: center;
      flex-direction: row;
      gap: 10px;
    }
    #links a {
      font-size: 14px;
    }
    #main {
      padding: 10px;
    }
    #content {
      padding: 15px;
      padding-top: 35px;
    }
    #content p {
      font-size: 12px;
    }
    #language-switch {
      top: 5px;
      right: 5px;
    } 
    #language-switch a {
      font-size: 12px;
      padding: 4px;
    }
    #about-overlay {
      width: 65%;
    }
  }
  
  @media (max-width: 320px) {
    #links {
      gap: 5px;
    }
    #instagram img {
      display: none;
    }
  }