#crew {
    display: flex;
    justify-content: flex-start;
    align-items: normal;
    background-image: url(../images/crewBackground.JPG);
}

#background-softener {
    background: linear-gradient(
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.8));
    z-index: -1;
    position: fixed;
    height: 100%;
    width: 100%;
}

#crew h2 {
    justify-self: center;
    align-self: center;
}

#crew-card-container {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    height: 100vh;
}

#crew-card-container::-webkit-scrollbar {
    display: none;
}

.crew-card {
    display: flex;
    position: relative;
    margin: .5em 1em;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    max-width: 400px;
    scale: 1;
    transition: 300ms ease;
    cursor: pointer;
}

.crew-card.blur {
    scale: 0.75;
    filter: blur(4px);
    transition: filter 0.3s;
}

.crew-card a {
    display: flex;
    overflow: hidden;
}

.crew-img {
    flex: 1 0 100%;
    object-fit: cover;
    height: auto;
    width: inherit;
    overflow: hidden;
}

.crew-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0.7em 0.5em;
    position: absolute;
    bottom: 0;
    max-height: 32vh;
    width: inherit;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #1E1E1E 30%);
}

.crew-scroll {
    overflow-y: scroll;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: #555; 
}

.crew-info p, .crew-info span {
    color: white;
}

.crew-info span{
    font-weight: 700;
}

#crew h3 {
    font-size: 1.5em;
}

@media only screen and (min-width: 500px) {
    #alva {
        margin-left: 500px;
    }

    #wille {
        margin-right: 500px;
    }
}

@media(prefers-reduced-motion) {
    .crew-card{
        transition: none;
    }
}