:root {
    color-scheme: light only;
  }

@media only screen and (max-width: 750px) {
    
    .section7 {
        background-color: black;
        height: 1600px;
        display: flex;
        justify-content: center;
    }
    
    #h6 {
        margin-top: 150px;
        font-size: 300%;
        color: white;
        position: absolute;
    }
    
    .container {
        position: absolute;
        display: flex;
        justify-content: center;
        background-color: #3b3939;
        height: 1300px;
        width: 350px;
        margin-top: 250px;
        border-radius: 22px;
    }
    
    .container .image-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }
    
    .container .image-container .image {
        height: 90px;
        width: 130px;
        box-shadow: 0 5px 15px rgba(0,0, 0, 1);
        overflow: hidden;
        cursor: pointer;
    }
    
    .container .image-container .image img {
        height: 100%;
        width: 100%;
        object-fit: fill;
        transition: .2s linear;
    }
    
    .container .image-container .image:hover img {
        transform: scale(1.1);
    }
    
    .container .popup-image {
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0,0, 0, 9);
        height: 100%;
        width: 100%;
        z-index: 100;
        display: none;
    }
    
    .container .popup-image span {
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 40px;
        font-weight: bolder;
        color: white;
        cursor: pointer;
        z-index: 100;
    }
    
    .container .popup-image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 12px;
        width: 750px;
        object-fit: fill;
    }
    
    @media (max-width: 768px) {
        .container .popup-image img {
            width: 95%;
        }
    }

    .footer {
        margin-top: 0px;
        position: absolute;
        align-items: center;
        display: flex;
        justify-content: center;
        background-color: #3b3939d3;
        width: 350px;
        border-radius: 20px;
        height: 130px;
    }
}