@import url(https://fonts.googleapis.com/css?family=Nunito);
@import url(https://fonts.cdnfonts.com/css/malvie);
@import url(//db.onlinewebfonts.com/c/b42c623801b091d83d12f0525070e133?family=Owbeirak+Serif+Demo+Version);
html{
    height: 100%;
    overflow: hidden;
}

body {
    margin:0;
    padding:0;
    perspective: 1px;
    transform-style: preserve-3d;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: Nunito;
}

h1 {
    font-size: 300%;
    color: deeppink;
    font-family: malvie;
    padding-right: 10px;
    letter-spacing: 5px;
    text-shadow: 0 0 3px rgba(242, 232, 243, 0.85),
    0 0 7px #ff00cc,
    0 0 10px #ff48d2,
    0 0 21px #ff57df;


}

h2{
    font-size: 200%;
    color: deeppink;
    font-family: malvie;
    padding-right: 10px;
    letter-spacing: 5px;
    text-shadow: 0 0 3px rgba(242, 232, 243, 0.85),
    0 0 7px #f958bb,
    0 0 10px #ff48d2,
    0 0 21px #ff57df,
    0 0 42px #ff73eb,
    0 0 82px #ff8af4,
    0 0 92px #ff9cfa,
    0 0 102px #ffb8ff,
    0 0 151px #e7b6da;

}
p {
    font-size: 140%;
    line-height: 150%;
    color: #ffffff;
}

.slide {
    position: relative;
    padding: 25vh 10%;
    min-height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
    transform-style: inherit;
}
.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
img{
    position: absolute;
    top: 50%;
    left: 35%;
    width: 320px;
    height: 240px;
    transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
    padding: 10px;
    border-radius: 5px;
    background: rgba(240,230,220, .7);
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

img:last-of-type {
    transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}

.slide:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, .7);
}

.title {
    width: 50%;
    padding: 5%;
    border-radius: 5px;
    background: rgba(5, 5, 5, 0.82);
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.slide:nth-child(2n) .title {
    margin-left: 0;
    margin-right: auto;
}

.slide:nth-child(2n+1) .title {
    margin-left: auto;
    margin-right: 0;
}

.slide, .slide:before {
    background: 50% 50% / cover;
}

.header {
    text-align: center;
    font-size: 175%;
    color: #fff;
    text-shadow: 0 2px 2px #000;
}

#title {
    color: black;
    background-image: url("../images/miaou-logo-4.png");
    z-index: 2;

    text-shadow: 0 0 3px rgba(242, 232, 243, 0.85),
    0 0 7px #ff00cc,
    0 0 10px #ff48d2,
    0 0 21px #ff57df,
    0 0 42px #ff73eb,
    0 0 82px #ff8af4,
    0 0 92px #ff9cfa,
    0 0 102px #ffb8ff,
    0 0 151px #e7b6da;

}



#title h1 {
    transform: translateZ(.25px) scale(.75);
    transform-origin: 50% 100%;

}

#slide1:before {
    background-image: url("../images/slide-nala.png");
    transform: translateZ(-1px) scale(2);
}

#slide2 {
    background-image: url("../images/lights.png");
    z-index:2;
}

#slide3:before {
    /*background-image: url("https://picsum.photos/980/600");*/
    background-image: url("../images/slide-lina.png");
    transform: translateZ(-1px) scale(2);
}

#slide4 {
    background: black;
}

footer {
    text-align: left;
    color: white;
    background-color: black;
    padding-left: 20px;
    padding-bottom: 20px;
}
@media (max-width: 800px){
    #slide1:before{
        width: 414px;
        padding-left: 1179px;
        padding-right: 30px;}

::before{color: black;}

    .slide:nth-child(2n) .title {width: 300px;}

    .slide:nth-child(2n+1) .title {
        margin-left: auto;
        margin-right: 0;
        margin-top: 126px;
    }


    h2 {
        font-size: 28px;
    }
    .title {
        margin-left: auto;
        margin-right: 0;
        padding-left: 10px;

    }

    p {
        font-size: 17px;
    }
    img {
        position: absolute;
        top: 43%;
        left: 38%;
        width: 160px;
        height: 136px;
    }
}


    @media (max-width: 430px) {
        #title {
            color: black;
            background-image: url("../images/miaou-logo-4.png"); background-size: 1095px;padding-right: 10px;
            z-index: 2;

            text-shadow: 0 0 3px rgba(242, 232, 243, 0.85),
            0 0 7px #ff00cc,
            0 0 10px #ff48d2,
            0 0 21px #ff57df,
            0 0 42px #ff73eb,
            0 0 82px #ff8af4,
            0 0 92px #ff9cfa,
            0 0 102px #ffb8ff,
            0 0 151px #e7b6da;

        }

        .slide{
            width: 422px;
            padding-right: 100px;
        }
        .slide, .slide:before {
            background-position: center;
        }

        .slide:nth-child(2n) .title {width: 300px;}
        h2 {
            font-size: 28px;
        }

        .title {
            margin-left: auto;
            margin-right: 0;
            padding-left: 10px;
        }

        p {
            font-size: 17px;
        }

        img {
            position: absolute;
            top: 46%;
            left: 32%;
            width: 113px;
            height: 97px;
        }

        .slide:nth-child(2n+1) .title {
            margin-left: 148px;
            margin-right: 0;
            margin-top: 126px;
        }
        #slide1:before{
            width: 414px;
            padding-left: 1179px;
            padding-right: 30px;
        }
        #slide3:before{
            width: 364px;
            padding-left: 1179px;
        }

    }

@media (max-width: 360px){
    .slide:nth-child(2n) .title {width: 284px;}

    #title {
        padding-top: 10px;
        background-size: 940px;
        margin-bottom: 2px;
    }
    .header {
        text-align: center;
        font-size: 175%;
        color: #fff;
        text-shadow: 0 2px 2px #000;
    }

}