@font-face {
    font-family: 'FilmNoirAdventure';
    src:url('FilmNoirAdventure.woff') format('woff'),
          url('FilmNoirAdventure.woff2') format('woff2'),
          url('FilmNoirAdventure.svg#FilmNoirAdventure') format('svg'),
          url('FilmNoirAdventure.eot'),
          url('FilmNoirAdventure.eot?#iefix') format('embedded-opentype'),
          url('FilmNoirAdventure.ttf') format('truetype');
  
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'EBGaramond';
    src:url('EBGaramond.woff') format('woff'),
          url('EBGaramond.woff2') format('woff2'),
          url('EBGaramond.svg#EBGaramond') format('svg'),
          url('EBGaramond.eot'),
          url('EBGaramond.eot?#iefix') format('embedded-opentype'),
          url('EBGaramond.ttf') format('truetype');
  
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  

/* Universal Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Body Styling */
html, body {
    height: 100%;
    line-height: 1.5; /* Increase line spacing */
}

body {
    display: flex;
}

/* Google Map Styling */
#google-map {
    border: 1px solid #ccc;
    width: 700px;
    height: 500px;
    margin: 0 auto;
    background-color: #000; /* Set background color to black */
}

/* Sidebar Styling */
#sidebar-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: #E4D3BD;
    overflow-y: auto;
    transition: width 0.5s;
    padding: 20px;
    z-index: 1;
    margin-bottom: 20px;
}


#sidebar-content {
    margin-top: 10px; /* Reduce space between the bottom of the banner and the top of the title */
    line-height: 1.5; /* Increase line spacing */
}

#sidebar-title-container {
    display: flex;
    align-items: center; /* Align items vertically in the container */
}

#sidebar-title {
    margin-left: 10px; /* Add space between icon and title */
    margin-bottom: 10px; /* Add space between the bottom of the title and the top of the description */
    line-height: 1.5; /* Increase line spacing */
    font-size: 1.75vw; /* Custom font size for sidebar title */

}

.sidebar-icon {
    width: 24px; /* Increase icon width */
    height: 24px; /* Increase icon height */
    margin-right: 5px; /* Add space between icon and title */
}

#sidebar-description {
    margin-bottom: 20px; /* Add more space between the bottom of the title and the top of the description */
    line-height: 1.5; /* Increase line spacing */
    font-size: 100%; /* Custom font size for sidebar title */

}

#sidebar-images {
    display: flex;
    flex-direction: column; /* Stack images and captions vertically */
}

#sidebar-images div {
    margin-bottom: 20px; /* Add space between each image and caption */
}

#sidebar-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Round the edges of the images */
}

#sidebar-images p {
    margin-top: 5px; /* Add space between the image and caption */
    font-style: italic; /* Italicize the caption */
    line-height: 1.5; /* Increase line spacing */
    font-size: 1.25vw; /* Increase caption size */

}

/* Key Styling */
#key {
    position: fixed;
    top: 50%;
    left: 5px; /* Adjust the distance from the left edge */
    transform: translateY(-50%);
    z-index: 1002;
    display: flex;
    flex-direction: column; /* Stack icons vertically */
    gap: 4px; /* Add spacing between icons */
}

.key-icon {
    display: block;
    margin-bottom: 5px; /* Adjust spacing between icons */
    width: 10px; /* Set default width */
    height: 10px; /* Set default height */
    margin-right: 3px; /* Add a tiny bit more space between icons */
}


/* Media query for mobile devices */
@media (max-width: 768px) {
    #key {
        width: 10vw; /* Set width for mobile devices */
    }

    .key-icon {
        width: 6px; /* Adjust width for smaller screens */
        height: 6px; /* Adjust height for smaller screens */
    }

    #sidebar-images p {
        font-size: 3.75vw; /* Increase caption size */
    
    }
}

/* Media query for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    #key {
        width: 5vw; /* Set width for tablets */
    }

    .key-icon {
        width: 8px; /* Adjust width for tablets */
        height: 8px; /* Adjust height for tablets */
    }

}



/* Logo Container Styling */
#logo-container {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

#sidebar-banner {
    background-color: #3E2F24; /* Dark brown background color */
    color: #fff; /* Text color of the banner */
    padding: 10px; /* Padding for spacing */
    text-align: center; /* Align content to the center */
    width: 100%; /* Make the banner cover the entire width of the sidebar */
    position: absolute; /* Position the banner absolutely within the sidebar */
    top: 0; /* Align the banner to the top of the sidebar */
    left: 0; /* Align the banner to the left of the sidebar */
    height: 5%; /* Make the banner take up 5% of the height of the sidebar */
}

#close-sidebar-btn {
    background: none;
    border: none;
    color: #fff; /* Text color of the close button */
    font-size: 24px; /* Increase font size */
    padding: 10px 15px; /* Add padding to the button */
    cursor: pointer;
    position: absolute; /* Position the button absolutely within the sidebar banner */
    top: 50%; /* Align the button vertically in the middle of the banner */
    right: 10px; /* Align the button to the right side with a 10px margin */
    transform: translateY(-50%); /* Center the button vertically */
}

#sidebar-title {
    font-family: 'FilmNoirAdventure', sans-serif; /* Use the font name defined in @font-face */
    line-height: 1.5; /* Increase line spacing */
}

#sidebar-description {
    font-family: 'EBGaramond', serif; /* Use your chosen serif font for the description */
    line-height: 1.5; /* Increase line spacing */
}


#question-icon {
    position: fixed;
    bottom: 30px;
    left: 10px;
    width: 35px; /* Set width to match the key */
    z-index: 1002;
}

#question-icon img {
    width: 100%; /* Ensure the icon fills the width of its container */
    height: auto; /* Maintain aspect ratio */
}

#sidebar-title {
    line-height: 1.5; /* Increase line spacing */
}

#sidebar-description {
    line-height: 1.5; /* Increase line spacing */
}


@media (max-width: 768px) {
    
    #question-icon.hidden {
        display: none;
    }

    #logo-container img {
        width: 45vw; /* Set the width of the logo to 5% of the viewport width */
        margin-top: 10px; /* Add more margin from the top of the screen */

    }
}


#question-icon {
    position: fixed;
    bottom: 30px;
    left: 10px;
    width: 35px; /* Set width to match the key */
    z-index: 1002;
}

#question-icon img {
    width: 100%; /* Ensure the icon fills the width of its container */
    height: auto; /* Maintain aspect ratio */
}
