
body {
    /*font-family: Monaco, sans-serif;*/
    /*font-family: 'Roboto', sans-serif;*/
    font-family: 'Open Sans', sans-serif;

    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 500; /* Body content remains above the sun */
}

section {
    padding: 20px;
    margin: 0 auto;
    max-width: 600px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

pre {
    white-space: pre-wrap;       /* CSS3 */
    white-space: -moz-pre-wrap;  /* Mozilla */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* IE */
    overflow-wrap: break-word;   /* Modern browsers */
}

form {
    display: flex;
    flex-direction: column;
}
form label {
    margin-top: 10px;
    font-weight: bold;
}
form input, form textarea {
    margin-top: 5px;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form textarea {
    resize: vertical;
}
form button {
    margin-top: 20px;
    padding: 10px;
    background-color: #ff6633;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
}
form button:hover {
    background-color: #e0552d;
}


.sunset-header {
    overflow: hidden; 
    position: fixed;
    top: 0;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #ff7e5f, #feb47b);
    color: white;
    font-size: 2.5em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: background 0.5s ease-in-out;
    z-index:10;
}

.sun {
    z-index: 100;  /* Low z-index to place it behind */
    position: absolute;
    bottom: -130px; /* Start below the horizon */
    left: 80%;
    width: 80px;
    height: 80px;
    background-color: yellow;
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(255, 255, 0, 0.9),  /* Bright yellow core flare */
        0 0 60px rgba(255, 165, 0, 0.8),  /* Strong orange middle layer */
        0 0 100px rgba(255, 69, 0, 0.8),  /* Intense red outer flare */
        0 0 150px rgba(255, 0, 0, 0.7);   /* Dark red outermost flare */
    animation: solarFlare 3s infinite alternate;  /* Solar flare animation */
    /* box-shadow: 0 0 30px rgba(255, 255, 0, 0.7); */
    transition: transform 0.1s linear;
}

/* Animation for solar flare */
@keyframes solarFlare {
    0% {
        box-shadow:
            0 0 30px rgba(255, 255, 0, 0.9),
            0 0 60px rgba(255, 165, 0, 0.8),
            0 0 100px rgba(255, 69, 0, 0.8),
            0 0 150px rgba(255, 0, 0, 0.7);
    }
    100% {
        box-shadow:
            0 0 50px rgba(255, 255, 0, 1),
            0 0 100px rgba(255, 165, 0, 0.9),
            0 0 150px rgba(255, 69, 0, 0.9),
            0 0 200px rgba(255, 0, 0, 0.8);
    }
}

.content {
    margin-top: 220px;
    padding: 20px;
}

.filler-content {
    height: 2000px; /* just for demo to make the page scrollable */
}

/* Global Styles */
header {
    display: flex;
    flex-direction: column; /* Stacks the elements vertically */
    align-items: center; /* Centers elements horizontally */
    /*background-color: rgba(255, 140, 107, 0.9); /* Sunset background */
    padding: 20px 0;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    text-align: center;
}

/* Logo and Title container */
.header-container {
    display: flex;
    align-items: center; /* Align logo and title vertically */
    margin-bottom: 10px; /* Space between title and nav */
}

.logo {
    width: 70px;
    height: 70px;
    margin-right: 15px; /* Space between logo and title */
    z-index: 1000;
}

h1 {
    z-index: 1000;
    font-size: 2rem;
    margin: 0;
    color: white;
}

/* Navigation Styles */
nav {
    background-color: transparent; /* Keep it transparent for this layout */
    top:0;
    left:0;
    width: 100%;
    z-index: 1100;
    position: fixed; /* Make sure z-index is respected */

}

nav ul {
    position: relative;
    justify-content: center;
    top: 160px;
    list-style: none; /* Remove bullets */
    margin: 0;
    padding: 0;
    display: flex; /* Horizontal layout */
    z-index: 1100;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px; /* Increase click area */
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFCF9F;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 30px;
    z-index: 1200; /* Ensure it's clickable above other elements */

}

/* Mobile responsive layout */
@media (max-width: 768px) {

    nav ul {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack the items vertically */
        width: 150px; /* Full width */
        position: fixed; /* Make it overlay the entire screen */
        background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
        top: 170px;
        left: 50%;
        z-index: 1000; /* Ensure it overlays other content */
        border-radius: 10px; /* Optional for rounded menu edges */
        font-size: 1rem;
    }

    nav ul li a {
        display: block;
        font-size: inherit; /* Ensure it doesn't conflict with nav li */
        padding: 0px 10px;
        margin: 3px 5px; /* Reduce vertical space */
        background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent button look */
        border-radius: 5px; /* Rounded corners for button effect */
        border: 1px solid rgba(255, 255, 255, 0.3); /* Light border for button effect */
        transition: background-color 0.3s ease; /* Smooth hover effect */

        text-align: left;
        color: white;
    }

    nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.4); /* Lighten on hover */
    }

    .menu-icon {
        display: block; /* Show the hamburger icon on mobile */
    }

    /* Show the menu when active */
    nav ul.active {
        display: flex;
    }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-family: "Helvetica Neue", sans-serif;
}

footer a {
    color: #f39c12;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

footer p {
    margin: 5px 0;
}

footer .link-delimiter {
    margin: 0 10px;
    font-size: 0.8em;
    color: #f39c12;
}

footer .social-icons a {
    margin: 0 10px;
    font-size: 1.5em;
    color: #f39c12;
}

footer .social-icons a:hover {
    color: #e74c3c;
}

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

.gallery-container {
  position: relative;
  max-width: 250px; /* Set to your desired width */
  margin: auto;
  overflow: hidden;
}

.gallery {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery img {
  width: 100%;
  height: auto;
}

button {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  transform: translateY(-50%);
}

button.prev {
  left: 0;
}

button.next {
  right: 0;
}
