@import url("../css/uicons-solid-rounded.css");
@import url("../css/uicons-bold-rounded.css");
/* @import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap"); */
/* oswald-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/oswald-v53-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/oswald-v53-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/oswald-v53-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/oswald-v53-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-family: "Chairdrobe Rounded Medium";
    src: url("../fonts/chairdrobe-rounded-medium.otf") format("opentype");
}

@font-face {
    font-family: "Agenda Light";
    src: url("../fonts/Agenda Light Regular.otf") format("opentype");
}

/*=============== GOOGLE FONTS ===============*/
/* lato-regular - latin */
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    src: local(""), url("../fonts/lato-v23-latin-regular.woff2") format("woff2"),
        /* Chrome 26+, Opera 23+, Firefox 39+ */ url("../fonts/lato-v23-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700 - latin */
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    src: local(""), url("../fonts/lato-v23-latin-700.woff2") format("woff2"),
        /* Chrome 26+, Opera 23+, Firefox 39+ */ url("../fonts/lato-v23-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-900 - latin */
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 900;
    src: local(""), url("../fonts/lato-v23-latin-900.woff2") format("woff2"),
        /* Chrome 26+, Opera 23+, Firefox 39+ */ url("../fonts/lato-v23-latin-900.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/roboto-v30-latin-regular.eot"); /* IE9 Compat Modes */
    src: local(""), url("../fonts/roboto-v30-latin-regular.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/roboto-v30-latin-regular.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/roboto-v30-latin-regular.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-500 - latin */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/roboto-v30-latin-500.eot"); /* IE9 Compat Modes */
    src: local(""), url("../fonts/roboto-v30-latin-500.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/roboto-v30-latin-500.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/roboto-v30-latin-500.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/roboto-v30-latin-500.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/roboto-v30-latin-500.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/roboto-v30-latin-700.eot"); /* IE9 Compat Modes */
    src: local(""), url("../fonts/roboto-v30-latin-700.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/roboto-v30-latin-700.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/roboto-v30-latin-700.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/roboto-v30-latin-700.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/roboto-v30-latin-700.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* raleway-regular - latin */
@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/raleway-v28-latin-regular.eot"); /* IE9 Compat Modes */
    src: local(""), url("../fonts/raleway-v28-latin-regular.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/raleway-v28-latin-regular.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-regular.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/raleway-v28-latin-regular.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/raleway-v28-latin-regular.svg#Raleway") format("svg"); /* Legacy iOS */
}
/* raleway-500 - latin */
@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/raleway-v28-latin-500.eot"); /* IE9 Compat Modes */
    src: local(""), url("../fonts/raleway-v28-latin-500.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/raleway-v28-latin-500.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-500.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/raleway-v28-latin-500.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/raleway-v28-latin-500.svg#Raleway") format("svg"); /* Legacy iOS */
}
/* raleway-600 - latin */
@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/raleway-v28-latin-600.eot"); /* IE9 Compat Modes */
    src: local(""), url("../fonts/raleway-v28-latin-600.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/raleway-v28-latin-600.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-600.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/raleway-v28-latin-600.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/raleway-v28-latin-600.svg#Raleway") format("svg"); /* Legacy iOS */
}
/* raleway-700 - latin */
@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/raleway-v28-latin-700.eot"); /* IE9 Compat Modes */
    src: local(""), url("../fonts/raleway-v28-latin-700.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/raleway-v28-latin-700.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-700.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/raleway-v28-latin-700.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/raleway-v28-latin-700.svg#Raleway") format("svg"); /* Legacy iOS */
}

:root {
    --color-rosu: #f53123;
    --color-gri: #3f3f3f;
    --color-negru: #232424;
    --color-orange: #f9802d;
    --color-golden: #f1b012;
    --color-albastru: #123fa6;
    --color-bleo: #358cf6;
    --color-alb: #fff;
    --color-galben: #edcf55;
    --color-footer: #111111;
    --color-button: #fbca01;
    --color-negru: #1b1b1b;
    --gradient: linear-gradient(90deg, var(--color-albastru), var(--color-verde));
    --ff-Montserrat: "Montserrat", sans-serif;
    --ff-Lato: "Lato", sans-serif;
    --ff-Roboto: "Roboto", sans-serif;
    --ff-Verdana: "Verdana", Geneva, sans-serif;
    --ff-Oswald: "Oswald", sans-serif;
}

body {
    /* font: 300 15px/15px "Lato", sans-serif !important;
  background-color: #fff;
  color: #232424 !important; */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* * {
  border: 1px solid red;
} */

html,
body,
#map {
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support CSS variables */
    height: calc(var(--vh, 1vh) * 100); /* Use the dynamically updated --vh value */
}

#map {
    position: absolute; /* Position the map relative to the header */
    top: 0; /* Place the map at the top of the header */
    left: 0; /* Place the map at the left of the header */
    right: 0; /* Place the map at the right of the header */
    bottom: 0; /* Fill the entire header with the map */
    z-index: 0;
}

.leaflet-top.leaflet-left {
    top: 100px !important;
}

/* Style for the Header Section */
.header {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    /* height: 60px; */
    padding: 0.5rem 1rem 0.2rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    color: #f2f3f4;
}

/* Style for the Header Container */
.header__container {
    margin: 0 auto; /* Center the container horizontally */
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center-align items vertically */
    justify-content: flex-start; /* Center-align items horizontally */
    gap: 1rem;
}

/* Style for the Header Logo */
.header__logo img {
    width: 60px; /* Set the width of the logo image */
    height: auto; /* Maintain aspect ratio */
}

/* Style for the Header Text */
.header__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 1rem; */
    /* margin-left: 1rem; */
}

/* Style for the Header Title */
.header__text h2 {
    font-family: "Chairdrobe Rounded Medium", sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 42px; /* Set the font size for the title */
    margin: 0; /* Remove margin */
    text-transform: uppercase;
    margin-top: -14px;
    /* line-height: 1rem; */
}

.header__text h2 span {
    color: #fb4876;
}

/* Style for the Header Paragraph */
.header__text p {
    font-family: "Agenda Light", sans-serif;
    /* font-size: 0.875rem; */
    font-size: 1rem;
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.header__text p span {
    color: #58b2f6;
}

.custom-div-icon {
    position: relative;
    /* width: 100px !important; */
    /* height: 100px !important; */
    width: 60px !important;
    height: 75px !important;
}

.custom-div-icon .pin-background {
    background-image: url("../img/pin.png");
    background-size: cover;
    width: auto;
    height: 100%;
}

.custom-div-icon .pin-image {
    background-size: cover;
    background-position: center;
    position: absolute;
    left: 50%; /* Center horizontally */
    top: 37%; /* Adjust to position in the middle of the pin */
    width: 40px; /* Width of the inner image */
    height: 40px; /* Height of the inner image */
    transform: translate(-50%, -50%);
    border-radius: 50%; /* Make it circular */
}

/* Style for the popup container */
.leaflet-popup-content {
    margin: 0;
}

.leaflet-popup-content-wrapper {
    padding: 0 0 1px 0 !important;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.leaflet-container a.leaflet-popup-close-button {
    color: #191919 !important;
    font-weight: 600 !important;
    font: 30px/24px Open Sans, sans-serif !important;
}

/* Style for the popup */
.pin-popup {
    font-family: "Open Sans", sans-serif;
    width: 301px;
}

.pin-popup img {
    display: block;
    width: 100%;
    height: auto;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.pin-popup h3 {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #020202;
    margin: 1rem 1rem 0.3rem 1.2rem;
    gap: 0.15rem;
}

/* .pin-popup h3 .dot {
  width: 10px;
  border-radius: 50%;
  border: 2px solid #02d236db;
  background: #00ff3edb;
  margin-right: 0.2rem;
  display: inline-block;
  margin-bottom: -1px;
  height: 10px;
} */

.pin-popup .popup-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 1rem 0 1.3rem;
    color: #020202;
    font-weight: 500;
}

.pin-popup .popup-info p {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.2rem 0;
}

.pin-popup .popup_text {
    border-top: 1px solid #ccc;
    margin: 0.7rem 1.3rem 1.1rem 1.3rem;
    padding: 0.7rem 0 0 0.3rem;
    font-weight: 600;
}

.pin-popup .popup_text span {
    color: #66b5f0;
}

.fi {
    color: #cb80f4;
    background: #efd8fc;
    border-radius: 50%;
    border: 5px solid #f5e2ff;
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.form-container {
    max-width: 300px;
    margin: 0 1.3rem 1.3rem 1.3rem;
    font-family: Arial, sans-serif;
}

/* Style for form elements */
.form-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 0.9rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.form-input input {
    border: none;
    width: 99%;
    margin: 0 auto;
}

.form-input input::placeholder {
    color: #cccccce2;
    font-weight: 500;
}

.form-input input:focus {
    outline: none; /* Removes the default focus outline */
    /* Optionally, you can add a different style for the focus state, like a subtle border or shadow */
}

.form-button button {
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0.7px;
    width: 100%;
    color: #fff;
    background-color: #66b5f0; /* Adjust if you have a specific hex color */
    border-radius: 0.2rem; /* Larger border radius for rounded button */
    padding: 10px; /* Increased padding for a taller button */
    font-weight: 600; /* Bold font weight for the text */
    border: none; /* Remove border */
}

#erfolg {
    display: none;
    border-top: 1.5px solid #009a85;
    margin: 1rem auto;
    padding: 1rem;
    line-height: inherit;
    font-weight: 500;
    width: 90%;
    word-wrap: break-word;
    word-break: break-word;
}
#fehler {
    display: none;
    width: 100%;
    padding: 1rem 0;
    font-weight: 600;
    color: #cf0c0f;
}
#semail {
    font-weight: 600;
    color: #f54040;
    font-size: 1rem;
    line-height: 2rem;
}

#tos_register {
    color: #8b8989;
    width: 10px !important;
    height: 10px !important;
    transform: scale(1.5);
    margin-right: 5px;
}
#tos {
    color: #8b8989;
    margin: 20px 0 0;
    font-weight: 600;
}
#tos a,
#tos a:visited {
    color: #297ee8;
}

.dferror {
    clear: both;
    color: #ff4848;
    font-size: 11px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.leaflet-popup-content {
    /* margin: 13px 20px 13px 20px!important; */
    margin: 0 !important;
}

.footer{
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    float: right;
    margin-top: 2rem;
    color: #c4c9cd;
    bottom: 0;
}

.footer-content {
    display: inline-flex;
    float: right;
    margin: 0.5rem auto;
    justify-content: space-between;
    align-items: center;
    padding-right: 2rem;
    gap: 0.5rem;
    font-family: "Agenda Light", sans-serif;
    
}

.footer-content a {
    color: #c4c9cd;
    text-decoration: none;
}

/* Style for mobile */
@media (max-width: 600px) {
    .header {
        width: 100%;
        padding: 0.5rem 0.5rem 0.3rem 0.5rem;
        /* height: 40px; */
    }

    .header__container {
        gap: 0.5rem;
    }
    .header__text {
        margin-left: 0;
    }

    .header__text h2 {
        font-size: 2rem;
        margin-top: -9px;
    }

    .header__text p {
        font-size: 14px;
    }

    .header__logo img {
        width: 40px;
    }

    .leaflet-top.leaflet-left {
        top: 55px !important;
    }

    .leaflet-popup-content {
        margin: 1rem;
    }
    .pin-popup {
        max-width: 100%;
    }
    .pin-popup h3 {
        font-size: 16px;
    }
    .form-container {
        max-width: 100%;
    }
    .form-input {
        width: 100%;
    }
    .form-button button {
        width: 100%;
    }
    .custom-div-icon {
        width: 40px !important;
        height: 50px !important;
    }

    .custom-div-icon .pin-image {
        width: 30px;
        height: 30px;
        top: 38%;
    }

    .footer {
        height: auto;
        margin-top: 1rem;
    }
    
    .footer-content {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding-right: 0;
    }
    
    .footer-content a {
        font-size: 14px;
        text-align: center;
    }
}