.form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 40%;
    padding: 2%;
    border-radius: 20px;
    box-shadow: 0px 0px 15px 4px rgba(0,0,0,0.4);
}

input, textarea, select {
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 10px;
}
 
textarea {
    resize: none;
}

input[type="submit"] {
    background-color: var(--color-1);
    cursor: pointer;
    padding: 10px;
    border: none;
    border-radius: 10px;
    width: 20%;
    height: fit-content;
    align-self: center;
    transition: 0.1s;
}

input[type="submit"]:hover {
    transition: 0.1s;
    color: white;
}

input[type="file"] {
    width: 100%;
    padding: 20px 100px 20px 100px;
    border: dotted var(--grey-) 2px ;
    cursor: pointer;
}

@media screen and (max-width: 1140px) {
    .form {
        width: 120%;
        padding: 5%;
        display: flex;
        align-items: center;
    }

    form {
        width: 90%;
    }

    input[type="submit"] {
        width: 50%;
        margin: 10px;
    }

    input, select, textarea{
        width: 90%;
    }

    input[type="file"] {
        padding: 20px;
        width: 90%;
    }
}