.page-wrapper1 {
    gap: 1vh;
    width: 100%;
    height: 75vh;
    display: flex;
    align-items: center;
}

.radial_hero {
    background-image: url(../projects/radialflipz_nine/ernest_hero.png);
    background-size: cover;
    height: 100%;
    width: 50%;
    border-radius: 10px;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 40%;
}

.text h1 {
    margin-bottom: 5vh;
}

.page-2-wrapper {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

.text1 {
    margin-left: 13vh;
    max-width: 50%;
    font-size: 3vh;
}

.img_radialball {
    width: 50%;
    transform: scale(0.8);
    height: 100%;
    margin-right: 15vh;
    background-image: url(../projects/radialflipz_nine/9ball.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-3-wrapper {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.text2 {
    margin-right: 13vh;
}

.img_radialcoin {
    width: 80%;
    height: 100%;
    background-image: url(../projects/radialflipz_nine/9coin.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(0.8);

}

.page-4-wrapper {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 10vh;
}

.text4 {
    margin: 0;
    transform: translateY(7vh);
}

.img-wrapper {
    display: flex;
    width: 90%;
    flex-grow: 1;
}

.mockup_coin {
    width: 50%;
    height: 100%;
    background-image: url(../projects/radialflipz_nine/mockup_coin.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.mockup_ball {
    width: 50%;
    height: 100%;
    background-image: url(../projects/radialflipz_nine/mockup_ball.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.scrolldown {
    position: absolute;
    bottom: 12%;
    right: 7%;
}

.container {
    position: relative;
    width: 15vh;
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.chevron {
    position: absolute;
    width: 5vh;
    height: 1vh;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}

.chevron:first-child {
    animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #fff;
}

.chevron:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% {
        opacity: 1;

    }

    33% {
        opacity: 1;
        transform: translateY(30px);
    }

    67% {
        opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}

.instagram-media {
    border-radius: 10px !important;
}

@media only screen and (max-width: 600px) {
    .page-wrapper1 {
        flex-direction: column;
    }

    .text {
        max-width: 80%;
    }

    .radial_hero {
        width: 100%;
    }

    .scrolldown {
        display: none;
    }

    .page-2-wrapper {
        flex-direction: column-reverse;
    }

    .text1 {
        margin: 0;
        max-width: 80%;
        text-align: center;
    }

    .img_radialball {
        width: 70%;
        margin: 0;
    }

    .img_radialcoin {
        width: 70%;
        margin: 0;
    }

    .page-3-wrapper {
        flex-direction: column;
    }

    .text2 {
        margin: 0;
        max-width: 80%;
        text-align: center;
    }

    .mockup_ball,
    .mockup_coin {
        width: 100%;
    }

    .img-wrapper {
        flex-direction: column;
    }

    .text4 {
        padding-bottom: 5vh;
    }
}