/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
#map {
    height: 100%;
}

/* Optional: Makes the sample page fill the window. */
html,
body {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #686868;
    vertical-align: baseline;
    background-image: url("./assets/gettyimages_street_paris.png");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: color-burn;
    filter: saturate(120%);
}

header {
    color: white;
    height: 5vh;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.76);
}

header h1 {
    padding-left: 10px;
    margin-top: 0;
}

.main {
    width: 100%;
    height: 95vh;
    backdrop-filter: blur(3px);
}

.map-img {
    position: absolute;
    top: 6%;
    left: 28%;
    max-width: 1500px;
    max-height: 700px;
}

.static-map {
    height: 100%;
    width: 100%;
    box-shadow: 0 2px 20px rgb(0 0 0 / 30%);
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/opacity/see-through */
    border: 3px solid rgba(248, 246, 246, 0.76);
    padding: 25px;
}

.pac-container {
    font-family: "Poppins", sans-serif;
    padding-right: 20px;
}

form {
    height: 95vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 400px;
    padding: 0px 10px 10px;
}

input {
    width: 100%;
    height: 1rem;
    margin-top: 0;
    padding: 0.5em;
    border: 0;
    border-bottom: 2px solid gray;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

input:focus {
    border-bottom: 4px solid black;
}

input[type="reset"] {
    width: auto;
    height: auto;
    border-bottom: 0;
    background-color: transparent;
    color: #535252;
    font-size: 14px;
}

.title {
    width: 100%;
    margin-block-end: 0;
    font-weight: 500;
    background-image: linear-gradient(
        to right,
        rgba(131, 5, 5, 0.849),
        rgba(223, 17, 17, 0.952)
    );
    font-size: 20px;
    font-weight: 600;
    color: white;
    padding: 5px 10px 5px;
}

.note {
    width: 100%;
    margin-block-start: 0;
    font-size: 12px;
}

.form-label {
    width: 100%;
    padding: 0.5em;
}

.full-field {
    flex: 400px;
    margin: 15px 0;
}

.slim-field-left {
    flex: 1 150px;
    margin: 15px 15px 15px 0px;
}

.slim-field-right {
    flex: 1 150px;
    margin: 15px 0px 15px 15px;
}

.my-button {
    background-color: #000;
    border-radius: 6px;
    color: #fff;
    margin: 10px;
    padding: 6px 24px;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

.my-button:hover {
    background-color: #666;
}

.my-button:active {
    position: relative;
    top: 1px;
}

@media screen and (max-width: 1600px), screen and (max-height: 936px) {
    .map-img {
        top: 4%;
        left: 31%;
        margin: auto;
        max-width: 1000px;
        max-height: 500px;
    }

    .pac-container {
        font-size: 12px;
    }

    input {
        font-size: 12px;
    }

    .my-button {
        font-size: 12px;
    }

    .note {
        font-size: 12px;
    }

    form {
        height: 95vh;
        max-width: 350px;
        padding: 0px 6px 6px;
    }

    .static-map {
        padding: 10px;
    }
}

@media (max-width: 650px) {
    .hide {
        display: none;
    }

    header {
        padding-left: 1mm;
        display: flex;
        flex-wrap: wrap;
        height: 5vh;
    }

    header h1 {
        font-size: 17px;
    }

    .pac-container {
        font-size: 12px;
    }

    form {
        height: 93vh;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        max-width: 100%;
        padding: 10px;
        overflow: scroll;
    }

    .title {
        font-size: 14px;
    }

    input {
        font-size: 12px;
    }

    .my-button {
        font-size: 12px;
    }

    .note {
        font-size: 9px;
    }

    .slim-field-left {
        flex: 400px;
        margin: 15px 0;
    }

    .slim-field-right {
        flex: 400px;
        margin: 15px 0;
    }

    .map-img {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0%;
        top: 5%;
    }

    .static-map {
        box-shadow: none;
        border: none;
        padding: 0px;
    }
}
