body {
    word-wrap: normal;
    margin: 20px auto;
    max-width: 650px;
    line-height: 1.6;
    width: auto;
    height: auto;
    min-height: 100dvh;
    background-color: blue;
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(2,0,38,1) 24%, rgba(9,9,121,1) 70%, rgba(9,9,121,1) 100%);
    color: rgb(227, 227, 227);
    font-family: Arial, sans-serif;
    padding: 0;
}

main {
    max-width: 800px;
    margin: auto;
    background: rgb(26, 28, 100);
    padding: 20px;
    border-radius: 10px;
    
    
}

h1 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -3px;
}

p {
    font-family: Arial;
    font-size: 1rem;
    line-height: 1.8;
    color: white;
}

pre {
    font-family: Arial;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    color: white;
}

img {
    display: block;
    margin: auto;
    width: 100%;
}

div {
    word-wrap: break-word;
    color: white;
}

.wrap {
    float: right; 
    margin: 5px;
    
    
}

.underPhoto { 
    margin: 2rem;
}

.image-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.image-container img {
    width: 200px;
    max-width: 100%; 
    height: auto;
    cursor: pointer;
}

nav {
    text-align: center;
    margin-bottom: 20px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}

/* Timeline Layout */
.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Vertical Line in Timeline */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #000000;
    transform: translateX(-50%);
}

/* Timeline Items */
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    position: relative;
}

/* Image Styling */
.timeline-item img {
    width: 250px;
    height: auto;
    border-radius: 8px;
}

/* Text Content Next to Images */
.timeline-content {
    background: rgb(65, 73, 150);
    padding: 10px;
    border-radius: 5px;
    margin-left: 20px;
    width: 300px;
}

/* Alternate Layout for Timeline Items */
.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 20px;
}

/* Lightbox Fixes */

/* Prevent underline on image links */
.timeline-item a {
    text-decoration: none;
    display: inline-block;
}

/* Ensure images keep correct size in lightbox */
.timeline-item img {
    width: 250px;
    max-width: 100%;
}

/* Hide the timeline vertical line when lightbox is active */
.halkaBox-active .timeline::before {
    display: none;
}


.floatbox {
    display: block;
    box-sizing: border-box;
    margin: 0px -4px;
  }
  
  .floatbox::after {
    clear: both;
    content: '';
    display: block;
  }
  
  .item {
    float: left;
    box-sizing: border-box;
    width: 33.33%;
    margin-bottom: 10px;
    padding: 0px 4px;
  }
  
  .item:nth-child(3n + 1) {
    clear: both;
  }
  

  footer {
    background: rgb(26, 28, 100); /* Same as main */
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px; /* Add space above the footer */
    color: white;
    text-align: center; /* Center the content */
}

footer h2 {
    font-size: 1.5em;
    margin-top: 5px;
    margin-bottom: 15px;

}

footer form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white; 
    color: black; 
}

footer textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 100px;
    resize: vertical;
    background-color: white; 
    color: black; 
}

footer input[type="submit"] {
    background-color: #4448a0; 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-bottom: 10px
}

footer input[type="submit"]:hover {
    background-color: #555ab5; /* Even lighter on hover */
}

.header-container {
    display: flex;
    justify-content: space-between; /* Optional: Adjusts spacing between headers */
    align-items: center; /* Optional: Vertically centers headers */
    width: 100%; /* Optional: Ensures container takes full width */
  }