@import url('https://fonts.googleapis.com/css?family=Orbitron');

* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    height: 100vh;
    font-size: 3.2vw;

    background-image: linear-gradient(to top left, #753682 0%, #bf2e34 100%);
}

main.container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;

    width: 80vw;
    height: 80vh;

    text-transform: uppercase;

    border-radius: 1em;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;

    color: white;

    background-color: rgba(255, 255, 255, 0.65);

    font-family: 'Orbitron', 'sans-serif';

    /* New */
    transition: all 0.2s;
    -o-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

main.container section {
    flex: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

#section-0.section-active {
    color: black;
    font-weight: bolder;
    border-radius: 1em 0 0 1em;
    background-color: rgba(199, 54, 95, 0.60);
}

#section-1.section-active {
    border-radius: 0 1em 1em 0;
    background-color: rgba(199, 54, 95, 0.60);
}

div.last-score {
    font-size: 2em;
}

div.result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    width: 12em;
    height: 4em;
    font-size: 0.6em;
    color: white;
    background-color: #c7365f;

    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

img#dice {
    left: 50%;
    top: 30%;
    position: absolute;

    height: 2.5em;

    transform: translateX(-50%);

    border-radius: 0.8rem;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

button#btn-roll-dice {
    left: 50%;
    bottom: 25%;
    position: absolute;

    width: 8em;
    height: 2.5em;

    transform: translateX(-50%);
    
    border-radius: 0.8rem;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;

    font-weight: 700;
    font-size: 0.5em;
}

button#btn-new-game {
    left: 50%;
    bottom: 15%;
    position: absolute;

    width: 8em;
    height: 2.5em;

    transform: translateX(-50%);
    
    border-radius: 0.8rem;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;

    font-weight: 700;
    font-size: 0.5em;
}
