form {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: auto;
}

.form {
    margin-top:2vh;
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}



.contactform {
    /* background-image: url(./images/marble.png); */
    background-repeat: no-repeat;
    background-position: bottom right;
    /* background-color: #696969; */
    /* background-color: #8f8f8f; */
    background: #8F8F8F;
    background: linear-gradient(90deg, rgba(143, 143, 143, 1) 0%, rgba(122, 122, 122, 1) 25%, rgba(138, 138, 138, 1) 74%, rgba(171, 171, 171, 1) 100%);
    color:#303525;
}

.contactform ul {
    background-color: #f1ecec;
}

#contactform li::marker {
    color: #a9b6bb;
}

#contactform p {
    font-size: clamp(20pt,23pt,25pt);
    font-weight:300;
    line-height: 1.2;
    margin:1vw;
    color:#ececec;
    text-shadow:#1a1f1d 1px 1px 1px;
    text-align: center;
}

label {
    margin-left: 10px;
    margin-bottom: .5vh;
}

input,
textarea {
    background-color: #f1ecec;
}

input,
textarea,
button#send {
    padding: 5px 10px;
    margin-bottom: 2vh;
    border-radius: 5px;
    border: none;

}

input,
textarea,
button#send,
label {
    font-family: "raleway", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(20pt, 30pt, 40pt);

}

button#send {
    padding: 20px;
}


textarea {
    height: 20vh;
}




@media screen and (max-width: 1400px) {
    form {
        width: 100vw;
        width: 100dvw;
        padding: 2vw;
    }

    .contactform ul {
        background:none;
    }

}

@keyframes mailSent {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.mail-icon {
    animation: mailSent 1s forwards;
}