/* Global box-sizing rule */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333333; /* Set the rest of the page to dark gray */
    color: white; /* Adjust text color for readability */
}

header {
    background-color: #444; /* Matching weather-day container color */
    padding: 0.3rem; /* Slightly reduced padding for a smaller height */
    text-align: center;
    width: 100%; /* Make the header span the full width */
    margin: 0; /* Remove centering margin */
    /* border-radius: 0 0 25px 25px; /* Kun afrundede hjørner i bunden */
}

main {
    padding: 2rem;
}

img.fullmap {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    background-color: white;
    border: 1px solid #ccc; /* valgfrit: synlig kant */
}

/* Nye stiler for to-kolonner layout */
.container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.left-column {
    flex: 1;
    text-align: left;
    padding: 5rem;
    background-color: #444; /* Matching weather-day container color */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-image {
    width: 100%; /* Sikrer at billedet fylder hele bredden af containeren */
    height: auto;
    background-color: transparent;
    border: none;
    border-radius: 40px; /* Ændret til 40px for at give billedet samme afrundede hjørner som containeren */
    max-width: 100%;
}

/* Mobile-specific rules to prevent horizontal scrolling - only for screens under 992px */
@media screen and (max-width: 991px) {
    html {
        overflow-x: hidden;
        max-width: 100%;
        touch-action: manipulation;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100%;
        position: relative;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        overscroll-behavior-x: none;
    }
    
    .container {
        touch-action: manipulation;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .left-column {
        touch-action: manipulation;
        overflow-x: hidden;
    }
    
    .map-image {
        touch-action: manipulation;
    }
    
    main {
        overflow-x: hidden;
        width: 100%;
        touch-action: manipulation;
    }
}
