@media screen and (min-width:900px) {    
    body{
        margin: 0;
        background-image: url(galerie_background.png);
        background-size: cover;
        background-repeat: no-repeat;
        max-width: 100%;
        width: auto;
        height: auto;
        background-position: center;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .off-screen-menu{
        position: fixed;
        top: 0;
        right: -450px;
    }
        
    .menu{
        overflow: hidden;
        margin: 0;
        padding: 0;
        text-align: center;
        background: rgb(4,6,48);
        background: -moz-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: -webkit-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#040630",endColorstr="#050237",GradientType=1);
        font-size: 1.2em;
    }

    .menu ul li{
        list-style-type: none;
        display: inline;
        padding: 0;
        margin: 0;
    }

    .menu ul li a{
        text-decoration: none;
        color: whitesmoke;
        padding: 16px;
        margin: 0;
    }

    .menu ul li a:hover{
        color: rgba(255, 190, 11, 0.993);
        transition: 1s;
    }

    .content h1{
        text-align: center;
        font-size: 4em;
        font-family: ´medieval´;
        color: whitesmoke;
        text-shadow: 10px 10px 20px black;
        margin-top: 2%;
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .content img{
        max-width: 100%;
        height: auto;
        width: auto;
    }
    
    .content{
        width: 100%;
        margin: auto;
        overflow: hidden;
        text-align: center;
        animation: animace ease-in 1;
        animation-fill-mode:forwards;
        animation-duration:1s;
    }
    
    .slider{
        position: relative;
        max-width: 25%;
        margin: auto;
        overflow: hidden;
        border: 4px solid rgba(255, 190, 11, 0.993);
        border-radius: 10px;
        margin-bottom: 3%;
    }
    
    .slides{
        display: flex;
        transition: transform 0.5s ease-in-out;
    }
    
    .slide{
        min-width: 100%;
        box-sizing: border-box;
        transition: transform 0.5s ease-in-out;
    }
    
    .slide img{
        width: 100%;
        border-radius: 10px;
    }
    
    .prev, .next{
        cursor: pointer;
        position: absolute;
        top: 45%;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 1.4em;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .prev{
        left: 5%;
    }
    
    .next{
        right: 5%;
        border-radius: 3px 0 0 3px;
    }
    
    .prev:hover, .next:hover {
        background-color: rgba(255, 190, 11, 0.993);
    }

    .pictures{
        max-width: 80%;
        width: auto;
        height: auto;
        margin-bottom: 3%;
    }

    .pictures1, .pictures2{
        display: flex;
    }

    .picture1{
        margin-left: 20%;
    }

    .picture2, .picture3{
        margin-left: 5%;
    }

    .picture4{
        margin-left: 20%;
        margin-top: 3%;
    }

    .picture5, .picture6{
        margin-left: 5%;
        margin-top: 3%;
    }

    .pictures img:hover{
        transform: scale(1.15);
        transition: 1.5s;
    }

    .footer{
        clear: both;
        background: rgb(4,6,48);
        background: -moz-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: -webkit-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#040630",endColorstr="#050237",GradientType=1);
        color: whitesmoke;
        padding: 1%;
        text-align: center;
        animation: animace ease-in 1;
        animation-fill-mode:forwards;
        animation-duration:1s;
        margin-top: auto;
        font-size: 0.8em;
    }
}

@media screen and (max-width:900px) {    
    body{
        margin: 0;
        background-image: url(background_mobile.png);
        background-repeat: no-repeat;
        background-size: cover;
        max-width: 100%;
        width: auto;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .menu{
        position: fixed;
        top: 0;
        right: -450px;
    }

    .content{
        animation: animace ease-in 1;
        animation-fill-mode:forwards;
        animation-duration:1s;
    }

    .content h1{
        text-align: center;
        font-size: 4em;
        font-family: ´medieval´;
        color: whitesmoke;
        text-shadow: 10px 10px 20px black;
    }

    .content img {
        max-width: 100%;
        height: auto;
        width: auto;
    }

    .slider{
        position: relative;
        max-width: 80%;
        margin: auto;
        overflow: hidden;
        border: 4px solid rgba(255, 190, 11, 0.993);
        border-radius: 10px;
        margin-bottom: 3%;
    }
    
    .slides{
        display: flex;
        transition: transform 0.5s ease-in-out;
    }
    
    .slide{
        min-width: 100%;
        box-sizing: border-box;
        transition: transform 0.5s ease-in-out;
    }
    
    .slide img{
        width: 100%;
        border-radius: 10px;
    }
    
    .prev, .next{
        cursor: pointer;
        position: absolute;
        top: 45%;
        padding: 12px;
        color: white;
        font-weight: bold;
        font-size: 1.2em;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .prev{
        left: 5%;
    }
    
    .next{
        right: 5%;
        border-radius: 3px 0 0 3px;
    }
    
    .prev:hover, .next:hover {
        background-color: rgba(255, 190, 11, 0.993);
    }

    .pictures{
        max-width: 95%;
        width: auto;
        height: auto;
        margin-top: 15%;
        margin-bottom: 10%;
    }

    .pictures1, .pictures2{
        display: flex;
    }

    .picture1{
        margin-left: 5%;
    }

    .picture2, .picture3{
        margin-left: 5%;
    }

    .picture4{
        margin-left: 5%;
        margin-top: 5%;
    }

    .picture5, .picture6{
        margin-left: 5%;
        margin-top: 5%;
    }

    .pictures img:hover{
        transform: scale(1.15);
        transition: 1.5s;
    }

    .footer{
        clear: both;
        text-align: center;
        background: rgb(4,6,48);
        background: -moz-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: -webkit-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#040630",endColorstr="#050237",GradientType=1);
        color: whitesmoke;
        padding: 3%;
        animation: animace ease-in 1;
        animation-fill-mode:forwards;
        animation-duration:1s;
        margin-top: auto;
        font-size: 0.8em;
    }

    .off-screen-menu{
        background: rgb(4,6,48);
        background: -moz-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: -webkit-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#040630",endColorstr="#050237",GradientType=1);
        height: 100vh;
        width: 100%;
        max-width: 450px;
        position: fixed;
        top: 0;
        right: -450px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 3rem;
        transition: .3s ease;
    }
    
    .off-screen-menu.active{
        right: 0;
        z-index: 998;
    }
    
    nav{
        padding: 1rem;
        display: flex;
        background: rgb(4,6,48);
        background: -moz-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: -webkit-radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        background: radial-gradient(circle, rgba(4,6,48,1) 5%, rgba(3,3,50,1) 20%, rgba(4,4,50,1) 50%, rgba(5,2,55,1) 80%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#040630",endColorstr="#050237",GradientType=1);
    }
    
    .ham-menu{
        height: 50px;
        width: 50px;
        margin-left: auto;
        position: relative;
    }
    
    .ham-menu span{
        height: 5px;
        width: 100%;
        background-color: whitesmoke;
        border-radius: 25px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: .3s ease;
    }
    
    .ham-menu span:nth-child(1) {
        top: 25%;
    }
    
    .ham-menu span:nth-child(3) {
        top: 75%;
    }
    
    .ham-menu.active span:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        z-index: 999;
    }
    
    .ham-menu.active span:nth-child(2) {
        opacity: 0;
        z-index: 999;
    }
    
    .ham-menu.active span:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 999;
    }

    .off-screen-menu ul li{
        list-style-type: none;
        display: block;
    }

    .off-screen-menu ul li a{
        text-decoration: none;
        color: whitesmoke;
    }
}

@keyframes animace {
    0% {
        transform: translate(0px, 150px);
        opacity: 0;
    }
    100% {
        transform: translate(0px, 0px);
        opacity: 1;
    }
}

@font-face {
    font-family: ´medieval´;
    src: url(MedievalSharp-Regular.ttf)
}