body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: auto; /* Add scroll to each section */
}

.container {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow-y: auto; /* Add vertical scroll */
}

.left, .right {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 30px;
    height: auto; /* Allow the divs to expand as per content */
    overflow-y: auto; /* Add scroll to each section */
}

.left {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e4e4e4;
    padding: 3px;
    flex: 1;
    text-align: center;
}

.right {
    background-color: #fff;
}

.content, .login-form {
  max-width: 350px;
  padding: 10px;
}

.logo-and-text {
    max-width: 300px;
    text-align: left;
}

.logo-img {
    max-width: 45%; /* Set the maximum width to 50% of its container */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center the logo */
}

.font-base-d {
    font-family: Monaco;
    font-size: 0.8em;
}
.font-base-e {
    font-family: Monaco;
    font-size: 0.7em;
}
.dotted-line-break {
    border-top: 1px dotted #cfcfcf;
    padding-bottom: 4px;
}

h1 {
    text-align: center;
    font-family: Monaco;
    font-size: 1.4em;
    padding-top: 15px;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.slogan {
    text-align: left;
    padding: 8px;
    font-size: 0.7em;
}

p {
    text-align: center;
    font-family: Monaco;
    font-size: 0.8em;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.rawdata {
    text-align: left;
    font-family: Monaco;
    font-size: 0.9em;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.faq_q {
    text-align: left;
    padding-top: 10px;
    border-bottom: 1px dotted #cfcfcf;
}

.faq_a {
    text-align: left;
    font-size: 0.7em;
    padding-bottom: 10px;
    padding-top: 2px;
}

input[type="text"], input[type="password"], button {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  margin-bottom: 6px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#userLocation {
    display: flex;
    align-items: center;
}

.map-container {
    background: #E8EFE7; /* Soft grey background for change location div */
    border: 1px solid #cccccc; /* Slightly darker border for change location div */
    border-radius: 8px;
    padding: 12px;
}

#mapPreview {
    height: 400px; /* old values 200px */
    width: 550px; /* old values 350px */
}

/* CIRCLE PULSE */
.pulsating-circle {
    width: 50px;
    height: 50px;
    background-color: green;
    border: 2px solid darkgreen;
    border-radius: 50%;
    position: relative;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 black;
    }
    70% {
        box-shadow: 0 0 0 3px black;
    }
    100% {
        box-shadow: 0 0 0 0 black;
    }
}
/* END CIRCLE PULSE */

/* Responsive styling */
@media (max-width: 768px) {
    .logo-img {
        max-width: 35%;
        height: auto;
    }

    .font-base-d {
        font-family: Monaco;
        font-size: 0.6em;
    }
    .font-base-e {
        font-family: Monaco;
        font-size: 0.5em;
    }

    .text-content h1 {
        font-size: 0.9em;
        font-family: Monaco;
    }

    .text-content p {
        font-size: 0.6em;
        font-family: Monaco;
    }

    .logo-and-text {
        max-width: 100%; /* Use full width of the container */
        padding: 10px;
    }

    .left, .right {
        align-items: flex-start;
        max-height: none; /* Allow for natural height on smaller screens */
    }
}

/* Further adjustments for very small screens, like mobile phones */
@media (max-width: 480px) {
    .logo-img {
        max-width: 50%;
    }

    .font-base-d {
        font-family: Monaco;
        font-size: 0.6em;
    }
    .font-base-e {
        font-family: Monaco;
        font-size: 0.5em;
    }

    .text-content h1 {
        font-size: 1em;
        font-family: Monaco;
        padding-top: 2px;
        padding-bottom: 5px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .text-content p {
        font-size: 0.7em;
        font-family: Monaco;
    }

    .left, .right {
        align-items: flex-start;
        max-height: none; /* Allow for natural height on smaller screens */
    }

}