@font-face {
    font-family: "bilbo";
    src: url(https://fonts.googleapis.com/css2?family=Bilbo);
}
@font-face {
    font-family: "Dancing Script", cursive;
    src: url(https://fonts.googleapis.com/css2?family=Dancing+Script);
}
@font-face {
    font-family: "roboto";
    src: url(https://fonts.googleapis.com/css2?family=Roboto);
}
html {
    scroll-behavior: smooth;
    background-color: var(--background-color);
    background-image: url('/images/fondcartedegrade4.webp');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100vw;
}
h1, h2, h3 {
    color: var(--accent-color);
    font-family: "bilbo", cursive;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-size: var(--title-font-size);
}

body {
    font-size: var(--base-font-size);
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
}
body.connection-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
p {
    margin: 0.5rem 0;
    white-space: pre-wrap;
}
.galerie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.galerie img {
    width: clamp(150px, 25%, 250px);
    height: auto;
}
.galerie img:hover {
    cursor: pointer;
}
.site-title {
    font-size: 2.5rem;
    text-align: center;
}
.hidden {
    display: none!important;
}
.hide {
    visibility: hidden;
}
.lightbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--background-color-with-transparency);
}
.lightbox-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.stop-scrolling {
    height: 100%;
    overflow: hidden;
}
.connection-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color-with-transparency);
    padding: 1rem;
}
.main-container {
    background-color: var(--background-color-with-transparency);
    padding: 1rem;
}
#password-submit {
    margin-top: 1rem;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--background-color-with-transparency);
    padding: 0.5rem;
}
.bold {
    font-weight: bold;
}
.italic {
    font-style: italic;
}
div.confirmation {
    padding: 0 0 1rem 0;
}