* {
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100vh;
    height: 100%;
}

html {
    font-family: 'Nunito', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    background-color: rgb(14, 15, 16);
    color: rgb(220, 220, 220);
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px 10px 40px;
    background-color: rgb(28, 30, 32);
    z-index: 1;
}

nav input[type=search] {
    display: inline-block;
    width: 100%;
    min-width: 100px;
    max-width: 600px;
    background-color: rgb(24, 26, 28);
    border: 1px solid rgb(60, 60, 60);
    border-radius: 19px;
    box-sizing: border-box;
    padding: 8px 8px 8px 40px;
    font-size: 18px;
    color: inherit;
    outline: none;
}

nav input[type=search]:focus {
    border: 1px solid rgb(19, 91, 226);
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-frame {
    background-color: rgb(28, 30, 32);
    border-radius: 12px;
}

.form-title {
    text-align: center;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid rgb(60, 60, 60);
}

.form-frame form {
    padding: 20px;
    box-sizing: border-box;
}

.form-row {
    text-align: center;
    padding-bottom: 10px;
}

.form-link {
    color: rgb(19, 91, 226);
}

.form-link:hover {
    text-decoration: underline;
}

form .text-input {
    position: relative;
    border-bottom: 2px solid rgb(60, 60, 60);
    margin: 30px;
}

.text-input input {
    width: 100%;
    height: 30px;
    padding: 0 5px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
    color: inherit;
    font-family: inherit;
}

.text-input label {
    position: absolute;
    top: 50%;
    left: 5px;
    color: rgb(110, 110, 110);
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .4s;
}

.text-input input:focus~label,
.text-input input:valid~label {
    top: -5px;
    color: rgb(19, 91, 226);
}

form button {
    background-color: rgb(19, 91, 226);
    color: inherit;
    font-family: inherit;
    padding: 6px 14px;
    border-radius: 3px;
    border: none;
}

form button[type='submit'] {
    width: 100%;
    cursor: pointer;
}

article {
    max-width: 1000px;
}

article h1 {
    text-align: center;
}