@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
    font-family: 'Lovecraftian Horrors';
    src: url('/fonts/Lovecraftian-Horrors.eot');
    src: url('/fonts/Lovecraftian-Horrors.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Lovecraftian-Horrors.woff2') format('woff2'),
    url('/fonts/Lovecraftian-Horrors.woff') format('woff'),
    url('/fonts/Lovecraftian-Horrors.ttf')  format('truetype'),
    url('/fonts/Lovecraftian-Horrors.svg#Lovecraftian Horrors') format('svg');
}

@font-face{
    font-family: "Lovecraft Block HPLHS";
    src: url("/fonts/8f23964bef7fc9ad6ff22877cb06592e.eot");
    src: url("/fonts/8f23964bef7fc9ad6ff22877cb06592e.eot?#iefix")format("embedded-opentype"),
    url("/fonts/8f23964bef7fc9ad6ff22877cb06592e.woff")format("woff"),
    url("/fonts/8f23964bef7fc9ad6ff22877cb06592e.woff2")format("woff2"),
    url("/fonts/8f23964bef7fc9ad6ff22877cb06592e.ttf")format("truetype"),
    url("/fonts/8f23964bef7fc9ad6ff22877cb06592e.svg#Lovecraft Block HPLHS")format("svg");
    font-weight:normal;
    font-style:normal;
    font-display:swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lovecraft Block HPLHS', serif;
    font-size: 2em;
    overflow-x: hidden;
    background-color: #111;
    color: #aaa;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    min-height: 100vh;
    position: relative;
}

.headinglc {
    font-family: 'Lovecraftian Horrors', serif;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg_magedoz.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: -1;
}

.page-content {
    padding: 20px;
}

.container-fluid {
    padding-left: 250px;
    transition: 0.3s;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    z-index: 0;
}

#privacy-notice {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
#privacy-notice button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
}
.hide-privacy-notice {
    transform: translateY(100%);
}

.bi-dice-6-fill {
    cursor: pointer;
}

#loading-overlay {
    position: fixed;
    width: 100%;
    height:100%;
    left: 0;
    top: 0;
    display: none;
    align-items: center;
    background-color: #000;
    z-index: 999;
    opacity: 0.5;
}

#loader-container {
    position: fixed;
    width: 100%;
    height:100%;
    left: 0;
    top: 0;
    align-items: center;
}

.grid-container {
    /*background-color: #000000;*/
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns */
    grid-template-rows: repeat(7, 1fr); /* 7 rows */
    gap: 2px; /* Optional: adds gap between tiles */
    width: 50%;
    max-height: 75vh; /* 75% of the viewport height */
    aspect-ratio: 1; /* Keeps the container square */
    margin: auto;
}

.grid-item {
    background-color: #3a3a3a;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s;
    opacity: 0.9;
}

.grid-item:hover {
    opacity: 1;
}

.fill {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}
