@import url('https://unpkg.com/leaflet@1.9.4/dist/leaflet.css');

#map {
    z-index: 0;
}

form input {
    height: 2.5em;
    width: 50%;
    text-transform: uppercase;
    border: none;
    border-bottom: 1px solid #cbcbcb;
    background-repeat: no-repeat;
    background-position: calc(100% - 0.5em) center;
    background-size: 1.25em;
}

textarea {
    border: none;
    border-bottom: 1px solid #cbcbcb;
    font-family: 'Roboto', sans-serif;
}

input[name=phone]{
    background-image: url('/assets/icons/call.svg');
}

input[name=name], input[name=lastname]{
    background-image: url('/assets/icons/person.svg');
}

input[name=email]{
    background-image: url('/assets/icons/email.svg');
}

input:focus, textarea:focus {
    outline: none;
    border-bottom: 1px solid #000;
}

input[type=submit] {
    width: 10em;
    background-color: unset;
    border: 1px solid #cbcbcb;
    color: rgb(104 104 104);
}

input[type=submit]:hover {
    border: 1px solid #000;
    cursor: pointer;
}


form div {
    display: flex;
    gap: 1em;
}

main ul {
    display: flex;
    padding: 0;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: space-between;
}

main li {
    width: auto;
    align-items: center;
    width: 48%;
    box-sizing: border-box;
    display: flex;
    gap: 0.5em;
}

main li a {
    text-decoration: none;
}

.contact_main_div {
    width: 100%;
    display: flex;
}

#map {
    width: 50%;
    position: sticky;
    top: 0;
}

.contact_info_container {
    width: 50%;
    height: 100%;
    padding: 2rem 5rem 4rem;
    box-sizing: border-box;
    text-wrap: balance;
}

.loading_overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 67, 101, 0.65);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.loading_icon {
    width: 7rem;
}

.hcaptcha_legal_info {
    display: unset;
    font-size: .75rem;
}

@media screen and (max-width: 600px) {
    .contact_main_div {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #map {
        width: 100%;
        position: relative;
        height: 40vh;
        top: 0px;
        outline-style: none;
    }

    .contact_info_container {
        padding: 1rem;
        width: 100%;
        font-size: 13px;
    }

    .contact_info_container li.mail_info {
        font-size: 9px;
    }
}