@media only screen and (max-width: 1000px){
    .opening{
        width: 100%;
        height: 100%;
    }
    
    .opening .background-image{
        width: 100%;
        height: 100%;
        background-image: url("/images/photos/photo1.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: cover;
        transition: 3s;
        filter: brightness(80%);
        
        animation-name: animate;
        animation-direction:alternate;
        animation-duration: 15s;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
        animation-play-state: running;
        animation-timing-function: ease-in-out;
    }
    
    @keyframes animate{
        0%{
            background-image: url("/images/photos/photo1.jpg");
        }20%{
            background-image: url("/images/photos/photo2.jpg");
        }40%{
            background-image: url("/images/photos/photo4.jpg");
        }60%{
            background-image: url("/images/photos/photo5.jpg");
        }80%{
            background-image: url("/images/photos/photo7.jpg");
        }100%{
            background-image: url("/images/photos/photo10.jpg");
        }
    }
    
    .opening .background-image img{
        display: none;
        width: 100%;
        height: auto;
        object-fit: cover;
        filter: brightness(80%);
    }
    
    .opening .title{
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translateX(-50%) translateY(-50%);
        text-align: center;
        filter: drop-shadow(0px 0px 10px rgb(0, 0, 0, 0.3));
    }

    .opening .title img{
        width: 230px;
        height: auto;
    }
}

@media only screen and (min-width: 1000px){
    .opening{
        width: 100%;
        height: 100%;
    }
    
    .opening .background-image{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .opening .background-image img{
        width: 16.667%;
        height: 100%;
        object-fit: cover;
        filter: brightness(80%);
    }
    
    .opening .title{
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translateX(-50%) translateY(-50%);
        text-align: center;
        filter: drop-shadow(0px 0px 10px rgb(0, 0, 0.3));
    }

    .opening .title img{
        width: 350px;
        height: auto;
    }
}
