/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}



/* Header and Navbar */
header {
    display: flex;
    flex-direction: column;
    background-color: #333;
    color: white;
    padding: 1em 0;
}

.navbar {
    overflow: hidden;
    background-color: #333;
    display: flex; /* Centers the menu  */
    justify-content: center; /* Centers the menu  */
}

    .navbar a {
        float: none;
        font-size: 22px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

.dropdown {
    float: left;
    overflow: hidden;
}

    .dropdown .dropbtn {
        font-size: 22px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: black;
        font-family: inherit;
        margin: 0;
    }

    .navbar a:hover, .dropdown:hover .dropbtn {
        background-color: red;
    }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}
/*  End of dropdown style */






/* Photos */
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f9f9f9;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em;
}

main {
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
}


/* Two-Column Layout */
.two-column {
    display: flex;
    gap: 1em;
    flex-wrap: wrap; /* Makes the columns wrap on smaller screens */
    margin-top: 1em;
}

.column {
    flex: 1 1 45%; /* Each column takes up 45% of the space */
    padding: 1em;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
}



/* Single Photo Gallery */
.single-photo-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1em;
}

    .single-photo-gallery .photo img {
        width: 100%;
        max-width: 300px;
        border: 1px solid black;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .single-photo-gallery .photo img:hover {
            transform: scale(1.05);
        }

    .single-photo-gallery .title {
        font-size: 1.2em;
        font-weight: bold;
        color: #555;
        text-align: center;
    }

/* Multi-Photo Gallery */
.two-photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Two-column responsive */
    gap: 1em;
    max-width: 640px; /* Center the gallery */
    width: 100%;
}

    .two-photo-gallery .photo img {
        width: 100%;
        border: 1px solid black;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .two-photo-gallery .photo img:hover {
            transform: scale(1.05);
        }

    .two-photo-gallery .title {
        margin-top: 0.5em;
        font-size: 1em;
        font-weight: bold;
        color: #555;
        text-align: center;
    }


.audio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    margin: 1em 0;
}

    .audio-container p {
        flex: 1 1 48%;
        text-align: center;
        margin: 0;
    }

.audio-title {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.audio-player {
    width: 70%;
    min-width: 250px;
    height: 35px;
    display: block;
    margin: 0 auto;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

.audio-player1 {
    width: 35%;
    min-width: 250px;
    height: 35px;
    display: block;
    margin: 0 auto;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

/* Mobile: Stack in one column */
@media (max-width: 600px) {
    .audio-container p {
        flex: 1 1 100%;
    }
}



.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 32px;
    background-color: black;
    color: white;
    text-align: center;
    font-size: 12px;
}

hr {
    display: block;
    position: relative;
    padding: 0;
    margin: 8px auto;
    height: 0;
    width: 100%;
    max-height: 0;
    font-size: 1px;
    line-height: 0;
    clear: both;
    border: none;
    border-top: 2px solid #aaaaaa;
    border-bottom: 1px solid #ffffff;
}



/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    text-align: center;
    max-width: 90%;
}

.lightbox img {
    max-width: 80%;
    max-height: 70%;
    margin: auto;
    border: 5px solid white;
    border-radius: 10px;
}

#lightbox-title {
    color: white;
    font-size: 1.2em;
    margin-top: 1em;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

    .close:hover {
        color: #aaa;
    }
