/* Header styles */
#header {
    top: 0;
    left: 0;
    align-items: center;
    background-color: rgba(181, 155, 124);  
    text-align: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#body {
    margin: 0;
    margin-top: 70px;
    font-family: Arial, sans-serif;    
    display: flex;
    flex-direction: column;
    background-color: #add19e !important;
    min-height: 100vh;
    box-sizing: border-box;
    padding-top: 50px; /* Push main content below the fixed header */    
}
#ramble-body{
    margin: 0;    
    font-family: Arial, sans-serif;
    background-color: #add19e; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 50px; /* Push main content below the fixed header */
    
}
#about-body{
    margin: 0;    
    font-family: Arial, sans-serif;
    background-color: #add19e; /* Replace with your desired color code */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 50px;
}
#zine-body{
    margin: 0;    
    font-family: Arial, sans-serif;
    background-color: beige; /* Replace with your desired color code */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px; /* Push main content below the fixed header */
    
}
/* Zine title*/
.hollow-text {
    -webkit-text-stroke: 1px black;
    -webkit-text-fill-color: transparent;
}

/* Image in h1 tag */
#nav-brand-logo{
    height: auto;
    max-height: 60px; /* Adjust max height for larger screens */
    width: auto;
    max-width: 500px; /* Adjust max width for larger screens */
    transition: all 0.3s ease; /* Smooth resizing */
}

/* Main content area */
#main {    
    display: flex;
    justify-content: center; /*space-between;*/
    background-color: #add19e; 
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto;
    margin-bottom: 0 auto;
    
}
#ramble-main {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    gap: 20px; 
    padding: 20px;
    padding-top: 90px;
    max-width: 500px;
    margin: 0 auto; 
}

/* Column 2 for home page */
#home-col-1 {
    flex: 1; /* Allow text section to take up part of the space */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 70px;
    margin-bottom: 0px;
}

#ramble-col-2 {
    width: 100%; /* Ensure the text box takes the full width of the container */
    display: flex;
    justify-content: center;
    align-items: center;    
    flex-direction: column;    
    margin: 0 auto;
}

/* Home text box */
#home-text-box {    
    font-size: 20px; /* Adjust the font size */   
    color: rgb(0, 0, 0);
    background-color: beige; /* Set the background to white */
    padding: 10px; /* Padding inside the text box */
    border: none; /* Remove the border */   
    margin-bottom: 20px;
}
#ramble-text-box {   
    font-size: 20px; /* Adjust the font size */   
    color: rgb(0, 0, 0);    
    background-color: beige; /* Set the background to white */
    padding: 10px; /* Padding inside the text box */
    border: none; /* Remove the border */
    /*margin: 0 auto;*/
    max-width: 500px;
    overflow: visible;
}

/* Map section */
#map-section {
    flex: 1; /* Allow the map to take up one part of the space */
    display: flex;
    margin-top: 0px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}
/* Map styles */
#slow-ride-map {
    width: 100%;
    height: 75vh;     
    z-index: 999;
}

.leaflet-control-attribution {
    font-size: 7px; /* Change the font size of OpenStreetMap logo to make the text smaller/larger */
}

#ramble-map-section{
    flex: 1; /* Allow the map section to take up the space */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  
    margin:auto;
}
#flyer-section00{
    flex: 1; /* Allow the map section to take up the space */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  
    margin:auto;
}

/* Smaller ramble map */
#ramble-map {   
     width: 100%;
    height: 75vh;     
    z-index: 999;
}
#packinglist-flyer img{
   width: 100%; /* Ensure the image fills the width of the container */
    height: 100%; /* Ensure the image fills the height of the container */
    object-fit: contain; /* Make sure the image covers the container without distorting */
    padding-bottom: 20px;
}
#ramble-flyer img {
    width: 100%; /* Ensure the image fills the width of the container */
    height: 100%; /* Ensure the image fills the height of the container */
    object-fit: contain; /* Make sure the image covers the container without distorting */
    padding-bottom: 20px;
}

#ride-details-section{
    flex: 2; /* Allow the map section to take up the space */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;    
    margin: 0 auto; /* Center the content */
    max-width: 500px; /* Match the maximum width of the original map */
    overflow: scroll;
}

#ride-details-graphic{
    width: 100%; /* Fill the container */
    height: auto; /* Same height calculation as the original map */
    min-height: 100vh;
    z-index: 999;     
    overflow: visible; /* Ensure content inside stays within the bounds */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#ride-details-graphic img{
    width: 100%; /* Ensure the image fills the width of the container */
    height: auto; /* Ensure the image fills the height of the container */
    object-fit: contain; /* Make sure the image covers the container without distorting */
    padding-bottom: 20px;
}

#ramble-vid {
    padding-top: 20px;
    width: 100%;            /* Make video responsive */
    max-width: 500px;       /* Limit the maximum width of the video */
    height: auto;
    aspect-ratio: 16/9;     /* Maintain 16:9 aspect ratio */
}

/* Navigation link styles */
.navbar {
    background-color:  rgba(181, 155, 124); 
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav-link{    
    margin: 0 10px;
    /*width: auto;*/
    color: white !important;
    text-align: center;
    background-color:  rgba(181, 155, 124);
    font-family: 'Lora', serif;  
    padding: 5px 5px !important;    
    display: inline-block !important;
    transition: background-color 0.3s ease, padding 0.3s ease;    
}
.nav-item{
    display: inline-block;
    text-align: center;   
}
.nav-link:hover {
    background-color: rgba(161, 135, 104);
    color: #fff; 
}

.navbar-nav .nav-link.active {    
    text-align: center; 
    border-radius: 15px;
    background-color: rgba(161, 135, 104, 1);
    display: inline-block;
    padding: 10px 15px;
}

#about-txt-container{
    position: relative;
    width: 100%; /* Full width of the container */    
    height: auto;
    margin-top: 0px;   
    overflow: visible;    
}

#about-blerb{    
    font-size: 20px; /* Adjust the font size */   
    color: rgb(0, 0, 0);    
    text-align: left;
    background-color: beige; 
    padding: 10px; /* Padding inside the text box */
    border: none;
    margin: 0 auto;
    margin-top: 40px;    
    width: 100%;
    max-width: 1000px;
}

#YT-container{
    position: relative;
    width: 100%; /* Full width of the container */
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    height: auto;
    overflow: hidden;
}

#YT-vid {
    width: 100%; /* Ensures the video is responsive */
    max-width: 1000px; /* Keeps the video at its original width on larger screens */
    height: auto;
    aspect-ratio: 16/9; /* Maintains a 16:9 aspect ratio */
}

/* Responsive: Stack columns on smaller screens */
@media (max-width: 500px) {
    #main{
        flex-direction: column; /* Stack the map and text box vertically */
        gap: 20px;
    }

    /*#ramble-main {
        display: flex;
        flex-direction: column; /* Stack the map and text box vertically 
        justify-content: center; /* Align items at the top 
        gap: 20px; /* Space between the map and text box */
       /* padding: 20px;
        padding-top: 90px;
        max-width: auto;
        margin: 0 auto; /* Center the content */
    }

    #map-section, #home-col-2 {
        width: 100%; /* Make both sections take full width on small screens */
        height: auto; /* Adjust height based on content */
    }

    #map {
        height: 300px; /* Adjust the map height for smaller screens */
    }

    #home-text-box{
        height: auto; /* Adjust the text box height based on content */
        margin-bottom: 20px; /* Add spacing between stacked elements */
    }

    .navbar-brand {
        flex-grow: 0; /* Let the logo grow to fill available space */
        text-align: center; /* Center the logo if necessary */
    }

    #nav-brand-logo {
        max-width: 250px; /* Smaller max width for small screens */
        max-height: 40px; /* Smaller max height for small screens */
       /*margin-left: 10px; /* Add some margin to space out from the burger menu */
    }

    /* Optional: Adjust burger icon spacing */
    .navbar-toggler {
        order: -1;
        flex-grow: 0;
        margin-left: -10px;
    }

    .navbar-collapse .nav-item {
        display: inline-block; /* Prevent the nav-item from taking up the full width */
        width: auto; /* Ensure it doesn't expand */
    }

    .navbar-collapse .nav-link {
        display: inline-block; /* Make sure nav-link only takes necessary width */
        padding: 5px 10px; /* Adjust padding to reduce clickable area */
        width: auto; /* Prevent it from taking full width */
    }
    .navbar-brand{
        order: 0;
        flex-grow: 1;
        display: inline-block; 
        padding: 5px 10px;
        max-width: 70%; 
    }


