/*Dieses Dokument wurde im Auftrag des Schreibwarengeschäft Rose von Order Corner angefertigt.*/

#pageContend h1 {
    font-size: 8vw;
    line-height: 90%;
    font-weight: 900;
    margin-bottom: 50px;
}

#pageContend * {
    color: black;
}

#pageContend {
    padding: 25px 50px;
    display: flex;
    flex-direction: row;
}

#formSideWrapper {
    width: 50%;
}

.invalid::before {
    display: block;
    content: "Dieses Feld muss ausgefüllt werden";
    color: red;
    position: absolute;
    top: -20px;
}

#nachricht {
    min-height: 50px;
    width: calc(100% - 22px);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 30px;
}

#nameWrapper {
    margin-top: 15px;
}

fieldset {
    display: flex;
    border: none;
    padding-left: 0px !important;
    padding-right: 0px !important;
    column-gap: 40px;
    margin-bottom: 20px;
}

form>p {
    text-decoration: underline;
}

#artDerKontaktaufnahme {
    flex-direction: column;
}

.invalid {
    border-color: crimson !important;
}

#artDerKontaktaufnahme label input {
    margin-right: 15px;
}

#email {
    display: none;
    width: calc(100% - 22px);
}

.name {
    flex: 1;
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px 10px;
    margin-bottom: 10px;
}

input::placeholder {
    color: rgb(181, 181, 181);
}

#pageContend button {
    all: unset;
    width: calc(100% - 40px);
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(10, 113, 203, 1) 0%, rgba(255, 0, 251, 1) 75%);
}

#pageContend button:hover img {
    transform: translateX(40px) translateY(-40px);
}

#pageContend button img {
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    -ms-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    -webkit-filter: invert(100%);
    filter: invert(100%);
    aspect-ratio: 1;
    height: 1.7rem;
}

#pageContend button span {
    color: white;
}

#sideImage {
    margin: auto;
    max-height: 900px;
    max-width: 30%;
}

@media only screen and (max-width: 1050px) {
    fieldset {
        flex-direction: column;
    }
}

@media only screen and (max-width: 600px) {

    #sideImage {
        display: none;
    }

    fieldset {
        flex-direction: column;
    }

    #nachricht {
        width: calc(100% - 22px) !important;
    }

    #pageContend {
        padding: 25px 30px;
    }

    #pageContend h1 {
        font-size: 2.5rem
    }

    #formSideWrapper {
        width: 100%;
    }
}