body {
    background-color: #232323;
    overflow-x: hidden;
}

.part-left {
    min-height: 100vh;
    color: #fff;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center; 
    font-family: 'Open Sans', sans-serif;
    font-size: calc(20px + 0.35vw);
    font-weight: 300;
}

.container-background, .container-background-black {
    background-color: #232323;
    width: 100%;
    height: fit-content;
}

.container-background {
    margin-top: 1.5%;
}

.container-first-part {
    width: 75%;
    margin: auto;
    display: flex;
    align-items: center;
    margin-bottom: calc(2% + 15px);
}


.button-and-player svg {
    cursor: pointer;
}

.button-and-player {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 25px;
}

.button-and-player svg {
    width: 90%;
    max-width: 300px;
    /* Set a maximum width for the SVG */
    min-width: 125px;
    height: auto;
    cursor: pointer;
}

.player-button {
    max-width: 300px;
    min-width: 60px;
    width: auto;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    aspect-ratio: 1;
}

.play-icon {
    width: 40%;
    /* Adjust the width of the play icon */
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.logo-gif {
    max-width: 50%;
    height: auto;
    width: auto;
    /* ie8 */
}

.nebulite-bg {
    display: block;
    max-height: 700px;
    width: auto;
    height: auto;
}

.nebulite-mb {
    display: none;
    max-height: 700px;
    width: auto;
    height: auto;
    width: 65%;
}

.container {
    width: 100%;
    background-color: #232323;
    height: 100vh;
    position: relative;
}

.absolute {
    position: absolute;
}

.none {
    display: none;
}

.scale-down {
    transform-origin: left;
}

.scale-right {
    transform-origin: right;
}

.content {
    position: absolute;
    width: 30%;
    margin: auto;
    color: #fff;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    line-height: 30px;
    z-index: 10;
}

.container-hands-general {
    padding-bottom: calc(15% + 50px);
}

.container-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: calc(20px + 0.35vw);
    font-weight: 300;
    color: #fff;
    padding-top: 3%;
}

.general-container-hands {
    overflow-x: hidden;
}

.content-above {
    height: 300vh;
}

.container-text {
    position: relative;
    z-index: 1;
    /* Ensure text is below the images */
}

.right-hand {
    margin-top: -10%;
}

.right-hand,
.left-hand {
    width: 100%;
    /* Take full width of the screen */
    max-width: 100%;
    /* Ensure max-width is 100% */
    height: auto;
    /* Maintain aspect ratio while resizing */
    position: relative;
    z-index: 2;
    /* Ensure right-hand is above other elements */
    transform: translateY(-0%);
    /* Initial position */
    transition: transform 0.5s ease;
    /* Add a smooth transition */
}

.spacer {
    height: 1px;
    /* Set height to make the element visible for Intersection Observer */
}

.container-hand-text {
    width: 75%;
    margin: auto;
    font-size: 24px;
    line-height: 30px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 3%;
}

.left-hand {
    margin-top: -20%;
    /* Adjust the margin as needed for overlap */
    z-index: 1;
    /* Ensure .left-hand is above .right-hand */
    margin-top: -45%;
}

/* Basic styling for the container */
.input-container {
    display: flex;
    max-width: 600px;
    /* Adjust the width as needed */
    background-color: #fff;
    color: #232323;
    border-radius: 24px;
    padding: 5px 5px 5px 25px;
    width: calc(50% + 220px)
}

/* Style for the input field */
input[type="text"] {
    flex: 1;
    /* Take up remaining space */
    padding: 10px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

/* Style for the button */
.btn-primary {
    padding: 10px;
    background-color: #393939;
    color: white;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-family: 'Josefin Sans', sans-serif;
    min-width: fit-content;
}

.btn-primary:hover {
    background-color: #292929;
}

.blague {
    color: #c5c5c5;
    font-style: italic;
    font-weight: 100;
    font-size: calc(14px + 0.12vw);
}

.pos-1 {
    right: 0%;
    top: 75%;
    transform: translate(5%, -75%) scale(0.7);
    animation: custom-transform1 2.85s linear infinite alternate;
    animation-fill-mode: forwards;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform1 {
    from {
        transform: translate(5%, -75%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(5%, -78%) scale(0.7) rotate(2deg);
    }
}

@keyframes custom-transform1-mobile {
    from {
        transform: translate(22%, -105%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(22%, -108%) scale(0.5) rotate(2deg);
    }
}


.pos-2 {
    left: 0%;
    top: 5%;
    transform: translate(-0%, -5%) scale(0.7);
    animation: custom-transform2 3.85s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform2 {
    from {
        transform: translate(-0%, -5%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-0%, -10%) scale(0.7) rotate(2deg);
    }
}

@keyframes custom-transform2-mobile {
    from {
        transform: translate(-18%, 5%) scale(0.45) rotate(0deg);
    }

    to {
        transform: translate(-18%, 0%) scale(0.45) rotate(2deg);
    }
}

.pos-3 {
    left: 60%;
    top: 0%;
    transform: translate(-60%, 0%) scale(0.7);
    animation: custom-transform3 1.15s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform3 {
    from {
        transform: translate(-60%, -0%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-60%, -5%) scale(0.7) rotate(-3deg);
    }
}

@keyframes custom-transform3-mobile {
    from {
        transform: translate(100%, 75%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(100%, 80%) scale(0.5) rotate(-3deg);
    }
}


.pos-4 {
    left: 45%;
    top: 10%;
    transform: translate(-45%, -10%) scale(0.7);
    animation: custom-transform4 1.25s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform4 {
    from {
        transform: translate(-45%, -10%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-45%, -15%) scale(0.7) rotate(1deg);
    }
}

@keyframes custom-transform4-mobile {
    from {
        transform: translate(0%, -30%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(0%, -35%) scale(0.5) rotate(1deg);
    }
}

.pos-5 {
    left: 23%;
    top: 5%;
    transform: translate(-23%, -5%) scale(0.7);
    animation: custom-transform5 1.35s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform5 {
    from {
        transform: translate(-23%, -5%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-23%, -10%) scale(0.7) rotate(-2deg);
    }
}

@keyframes custom-transform5-mobile {
    from {
        transform: translate(58%, 230%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(58%, 235%) scale(0.5) rotate(-2deg);
    }
}

.pos-6 {
    left: 24%;
    top: 50%;
    transform: translate(-24%, -50%) scale(0.7);
    animation: custom-transform6 2.35s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform6 {
    from {
        transform: translate(-24%, -50%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-24%, -55%) scale(0.7) rotate(1deg);
    }
}

@keyframes custom-transform6-mobile {
    from {
        transform: translate(-25%, 65%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(-25%, 70%) scale(0.5) rotate(1deg);
    }
}


.pos-7 {
    left: 70%;
    top: 30%;
    transform: translate(-70%, -30%) scale(0.7);
    animation: custom-transform7 1.35s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform7 {
    from {
        transform: translate(-70%, -30%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-70%, -35%) scale(0.7) rotate(2deg);
    }
}

@keyframes custom-transform7-mobile {
    from {
        transform: translate(20%, -125%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(20%, -120%) scale(0.5) rotate(2deg);
    }
}

.pos-8 {
    left: 75%;
    top: 50%;
    transform: translate(-75%, -50%) scale(0.7);
    animation: custom-transform8 1.35s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform8 {
    from {
        transform: translate(-75%, -50%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-75%, -55%) scale(0.7) rotate(4deg);
    }
}

@keyframes custom-transform8-mobile {
    from {
        transform: translate(17%, 100%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(17%, 105%) scale(0.5) rotate(4deg);
    }
}

.pos-9 {
    left: 38%;
    top: 24%;
    transform: translate(-38%, -24%) scale(0.7);
    animation: custom-transform9 1.35s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform9 {
    from {
        transform: translate(-38%, -24%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-38%, -29%) scale(0.7) rotate(-3deg);
    }
}


@keyframes custom-transform9-mobile {
    from {
        transform: translate(-99%, 278%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(-99%, 287%) scale(0.5) rotate(-3deg);
    }
}


.pos-10 {
    left: 75%;
    top: 10%;
    transform: translate(-75%, -10%) scale(0.7);
    animation: custom-transform10 1.35s linear infinite alternate;
    display: block;
    max-width: 30%;
    width: auto;
    height: auto;
}

@keyframes custom-transform10 {
    from {
        transform: translate(-75%, -10%) scale(0.7) rotate(0deg);
    }

    to {
        transform: translate(-75%, -15%) scale(0.7) rotate(1deg);
    }
}

@keyframes custom-transform10-mobile {
    from {
        transform: translate(-175%, -5%) scale(0.5) rotate(0deg);
    }

    to {
        transform: translate(-175%, -10%) scale(0.5) rotate(3deg);
    }
}


.container-hands {
    height: 200vh;
    width: 100%;
    background-color: #232323;
    position: relative;
    overflow: hidden;
}

.container-text {
    width: 75%;
    margin: auto;
    background-color: #232323;
}

.container-text h1 {
    margin: auto;
    color: #fff;
    text-align: left;
    font-family: 'Josefin Sans', sans-serif;
    font-size: calc(32px + 1.5vw);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.container-hands .container-text h1 {
    margin-bottom: 35px;
}

.container-hands .container-text p {
    color: #fff;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 30px;
}




@media screen and (max-width: 768px) {
    .input-container {
        width: 100%!important; 
    }

    .container-first-part {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        width: 80%;
        height: auto;
        margin-bottom: 10%;
    }

    .container-hands-general {
        padding-bottom: calc(40% + 185px);
    }

    .logo-gif {
        max-width: 70%;
    }

    .part-left {
        height: 100%;
        align-items: center;
        gap: 5px;
        justify-content: space-between;
        margin-top: 0;
    }

    .nebulite-bg {
        display: none;
    }

    .nebulite-mb {
        display: block;
    }

    .container-background {
        margin-top: 80px;
    }

    .content {
        width: 80%;
    }

    .container {
        overflow: hidden;
        height: 65vh;
        min-height: 550px;
        max-height: 650px;
    }

    .part-left, .content, .container-hands .container-text p, .container-hand-text, .important {
        font-size: 18px !important;
        line-height: initial;
        text-align: initial;
    }

    .container-hand-text {
        margin: auto;
    }

    .button-and-player svg {
        width: 75%;
    }

    .container-text {
        width: 80%;
    }

    .container-text h1 {
        font-size: calc(24px + 0.35vw);
        justify-content: start;
    }

    .eye-logo {
        width: 10%;
    }

    /* rocks mobile keyframe animations */
    .pos-1 {
        transform: translate(22%, -105%) scale(0.5);
        animation: custom-transform1-mobile 2.85s linear infinite alternate;
    }

    .pos-2 {
        transform: translate(-18%, 5%) scale(0.45);
        animation: custom-transform2-mobile 3.85s linear infinite alternate;
    }

    .pos-3 {
        transform: translate(100%, 75%) scale(0.5);
        animation: custom-transform3-mobile 2.35s linear infinite alternate;
    }

    .pos-4 {
        transform: translate(0%, -30%) scale(0.5);
        animation: custom-transform4-mobile 2.45s linear infinite alternate;
    }

    .pos-5 {
        transform: translate(58%, 235%) scale(0.5);
        animation: custom-transform5-mobile 2.45s linear infinite alternate;
    }

    .pos-6 {
        left: 0%;
        transform: translate(-25%, 65%) scale(0.5);
        animation: custom-transform6-mobile 2.55s linear infinite alternate;
    }

    .pos-7 {
        transform: translate(20%, -125%) scale(0.5);
        animation: custom-transform7-mobile 1.95s linear infinite alternate;
    }

    .pos-8 {
        transform: translate(17%, 100%) scale(0.5);
        animation: custom-transform8-mobile 2.55s linear infinite alternate;
    }

    .pos-9 {
        transform: translate(-99%, 278%) scale(0.5);
        animation: custom-transform9-mobile 1.95s linear infinite alternate;
    }

    .pos-10 {
        transform: translate(-175%, -5%) scale(0.5);
        animation: custom-transform10-mobile 2.35s linear infinite alternate;
    }
}

@media (max-width: 375px) {
    .container-text {
        width: 80%;
    }

    .container-text h1 {
        font-size: calc(20px + 0.25vw);
        justify-content: start;
    }
}

/* SAMSUNG */

/* IPAD */
@media screen and (min-height: 1000px) and (max-width: 900px) {
    .part-left {
        width: 70%;
    }

    .content {
        width: 75%;
    }

    .pos-1 {
        right: -5%;
        top: 87%;
    }

    .pos-2 {
        left: -5%;
        top: 20%;
    }

    .pos-3 {
        left: 60%;
        top: 0%;
    }

    .pos-4 {
        left: 45%;
        top: 10%;
    }

    .pos-5 {
        left: 17%;
        top: 8%;
    }

    .pos-6 {
        top: 74%;
        left: 40%;
        rotate: -90deg;
    }

    .pos-7 {
        left: 70%;
        top: 22%;
    }

    .pos-8 {
        left: 99%;
        top: 23%;
    }

    .pos-9 {
        top: 13%;
        left: 38%
    }

    .pos-10 {
        left: 75%;
        top: 10%;
    }
}


@media screen and (min-width: 1281px) and (max-width: 1520px) {
    .pos-6 {
        max-width: 15%;
    }

    .pos-8 {
        max-width: 10%;
    }
}


@media screen and (min-width: 795px) and (max-width: 1281px) and (min-height: 820px) {
    .container {
        height: 80vh;
    }

    .pos-6 {
        left: 22%;
    }

    .pos-1 {
        max-width: 25%;
    }

    .pos-10, .pos-7 {
        max-width: 6%;
    }

    .pos-4, .pos-3, .pos-8 {
        max-width: 10%;
    }

    .pos-9 {
        top: 13%;
        max-width: 6%;
    }

    .pos-6, .pos-2 {
        max-width: 20%;
    }
}


@media screen and (max-width: 1400px) {
    .nebulite-bg {
        width: 50%;
    }

    .logo-gif {
        max-width: 92%;
    }

    .container-first-part {
        gap: 35px;
    }

    .nebulite-bg {
        width: 45%;
    }
}
