.definition-box {
    position: fixed; /* Will be positioned relative to the viewport */
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 20px;
    /* Center the box in the viewport */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Set a maximum width and ensure it's responsive */
    width: 80%;
    max-width: 600px;
    /* Hide the box initially */
    overflow: hidden;
    max-height: 0;
    /* Add opacity transition for fading effect */
    transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
    opacity: 0;
    /* Ensure it's on top of other content */
    z-index: 1000;
    /* Optional styles for better appearance */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.definition-box::before {
  content: "\e4e3"; /* Unicode for the Font Awesome icon */
    font-family: "Font Awesome 5 Free"; /* Specify the Font Awesome font family */
    font-weight: 900; /* This might be needed depending on the specific version/style of Font Awesome you're using */
    font-size: 5em;
    opacity: 0.5;
    display: block; /* Will make it behave like a block element */
    margin-bottom: 10px; /* Space between the icon and the content below */
    
}

.definition-box:not(.collapsed) {
    max-height: 1000px; /* Adjust as necessary */
    opacity: 1; /* Make the box visible */
}

.point-of-interest-trigger {
    text-decoration: underline;
    cursor: pointer; /* This makes it clear that it's clickable */
    font-size: 18px;
}

.point-of-interest-close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 24px; /* You can adjust the size if needed */
}

.definition-content {
    margin-bottom: 20px;
}

.description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: #24678d;
    font-size: 16px; /* Adjust font size */
    margin-bottom: 10px; /* Space between description and button */
}

.poi-button {
    font-family: 'Open Sans', sans-serif;
  display: inline-block;
  background-color: rgba(28, 76, 84, 0.8); /* Making the original color a bit transparent */
  color: #fff;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.poi-button:hover {
    transform: translateY(-5px);   /* Lifts the box slightly on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1); /* Slightly larger shadow on hover */

}
