body {
    background-color: rgb(var(--mw-bg-color-default));
}

.page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contact-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 60rem;
    height: 60vh;
    max-height: 47rem;
    background-color: rgb(var(--mw-bg-color-dark-grey));
    padding: 2rem 3rem;
    border-radius: 8px;
}
@media (max-width: 95rem) {
    .contact-container {
        margin-left: 15rem;
        border-radius: 0;
    }
}
@media (max-width: 50rem) {
    .contact-container {
        flex-direction: column;
        height: 70vh;
        max-height: unset;
        margin-left: auto;
    }
    .contact-form {
        width: 100%;
    }
}

.contact-text {
    width: 35%;
    color: rgb(var(--mw-txt-color-gold));
    font-size: 1.5rem;
    margin-right: 2.5rem;
    margin-top: calc(0.17 * min(60vh, 47rem));
}
.contact-text-email {
    color: inherit;
    font-weight: bold;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 65%;
    height: 100%;
}
@media (max-width: 50rem) {
    .contact-form, .contact-text {
        width: 100%;
    }
    .contact-text {
        margin-top: 0;
        margin-bottom: 3rem;
    }
}
.contact-form input,
.contact-form textarea {
    background: none;
    border: none;
    border-bottom: 1px solid #444;
    color: rgb(var(--mw-txt-color-grey));
    padding: 10px;
    margin-bottom: 1rem;
    outline: none;
    font-size: 1rem;
    width: 100%;
}
.contact-form textarea {
    resize: none;
    flex-grow: 1;
}
.contact-form button {
    background-color: unset;
    color: rgb(var(--mw-txt-color-gold));
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 4px;
    align-self: flex-end;
    width: auto;
}

.contact-form button:hover {
    background-color: rgb(var(--mw-bg-color-grey));
}

.contact-form .form-name {
    border-bottom-width: min(1px, calc(100px - 10px));
    font-size: min(1rem, calc(100rem - 10rem));
    padding: min(10px, calc(1000px - 100px));
    margin-bottom: min(1rem, calc(100rem - 10rem));
}
.contact-form .form-email {
    border-bottom-width: min(1px, calc(100px - 10px));
    font-size: min(1rem, calc(100rem - 10rem));
    padding: min(10px, calc(1000px - 100px));
    margin-bottom: min(1rem, calc(100rem - 10rem));
}
.contact-form .form-message {
    border-bottom-width: min(1px, calc(100px - 10px));
    font-size: min(1rem, calc(100rem - 10rem));
    padding: min(10px, calc(1000px - 100px));
    margin-bottom: min(1rem, calc(100rem - 10rem));
}
.contact-form .form-language {
    border-bottom-width: min(1px, calc(100px - 10px));
    font-size: min(1rem, calc(100rem - 10rem));
    padding: min(10px, calc(1000px - 100px));
    margin-bottom: min(1rem, calc(100rem - 10rem));
}
.contact-form .form-subject {
    border-bottom-width: min(1px, calc(100px - 100px));
    font-size: min(1rem, calc(100rem - 100rem));
    padding: min(10px, calc(1000px - 1000px));
    margin-bottom: min(1rem, calc(100rem - 100rem));
}
