body {
    margin: 0;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

@media only screen and (max-width: 1024px) {
    .artist-info-picture-container {
        margin-top: -25vh;
        flex-direction: column-reverse;
        justify-content: center;
        padding: 0 !important;
        min-height: 00vh !important;
    }

    .info-container {
        width: 90%;
        padding: 1em;
    }

    .info-container p {
        font-size: 3vw;
    }

    .info-container h2 {
        font-size: 6vw;
    }

    .artist-image-container {
        width: 90%;
        padding: 1em;
        margin: 12em 0 0 0;
    }

    .artist-image-container img {
        width: 70%;
    }

    .image-info-container {
        width: 70%;
    }

    .cv-button {
        font-size: 3vw !important;
    }

    .row {
        margin-top: -0.2px;
    }

    .myImg-div {
        background-color: rgba(255, 255, 255, 0) !important;
    }

    .myImg {
        height: 10vh !important;
        border: none;
        opacity: 1 !important;
    }

    .modal-content {
        margin-top: 10vh !important;
        max-width: 70% !important;
        max-height: 50% !important;
    }

    #caption {
        font-size: 3vw !important;
        font-weight: bold;
        font-style: italic;
    }

    .single-line-description {
        font-size: 2vw !important;
    }

}

@media only screen and (min-width: 1025px) {
    .artist-image-container {
        width: 50%;
        padding-bottom: 5em;
    }

    .artist-image-container img {
        width: 70%;
        padding: 1em;
    }

    .info-container {
        width: 50%;
        padding: 3%;
        /* height: 100vh; */
        color: white;
    }

    .info-container p {
        font-size: 12px;
    }
}

.container-div {
    width: 100%;
    position: relative;
}

.container-div:before {
    content: ' ';
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-image: url('https://files.cargocollective.com/c2174104/hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

.artist-header-container {
    text-align: center;
    height: auto;
    display: flex;
    align-items: center;
}

.artist-info-picture-container {
    display: flex;
    height: auto;
    padding: 5em 0 4em 0;
    background-color: #000000c0;
}

.artist-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.artist-image-container img {
    height: auto;
    border-radius: 20%;
    filter: grayscale(100%);
}

.info-container p,
h2 {
    text-align: left;
    color: white;
    text-align: justify;
}

.cv-button {
    font-size: 0.875em;
    display: block;
    margin-top: 35px;
    margin-bottom: 2em;
    color: black;
    background-color: white;
    border-radius: 0.5em;
    padding: 1em 2em;
    text-align: center;
    max-width: fit-content;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    z-index: 996;
}

.row {
    padding: 0 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.myImg {
    border-radius: 0.5em;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    height: 30vh;
    opacity: 0.05;
}

.myImg-div {
    width: calc(25% - 10px);
    display: none;
    background-color: black;
    height: max-content;
    border-radius: 0.5em;
}

.myImg:hover {
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.925);
}

.modal-content {
    margin: auto;
    margin-top: -4em;
    display: block;
    width: auto;
    max-width: 55%;
    max-height: 75vh;
}

#caption {
    font-size: 1.5em;
    font-weight: bold;
    font-style: italic;
}

.image-info-container {
    margin: auto;
    padding: 0.5em 0;
    display: block;
    max-width: 55%;
    text-align: center;
    color: white;
    background-color: rgb(43, 43, 43);
}

.image-title {
    text-align: center;
    font-size: larger;
    font-weight: bold;
    font-style: italic;
    font-size: 2em;
}

.single-line-description {
    text-align: center;
    font-style: italic;
}

.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.image-info-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.image-info-content {
    color: grey;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 25px;
    left: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .artist-image-container {
        width: 90%;
        padding: 1em;
        margin: 2em 0 0 0;
    }
}

#marqueeContainer {
    background-color: #000000c0;
    width: 100%;
    position: absolute;
    z-index: 996;
}

/* nav stylings */
@media only screen and (min-width: 1350px) {
    .fixed-sidebar-object {
        display: none;
    }

    .fixed-topbar-object {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .topbar-artists-open {
        z-index: 999;
    }
}

@media only screen and (max-width: 1350px) {
    .fixed-sidebar-object {
        position: fixed;
        top: 0;
        right: 0;
        width: 15%;
        height: 10%;
        z-index: 999;
    }

    .sidebar-open {
        width: min-content;
        height: 100%;
        z-index: 999;
    }
}

/* Artwork Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    /* max-width: 1000px; */
    margin: 20px auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.artwork-box {
    flex: 0 0 250px;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.artwork-box:hover {
    transform: scale(1.05);
}

.artwork-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.artwork-box:hover img {
    filter: grayscale(0%);
}

/* Title and Year */
.artwork-title {
    font-size: 16px;
    color: #cfcfcf;
    margin-top: 5px;
}

.artwork-year {
    font-size: 14px;
    color: #777;
}

#slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    gap: 20px;
    padding: 10px;
    cursor: grab;
}

#slider::-webkit-scrollbar {
    display: none;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fullscreen Preview */
.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.fullscreen-content {
    display: flex;
    align-items: center;
    max-width: 80%;
}

.fullscreen-image {
    max-width: 740px;
    border-radius: 12px;
}

.fullscreen-info {
    color: white;
    padding: 20px;
}

.fullscreen-title {
    font-size: 27px;
    font-weight: bold;
}

.fullscreen-medium {
    font-size: 17px;
}

.fullscreen-year {
    font-size: 14px;
}

.fullscreen-size {
    font-size: 12px;
}

.fullscreen-description {
    font-size: 12px;
    margin-top: 10px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 40px;
    right: 65px;
    background: rgb(255, 208, 0);
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

.close-btn:hover {
    background: rgb(139, 113, 0);
}