@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
    font-family: 'Progress';
    src: url('/fonts/PROGRESS.ttf')  format('truetype');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Crimson Pro', 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: 'Progress', serif;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background_phant.png');
    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;
}

#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%;
}
