.embed-map-responsive {
    position: relative;
    text-align: right;
    width: 100%;
    height: 600px;
    max-height: calc(100vh - 100px);
    box-shadow: 0px 0px 2px rgb(0 0 0 / 0.5);
}

.embed-map-container {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
    
}

.embed-map-frame {
    width: 100% !important;
    height: 100% !important;
}

.contact-info {
    display: grid;
    grid-template-columns: 33% 33% auto;
    justify-items: center;
    margin: 10px 0px 40px 0px;
}

.contact-item {
    transition: ease-in-out 100ms;
    line-height: 32px;
    display: block;
    
}
:is(.contact-item:hover, .contact-item:focus) {
    opacity: 0.75;
}
.contact-item img {
    height: 32px;
    display: inline;
    vertical-align: middle;
}

.input-wrapper {
    margin: 6px 0px;
}
.input-inline {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.full-width {
    width: 100%;
}
textarea {
    resize: none;
    font-family: "Inter";
}

label {
    font-size: 1.4rem;
    font-weight: 400;
    margin-left: 6px;
}

.red-highlight {
    color: red;
}

input, textarea {
    border-radius: 8px;
    border: 1px solid lightgrey;
    font-size: 2.0rem;
    display: block;
    margin: 4px 0px;
    padding: 6px;
    transition: ease-in-out 100ms;
    
}
input:focus, textarea:focus {
    outline: none;
    border: 1px solid black;
    background-color: rgb(250 250 250);
}

textarea {
    width:100%;
    height: 200px;
}

#submit-button {
    background-color: transparent;
    font-size: 2.6rem;
    border: 2px solid var(--company-color);
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    transition: ease-in-out 100ms;
    padding: 8px 16px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 0px;
    display: block;
    box-shadow: 0px 0px 2px var(--company-color);
}
:is(#submit-button:hover, #submit-button:focus) {
    background-color: #FAFAFA;
    transform: scale(102%);
}

form {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 2px rgb(0 0 0 / 0.5);
}

.form-message {
    font-size: 2rem;
    margin: 10px;
    font-weight: 600;
}
.form-success {
    color: green;
}
.form-fail {
    color: red;
}

p:not(:has(+a)) {
    margin-bottom: 30px;
}

@media only screen and (max-width: 950px) {
    .contact-info {
        grid-template-columns: auto;
        justify-content: start;
        justify-items: start;
        gap: 10px;
    }

    .contact-item img {
        height: 24px;
    }

    label {
        font-size: 1.2rem;
    }
    input, textarea {
        font-size: 1.8rem;
    }

    .input-wrapper:not(:has(textarea)) {
        flex-grow: 1;
    }

    /* .input-inline {
        justify-content: center;
    } */

    input {
        min-width: 100%;
    }

    #submit-button {
        font-size: 2rem;
    }
}