main h4 {
    font-style: italic;
    margin-bottom: 0.6rem;
    color: #000;
}

main p {
    margin-bottom: 1rem;
}
.small-text {
    font-size: 0.8rem;
    font-style: italic;
}

.head-container {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-bottom: 1em;
    margin-top: 1em;
}

.head-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.main-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 20px;
    background-image: linear-gradient(to bottom, #007bff, 80%, #b8d9ff);
    padding: 0.5rem 1rem;
    border-radius: 15px;
}
.photoview-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#full-size-image {
    max-width: 100%;
    height: auto;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover {
    background-color: #0056b3;
}

.page-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .main-header img {
        height: 40px
    }

    .head-container {
        gap: 0.7rem;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-color-scheme: dark) {
    main h4 {
        color: #e6e6e2;
    }

    .main-header {
        background-image: linear-gradient(to bottom, #222222, 80%, #666666);
    }

    .btn {
        background-color: #222222;
    }

    .btn:hover {
        background-color: #444;
    }
}