html, body {
    height: 100%;
}

body {
    font-family: Gilroy, sans-serif;
    margin: 0;
    padding: 0;
    background: url(background.png) repeat #f4f4f4;
    display: flex;
    flex-direction: column;
}

header {
    padding: 10px 0;
    text-align: center;
}

header h1 {
    background-color: #fff;
    color: rgb(44, 41, 40);
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
    max-width: 1210px;
    padding: 20px;
    align-self: center;
    margin: 50px auto 0;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    max-height: 100%;
}

main section {
    max-width: 389px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

main section#output {
    display: none;
}

h2 {
    margin-top: 0;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="file"] {
    margin-bottom: 10px;
    padding: 10px;
}

button {
    padding: 10px;
    background-color: #E31E27;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

button:hover {
    background-color: #E31E27;
}

#message {
    margin-top: 15px;
    color: #000;
}

#link {
    margin-top: 15px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

#uploadForm p {
    font-size: 16px;
    font-weight: 500;
    line-height: 157%;
    letter-spacing: 0;
}

#file-upload-button,
-webkit-file-upload-button {
    border-radius: 5px;
    background: rgb(204, 204, 204);
}

.hidden {
    display: none !important;
}

.active {
    display: block !important;
}
