* {
    margin: 0;
    padding: 0;
}

.parallax {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 3px;
}

.parallax__layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.parallax__layer--base {
    transform: translateZ(0px);
    transform: translateZ(0px);
    z-index: 0;
}

.parallax__layer--midground {
    transform: translateZ(-1px);
    transform: translateZ(-1px);
    z-index: -1;
}

.parallax__layer--background {
    transform: translateZ(-3px);
    transform: translateZ(-3px);
    z-index: -2;
}

.parallax__layer {
    padding: 100vh 0;
}

.title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.base {
    height: 300px;
    width: 300px;
    border-radius: 150px;
    background-color: red;
}

.midground {
    height: 500px;
    width: 500px;
    background-color: darkkhaki;
}

.background {
    height: 1000px;
    width: 1000px;
    background-color:black;
}
