#columns {
    display: block;
    column-width: 250px;
    column-gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

.masonry-item {
    width: calc(25% - 30px);
    border-radius: 5px;
    background: #fefefe;
    border: 2px solid #fcfcfc;
    box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
    margin: 0 10px 15px;
    padding: 2px;
    padding-bottom: 1px;
    transition: opacity .4s ease-in-out;
}

.figureImg {
    width: 100%;
    height: auto;
    padding-bottom: 0px;
    margin-bottom: 0px;
    /* border-bottom: 1px solid #ccc; */
    border-radius: 8px 8px 0 0;
}

div#columns figure figcaption {
    font-size: .9rem;
    color: #444;
    line-height: 1.5;
}

* {
    transition: all 0.3s ease;
}

.postTag {
    position: absolute;
    font-weight: bolder;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 10px;
    z-index: 8;
    left: 10px;
    right: auto;
    top: -10px;
    text-align: center;

    &:hover {
        top: -20px;
    }

    .postTagImg {
        height: fit-content;
        height: 30px;
    }
}

.winner {
    border-color: #ff0036;
    background-color: #ff0036;
    color: #ffffff;
    background-image: linear-gradient(to bottom right, #ff0036, #e6e6e6);
}

.hotTag {
    border-color: #ff0036;
    background-color: #fe2252;
    color: #ffffff;
    /* background-image: linear-gradient(to bottom right, #ff00ee, #e6e6e6); */
}

.trendTag {
    border-color: #ff00ae;
    background-color: #ff00ae;
    color: #ffffff;
    background-image: linear-gradient(to bottom right, #ff0036, #e6e6e6);
}

div#columns small {
    font-size: 1rem;
    float: right;
    text-transform: uppercase;
    color: #aaa;
}

div#columns small a {
    color: #666;
    text-decoration: none;
    transition: .4s color;
}

div#columns:hover figure:not(:hover) {
    opacity: 0.9;
}

/* ////////////////////////////////////////////////// */

.modal-container {
    height: 500px;
    width: calc(100% - 0px);
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #bbbbbb00;
    z-index: 11;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* z-index: 0; */
}

.socialShareLinks {
    background-color: #fff;
    width: 350px;
    max-width: calc(100% - 30px);
    padding: 10px;
    border-radius: 15px;
}

/* The Close Button */
.closeX {
    color: #aaa;
    float: right;
    /* position: absolute; */
    clear: both;
    /* right: 50px; */
    font-size: 28px;
    font-weight: bold;
}

.closeX:hover,
.closeX:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#social-links {
    /* background-color: #732f2f; */

    ul {
        display: flex;
        list-style-type: none;
        list-style: none;
        margin-block-start: 0;
        margin-block-end: 0;
        padding-inline-start: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        width: calc(100% - 10px);

        li {
            list-style: none;
            list-style-type: none;
            /* height: 50px; */
        }
    }
}

.social-button {
    height: 50px;
    padding: 10px;
    margin: 10px;
    display: block;
    /* background-color: #7e6868; */

    img {
        height: 40px;
        width: 40px;
    }
}

.copyLink,
#copyLink {
    padding: 10px;
    width: calc(100% - 30px);
    font-weight: 700;
    border-radius: 10px;
}

/* //////////////////////////////////////////////////// */
@media screen and (max-width: 1200px) {
    #columns {
        width: calc(100% - 30px);
    }

    #columns figure {
        width: calc(25% - 30px);
    }
}

/* //////////////////////////////////////////////////// */
@media screen and (max-width: 1140px) {
    #columns {
        width: calc(100%);
        /* width: fit-content; */
    }

    #columns figure {
        width: calc(33% - 30px);
    }


}

@media screen and (max-width: 1100px) {}

/* //////////////////////////////////////////////////// */
@media screen and (max-width: 950px) {
    #columns {
        width: calc(100%);
        /* width: fit-content; */
    }

    #columns figure {
        width: calc(33% - 30px);
    }
}

@media screen and (max-width: 750px) {
    #columns {
        column-gap: 10px;
        margin: auto;
        width: calc(100%);
        /* margin: 10px 11px; */
    }

    #columns figure {
        width: calc(50% - 30px);
    }
}

@media screen and (max-width: 505px) {
    #columns {
        width: calc(100% - 10px);
    }

    #columns figure {
        width: calc(100% - 30px);
    }

    .modal-container {
        width: calc(100% - 10px);
    }

    .social-button {
        img {
            height: 50px;
            width: 50px;
        }
    }
}