body {
    margin: 0px;
    width: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow-x: hidden;
}

* {
    margin: 0px;
}

html,
body {
  overflow-x: hidden;
}

.left {
    margin-top: 40px;
}

li {
    list-style-type: none;
    font-size: 18px;
    margin-top: 40px;
    white-space: nowrap;
}

ul a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    margin-right: 250px;
}

ul li .active {
    text-decoration-line: underline;
    text-decoration-color: burlywood;
    text-decoration-thickness: 5px;
  }

.right {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-right: 40px;
}

main {
    display: flex;
}

.grid-wrapper>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-wrapper>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.grid-wrapper .wide {
    grid-column: span 2;
}

.grid-wrapper div.tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}


@media(max-width:1024px) {

    main {
        justify-content: center;
        flex-direction: column;

        .left {
            margin-top: 15px;
            margin-bottom: 15px;
        }

        .right {
            margin-bottom: 40px;
            margin-left: 10px;
            margin-right: 10px;
        }
        
    }
}


@media (max-width: 768px) {
    li {
        font-size: 18px;
        margin-top: 10px;
      }
    
      .right {
        margin-top: 10px;
      }
    
      ul a {
        margin-right: 0;
      }
      
      .grid-wrapper {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-gap: 10px;
      }
      
      .grid-wrapper>div {
        width: 100%;
        aspect-ratio: auto; 
      }
      
      .grid-wrapper>div>img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 5px;
      }
    
      .grid-wrapper .wide,
      .grid-wrapper .tall,
      .grid-wrapper .big {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
      }
}