@import "common.css";

body {
    background-size: 100vw 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("/images/background.svg");
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

article {
    position: relative;
    max-width: calc(1000px + 20vw);
    display: flex;
    margin: 0 7.5vw 2vh;
    flex-flow: row wrap;
    justify-content: stretch;
    gap: 50px;
}
h1 {
    text-align: center;
    margin: 15px;
}
form {
    flex: 1;
    display: flex;
    flex-direction: column;
}
label {
    margin: 2.5% 0 1.25%; /* 10px auf 2.5% und 5px auf 1.25% geändert */
    font-weight: bold;
}
input,
textarea,
select {
    padding: 2.5%;
    margin-bottom: 4%;
    border: 1px solid #ccc;
    border-radius: 20px;
}
input::placeholder,
textarea::placeholder {
    color: #999;
}
button.fg-btn {
    padding: 2.5%; /* 10px auf 2.5% geändert */
}
.info-container {
    flex: 1;
    text-align: center;
}
.info-container img {
    width: 100%;
    border-radius: 20px;
    border: 3px solid var(--fg-color-red);
}

@media only screen and (max-width: 992px) {
    article {
        flex-direction: column;
        gap: 10px;
    }

    form {
        width: 100%;
    }

    input,
    textarea,
    select {
        margin-bottom: 2%;
    }

    h1 {
        margin: 10px;
    }
}
