@import url("../../../global/css/main.css");

@media 
(min-width: 660px) 
and (max-width: 990px) { 
    /* ----------- */
    .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;
    }

    .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;
    }

    .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: 2rem;
        left: 3rem;
        font-size: 2.5rem;
        color: var(--primary);
    }
    
    .form-section {
        top: 5rem;
        height: 80rem;
    }
    
    .form-section .contact-form {
        position: absolute;
        top: 8rem;
        left: 10%;
        height: 30rem;
        width: 80%;
    }
    
    .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: 45%;
        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;
        max-width: 10rem;
        font-size: .9rem;
    }
    
    .form-section .contact-form form .privacy a {
        color: var(--primary);
    }
    
    .form-section .contact-form form .sub-btn {
        position: relative;
        /* top: 4rem !important; */
        float: right;
        right: 1.2rem;
        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: 41rem;
        right: 10%;
        height: 30rem;
        width: 80%;
        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: 3rem;
        color: var(--primary);
    
    }
    
    .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%;
    }
}