@media only screen and (max-width: 768px) {
    body {
        font-size: 8px;
    }
    header{
        height:45px;
    }

    .main-container {
        flex-direction: column; 
        height: auto; 
        position: relative;
        z-index: 10;
    }

    #map {
        height: 470px; 
        width: 100%; 
    }

    .button-container {
        position: relative; 
        height: auto; 
        border-left: none; 
        border-radius: 10px; 
        border-top: 2px solid #ddd; 
        left: unset;
        right: unset;
        margin: 20px auto 0 auto; 
    }

    .two-columns {
        flex-direction: column; 
        width: 100%; /
    }

    .left-column, .right-column {
        width: 100%;
    }

    input, select, label {
        font-size: 14px;
        width: 95%;
    }

    button {
        font-size: 18px;
        padding: 0px;
    }

    #processGeoTIFF, #downloadFile {
        width: 100%;
        margin-top: 20px;
        height: 40px;
    }
    .logo-header img {
        display: block;
        height: 50px;
        margin-top: 0px;
        margin-left: 0px;
      }
      .leaflet-container .leaflet-control-attribution {
        display:none;
      }

      .progress-container {
        position:absolute;
        margin-top: 10px;
        top: 72px;
        z-index: 10;
        font-size: 12px;
        display:flex;
        flex-direction: column;
        width: 200px;
        height: 50px;
        left: 42%; 
        transform: translateX(-50%); 
        align-items: center; 
    }
    .legal-section {
        width: auto;
    }

    .faq-section {
        width: auto;
    }   
    .header-nav {
        display: none; 
        flex-direction: column;
        position: absolute;
        right: 0px;
        top: 75px;
        background-color: #282c3b; 
        padding: 10px;
        border-radius: 20px;
        z-index: 2000;
        text-align: center;
    }

    .menu-toggle {
        display: flex; 
    }


    .header-nav.active {
        display: flex;
    }
    .progress-bar-icon {
        width: 130%;
        margin: 0 auto;
        transform: translateX(-10%);
    }
    
    .profile-container{
        position: relative; 
        margin: 20px auto 0 auto; 
        width:95%;
        height:auto;
        bottom: 0vh;
        display: block;
        background-color: #f9f9f9;
    }   
        
    .profil-graph-container{
        width:unset;
        height:unset;
 
    }   
    .profile-text{
        margin:20px;
        font-size: 14px;
    }
    #profil-export{
        width: 122%;
        padding:10px;
    }
    .nav-link{
        border: 2px solid #171920; 
    }
    #settingsFieldset {
        max-height: none;
    }
    #toggleButton{
        display:none;
    }.tools-container {
        top: 185px;
        position: absolute;
    }
    .modal-content-warning {
        margin: 0%auto; 
        margin-LEFT:10vw;
        margin-right:10vw;
        width: 70%;
        top:150px;
        transform: translateY(+50%); 
    }
    .warningmodal {
        width: 100vw;
        font-size: 12px;
        height: 100%;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.4); 
    }

    .modal-content {
        margin: 0%auto; 
        margin-LEFT:10vw;
        margin-right:10vw;
        width: 43%;
        top:150px;
        transform: translateY(+50%); 
    }
    .gmodal {
        width: 100vw;
        font-size: 12px;
        height: 100%;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.4); 
    }
    button {
        padding:10px;
    }
    
    .info-icon::after {
    transform: translateX(-90%);
    background-color: #282c3b;
    color: white;
    font-weight:normal; 
    font-size: 12px;
    white-space: unset;
    width: 80vw;
    }
    .tool-icon {
        width: 30px;
        height: 30px;
        transition: transform 0.3s ease;
      }
    .tool-item {
        margin: 5px 0;
    }
    .info-icon-fieldset {
        flex-shrink: 0;
    }
    #exportFormat {
        width:300px;
    }
    .mobile-help-img {
        display: none; 
        margin: 10px 0;
    }
    .mobile-help-img.visible {
        display: block;
    }
}
