html, body {
    height: 100%;
}

body {
    max-width: 600px;
    margin: auto;
    text-align: center;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px;
}

a:link, a:visited {
    color: inherit;
}

a:hover {
    filter: brightness(90%);
}


/* Page header */

header {
    margin-block: 10px 30px;
    text-shadow: 0 3px 3px rgba(0, 0, 100, 0.3);
}

h1 {
    margin-bottom: 0;
}

h2 {
    font-size: 15px;
    font-weight: normal;
}


/* User input field */

#user-input {
    margin-block: 20px;
}

.user-input__label {
    display: block;
    font-size: 20px;
}

.user-input__field {
    font-size: 25px;
    text-align: center;
    margin-block: 10px 20px;
    margin-inline: 10px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 100, 0.3);
    transition: 0.2s;
    color: #224;
}

.user-input__field:focus {
    box-shadow: 0 6px 8px rgba(0, 0, 100, 0.6);
    outline: none;
    transition: 0.2s;
}

@media (max-width: 450px) {
    .user-input__field {
        width: 90%;
        margin-inline: auto;
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}


/* Output field */

.output__label {
    display: block;
    font-size: 20px;
}

.output__text {
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0 3px 3px rgba(0, 0, 100, 0.3);
    filter: blur(0px);
    transition: 0.2s;
    transition-timing-function: ease-in;
}

.changed {
    filter: blur(10px);
    transition: 0.2s;
    transition-timing-function: ease-out;
}
