
.app-container {
    display: flex;
    flex-direction: column; 
    margin: 10px;
    padding: 5px;
    overflow: hidden;
    background-color: var(--color-background-main);
    border-radius: var(--radius);
    box-shadow: var(--main-shadow-inset);
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.title {
    width: 200px;
    line-height: var(--menu-items);
    background-color: var(--color-background-around);
    height: var(--menu-items);
    box-shadow: var(--main-shadow);
    border-radius: var(--menu-items);
}

#title {
    color: var(--color-title);
    font-size: 1.4rem;
    text-align: center;
    font-family: 'Cinzel';
    font-weight: 700;
}



.app-container {
    display: flex;
    place-items: center;
}

.main-container {
    position: relative;
    /* width: 100%; */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-text {
    max-width: 600px;
    text-align: center;
    margin-top: 10px;
    white-space: pre-line;
    margin: 0 8px;
}

.info-text .note {
    display: block;
    font-size: 0.7rem;
    margin-top: 15px;
}

.new-game-container {
    margin: auto;
    text-align: center;
}

#btn-new-game {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;
    background: var(--color-backgound-field-button);
    color: var(--color-field-button);
    cursor: pointer;
    /* box-shadow: var(--main-shadow); */
}

#btn-new-game:hover {
    background-color: var(--color-backgound-field-button-hover);
}

/* #btn-new-game svg line { 
    stroke: var(--color-new-game); 
} */

.label-new-game {
    margin-top: 5px;
    font-size: 1.2rem;
}



.new-game-hidden {
    display: none;
}


#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    z-index: 9999;
}

#overlay.overlay-hidden {
    display: none;
}

#overlay-content {
    position: relative;
    color: var(--color-text-dialog);
    background: var(--color-dialog-backgroud);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: var(--radius);
}

#overlay-scroll {
    max-height: 65vh;
    overflow-y: auto;
}

#overlay-scroll {
    overflow: auto;          /* scrollování povoleno */
    scrollbar-width: none;   /* Firefox */
    -ms-overflow-style: none; /* IE/Edge Legacy */
}

#overlay-scroll::-webkit-scrollbar {
    display: none;           /* Chrome, Safari, Edge */
}


#overlay-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-dialog);
}

#overlay-body {
    margin-top: 1rem;
}

#overlay-body h2 {
    margin-bottom: 1rem;
}

#overlay-body p,
#overlay-body form > div {
    margin-top: 7px;
    /* border: 1px solid red; */
}

#warning {
    color: var(--color-warning);
    text-decoration: underline;
}
#warning-label {
    font-size: 0.8rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

#btn-cookie-submit,
#btn-warning {
    display: block;
    /* font-family: 'Cinzel'; */
    /* font-weight: 600; */
    font-size: 1.2rem;
    /* width: 6rem; */
    height: 3rem;
    min-height: 3rem;
    min-width: 6rem;
    border-radius: 3rem;
    border: none;
    padding: 0px 15px;
    margin: 35px auto 5px;
    background: var(--color-backgound-field-button);
    color: var(--color-field-button);
    /* border: 1px solid red; */
}
#btn-cookie-submit:hover,
#btn-warning:hover {
    background-color: var(--color-backgound-field-button-hover);
}

@media (max-width:480px) {
    body {
        font-size: 0.9rem;
    }

    .title {
    width: 160px;
    }
}