* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: -webkit-fill-available;
    margin: 0;
    padding-top: 2rem;
    display: flex;
    place-items: center;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    /* background-color: lemonchiffon; */
    font-family: Montserrat, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

#wheel-container {
    aspect-ratio: "1:1";
    display: inline-block;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

#wheel {
    display: block;
}

#spin {
    font: 2.5rem/0 sans-serif;
    user-select: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    margin: -15%;
    background: #fff;
    color: #fff;
    box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: 0.8s;
}

#spin::after {
    content: '';
    position: absolute;
    top: -38px;
    border: 36px solid transparent;
    border-bottom-color: currentColor;
    border-top: none;
}

#header {
    text-align: center;
}

.hover-pointer:hover {
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    #header {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .div-small-email {
        text-decoration: underline;
        font-size: 1.5rem;
    }

    .div-small {
        font-size: 1.5rem;
    }

    #nav {
        padding: 1rem;
        text-align: center;
        margin-top: 2rem;
        display: block;
        width: 100%;
        background-color: black;
        min-height: 5rem;
    }
}

@media only screen and (max-width: 768px) {
    #header {
        margin-top: 2.5rem;
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .div-small-email {
        text-decoration: underline;
        font-size: 1.5rem;
    }

    .div-small {
        font-size: 1.5rem;
    }

    #nav {
        width: 100%;
        padding: 1rem;
        text-align: center;
        margin-top: 2rem;
        display: block;
        background-color: black;
        min-height: 5rem;
    }

    canvas {
        width: 100%;
        height: 100%;
    }

    #spin {
        font: 1rem/0 sans-serif;
        user-select: none;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 55%;
        left: 55%;
        width: 20%;
        height: 20%;
    }

    #spin::after {
        content: '';
        position: absolute;
        top: -25px;
        border: 24px solid transparent;
        border-bottom-color: currentColor;
        border-top: none;
    }
}

.confetti{
   margin: 0 auto;
   border: 1px solid #ddd;
   user-select: none;
}

#canvas {
  display: none;
  position: absolute;
  border: 0;
}