@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    --main-color: yellow;
    --sec-color: red;
    font-family: "Inter", sans-serif;
}

.mainSVG {
    fill: var(--main-color);
}

.secSVG {
    fill: var(--sec-color);
}

html {
    background: #272727;
}

body {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    -ms-overflow-style: none;
    /* Hide scrollbar for Firefox */
    width: 100%;
    height: 100%;
    margin: 0;
    font-size: 16px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

iframe {
    overflow-clip-margin: content-box !important;
    overflow: hidden !important;
    height: 6rem;
}

.controls {
    background-color: #282322;
    position: fixed;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding: 5px 0 10px 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    -webkit-transform: translateZ(63rem);
    transform: translateZ(63rem);
    transform-style: preserve-3d;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 5px solid #444;
    -webkit-clip-path: polygon(0 6.5rem, 23rem 6.5rem, 24rem 7.5rem, 24rem 10rem, 100% 10rem, 100% 0rem, 0rem 0rem);
    clip-path: polygon(0 6.5rem, 23rem 6.5rem, 24rem 7.5rem, 24rem 10rem, 100% 10rem, 100% 0rem, 0rem 0rem);
}

.controls::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10px;
    background: linear-gradient(to top, #666, #999 50%, #444);
}

.brand {
    position: absolute;
    top: 0.25rem;
    left: 0.75rem;
    height: 5rem;
    display: -webkit-flex;
    display: flex;
    zoom: 140%;
    z-index: 200;
}

.brand svg {
    filter: drop-shadow(1px 5px 5px rgba(16, 16, 16, 0.4));
}

h1 {
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    padding: 1rem;
    display: -webkit-flex;
    display: flex;
    position: relative;
    top: -2.45rem;
    right: 1.75rem;
    color: var(--main-color);
    -webkit-text-stroke: 0.5px black;
    text-shadow: -2px 1px 0px var(--sec-color),
        -2px 2px 0px var(--sec-color),
        -2px 3px 0px var(--sec-color),
        -2px 4px 0px var(--sec-color),
        -2px 5px 0px var(--sec-color),
        -1px 1px 0px var(--sec-color),
        -1px 2px 0px var(--sec-color),
        -1px 3px 0px var(--sec-color),
        -1px 4px 0px var(--sec-color),
        -1px 5px 0px var(--sec-color),
        1px 10px 6px rgba(16, 16, 16, 0.4),
        1px 14px 10px rgba(16, 16, 16, 0.2),
        1px 18px 35px rgba(16, 16, 16, 0.2),
        1px 22px 60px rgba(16, 16, 16, 0.4);
    -webkit-transform: matrix3d(13.708838, 1.304374, 0, 0.056918,
            4.642127, 5.643008, 0, 0.004418,
            0, 0, 1, 0,
            -759.869402, -58.726523, 0, 1);
    transform: matrix3d(13.708838, 1.304374, 0, 0.056918,
            4.642127, 5.643008, 0, 0.004418,
            0, 0, 1, 0,
            -759.869402, -58.726523, 0, 1);
    -webkit-transform-origin: -59px 4px 0px;
    transform-origin: -59px 4px 0px;
    width: 100px;
    height: 40px;
}

.grid {
    background:
        linear-gradient(transparent 25%, rgba(36, 35, 45, 0.4) 35%, #212121 40%, rgba(36, 35, 45, 0.4) 45%, transparent 50%),
        linear-gradient(90deg, transparent 25%, rgba(36, 35, 45, 0.4) 35%, #212121 40%, rgba(36, 35, 45, 0.4) 45%, transparent 50%),
        #161616;
    background-size: 1rem 1rem;
}

.right-click {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    padding: 2vw;
    border-radius: 1vw;
    font-size: 2.4vw;
    background-color: #fff;
}

/* Context Menu */
.contextMenu {
    --menu-border: rgba(255, 255, 255, 0.08);
    --menu-bg: linear-gradient(45deg,
            rgba(10, 20, 28, 0.2) 0%,
            rgba(10, 20, 28, 0.7) 100%);
    --item-border: rgba(255, 255, 255, 0.1);
    --item-color: #fff;
    --item-bg-hover: rgba(255, 255, 255, 0.1);
    height: 0;
    background: var(--menu-bg);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    position: fixed;
    top: var(--top);
    left: var(--left);
    -webkit-animation: menuAnimation 0.4s 0s both;
    animation: menuAnimation 0.4s 0s both;
    transform-origin: left;
    list-style: none;
    margin: 4px;
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 999999999;
    box-shadow: 0 0 0 1px var(--menu-border), 0 2px 2px rgba(0, 0, 0, 0.03), 0 4px 4px rgba(0, 0, 0, 0.04), 0 10px 8px rgba(0, 0, 0, 0.05), 0 15px 15px rgba(0, 0, 0, 0.06), 0 30px 30px rgba(0, 0, 0, 0.07), 0 70px 65px rgba(0, 0, 0, 0.09);
}

.contextMenu-item {
    padding: 4px;
}

.contextMenu-item.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.contextMenu-button:disabled {
    cursor: not-allowed;
}

.contextMenu-item[data-divider=top] {
    border-top: 1px solid;
}

.contextMenu-item[data-divider=bottom] {
    border-bottom: 1px solid;
}

.contextMenu-item[data-divider=top-bottom] {
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.contextMenu-item[data-divider] {
    border-color: var(--item-border);
}

.contextMenu-item span.caret {
    justify-content: right;
    font-family: "Inter";
    color: #ccc;
}

.contextMenu-item:hover span.caret {
    color: #fff;
}

.contextMenu-submenu::before {
    --menu-bg: linear-gradient(45deg,
            rgba(10, 20, 28, 0.2) 0%,
            rgba(10, 20, 28, 0.7) 100%);
    background: var(--menu-bg);
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
}

.contextMenu-submenu {
    --menu-border: rgba(255, 255, 255, 0.08);
    --menu-bg: linear-gradient(45deg,
            rgba(10, 20, 28, 0.2) 0%,
            rgba(10, 20, 28, 0.7) 100%);
    --item-border: rgba(255, 255, 255, 0.1);
    --item-color: #fff;
    --item-bg-hover: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 5rem;
    left: 98%;
    margin: 0;
    padding: 0;
    height: fit-content !important;
    background: var(--menu-bg);
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 8px;
    box-shadow: 0 0 0 1px var(--menu-border), 0 2px 2px rgba(0, 0, 0, 0.03), 0 4px 4px rgba(0, 0, 0, 0.04), 0 10px 8px rgba(0, 0, 0, 0.05), 0 15px 15px rgba(0, 0, 0, 0.06), 0 30px 30px rgba(0, 0, 0, 0.07), 0 70px 65px rgba(0, 0, 0, 0.09);
    -webkit-animation: menuAnimation 0.4s 0s both;
    animation: menuAnimation 0.4s 0s both;
    transform-origin: left;
    list-style: none;
    display: none;
}

.contextMenu-item:hover>.contextMenu-submenu {
    display: flex;
    visibility: visible;
}

.contextMenu-submenu .contextMenu-item {
    width: 5rem;
    justify-content: center;
    display: flex;
}

.contextMenu-button {
    color: var(--item-color);
    background: 0;
    border: 0;
    white-space: nowrap;
    width: 100%;
    border-radius: 4px;
    padding: 6px 24px 6px 7px;
    text-align: left;
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 100%;
    -webkit-animation: menuItemAnimation 0.2s 0s both;
    animation: menuItemAnimation 0.2s 0s both;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}

.contextMenu-button:hover {
    background-color: var(--item-bg-hover);
}

.contextMenu-button>span {
    width: 1.75rem;
    display: flex;
    justify-content: left;
    font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;
}

.contextMenu-submenu .contextMenu-button {
    justify-content: center;
    text-align: center;
    padding: 4px 0;
}

@-webkit-keyframes menuAnimation {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        height: var(--height);
        opacity: 1;
        border-radius: 8px;
        transform: scale(1);
    }
}

@keyframes menuAnimation {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        height: var(--height);
        opacity: 1;
        border-radius: 8px;
        transform: scale(1);
    }
}

@-webkit-keyframes menuItemAnimation {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes menuItemAnimation {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal */
.modal {
    background-color: #282322;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 80%;
    text-align: center;
    z-index: 9999;
}

.modal-header {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fc8f42;
}

.modal-content {
    margin-bottom: 20px;
}

.modal-input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #383636;
    color: #fff;
}

.modal-buttons {
    display: flex;
    justify-content: center;
}

.modal-button {
    background-color: #fc8f42;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 7rem;
}

.modal-button:hover {
    background-color: #fc741b;
}

.modal-button:focus {
    outline: none;
    /* Remove default browser focus outline */
    box-shadow: 0 0 0 3px #fc8f42, 0 0 0 6px rgba(0, 0, 0, 0.5);
    background-color: #fc741b;
    /* Slightly darker background */
}

.modal-button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.cancel-button {
    background-color: #666;
    margin-left: 10px;
}

.cancel-button:hover {
    background-color: #888;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.modal.shake {
    animation: shake 0.5s;
}

.intro {
    margin: auto 3rem;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown {
    display: inline;
    vertical-align: middle;
}

.dropdown select {
    height: 30px;
}

.bigRoll {
    display: block;
    position: relative;
    cursor: pointer;
    background-color: #282322;
    border: solid 5px transparent;
    background-clip: padding-box;
    border-radius: 1rem;
    padding: 1rem;
    margin: 1.5rem 0 1.5rem 1.5rem;
    box-shadow: -3px -3px 13px 3px #302b29, 4px 4px 15px 6px #0c0b0b;
    animation: depress 75ms linear;
    outline: none;
    border: none;
    transform: translateZ(63rem);
    transform-style: preserve-3d;
}

.bigRoll .btnText {
    color: #5c524f;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: -1px -1px black, 1px 1px #4e4643;
}

.bigRoll.active>.btnText {
    color: #0ac6ff;
    text-shadow: 0 0 14px #0ac6ff;
}

.bigRoll:active {
    animation: press 50ms linear;
    animation-fill-mode: forwards;
}

.bigRoll:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -5px;
    border: 1px solid #332d2c;
    border-radius: inherit;
}

.bigRoll:after {
    content: '';
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -5px;
    border-radius: inherit;
}

button {
    outline: none;
    border: none;
    background: none;
}

@keyframes press {
    100% {
        box-shadow: -1px -1px 10px 2px #12100f, 3px 3px 10px 3px #302b29;
    }
}

@keyframes depress {
    0% {
        box-shadow: -1px -1px 10px 2px #12100f, 3px 3px 10px 3px #302b29;
    }

    100% {
        box-shadow: 7px 7px 20px 5px #0f0d0d, -3px -3px 20px 3px #463e3c;
    }
}

.gameboard {
    height: 100%;
    width: 24rem;
    left: 0;
    position: absolute;
    margin: 0 auto;
    padding: 7.5rem 1rem 0.5rem 0.5rem;
    display: -webkit-flex;
    display: flex;
    justify-content: space-around;
    align-content: space-between;
    flex-flow: wrap;
    z-index: 0;
    background-color: #282322;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
    border-right: 5px solid #444;
}

.gameboard::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 10px;
    background: linear-gradient(to left, #666, #999 50%, #444);
}

.tunesManager {
    height: fit-content;
    width: 24rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-content: flex-end;
    flex-flow: wrap;
    border-radius: 0.5rem;
    background-color: #383636;
}

.gbBtn {
    display: block;
    position: relative;
    cursor: pointer;
    background-color: #282322;
    border: solid 5px transparent;
    background-clip: padding-box;
    border-radius: 1rem;
    padding: 1rem;
    margin: 1.5rem 1rem;
    box-shadow: -3px -3px 13px 3px #302b29, 4px 4px 15px 6px #0c0b0b;
    animation: depress 75ms linear;
    outline: none;
    border: none;
    transform: translateZ(63rem);
    transform-style: preserve-3d;
}

.gbBtn .btnText {
    color: #5c524f;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: -1px -1px black, 1px 1px #4e4643;
}

.gbBtn.active>.btnText {
    color: #0ac6ff;
    text-shadow: 0 0 14px #0ac6ff;
}

.gbBtn:active {
    animation: press 50ms linear;
    animation-fill-mode: forwards;
}

.gbBtn:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -5px;
    border: 1px solid #332d2c;
    border-radius: inherit;
}

.gbBtn:after {
    content: '';
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -5px;
    border-radius: inherit;
}

#spotify-embed {
    width: 100%;
    height: 160px;
    border: none;
    overflow: hidden;
}

.teamList {
    height: fit-content;
    width: 24rem;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-content: space-evenly;
    flex-flow: wrap;
    border-radius: 0.5rem;
    background-color: #383636;
    transition: opacity 0.3s ease;
}

.teamCard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 1rem 0 0.5rem 0;
    border: 2px solid;
    border-radius: 8px;
    width: 20rem;
    height: 9.75rem;
}

.teamInfo {
    flex: 1;
}

.teamName {
    font-weight: bold;
    margin-bottom: 5px;
}

.teamPlayers .playerIcon {
    margin-right: 2px;
}

.progressBar {
    width: 100%;
    height: 5px;
    background-color: #ccc;
    margin-top: 5px;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: green;
}

.teamIcon {
    width: 40px;
    height: 40px;
}

.container {
    height: inherit;
    width: calc(100% - 24rem);
    right: 0;
    position: absolute;
    margin: 0 auto;
    padding: 16rem 0 0 0;
    display: -webkit-flex;
    display: flex;
    justify-content: space-around;
    align-content: center;
    flex-flow: wrap;
    z-index: 0;
}

.dice {
    display: -webkit-flex;
    display: flex;
    width: 6.25rem;
    height: 5.313rem;
    margin: 0 5rem 9rem 5rem;
    transform-style: preserve-3d;
    -webkit-transform: rotate3d(0, 0.9, 0.9, 90deg);
    transform: rotate3d(0, 0.9, 0.9, 90deg);
    transition: all 0.5s cubic-bezier(0.42, 1.57, 0.62, 0.86);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    text-align: center;
    z-index: 1;
}

.dice:hover {
    cursor: pointer;
}

.dice.reveal {
    animation: rotatePerFace 500ms ease-out infinite;
}

.dice.twirl {
    animation: rotatePerFace 700ms ease-in reverse infinite;
}

.dice.throw {
    animation: rotateDice 0.7s ease-in reverse, throwDice 1s linear;
}

.dice .diceText {
    text-decoration: underline;
    display: -webkit-flex;
    display: flex;
}

.dice .diceFace {
    box-sizing: border-box;
    position: absolute;
    display: -webkit-flex;
    display: flex;
    width: 6.25rem;
    height: 6.25rem;
    background-color: #fbfaf9;
    border: .125rem solid #f6f3f0;
    border-radius: 1.25rem;
    transform-style: preserve-3d;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dice .diceFace .inside {
    position: absolute;
    content: "";
    width: 6.063rem;
    height: 6.063rem;
    background-color: #f6f3f0;
    border-radius: 20px;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    -webkit-transform: translate3d(0, 0, -1px);
    transform: translate3d(0, 0, -1px);
}

.diceFace.xmen .inside {
    filter: drop-shadow(0 0 1.875rem #1b9dc4);
}

.diceFace.marvel .inside {
    filter: drop-shadow(0 0 .875rem #ffd20a);
}

.diceFace.evilMutant .inside {
    filter: drop-shadow(0 0 .875rem #ee00ff);
}

.dice .front {
    -webkit-transform: rotateZ(180deg) translateZ(3.125rem);
    transform: rotateZ(180deg) translateZ(3.125rem);
    display: -webkit-flex;
    display: flex;
    background-color: #1b9dc4;
    -webkit-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    -moz-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
}

.dice .up {
    -webkit-transform: rotateX(90deg) translateZ(3.125rem);
    transform: rotateX(90deg) translateZ(3.125rem);
    display: -webkit-flex;
    display: flex;
}

.dice .left {
    -webkit-transform: rotateY(-90deg) rotateZ(180deg) translateZ(3.125rem);
    transform: rotateY(-90deg) rotateZ(180deg) translateZ(3.125rem);
    display: -webkit-flex;
    display: flex;
    background-color: #ee00ff;
    -webkit-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    -moz-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
}

.dice .right {
    -webkit-transform: rotateY(90deg) rotateZ(180deg) translateZ(3.125rem);
    transform: rotateY(90deg) rotateZ(180deg) translateZ(3.125rem);
    display: -webkit-flex;
    display: flex;
    background-color: #ffd20a;
    -webkit-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    -moz-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
}

.dice .bottom {
    -webkit-transform: rotateX(-90deg) translateZ(3.125rem);
    transform: rotateX(-90deg) translateZ(3.125rem);
    display: -webkit-flex;
    display: flex;
}

.dice .back {
    -webkit-transform: rotateX(180deg) rotateZ(180deg) translateZ(3.125rem);
    transform: rotateX(180deg) rotateZ(180deg) translateZ(3.125rem);
    display: -webkit-flex;
    display: flex;
    background-color: #1b9dc4;
    -webkit-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    -moz-box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 1);
}

@keyframes rotateDice {
    30% {
        -webkit-transform: rotate3d(1, 1, 1, 0deg);
        transform: rotate3d(1, 1, 1, 0deg);
    }

    100% {
        -webkit-transform: rotate3d(1, 1, 1, 1080deg);
        transform: rotate3d(1, 1, 1, 1080deg);
    }
}

@keyframes rotatePerFace {
    16% {
        -webkit-transform: rotate3d(-0.1, 0.6, -0.4, 180deg);
        transform: rotate3d(-0.1, 0.6, -0.4, 180deg);
        margin-top: 5px;
    }

    32% {
        -webkit-transform: rotate3d(-0.85, -0.42, 0.73, 180deg);
        transform: rotate3d(-0.85, -0.42, 0.73, 180deg);
        margin-top: 2px;
    }

    48% {
        -webkit-transform: rotate3d(-0.8, 0.3, -0.75, 180deg);
        transform: rotate3d(-0.8, 0.3, -0.75, 180deg);
        margin-top: -3px;
    }

    64% {
        -webkit-transform: rotate3d(0.3, 0.45, 0.9, 180deg);
        transform: rotate3d(0.3, 0.45, 0.9, 180deg);
        margin-top: 2px;
    }

    80% {
        -webkit-transform: rotate3d(-0.16, 0.6, 0.18, 180deg);
        transform: rotate3d(-0.16, 0.6, 0.18, 180deg);
        margin-top: -4px;
    }

    100% {
        -webkit-transform: rotate3d(-0.1, 0.3, -1, 180deg);
        transform: rotate3d(-0.1, 0.3, -1, 180deg);
        margin-top: -1px;
    }
}

@keyframes throwDice {
    20% {
        margin-top: -6.25rem;
    }

    40% {
        margin-top: 0px;
    }

    60% {
        margin-top: -1.875rem;
    }

    80% {
        margin-top: 0px;
    }

    85% {
        margin-top: -0.625rem;
    }

    90% {
        margin-top: 0px;
    }

    95% {
        margin-top: -0.188rem;
    }

    100% {
        margin-top: 0px;
    }
}

/* Large - Devices such as laptops (1280px and up) */
@media only screen and (min-width: 1280px) and (max-width: 1919px) {}

/* Large - Devices such as landscape tablets (1024px and up) */
@media only screen and (min-width: 1024px) and (max-width: 1279px) {}

/* Medium - Devices such as landscape phones and portrait tablets (768px and up) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {}

/* Small - Devices such as portrait phones */
@media only screen and (min-width: 360px) and (max-width: 767px) {
    .header {
        margin-right: 0;
    }

    .header h1 {
        display: none;
    }
}