@font-face {
    font-family: 'Outlaw';
    src: url('../fonts/Outlaw.woff2') format('woff2'),
    url('../fonts/Outlaw.woff') format('woff'),
    url('../fonts/Outlaw.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Outlaw', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #1E1E1E;
    color: #f7f7f7;
}

h1, h2 {
    color: #f7f7f7;
    text-align: center;
}

.floating-menu h3 {
    color: #1E1E1E;
}

form {
    margin-bottom: 20px;
}

.event-list, .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery {
    padding-right: 11em;
}

.event p {
    font-size: 21px;
}

.event a {
    text-decoration: none;
    color: #2f7052;
}

.event, .photo {
    margin: 10px;
    text-align: center;
}

.thumbnail, .photo img {
    max-width: 600px;
    border: 1px solid #ccc;
    width: 100%;
}

button {
    padding: 10px 15px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

/* Floating Menu Styles */
.floating-menu {
    position: fixed;
    top: 20%;
    right: 20px;
    width: 150px;
    padding: 10px;
    background-color: #f4f4f4;
    color: #1E1E1E;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.floating-menu h3 {
    margin-top: 0;
    font-size: 18px;
}

.floating-menu button,
.floating-menu input[type="checkbox"] {
    margin: 5px 0;
    width: 100%;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
}

html .floating-menu input[type="checkbox"] {
    width: auto;
}

.floating-menu .tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #007BFF;
}

.floating-menu .tooltip .tooltiptext {
    visibility: hidden;
    width: 160px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 24px;
    left: -2100%;
    opacity: 0;
    transition: opacity 0.3s;
}

.floating-menu .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.floating-menu .selected-stats {
    margin: 10px 0;
    font-weight: bold;
}

.floating-menu .download-button {
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
}

.floating-menu .download-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.gallery-item img.selected {
    border: 2px solid #007BFF;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 10px; /* This defines the base height for rows */
    gap: 10px;
}

.masonry-item {
    border-radius: 5px;
    padding: 5px;
    /* Manually control the span of rows */
    grid-row-end: span 30; /* Adjust based on the content size */
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 300px;
}


html .slbImage {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 0em 0;
    margin: 0 auto;
}

html .slbCloseBtn {
    -webkit-animation: slbEnter 0.3s;
    -moz-animation: slbEnter 0.3s;
    animation: slbEnter 0.3s;
    font-size: 3em;
    width: 1.66667em;
    height: 1.66667em;
    line-height: 1.66667em;
    position: absolute;
    right: -1.33333em;
    top: 0;
    color: #fff;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}