/* Style the Image Used to Trigger the Modal */
.image-to-resize {
    cursor: pointer;
    transition: 0.3s;
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3000; /* Sit on top */
    padding: 5%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    flex-direction: column;
    align-items: center;
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;

    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.cards-wrapper {
    position: relative;
    overflow: hidden;
}

.cards {
    font-size: 0;
    position: relative;
    left: 0;
    white-space: nowrap;
    transition: 1.1s ease;
}

.card {
    width: 300px;
    height: 400px;
    background: #c8c8c8;
    display: inline-block;
    margin-right: 16px;
    position: relative;
    left: 0;
    overflow: hidden;
}

.card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cards-nav {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 80px;
    z-index: 2;
}

.cards-nav-left,
.cards-nav-right {
    position: absolute;
    background: rgba(255, 255, 255, .66);
    cursor: pointer;
    width: 48px;
    height: 72px;
    top: 50%;
    transform: translateY(-50%);
    transition: .5s ease;

}
.cards-nav-left:hover ,
.cards-nav-right:hover {
     background: white;
 }

.cards-nav svg {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    left: 50%;
    fill: #090956;
}

.cards-nav-left {
    left: 0;
}

.cards-nav-right {
    right: 0;
}

.disabled {
    pointer-events: none;
    opacity: .25;
}