* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'zabars', Arial, Helvetica, sans-serif;
}

/* Reusable classes: */
.d-none {
    display: none !important;
}

.df-ai-jc-ctr {
    display: flex;
    align-items: center;
    justify-content: center;
}

.df-ai-ctr {
    display: flex;
    align-items: center;
}

.df-jc-ctr {
    display: flex;
    justify-content: center;
}

.flex1 {
    flex: 1;
}

.width100 {
    width: 100%;
}

.gap8 {
    gap: 8px;
}

.gap16 {
    gap: 16px;
}

/* Design: */
.wrapper {
    overflow: hidden;
    flex-direction: column;
    min-height: 100dvh;
    background-image: url('./assets/img/5_background/desert.png');
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

body {
    overflow: hidden;
}

h1 {
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 4px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 32px;
}

h2 {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center;
}

h3 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

#fullscreen {
    flex-direction: column;
}

#fullscreen::backdrop {
    background-image: linear-gradient(#029CC7, #994409);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.overlay-screen {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.content-screen {
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.button {
    cursor: pointer;
    width: 250px;
    height: 60px;
    padding: 4px;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 2px;
    background-color: rgb(243, 178, 0);
    border-radius: 16px;
    border-color: rgb(139, 84, 0);
    border-width: 4px;
    border-style: outset;
    box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.5);
}

.button:hover {
    background-color: rgb(255, 205, 69);
}

.button:active {
    border-style: inset;
    background-color: rgb(221, 162, 0);
    box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.5);
}

.link-style {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.link-style:hover {
    cursor: pointer;
    color: rgb(243, 178, 0);
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.link-style:active {
    color: rgb(221, 162, 0);
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

/* Game screen: */
canvas {
    background-color: black;
    display: block;
}

.canvas-fullscreen {
    width: 100%;
    max-height: calc(100dvh - 58px);
}

.game-info-container {
    margin-top: 16px;
    padding: 8px;
}

.game-info-container-fullscreen {
    background-color: unset;
    border: unset;
}

.game-links {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.game-info-buttons {
    background-color: rgb(243, 178, 0);
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.5);
}

.game-info-buttons:hover {
    background-color: rgb(255, 205, 69);
}

.game-info-buttons:active {
    background-color: rgb(221, 162, 0);
    box-shadow: inset 0px 0px 4px 2px rgba(0, 0, 0, 0.5);
}

.game-imprint-container {
    gap: 8px;
}

.icon-container {
    justify-content: flex-end;
    gap: 24px
}

.icon-sound-game {
    height: 26px;
    cursor: pointer;
}

.icon-fullscreen {
    height: 26px;
    cursor: pointer;
}

.overlay-info-container-game {
    position: absolute;
    left: calc(50% - 85px);
    bottom: 60px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100vh);
}

.overlay-info-container-game a:hover {
    text-shadow: none;
}

.translateY0 {
    transform: translateY(0);
}

/* Game Over screen: */
.game-over-screen {
    background-image: url('./assets/img/9_intro_outro_screens/game_over/oh no you lost!.png');
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: flex-end;
    padding-bottom: 2%;
}

/* Win screen: */
.win-screen {
    background-image: url('./assets/img/9_intro_outro_screens/win/win_2.png');
    background-size: contain;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: flex-end;
    padding-bottom: 2%;
}

/* Orientation screen: */
.orientation-screen {
    flex-direction: column;
    background-color: #ffffff;
    z-index: 5;
    display: none;
}

.orientation-screen img {
    width: 100%;
}

/* Mobile Action Buttons: */
.mobile-buttons-container {
    display: none;
    width: 100%;
    justify-content: space-between;
    padding: 8px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.mobile-buttons {
    height: 48px;
}