@font-face {
    font-family: 'rye';
    src: url("./fonts/rye.ttf") format("truetype");
}

body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background-image: url(./img_pollo_locco/img/10_project_img/desert-bg.jpg);
    background-position: center;
    background-size: cover;
    font-family: 'rye', Arial, Helvetica, sans-serif;
}

canvas {
    position: absolute;
    width: 720px;
    height: 480px;
    background-color: black;
    z-index: 1;
    display: block;
}

h1 {
    color: rgb(26, 16, 3);
    font-size: 64px;
    letter-spacing: 4px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

#center-container {
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    max-width: 720px;
    max-height: 480px;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#start-screen {
    position: absolute;
    width: 720px;
    height: 480px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

#start-image {
    width: 100%;
    height: auto;
}

.end-screen {
    position: absolute;
    width: 720px;
    height: 480px;
    display: flex;
    transform: translate(0%, -5%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

#game-over-screen img {
    max-width: 100%;
    /* max-height: 100%; */
    width: 100vw;
    height: 65vh;
    object-fit: cover;
}

#you-win-screen img {
    position: relative;
    top: 15%;
    max-width: 75%;
    object-fit: contain;
    margin-bottom: 180px;
}

.hidden {
    display: none;
}