
html, body, h1, h2, p {
    margin: 0;
}

.container {
    max-width: 680px;
    margin: 0 auto;
}

html {
    background-color: #ffffff;
    min-height: 600px;
    min-width: 480px;
    font-size: 16px;
    height: 100vh;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    min-height: 100%;
    height: 100vh;
}

.content {

}

.snowflake {
    background-size: cover;
    position: absolute;
    height: 50px;
    width: 50px;
}

.snowflake--1 {
    transition: all 1s ease 0s;
    left: 5%;
    top: 8%;
}

.snowflake--1:hover{
    transition: all 1s ease 0s;
    left: 6%;
    top: 7%;
}

.snowflake--2 {
    transition: all 1s ease 0s;
    right: 22%;
    left: auto;
    top: 55%;
}

.snowflake--2:hover{
    transition: all 1s ease 0s;
    right: 23%;
    top: 54%;
}


.snowflake--3 {
    transition: all 1s ease 0s;
    right: 10%;
    left: auto;
    top: 20%;
}

.snowflake--3:hover{
    transition: all 1s ease 0s;
    right: 9%;
    top: 19%;
}

.content__title {
    text-align: center;
    padding: 30px 0;
    color: #007172;
}

.control-btn {
    font-family: 'Josefin Sans', sans-serif;
    background-color: #01afb0;
    padding: 10px 25px;
    margin-left: 10px;
    font-size: 16px;
    cursor: pointer;
    color: #ffffff;
    width: 130px;
    border: none;
}

.control-btn:active {

}

.control-btn:hover {

}

.control-btn:focus {

}

.control-btn:disabled {
    cursor: default;
    opacity: 0.5;
}


.control-input {
    font-family: 'Josefin Sans', sans-serif;
    -moz-appearance: textfield;
    border: 2px solid #01afb0;
    box-sizing: border-box;
    padding: 6px 25px;
    line-height: 20px;
    text-align: center;
    font-size: 16px;
    color: #007172;
    width: 130px;
}

.control-input--error {
    border-color: #ff7e68;
}

.control-input:disabled {
    cursor: default;
    opacity: 0.5;
}

.control-input::-webkit-outer-spin-button,
.control-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    background-color: #bee6e8;
    position: relative;
    height: 480px;
    display: grid;
}

.final-block {
    justify-self: center;
    align-self: center;
    grid-column: 1/3;

    position: relative;
    align-items: center;
    flex-flow: column;
    display: flex;
    z-index: 1;
}

.final-block__text {
    padding-bottom: 10px;
    font-size: 16px;
}

.player {
    padding: 10px 10px 10px 20px;
    justify-self: start;
}

.player--last {
    padding: 10px 20px 10px 10px;
    justify-self: end;
}

.player__name {
    padding-bottom: 10px;
    line-height: 36px;
    font-weight: 400;
    font-size: 30px;
    color: #01afb0;
}


.player__score {
    padding-bottom: 10px;
    text-align: center;
    line-height: 34px;
    font-weight: 700;
    font-size: 28px;
    max-width: 60px;
    color: #01afb0;
    margin: 0 auto;

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.player--active .player__score,
.player--active .player__name {
    color: #000000;
}

.player-box {
    background-color: #01afb0;
    text-align: center;
    padding: 15px 5px;
    font-weight: 400;
    color: #ffffff;
}

.player-box__label {
    padding-bottom: 10px;
    font-size: 18px;
}

.player-box__score {
    line-height: 28px;
    font-weight: 400;
    font-size: 24px;
    max-width: 52px;
    color: #ffffff;

    text-overflow: ellipsis;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.control {
    justify-self: center;
    align-self: center;
    grid-column: 1/3;

    position: relative;
    align-items: center;
    flex-flow: row;
    display: flex;
    z-index: 1;
}

.dices {
    justify-content: center;
    align-items: center;
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.dices-item {
    transform-style: preserve-3d;
    transition: transform 1s;
    position: absolute;
    height: 100px;
    width: 100px;
}

.dice {
    height: 100px;
    width: 100%;
}

.dices-item--scrolling {
    transform: rotateY(360deg);
}

.dices-face {
    border: 2px solid #01afb0;
    position: absolute;
    text-align: center;
    height: 100px;
    width: 100px;
}

#dices-face-1 {
    transform: rotateY(0deg) translateZ(50px);
}

#dices-face-2 {
    transform: rotateY(90deg) translateZ(50px);
}

#dices-face-3 {
    transform: rotateY(180deg) translateZ(50px);
}

#dices-face-4 {
    transform: rotateY(-90deg) translateZ(50px);
}

#dices-face-5 {
    transform: rotateX(90deg) translateZ(50px);
}

#dices-face-6 {
    transform: rotateX(-90deg) translateZ(50px);
}

.dices-item .dices-face--active {
    transform: rotateY(0deg) translateZ(50px) !important;
}


.dancing-monkey{
    background-image: url("./icons/monkey.gif");
    background-size: cover;
    position: absolute;
    visibility: hidden;
    height: 100px;
    width: 100px;
    left: auto;
    right: 4%;
    top: 30%;
}
