/* =========================================
   FOTOGRAFIE HINTERGRUND
   ========================================= */

.background {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: -1;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: opacity 1s ease;
}

#background1 {
    opacity: 1;
}

#background2 {
    opacity: 0;
}

/* =========================================
   HEADER-BILDER
   ========================================= */

.header-images {
    display: flex;

    width: 100%;
    height: 100%;
}

.image-strip {
    flex: 1;

    height: 100%;

    background-size: cover;
    background-position: center;

    overflow: hidden;

    border: 1px solid black;

    transition: flex 0.5s ease;
}

.image-strip:hover {
    flex: 5;
}

.image-strip.header1 {
    background-position: 25% center;
}

.image-strip.header2 {
    background-position: 40% center;
}

.image-strip.header3 {
    background-position: 47% center;
}

.image-strip.header4 {
    background-position: 37% center;
}

.image-strip.header5 {
    background-position: 56% center;
}

/* =========================================
   GALERIE
   ========================================= */

.gallery-container {
    overflow: hidden;

    position: relative;

    width: 100vw;
    height: 100vh;

    display: flex;

    align-items: center;
}

.gallery {
    display: flex;

    transition:
        transform 0.5s ease-in-out;
}

.gallery img {
    height: 30vh;

    width: auto;

    flex-shrink: 0;

    border: 5px solid black;

    cursor: pointer;
}


/* =========================================
   GALERIE BUTTONS
   ========================================= */

.nav-button {
    position: absolute;

    top: 50%;

    z-index: 2;

    display: none;

    padding: 10px;

    color: white;

    background-color: rgba(0, 0, 0, 0.7);

    border: none;

    font-size: 40px;

    cursor: pointer;

    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


/* =========================================
   MODAL
   ========================================= */

.modal {
    display: none;

    position: fixed;

    left: 0;
    top: 0;

    z-index: 1000;

    width: 100vw;
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.9);

    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
}

.close {
    position: absolute;

    top: 15px;
    right: 35px;

    color: #f1f1f1;

    font-size: 40px;

    font-weight: bold;

    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
}