body {
    background-color: black; /* Arka plan rengi */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}
.gallery-container {
    margin-bottom: 20px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease-in-out;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-date {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white; /* Tarih metni rengi */
}
/* Diğer stiller */

/* Galeri modalı */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Modal arka plan rengi ve opaklık */
}

.gallery-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.gallery-modal-img {
    max-width: 80%; /* Resmin maksimum genişliği */
    max-height: 80%; /* Resmin maksimum yüksekliği */
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white; /* Kapatma düğmesi rengi */
    font-size: 40px;
    cursor: pointer;
}

.gallery-modal-close:hover {
    color: #ccc; /* Kapatma düğmesi hover rengi */
}
.year-container {
    display: flex;
    flex-wrap: wrap;
}
.year {
    flex: 0 0 auto;
    margin-right: 20px;
    margin-bottom: 20px;
}
.month-container {
    margin-bottom: 20px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
}
.gallery-item {
    margin-right: 10px;
    margin-bottom: 10px;
}

.year-container {
    display: flex;
    flex-wrap: wrap;
}
.year {
    flex: 0 0 auto;
    margin-right: 20px;
    margin-bottom: 20px;
}
.month-container {
    margin-bottom: 20px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
}
.gallery-item {
    margin-right: 10px;
    margin-bottom: 10px;
}
.gallery-item img, .gallery-item video {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}