body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: url('/static/img/generator.jpg') center center no-repeat;
    background-color: black;
}

a { text-decoration: none; }

div#cross {
    position: absolute;
    top: 30%;
    left: 50%;
    height: 70%;
    aspect-ratio: 3 / 4;
    translate: -50% 0%;

    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr 1fr; 
    gap: 0px 0px; 
    grid-template-areas: 
        ". t  ."
	". tf ."
	"l m  r"
	". b  ."; 
}

.t { grid-area: t; }
.tf { grid-area: tf; }
.m { grid-area: m; }
.l { grid-area: l; }
.r { grid-area: r; }
.b { grid-area: b; }

.cge {
    background-color: black;
    border: 1px solid black;
    display: flex;
}

.r {
    display: flex;
    justify-content: flex-end;
}

.m {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.b {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (orientation: landscape) {
    body {
	background-size: contain;
    }
}

@media (orientation: portrait) {
    body {
	background-size: cover;
    }
}

@media (max-width: 40em) {
    div#cross {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
    }
}

input#toHate {
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
    height: 40px;
    text-align: center;
    font-weight: bold;
    width: 95%;
    border: 0px;
}

input:active {
    border: 0px;
}

.input {
    color: white;
    background-color: black;
}

.flash {
    background-color: #AA2222;
}

button {
    background-color: black;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 30px;
    color: white;
    border: 0px;
}

button:hover {
    background-color: #AA2222;
}

button:active {
    background-color: #AA3333;
}

.buttonH {
    padding: 5px 20px;
    width: 100%;
    min-height: 40px;
    height: 25%;
}

.buttonV {
    float: right;
    padding: 0px;
    min-width: 40px;
    width: 25%;
    writing-mode: vertical-lr;
    text-orientation: upright;
}

#youtube {
    display: none;
}

#player {
    display: none;
} 

audio {
    width: 100%;
}

#load {
    display: none;
}
#loadInner {
    display: flex;
    justify-content: center;
    margin: auto;
}
.loader {
    display: flex;
    position: relative;
    width: 90px;
    height: 80px;
    white-space: nowrap;
    justify-content: center;
}
.loader-elem {
    display: flex;
    background: currentColor;
    white-space: nowrap;
    align-items: center;
}
.loader-elem div {
    display: inline-block;
    background: currentColor;
    color: #ee4422;
    text-align: center;
    margin-left: 2px;
}
.loader-small-start div:nth-child(1) {
    width: 7px;
    animation: loader-small 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    animation-delay: -0.48s;
}
.loader-medium-start div:nth-child(1) {
    width: 8px;
    animation: loader-medium 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    animation-delay: -0.36s;
}
.loader-large div:nth-child(1) {
    width: 10px;
    animation: loader-large 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    animation-delay: -0.24s;
}
.loader-medium-end div:nth-child(1) {
    width: 8px;
    animation: loader-medium 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    animation-delay: -0.12s;
}
.loader-small-end div:nth-child(1) {
    width: 7px;
    animation: loader-small 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    animation-delay: 0s;
}
@keyframes loader-small {
    0% {
	top: 8px;
	height: 24px;
    }
    50%, 100% {
	top: 24px;
	height: 12px;
    }
}
@keyframes loader-medium {
    0% {
	top: 8px;
	height: 48px;
    }
    50%, 100% {
	top: 24px;
	height: 24px;
    }
}
@keyframes loader-large {
    0% {
	top: 8px;
	height: 64px;
    }
    50%, 100% {
	top: 24px;
	height: 32px;
    }
}

iframe {
    width: 100%;
    height: 100%;
}

#loadInner {
    display: flex;
    justify-content: center;
}
