:root {
    --main-text-color: #444;
}
/* 
* {
    box-sizing: border-box;
}

html:focus-within {
    scroll-behavior: smooth;
} */

body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
}

#container {
    position: relative;
    width: 100%;
    height: 100%;
}

#map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#right-panel {
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
}

#left-panel {
    width: 30%;
    height: 95%;
    background-color: rgba(202, 196, 196, 0.5); /* Semi-transparent background */
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 55px;
    z-index: 1000; /* Ensure it floats above the map */
    overflow-y: auto; /* Scroll if content overflows */
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
}




/* Style for the image in the left panel */


#photo_container {
    border-radius: 15px; /* Rounded corners */
    overflow: hidden; /* Ensure the image fits within the rounded corners */
    display: flex; /* Use Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%; /* Ensure the container takes full height */
    
}

#left-panel img.horizontal {
    border-radius: 15px;
    object-fit: contain; /* Ensure the entire image is visible */
    width: 100%; 
    height: auto; /* Maintain aspect ratio */
}

#left-panel img.vertical{
    border-radius: 15px;
    object-fit: contain; /* Ensure the entire image is visible */
    max-height: 50vh;
    width: auto; /* Maintain aspect ratio */
    margin: auto; /* Center the image */
}

#left-panel > div {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}



h1 {
    color: var(--main-text-color);
}



#start {
    position: absolute;
    z-index: 1000;
    top: 10px;
    right: 10px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}
.profile-icon {
    border-radius: 50%;
    width: 30px; /* Adjust the size as needed */
    height: 30px; /* Adjust the size as needed */
    object-fit: cover;
    border: 2px solid #003399; 
    z-index: 2000;
    
}

.circle-icon {
    border-radius: 50%;
    width: 30px; /* Adjust the size as needed */
    height: 30px; /* Adjust the size as needed */
    object-fit: cover;  
    z-index: 1000;
}

#date_text {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 16px;
    font-weight: bold;
}

#time_text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 16px;
    font-weight: bold;
}