@import url("../../../global/css/main.css");

@media 
screen and (max-width: 672px) {
/* ----------- */
.success-box {
    position: absolute;
    top: 5rem;
    right: 1rem;
    width: 25rem;
    height: 4rem;
    background-color: var(--page-white);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 7px;
    border-left: 5px solid var(--text-green);
    animation: openSuccessBox .8s;
    z-index: 20;
}

.success-box .icon {
    position: relative;
    top: .5rem;
    left: .7rem;
    font-size: 2.5rem;
    color: var(--text-green);
}

.success-box .msg {
    position: relative;
    top: .1rem;
    left: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-grey);
}

.success-box .cls-btn {
    position: absolute;
    top: .8rem;
    right: 1rem;
    color: var(--text-grey);
    font-size: 2rem;
    padding-left: .3rem;
    padding-right: .3rem;
    z-index: 45;
}

.success-box .cls-btn:hover {
    cursor: pointer;
    color: gray;
}
/* ----------- */

/* ----------- */
.error-box {
    position: absolute;
    top: 5rem;
    right: 1rem;
    width: 25rem;
    height: 4rem;
    background-color: var(--page-white);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 7px;
    border-left: 5px solid var(--text-red);
    animation: openSuccessBox .8s;
    z-index: 20;
}

.error-box .icon {
    position: relative;
    top: .5rem;
    left: .7rem;
    font-size: 2.5rem;
    color: var(--text-red);
}

.error-box .msg {
    position: relative;
    top: .1rem;
    left: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-grey);
}

.error-box .cls-btn {
    position: absolute;
    top: .8rem;
    right: 1rem;
    color: var(--text-grey);
    font-size: 2rem;
    padding-left: .3rem;
    padding-right: .3rem;
    z-index: 45;
}

.error-box .cls-btn:hover {
    cursor: pointer;
    color: gray;
}
/* ----------- */

.headline {
    position: relative;
    top: 1rem;
    left: 5%;
    font-size: 2.5rem;
    color: var(--primary);
    z-index: 1;
}

.form-section {
    top: 5rem;
    height: 80rem;
}

.form-section .contact-form {
    position: absolute;
    top: 6rem;
    left: 5%;
    height: 30rem;
    width: 90%;
}

.form-section .contact-form form {
    position: relative;
    top: 0;
    width: 100%;
    height: 90%;
}

.form-section .contact-form form input,
textarea {
    border: none;
    border-bottom: 2px solid var(--primary);
    font-size: 1.1rem;
    color: var(--text-grey);
}

.form-section .contact-form form input {
    position: relative;
    top: 0rem;
    left: 1rem;
    width: 43%;
    height: 2rem;
    margin-right: 1rem;
    margin-bottom: .7rem;
}

.form-section .contact-form form #nname, 
#vname {
    margin-bottom: 1.5rem;
}

.form-section .contact-form form textarea {
    position: relative;
    top: 1.5rem;
    left: 1rem;
    width: 93%;
    height: 12rem;
    resize: none;
    font-family: 'Roboto', sans-serif;
}

.form-section .contact-form form .privacy {
    position: relative;
    top: 2rem;
    left: 1rem;
}

.form-section .contact-form form .privacy a {
    color: var(--primary);
}

.form-section .contact-form form .sub-btn {
    position: relative;
    top: 4rem;
    float: right;
    right: .5rem;
    font-size: 1.1rem;
    background-color: var(--primary);
    color: var(--page-white);
    border: none;
    border-radius: 7px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: .2s ease;
}

.form-section .contact-form .pflichtfeld {
    position: relative;
    top: 25rem;
    left: 1rem;
}

.form-section .contact-form form .sub-btn i {
    margin-right: .6rem;
}

.form-section .contact-form form .sub-btn:hover {
    cursor: pointer;
    background-color: var(--primary-dark);
}

.form-section .right-half {
    position: absolute;
    top: 39rem;
    right: 5%;
    height: 30rem;
    width: 90%;
    text-align: center;
}

.form-section .right-half .sub-headline {
    position: relative;
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
}

.form-section .right-half .phone-number {
    position: relative;
    top: 5rem;
    font-size: 2.5rem;
    color: var(--primary) !important;
    text-decoration: none !important;

}

.form-section .right-half .praxis {
    position: relative;
    top: 10rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.form-section .right-half .address {
    position: relative;
    top: 11rem;
    font-size: 1.3rem;
}

.form-section .right-half .link-anfahrt {
    position: relative;
    top: 15rem;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.map-section {
    top: 0;
    height: 35rem;
}

.map-section .headline {
    position: relative;
    top: 1rem;
    left: 2rem;
}

.map-section .gmap_canvas {
    position: relative;
    top: 2rem;
    left: 5%;
    width: 90%;
    height: 80%;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.map-section .gmap_canvas iframe {
    width: 100%;
    height: 100%;
}
}