* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: linear-gradient(45deg, rgb(227, 113, 225), rgb(83, 83, 244));
    font-family: "Playwrite NZ Guides", cursive;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.rndy_wrap {
    width: 300px;
    height: 300px;
    box-shadow: 0 0 15px #000;
    border-radius: 5px;
    background-color: #000000;
    border: 1px solid #000;
    padding: 10px;
    margin: 40px auto;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
}

.rndy_answer_inner {
    box-shadow: inset 0 0 15px #ffffff;
    font-size: 20px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #000;
}

.click {
    font-size: 30px;
    text-align: center;
    width: 80%;
    height: 80%;
    top: calc(50% - 40%);
    left: calc(50% - 40%);
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    z-index: 10;
    background-color: #fff;
    box-shadow: inset 0 0 20px #000, inset 0 0 100px #00000060;
    animation: textAnim 1s infinite ease-in-out;
    border-radius: 50%;
    user-select: none;
}

.click.active {
    opacity: 1;
}

@keyframes textAnim {
    0% {
        transform: translate(-5px, 0);

    }

    25% {
        transform: translate(5px, 5px);

    }

    50% {
        transform: translate(-5px, 5px);
    }

    75% {
        transform: translate(5px, 0px);

    }

    100% {
        transform: translate(-5px, 0px);

    }
}

.rndy_answer {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 80%;
    top: calc(50% - 40%);
    left: calc(50% - 40%);
    border-radius: 50%;
    user-select: none;
    text-align: center;
    animation: textFadeIn 500ms ease-in-out;
    opacity: 0;
    transition: 600ms;
    box-shadow:  inset 0 0 20px #000, inset 0 0 60px #000;
}

.rndy_answer.active {
    opacity: 1;
    animation: textFadeOut 500ms ease-in-out;
    background-color: #fff;
}

@keyframes textFadeIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0.1);
    }
}

@keyframes textFadeOut {
    from {
        transform: scale(0.1);
    }

    to {
        transform: scale(1);
    }
}