article {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10%;
    grid-template-areas:
        "form address"
        "form socialmedia";
}

article section.form {
    grid-area: form;
}

article section.socialmedia {
    grid-area: socialmedia;
}

article section.socialmedia a {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    border: 1px solid white;
    background: var(--main-color);
    padding: 1vw;
    border-radius: 1vw;
    width: 11vw;
}

article section.socialmedia a:hover {
    border: 1px solid var(--main-color);
    background: white;
}

article section.socialmedia a:hover .svg-linkedin {
    fill: black;
}

article section.socialmedia a:hover p {
    color: black;
}

article section.socialmedia a svg {
    width: 2.5vw;
}

article section.socialmedia a p {
    color: white;
    margin-left: 1vw;
}

article section.address {
    grid-area: address;
    transition: .5s;
    font-family: visbycf-regular, sans-serif;
}

article section p.sucsess {
    margin-top: 1vh;
    color: orange;
}

/* Form */
form label {
    font-size: 1.7vw;
}

form input {
    width: 100%;
    font-size: 1.5vw;
    border: none;
    border-bottom: 1px solid var(--main-color);
    margin-top: 1vh;
    margin-bottom: 4vh;
}

form button.submit {
    width: 25%;
    padding: 2% 0;
    border-radius: .5vw;
    background: var(--main-color);
    color: white;
    font-size: 1.3vw;
    border: 1px solid var(--main-color);
    cursor: pointer;
}

form button.submit:hover {
    background: white;
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

address p.name {
    font-size: 2vw;
    font-style: normal;
}

address p.bezeichnung {
    font-size: 1.4vw;
    color: gray;
    margin-bottom: 2vh;
}

address p.mail, address p.phone {
    font-size: 1.7vw;
    font-style: normal;
}

address img {
    width: 35%;
    float: right;
}

::placeholder {
    font-size: 1.3vw;
    color: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

@media screen and (max-width: 1200px) {

    article {
        grid-template-rows: auto auto auto;
        grid-template-columns: 1fr;
        grid-gap: 7%;
        grid-template-areas:
        "form"
        "address"
        "socialmedia";
    }

    form label {
        font-size: 4.5vw;
    }

    form input {
        font-size: 4.5vw;
    }

    ::placeholder {
        font-size: 3.5vw;
    }

    form button.submit {
        font-size: 2.5vw;
    }

    article section.socialmedia a {
        width: 22vw;
    }

    article section.socialmedia a svg {
        width: 4.5vw;
    }

    address p.name {
        font-size: 5vw;
    }

    address p.bezeichnung {
        font-size: 3.4vw;
    }

    address p.mail, address p.phone {
        font-size: 4.7vw;
    }
}
