form {
    max-width: 100vw;
    margin: 0 auto;
}

input[type="text"], input[type="email"], textarea {
    width: 95%;
    padding: 10px;
    margin: 5px 0 10px 0;
    border: 0;
    border-radius: 5px;
    background-color: #2e4157;
    color: #f7f7f7;
}

input[type="submit"] {
    background: #2e4157;
    color: #f7f7f7;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.thanks {
    z-index: 1108;
    background: #212121;
}

textarea {
    height: 150px;
}

.file_input {
    padding-bottom: 10px;
}


input[type="file"]::file-selector-button {
    background: #eee;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}


input[type="file"]::file-selector-button {
    content: "Valitse tiedosto";
}

input[type="file"]::file-selector-button::before {
    content: "Valitse tiedosto";
}

.file_input .cf-file{
    max-width: 90%;
}

