@font-face {
    font-family: 'zabras';
    src: url('fonts/Zabars.ttf') format('truetype');
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'zabras', Arial, Helvetica, sans-serif;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    margin: 0px;
}

h1 {
    font-size: 100px;
    font-weight: 100;
    letter-spacing: 15px;
    color: white;
    text-shadow: 10px 10px 2px rgba(31, 31, 31, 0.5);
    margin-bottom: 10px;
    animation: pulse 4s ease-in-out infinite;
    text-align: center;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

canvas {
    background-color: black;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    height: auto;
}

.display-none {
    display: none;
}

.game-canvas {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.controls {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.round-border {
    border-radius: 10px;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("img/5_background/first_half_background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(15px);
}

.menu-button {
    width: 200px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    cursor: pointer;

    font-family: 'zabras', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 100;
    color: rgba(31, 31, 31, 1);
    filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.5));
    letter-spacing: 5px;
}

.menu-button:hover {
    transform: scale(1.2);
}

.menu-screens p {
    display: flex;
    font-size: 30px;
    font-weight: 100;
    color: rgba(31, 31, 31, 1);
}

.green-button {
    background-image: url('img/ui_assets/buttons/ButtonText_Large_Green_Round.png');
}

.orange-button {
    background-image: url('img/ui_assets/buttons/ButtonText_Large_Orange_Round.png');
}

.blue-button {
    background-image: url('img/ui_assets/buttons/ButtonText_Large_Blue_Round.png');
}

.menu-screens {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
}

.legal-p {
    font-size: 35px;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 0px;
}

.legal-notes {
    display: none;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start;
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
}

.legal-notes p {
    font-size: 20px;
    margin-bottom: 100px;
}

.settings {
    flex-direction: column !important;
    padding-top: 0px;
}

.settings p {
    margin: 5px !important;
}

.rotateHint {
    display: none;
    color: red;
    font-size: 50px;
}

.game-canvas {
    position: relative;
}

.mobile-buttons {
    display: none;
}

.mobile-buttons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.mobile-btn {
    pointer-events: auto;
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 24px;
    opacity: 0.3;
}

.btn-left {
    bottom: 5px;
    left: 5px;
}

.btn-right {
    bottom: 5px;
    left: 80px;
}

.btn-jump {
    bottom: 80px;
    left: 5px;
}

.btn-throw {
    bottom: 5px;
    right: 5px;
}

.btn-pause {
    bottom: 5px;
    right: 80px;
}

.btn-up {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background: #f8f8f8bc;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.display-none {
    display: none;
}

button,
input,
a {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

button:focus,
button:active {
    outline: none;
    box-shadow: none;
}