.map-section {
    display: grid;
  place-items: center;
  height: 100%; /* Or you can set a specific height */
  overflow-x: hidden;
  z-index: 100;
  }
  
  #canvas {
    background-color: #16171a;
    margin-top: 20px;
    border-radius: 5px;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  #articleDiv {
    background-color: #16171a;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    margin-top: 20px;
    color: white;
    width: calc(100% - 80px);
}

#articleDiv img {
    max-width: 200px; /* This will make sure your image width doesn’t exceed 200px */
    height: auto; /* This will auto-adjust the height according to the width, maintaining the aspect ratio */
    display: block;
    float: right; /* This will position the image to the right */
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#articleDiv h2 {
    text-align: center;
    color: #FF4D4D;
}

  
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed; /* Makes the navbar stick to the top */
    top: 0; 
    left: 0;
    right: 0;
    z-index: 1000; /* Ensures the navbar is above other content */
}

.nav-btn {
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-btn:hover {
    color: #dddddd;
}

.search-bar {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    outline: none;
    margin: 0 1rem;
}

.search-bar::placeholder {
    color: #aaa;
}

