@font-face {
    font-family: "NimbusSanL-Regu";
    font-style: normal;
    src: url(./fonts/NimbusSanL-Regu.woff);
}

@font-face {
    font-family: "NimbusSanL-Bold";
    font-style: bold;
    src: url(./fonts/NimbusSanL-Bold.woff);
}

@font-face {
    font-family: "NimbusSanL-ReguItal";
    font-style: italic;
    src: url(./fonts/NimbusSanL-ReguItal.woff);
}

::selection {
    color: #000;
    text-shadow: #bdb3af 0px 0px 6px;
    text-decoration: underline dotted;
}

p,
h2,
h3,
h4,
header {
    font-family: "NimbusSanL-Regu", sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
}

h1 {
    font-family: "NimbusSanL-Bold", sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

article {
    padding: 5px;
    max-width: 800px;
    margin: 0 auto;
}

footer {
    text-align: center;
    left: 0;
    bottom: 0;
    width: 100%;
    position: fixed;
    font-size: 12px;
    margin: 0;
}

p.footer {
    font-size: 12px;
    color: #555;
}

@media (min-width: 800px) {
    p,
    h1,
    h2,
    h3 {
        font-size: 24px;
    }
    article {
        margin: 3em auto;
    }
}

a {
    color: #000;
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

a::after {
    content: "⭟";
    color: #555;
}

button {
    font-size: 24px;
    color: #000;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
button::after {
    content: "⭟";
    color: #555;
}

img {
    display: block;
    margin: auto;
}

hgroup h3,
hgroup p {
    display: inline;
}

hgroup h3 {
    margin-right: 10px;
}

mark {
    background-color: #bdb3af;
}

.header-right {
    float: right;
    padding: 5px;
    max-width: 400px;
    margin-bottom: 1em;
}

.header-left {
    float: left;
    padding: 5px;
    max-width: 400px;
    margin-bottom: 1em;
}

img.header-left {
    width: 30%;
}

/*2024 code*/ /******************************************************************************/

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the images and create equal spacing */
    background-color: #fff; /* Set background color for the gallery to white */
    padding: 5px; /* Adjust the padding to create space between images */
    max-width: 100%;
    overflow: hidden; /* Set gallery width to 100% */
}
.gallery img {
    opacity: 1;
    max-height: 360px;
    margin: 20px 30px; /* Adjust the horizontal and vertical margin */
}

.gallery img:hover {
    opacity: 0.9;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    font-family: "NumbusSanL-Bold", sans-serif;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.modal.active {
    opacity: 1;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.close-btn {
    color: black;
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
    font-family: "NumbusSanL-Bold", sans-serif;
}
.arrow-btn {
    position: absolute;
    top: 40%; /* Set the top value to 40% */
    transform: translateY(-50%);
    font-size: 48px;
    color: black;
    z-index: 1;
    width: 50%; /* Set the width to 50% */
    display: flex;
    align-items: center;
    justify-content: center;
}
.prev-btn {
    left: -250px;
}
.next-btn {
    right: -250px;
}
/* Add a div to cover the left half of the screen */
.left-half {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    cursor: url("cursor.png"), default;
}
/* Add a div to cover the right half of the screen */
.right-half {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    cursor: url("cursor.png"), default;
}
