body {
    font-family: sans-serif;
}

.link, .link:link, .link:visited, .link:hover, .link:active {
    color: white;
}

.group2 {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    min-width: 200px;
    margin: 0 1em 1em 1em;
}

.group {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 0 1em 1em 1em;
}

.wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
}

.nodisplay {
    display: none !important;
}

.btn {
    padding: 1rem;
    font-family: monospace;
    font-size: 3rem;
    box-shadow: 0.7rem 0.7rem grey;
    margin: 2rem;
}

.btn:hover {
    box-shadow: 0.7rem 0.7rem black;
    cursor: grab;
}

#time {
    width: 300px;
}

@keyframes shake {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-16px, 16px);
    }

    40% {
        transform: translate(-16px, -16px);
    }

    60% {
        transform: translate(16px, 16px);
    }

    80% {
        transform: translate(16px, -16px);
    }

    100% {
        transform: translate(0);
    }
}

video {
    z-index: 1;
}

.video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 100%;
    max-width: 100%;
    margin: auto;
    aspect-ratio: 2.4;
}

body {
	margin: 0;
	background-color: #000;
	color: #fff;
}

.apply-shake {
    animation: shake 1s ease 0s 1 normal forwards;
    animation-iteration-count: infinite;
}


.shaka-text-container {
    bottom: 1em;
}


.shaka-text-container {
    font-size: clamp(1rem, 2vw, 2rem) !important;
}

.nosupport {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}