body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

header {
    text-align: center;
    padding: 20px;
}

.title-line {
    border: none;
    border-top: 2px solid #333;
    width: 343px;
    margin: 10px auto;
}

.quick-links {
    text-align: center;
    margin-top: 10px;
}

.quick-links a {
    text-decoration: none;
    color: #555;
    margin: 0 5px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #000;
}

.image-grid {
    column-count: 2;
    column-gap: 20px;
    padding: 20px;
}

.image-container {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

.image-container .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

.grid-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0 20px;
    z-index: 2;
    pointer-events: none;
}

.grid-arrows span {
    color: white;
    font-size: 60px;  /* arrow size */
    margin-left: -9px;            /*  arrow spacing in picture  */
    margin-right: 30px;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
}

.image-container:hover .grid-arrows {
    opacity: 1;
    pointer-events: auto;
}

section {
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

h1, h2 {
    margin-bottom: 10px;
}

#about, #contact {
    margin-top: 40px;
}

@media (max-width: 600px) {
    .image-grid {
        column-count: 1;
    }
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.9);
    padding-top: 10px;            /*  Pictures top spacing, in lightbox */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    text-align: center;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 90%;
}

.lightbox-content.vertical img {
    max-width: 45%;          /*  Size of vertical images, in lightbox */
    max-height: 90%;
}

.lightbox-content.horizontal img {
    max-width: 80%;
    max-height: 70%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    opacity: 0.7;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    transition: opacity 0.3s ease;
}

.prev:hover, .next:hover {
    opacity: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

p.spaced {
  margin-top: 2em;
}



