:root {
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Margenes Bottom ==========*/
    /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

.IG-container .image-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items:center;
    border-radius: .5rem;
    padding: var(--mb-0-75);
}

.IG-container .image-container .image img{
    height: auto;
    /* height: 250px; */
    /* width: 100%; */
    width: 400px;
    
    /* object-fit: contain; */
    object-fit: cover;
    transition: .2s linear;
}

.IG-container .image-container .image:hover img{
    transform: scale(1.1);
}

.IG-container .popup-image{
    position: fixed;
    top: 0; left: 0;
    background: rgba(0,0,0,.9);
    height: 100%;
    width: 100%;
    
    z-index: var(--z-fixed);
    display: none;
}

.IG-container .popup-image span {
    position: absolute;
    top: 0; right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: var(--z-fixed);
}

.IG-container .popup-image img{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    /* border: 5px solid #fff; */
    border-radius: 5px;             /* MAKES IT ROUND */    
    height: auto;
    width: 50%;
}

/* For small devices */
@media screen and (max-width: 350px){
    .IG-container .image-container{
        padding: 1rem;
    }
}


/* For large devices */
@media screen and (min-width: 1024px){
    .IG-container .popup-image img{
        /* width: 90%;
        height: 250px;
        height: 50%; */
        height: 70%;
        width: auto; 
    }

    .IG-container .image-container .image img{
        
        height: 300px;
        width: 400px;

    }

    .image img{
        
        /* height: 300px;
        width: auto; */

    }
}