:root{
    --background-accent: #f9f9f9;
}

/***** Wrapper div for all info *****/
.root-div {
    display: flex;
    flex-direction: row;
}

/***** MAIN FORM *****/
.contact-wrapper {
    font-family: "Montserrat", sans-serif;
    width: 99vw;
    height: 100%;
    background-color: var(--background-accent);
}

.contact-wrapper h1 {
    color: var(--main-color);
    font-size: 4rem;
    margin-bottom: 10px;
}

.contact-wrapper .purple-line {
    margin: 0;
    width: 200px;
}

.contact-wrapper .button {
    color: white;
}

.contact-wrapper form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
    width: 100%;
    padding: 50px 0px;
}

.contact-wrapper .form-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-wrapper span {
    color: maroon;
    font-size: 12px;
    font-weight: 200;
}

.contact-wrapper input, textarea, select {
    border: solid 1px #ccc;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    resize: none;
    width: 600px;
    max-width: 80vw;
    font-size: 2rem;
    padding: 5px 5px;
}

.contact-wrapper select {
    width: 610px;
}

.contact-wrapper input:focus, textarea:focus, select:focus{
    outline: none;
    border: solid 1px var(--accent-color);
    box-shadow: 0 0 5px rgba(138, 97, 179, 0.5);

}


/***** INFO PANEL *****/
.contact-fixed-info {
    background-color: white;
    height: 100vh;
    position: sticky;
    top: 5%;
    z-index: 500;
    padding: 10px 30px 10px 60px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.contact-fixed-info-details {
    margin-top: 100px;
    text-align: center;
}

.contact-fixed-info a{
    text-decoration: none;
    color: var(--accent-color);
    position: relative;
}

.contact-fixed-info-hours {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.contact-fixed-info-hours p {
    margin: 5px 0px;
}

.contact-fixed-info a::after{
    content:"";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0px;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease-in-out;
}

.contact-fixed-info a:hover::after {
    width: 100%;
}

.contact-fixed-map-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 4px rgba(145, 145, 145, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.contact-fixed-map-wrapper:hover {
    box-shadow: 0px 0px 12px 12px rgba(145, 145, 145, 0.1);
}

/* Media queries */
@media (max-width: 1300px) {

    .root-div {
        flex-direction: column;
    }

    .contact-fixed-info {
        position: static;
        padding: 50px 0px 0px 0px;
        flex-direction: column-reverse;
        justify-content: start;
    }

    .contact-fixed-info-details {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper label {
        font-size: 1.25rem;
    }
}

/****Overwrites of default styles*****/
.form_field_title p {
    text-align: left;
}

.form_field_wrapper:hover {
    background: none;
}

.required_field_element {
    display: none;
}

.required_field {
    width: 600px !important;
}

.form_field_textarea.form_field_element {
    width: 600px;
    height: 150px;
}

.form_field_title {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--main-color);
    max-width: 80vw;
    width: 600px;
}

.form_field_wrapper .form_field_content{
    display: flex;
    justify-content: center;
}