@import "../../app.scss";

.parallax {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    h1 {
        font-size: 76px;

        @include mobile {
            font-size: 72px;
            text-align: center;
        }
    }

    .mountains {
        background-image: url("./mountains.png");
        background-size: cover;
        background-position: bottom;
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 3;

        @include mobile {
            background-size: contain;
            background-repeat: no-repeat;
        }
    }

    .planets {
        background-image: url("./planets.png");
        background-size: cover;
        background-position: bottom;
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 2;

        @include mobile {
            background-size: contain;
            background-repeat: no-repeat;
        }
    }

    .stars {
        background-image: url("./stars.png");
        background-size: cover;
        background-position: bottom;
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 1;
    }
}