body {
    text-align: center;
}

#machine {
    text-align: center;
    width: 100%;
}

#wheelbox {
    width: 300px;
    height: 200px;
    max-width: 100%;
    margin: 50px auto;
    background-color: pink;
    /* border: solid 5px  grey; */
    border-radius: 15px;
    padding: 20px;
}

#slotcontainer {
    background-color: #ffdaea;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

#slotcontainer:after {
    content: "";
    box-shadow: 0px 1px 5px rgba(0,0,0,0.5) inset;
    height: 100%;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
}

#slots {
    font-family: 'Roboto Mono', monospace;
    box-sizing: border-box;
    padding: 10px;
    height: 100%;
    width: 100%;
    position: relative;
    top: 0;
}

.slotitem {
    background-color: #fde;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 1px 5px rgba(0,0,0,0.3) inset;
    overflow: hidden;
    font-size: 60px;
    height: 100%;
    width: 100%;
    position: static;
    border-radius: 20px;
}

#spinbutton {
    font-weight: 900;
    margin-top: 50px;
    display: inline-block;
    background-color: pink;
    border-radius: 50px;
    width: 100px;
    height: 40px;
    border: none;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.3);
    position: relative;
    top: 0px;
    transition: top 0.1s, box-shadow 0.1s;
}

#spinbutton:active {
    top: 3px;
    box-shadow: 0px 0px 0px rgba(0,0,0,0.3);
}

#spinbutton:hover {
    cursor: pointer;
}

#countdiv {
    font-size: 30px;
}

#count {
    text-decoration: underline;
}

#by {
    margin-top: 100px;
}

#spin-emoji {
    margin: auto;
    display: block;
    font-size: 80px;
    animation: spin 4s linear infinite;
    pointer-events: none;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

#spin-emoji-container {
    overflow: hidden;
}