/*
------------------------------------------------------------------------------------------------------------------
CSS for navigation menu, hamburger menu, responsive screen, one and two column images, header, footer and lightbox

------------------------------------------------------------------------------------------------------------------
*/

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  	font-family: Arial, Helvetica, sans-serif;
}

/* Body, Header, Main (, Navbar */ 
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #FFFFFF;
}

main {
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 20em;
    align-items: center;
}


.navbar {
    background-color: #FFFFFF;
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}


.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.menu-item {
    position: relative;
    margin: 0 5px;
    font-size: 20px;
    font-weight: bold;
}

.menu-item a {
    padding: 0px 40px;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: black;
		}


.menu-item a:hover {
    background-color: red;
    border-radius: 4px;
    color: white;
}

/* Dropdown Menu */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E0E0E0;
    display: none;
    flex-direction: column;
    z-index: 1000;
    min-width: 160px;
}

.dropdown-content a {
    padding: 0px;
    color: black;
    text-align: center;
}

.dropdown-content a:hover {
    background-color:  red;
    padding: 7px;
}

.menu-item.dropdown:hover .dropdown-content {
    display: flex;
}


/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

	.menu-toggle .bar {
    background-color: red;
    height: 3px;
    width: 25px;
    margin: 4px 0;
	}
		
		@media (max-width: 768px) {
    .menu {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        text-align: center;  
    }

    .menu.active {
        max-height: 1000px; /* Adjust as needed - was 500*/
    }

    .menu-item {
        margin: 10px 0;
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        transform: none;
        left: 0;
        text-align: left;
    }

    .menu-toggle {
        display: flex;
    }
}



/* 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;

}

/* Responsive layout - makes the columns stack on top of each other instead of next to each other */
@media (max-width: 786px) {
  .column {
      flex: 1 1 95%; /* Each column takes full width on smaller screens */

 }
}


.outlined-text {
  color: white;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0px  0px 2px #000;
}

.responsive-video {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  border: 2px solid #000000;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
	height: 32px;
  background-color: white;
  color: black;
  text-align: center;
}

 
/* 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: 80%;
}

.lightbox img {
    max-width: 50%;
    max-height: 40%;
    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;
}
