

body {
    background-color: antiquewhite;
    background-image: url("skeleton_background_grey.png");
    background-size: 250px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#container {
    max-width:800px;
    margin: auto;
    background-color: rgb(242, 243, 245);
    padding: 20px;
}

#title {
    font-family: Trebuchet MS, sans-serif;
    text-align: center;
    border-bottom: 25px solid transparent;
    border-image: url("skull_border_transparent.png") 150 round;
    padding: 10px;
}

.pill {
    background-image: linear-gradient(to top, rgb(255, 255, 255) 50%, rgb(199, 94, 94) 50%);
    border-radius: 50%;
    width: 22px;
    height: 40px;
    text-align: center;
    padding-top: 20px;
    rotate: 20deg;
    margin: 30px;
    text-decoration: none;
    border: 1px rgb(199, 94, 94) solid;
}

.pill:hover {
    border: 1px rgb(239, 178, 178) solid;
}

button {
    background-color: rgb(242, 243, 245);
    border: 3px #9595a4 double;
    border-radius: 10px;
    padding: 7px;

}

button:hover {
    background-color: rgb(225, 225, 226);
    border: 3px #9595a4 solid;
}

#rule-desc {
    font-style: italic;
}

#scale-container {
    height: 250px;
    display: flex;
    justify-content: space-between;
    padding-right: 30px;
}

#scale-container > div{
    display: inline-block;
    width: 40%;
    position: relative;
}

.arm-table {
    position: absolute;
    bottom: 10px;
    margin-left: 10px;
    border-bottom: 5px brown solid;
    border-radius: 40%;
    width: 100%;
    margin-bottom: 30px;
}


.anim-up {
    animation-name: moveup;
    animation-duration: 2000ms;
    margin-bottom: 60px;
}

.anim-down {
    animation-name: movedown;
    animation-duration: 2000ms;
    margin-bottom: 0px;
}


@keyframes moveup {
    from {
        margin-bottom: 30px;
    }
    to {
        margin-bottom: 60px;
    }
}

@keyframes movedown {
    from {
        margin-bottom: 30px;
    }
    to {
        margin-bottom: 0px;
    }
    
}

.chosen-slot {
    border: 3px #9595a4 double;
    border-radius: 10%;

}

#pill-outer-table {
    margin: 10px;
    box-sizing: border-box;
}


#move-btn-container {
    text-align: center;
}

.move-btn{
    font-size: 50px;
    border: none;
    
}

.move-btn:hover {
    border: none;
    background-color: rgb(242, 243, 245);
    color: rgb(79, 80, 66);
    text-decoration: underline;

}

.measure-btn-container {
    text-align: center;
}

#answer-container {
    border: 25px solid transparent;
    border-image: url("skull_border_transparent.png") 150 round;
    padding: 10px;
}

.win-condition {
    background-image: url("confetti.gif");
    background-size: 33%;
}

#answer {
    border: 1px #9595a4 solid;
    padding: 7px;
    background-color: inherit;
}


@media only screen and (max-width: 700px) {
    #flex {
      flex-wrap:wrap;
    }
    aside {
      width:100%;
    }}