

body {
    margin: 0;
    font-size: 14px;
    color: #242423;
    padding: 0;
    height: 100%;
    background-color: #F5CB5C;

    display: flex;
    margin-top: 3rem;
    justify-content: space-between;
    font-family: "Nunito", sans-serif;
    flex-direction: column;
    align-items: center;
}


p {
    font-family: serif;
    text-indent: 2em;
}

a:visited {
    color: #242423;
    text-decoration: none;
}


main {
    margin-top: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 90%;

    max-width: 920px;
}


#buttons button {
    width: 50%;
    border-radius: 0;
    border: thin solid #CFDBD5;
    background-color: #242423;
    transition: all 300ms;
}

#buttons button:hover {
    transition: all 300ms;
    background-color: #F4F1F1;
    color: #242423;
}


#spin-wheel {
    background-color: #242423;
    font-size: 1.45em;
    height: 3em;
    width: 100%;
}

#buttons {
    display: flex;
    padding: 0;
    margin: 0;
}

#wedge-list {
    flex-grow: 0;
    overflow-y: scroll;
    height: 350px;
    border-radius: 4px 4px 0 0;
    border: thin solid #E8EDDF;
    /* box-shadow: inset 0 0 2px 1px rgba(151, 151, 151, 0.09); */
}


.name-entry button {
    border-radius: 0;
}

.remove-wedge {
    background-color: #8e8e8e;
}

.right-pane {
    border: 4px solid #333533;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem;
    margin: 1rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    /* width: 256px; */
    flex: 1;
}


#canvas {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    display: block;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border: 3px solid #242423; */
    border-radius: 300px;
    flex: 2;
}


/*Label With Action*/
.labeled-action {
    margin: 1rem;
    height: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    /* box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.12); */
    text-overflow: ellipsis;
}

.labeled-action div {
    padding: 1rem;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    overflow: hidden;
}

.labeled-action input {
    padding-left: 4px;
    font-size: 14px;
    border-style: none;
    flex-grow: .7;
    border-radius: 5px;
}

input:focus {
    outline: none;
}

.labeled-action button {
    height: 32px;
    width: 32px;
    background-color: #242423;
    color: #F4F1F1;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    border-style: none;
    flex-shrink: 0;
}

.labeled-action button:active {
    outline: none;
    /* box-shadow: inset 0 3px 5px 0 rgba(0, 0, 0, 0.12); */
}

.labeled-action button:focus {
    outline: none;
}

.labeled-action button:hover {
    transition: all 300ms;
    background-color: #F4F1F1;
    color: #242423;
    border: thin solid #242423;
}


/* Button Look And Feels */
.stock {
    border-style: none;
    color: #ffffff;
    width: 128px;
    height: 32px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    font-weight: bold;
    outline: none;
    text-transform: uppercase;
    border-radius: 3px;
    transition: box-shadow .025s;
}

.stock:active {
    box-shadow: 0 0 0;
    transition: box-shadow .025s;
}

@media (max-width: 425px) {
    .right-pane {
        width: unset;
    }
    
    main {
        margin-top: 1rem;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: flex-start;
        width: 100VW !important;
        max-width: initial !important;
    }

    #canvas {
        width: 90vw;
        height: 90vw;
    }

    .right-pane {
        width: 85%;
    }

    #wedge-list {
        height: 256px;
    }
}