@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,600,700&display=swap');
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
}

.wrapper {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 2px;
}

.section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 0 5px #000;
}

.parallax::after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateZ(-1px) scale(1.5);
    background-size: 100%;
    z-index: -1;
}

.static {
    background: #3f51b5;
}

.bg1::after {
    background-image: url(img/1.jpg);
}

.bg2::after {
    background-image: url(img/2.jpg);
}

h1 {
    font-size: 6rem;
}

/* Next Button */

* {
    box-sizing: border-box;
}

.icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 auto;
    fill: currentColor;
}

.icon--arrow-right {
    transform: scale3d(-1, -1, 1);
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5em;
}

.next {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    bottom: 0;
    right: 0;
}

.next-demo {
    position: relative;
    margin: 1.5em 2em;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;
}

.next-demo a:hover, .next-demo a:focus {
    color: #42AB9E !important;
}

.hidden {
    width: 0;
    height: 0;
}