.iWin
{
    width:800px;
    margin-left: auto;
    margin-right: auto;
}

.galleryPage /* sorted */
{
    width: 100%;
}


.galleryPage img /* sorted */
{
    width: 192px;
    height: 192px;
    object-fit: cover;
}

/* .galleryPage a       Get rid of after all images are turned into buttons 
{
    padding: 0%;
    margin: 1%;
    width: 23%;
    height: 23%;
    object-fit: cover;
    text-align: left;
    float:left;
    margin-bottom: -0.5%;
} */


.galleryPage a:hover /*get rid of on same conditions as above */
{
    opacity: 90;
}

header
{
    width: 100%
}

.clickArt 
{
    width: 192px;
    height: 192px;
    border:none;
    padding: 0%;
    object-fit: cover;
    text-align: left;
    float:left;
    background-color: rgb(37, 35, 35, 0);
    margin:1%;
    margin-right: 0%;
    margin-bottom: -0%;
}

.clickArt button:hover 
{
    border:none;
    padding: 0%;
    margin: 1%;
    width: 23%;
    height: 23%;
    object-fit: cover;
    text-align: left;
    float:left;
    margin-bottom: 0%;
    background-color: none;
}

/* =========[ MODAL BELOW ]========== */

.modal
{
    display: none;

    pointer-events: none;


    position: fixed;
    z-index: 999;

    width:100%;
    height:100%;
    background-color: rgba(4, 4, 4, 0.9);
}

.close
{
    position: fixed;
    z-index: 400;

    background-color: rgb(126, 89, 89, 0);
    width: 90%;
    height: 100%;
}

#bgButton
{
    isolation: isolate;
    z-index: 19;
    width: 90%;
    height: 100%;
    margin-left:5%;
    margin-right:5%;
    border-radius: 0%;

}


.close:hover
{
    background-color: rgb(126, 89, 89, 0);
}

.modalHead
{
    position: fixed;
    z-index: 20;
    pointer-events: none;

    width: 100%;
    /* background-color:pink; */
}

.closeButtonSection .close
{
    position:static;

    text-decoration: none;
    background-color: #7B3050;
    color: #F5F3FD;
    border-radius: 12px;
    border:none;

    padding: 12px;
    padding-left:18px;
    padding-right:18px;

    margin-left: 70%;
    margin-top: 55px;

    width:auto;
    height: auto;

    text-align: center;
    text-decoration: none;
    font-size: 16px;
}

.closeButtonSection .close:hover
{
    background-color: #6b2946;
}

.closeButtonSection
{
    float:left;

    width: 10%;
    height: 100px;

    margin-top: 0px;
    margin-right:0px;

    /* background-color: aqua; */
}

.modalHeadText
{
    float:left;

    width:80%;
    height: 100px;

    margin-top: 0px;
    margin-left:0;
    padding-top:0px;

    /* background-color: red; */
}

.tags
{
    width: 800px;
}

.tagItem
{
    background-color: #1B414A;
    color: white;
}

.imageArea
{
    display: flex;
    

    align-items: center;
    justify-content: center;
    height: 75%;
    width: 100%;
    margin-top:115px;
}

.mainImgDiv
{
    position: relative;
    z-index: 500;
    height: 100%;
    display: block;
    width: 90%;

    pointer-events: none;
}

#mainImg 
{
    /* display: block;
    left: 50%;
    transform: translateX(-50%); */

    display: block;
    margin-left:auto;
    margin-right:auto;
    height: 100%; 
    max-width: 100%;
    object-fit: contain;

    pointer-events: none;
}

.sideArrow
{
    z-index: 501;
    flex: 0 0 auto;
    height: 75%;
    width:5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sideArrowButton
{
    height: 100px;
    font-size: x-large;
    padding-left: 10px;
    padding-right: 10px;
}

.sideArrowButton:hover
{
    background-color: #6b2946;
}

@media screen 
and (max-width:800px)
{

    .galleryPage
    {
        width:100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: none;
    }

    .iWin
    {
        width:96%;
        margin-left: 2%;
        margin-right: 2%;
        padding:none;
    }

    .clickArt 
    {
        width: 48%;
        height: inherit;
        border:none;
        padding: 0%;
        object-fit: cover;
        text-align: left;
        float:left;
        background-color: rgb(37, 35, 35, 0);
        margin:1%;
        margin-left:1%;
        margin-right:1%;
        border-radius: 0%;
    }

    .clickArt img
    {
        width: 100%;
        height: 100%;
    }

    .clickArt button
    {
        border:none;
        padding: 0%;
        text-align: left;
        float:left;
        background-color: rgb(37, 35, 35, 0);
        margin:1%;

        margin-left:0%;
        margin-right:2%;
    }
    
    .clickArt button:hover 
    {
        border:none;
        padding: 0%;
        margin: 1%;
        width: 45%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        text-align: left;
        margin-bottom: 0%;
        background-color: none;

        margin-left: 2%;
        margin-right: 1%;
    }

}