*{
    padding: 0;
    margin: 0;
    font-family: "Rubik", sans-serif;
    box-sizing: border-box;
}

.pageWrap {
    position: relative;
    min-height: 100vh;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.hero {
    background-image: url(images/pattern-bg-desktop.png);
    text-align: center;
    padding: 40px 20px 120px;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 500;
}

form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

input {
    width: 70%;
    padding: 10px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
}

button {
    padding: 10px 13px;
    border: none;
    background-color: black;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.infoBox {
    background:white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 1000px;
}

.infoBox div {
    flex: 1;
    padding: 10px 20px;
    position: relative;
}

.infoBox div:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 50%; /* Start from the middle vertically */
    left: 0; /* Align to the left edge */
    transform: translateY(-50%); /* Center it vertically */
    height: 55px;
    width: 1px;
    background-color: #ddd;
}

.infoBox h4 {
    font-size: 12px;
    color: gray;
    margin-bottom: 10px;
}

#map {
    width: 100%;
    margin-top: 0px;
    z-index: 0;
    position: relative;
    flex-grow: 1;
    height: auto;
}

.attribution{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    text-align: center;
    z-index: 100;
    padding: 5px;
    font-size: 12px;
}

/*-----------media------------*/

@media screen and (max-width: 600px) {
    .infoBox {
        flex-direction: column;
        align-items: center;
    }

    .infoBox div {
        text-align: center;
    }

    .infoBox h4{
        margin-bottom: 5px;
    }

    .infoBox p {
        margin-bottom: 5px;
    }

    .infoBox div:not(:first-child)::before {
        display: none;
    }
}
