* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: system-ui;
    color: #fff;
    background: url("../img/ozadje.jpg") no-repeat center center fixed;
    background-size: cover;
}

@font-face {
  font-family: pisava;
  src: url(../fonts/Jungle\ Roar\ Bold.ttf);
}

.main {
    height: 100vh;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    place-items: center;
}

.opis {
    width: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .5);
    padding: 14px 16px 12px;
}

.naslov h1 {
    font-family: pisava;
    text-align: center;
    margin: 0;
    font-size: 40px;
}

.naslov p {
    margin: 6px 0 0;
    font-size: 14px;
}

.buttons {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    background: #111827;
    color: #fff;
}

.rumen {
    background: #facc15;
    color: #111827;
}

.siv {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hud {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zapis {
    padding: 8px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: 14px;
}

.labirint {
    width: 55vh;
    border-radius: 14px;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}
