.section {
    width: min-content;
    margin: clamp(0pt, 7vw, 36pt) 0pt;
    display: flex;
    padding: clamp(0pt, 5vw, 48px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(0pt, 5vw, 32px);
}

.section-title {
    color: #CCBEFE;
    text-align: center;
    font-family: Outfit;
    font-size: clamp(0pt, 6vw, 36px);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.section-description {
    color: #CCBEFE;
    text-align: center;
    font-family: Outfit;
    font-size: clamp(0pt, 4.5vw, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.section-image {
    flex-shrink: 0;
    border-radius: 15pt;
}

.register-image {
    width: clamp(0pt, 70vw, 550px);
    aspect-ratio: 305/267;
}

.create-image {
    width: clamp(0pt, 70vw, 550px);
    aspect-ratio: 610/1117;
}

.code-image {
    width: clamp(0pt, 70vw, 1100px);
    aspect-ratio: 660/257;
}

@media screen and (max-width: 1024px) {
    .register-image {
        width: clamp(0pt, 80vw, 400px);
        aspect-ratio: 305/267;
    }

    .create-image {
        width: clamp(0pt, 80vw, 400px);
        aspect-ratio: 610/1117;
    }

    .code-image {
        width: clamp(0pt, 80vw, 800px);
        aspect-ratio: 660/257;
    }
}

@media screen and (max-width: 768px) {
    .code-image {
        content: url("../images/redeem/code-small-image.png");
        width: 80vw;
        aspect-ratio: 1320/998;
    }
}

.toy {
    position: absolute;
    width: 150px;
    transform: rotate(40deg);
    z-index: -500;

    &.left {
        left: clamp(10pt, 5vw, 10%);
        filter: drop-shadow(0 0 16.667px rgba(255, 184, 43, 0.21));
    }

    &.right {
        right: clamp(10pt, 5vw, 10%);
        filter: drop-shadow(0 0 16.667px rgba(230, 216, 189, 0.283));
    }

    &.a1 {
        animation-name: anim-1;
    }

    &.a2 {
        animation-name: anim-2;
        animation-delay: -2s;
    }

    &.a3 {
        animation-name: anim-3;
        animation-delay: -1s;
    }

    &.a4 {
        animation-name: anim-4;
        animation-delay: -3s;
    }
    
    animation-duration: 8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes anim-1 {
    0% {
        /* Start position: high and to the left */
        transform: translate(-50px, -10px) rotate(40deg);
    }

    50% {
        /* Midpoint: low and to the right */
        transform: translate(50px, 20px) rotate(10deg);
    }

    100% {
        /* End position: back to the start */
        transform: translate(-50px, -10px) rotate(40deg);
    }
}

@keyframes anim-2 {
    0% {
        /* Start position: high and to the left */
        transform: translate(-10px, 30px) rotate(40deg);
    }

    50% {
        /* Midpoint: low and to the right */
        transform: translate(60px, -30px) rotate(10deg);
    }

    100% {
        /* End position: back to the start */
        transform: translate(-10px, 30px) rotate(40deg);
    }
}

@keyframes anim-3 {
    0% {
        /* Start position: high and to the left */
        transform: translate(-50px, -10px) rotate(40deg);
    }

    50% {
        /* Midpoint: low and to the right */
        transform: translate(50px, -50px) rotate(10deg);
    }

    100% {
        /* End position: back to the start */
        transform: translate(-50px, -10px) rotate(40deg);
    }
}

@keyframes anim-4 {
    0% {
        /* Start position: high and to the left */
        transform: translate(-10px, -30px) rotate(40deg);
    }

    50% {
        /* Midpoint: low and to the right */
        transform: translate(60px, 30px) rotate(10deg);
    }

    100% {
        /* End position: back to the start */
        transform: translate(-10px, -30px) rotate(40deg);
    }
}

@media screen and (max-width: 768px) {
    .toy {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .toy {
        width: clamp(150px, 10vw, 200px);

        &.left {
            left: calc(50vw - clamp(400px, 43vw, 600px));
        }

        &.right {
            left: calc(50vw + clamp(150px, 43vw, 350px));
        }
    }
}