@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body {
    margin: 0;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Social Links*/
.social-links {
    position: absolute;
    top: 0;
    z-index: 2;
    width: calc(100% - (.75rem + .75rem));
    padding: 0 .75rem;
    display: flex;
    justify-content: flex-end;
    font-size: 1.25em;
}

.social-links a {
    color: #fff;
    margin: 1rem .5rem;
    transition: color .4s;
}

.social-links a:hover {
    color: #c13e3e;
}

/* Banner */
#banner {
    display: flex;
    align-items: center;
    height: 64vh;
    background-color: rgba(0,0,0,.75);
    backdrop-filter: blur(.75vh);
    /* box-shadow: 0 -5rem 3rem -4.5rem rgba(0, 0, 0, .275) inset; */
}

#banner h1 {
    font-size: 8rem;
    font-weight: 700;
    text-transform: lowercase;
    line-height: .8;
    margin: .8rem 1.5rem;
}

#banner img {
    height: 10rem;
}

/* Modal */
#modal-container {
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5em;
    background-color: rgba(0, 0, 0, .75);
    backdrop-filter: blur(1vh);
    z-index: 5;
    overflow: hidden;
}

#modal-container img {
    max-width: 50%;
    max-height: 100%;
    object-fit: contain;
    margin-right: 5em;
    box-shadow: .25rem .25rem .75rem rgba(0, 0, 0, .5);
    background-color: #000;
}

#modal-container .info {
    flex-grow: 8;
}

#modal-container .info h1 {
    font-size: 5rem;
    font-weight: 700;
    margin: 0;
}

#modal-container .close-button {
    align-self: 
    flex-start; 
    font-size: 2em;
    cursor: pointer;
}

/* Artwork Thumbnail */
#gallery {
    background-color: #000;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
}

.thumbnail-art {
    position: relative;
    overflow: hidden;
}

.thumbnail-art {
    width: calc(100% / 6);
    background-color: #101010;
}
  
.thumbnail-art:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.thumbnail-art .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.5), transparent);
}
  
.thumbnail-art:hover .overlay {
    opacity: 1;
    cursor: pointer;
}
  
.thumbnail-art img {
    position: absolute;
    object-fit: cover;
    object-position: 50% 25%;
    width: 100%;
    height: 100%;
}

.thumbnail-art .overlay .text {
    display: flex;
    align-items:center;
    justify-content: space-between;
    white-space: nowrap;
    color: white;
    width: 100%;
    font-size: 1.125rem;
    position: absolute;
    bottom: 0;
    padding: .5em .75em;
}

.thumbnail-art .overlay .text .title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumbnail-art .overlay .text .icons {
    font-size: .75rem;
}

/* Vue.js transition */
.fade-enter-active, .fade-leave-active {
    transition: opacity .3s;
}

.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
    opacity: 0;
}

/* Responsive CSS */

@media only screen and (max-width: 1375px) {
    /* Thumbnail Art*/
    .thumbnail-art {
        width: calc(100% / 3);
        background-color: #101010;
    }
}

@media only screen and (max-width: 768px) {
    .social-links {
        font-size: 2em;
        justify-content: center;
    }

    /* Banner */
    #banner {
        justify-content: center;
    }

    #banner h1 {
        font-size: 5rem;
        margin: .8rem .6rem;
    }

    #banner img {
        height: 5rem;
    }

    /* Thumbnail Art*/
    .thumbnail-art {
        width: calc(100% / 2);
        background-color: #101010;
    }

    /* Modal */
    #modal-container {
        overflow: auto;
        justify-content: flex-start;
        flex-direction: column;
        padding: 1rem;
    }

    #modal-container img {
        max-width: 100%;
        max-height: none;
        width: 100%;
        margin: 0;
        order: 3;
    }

    #modal-container .info {
        flex-grow: 0;
        align-self: flex-start;
        margin-bottom: 3rem;
        order: 2;
    }

    #modal-container .info h1 {
        font-size: 2rem;
    }

    #modal-container .close-button {
        align-self: flex-end; 
        font-size: 3em;
        order: 1;
    }

}