@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    margin: 0;
    background-color: #7f8c8d;

    display: flex;
    justify-content: center;
    align-items: center;
}

section {
    width: 450px;
}
section h1 {
    text-align: center;
    letter-spacing: 2px;
    font-size: 29px;
    color: #f1c40f;
}
section h2 {
    text-align: center;
    letter-spacing: 2px;
    font-size: 23px;
    text-transform: uppercase;
}

section a {
    text-decoration: none;
    color: #000;
}
section a:hover {
    color: #a00;
}

section div {
    margin-bottom: 25px;
    display: flex;
}
section div label {
    padding: 10px 15px;
    text-transform: capitalize;
    font-size: 20px;
    background-color: #e67e22;
    width: 25%;
    border: 1px solid #777;
}
section div input {
    width: 100%;
    border-radius: 0 5px 5px 0;
    border: 1px solid #777;
    border-left: 0;
    outline: none;
    font-size: 20px;
    padding-left: 12px;
}
::placeholder {
    text-transform: capitalize;
    color: #ccc;
}

section input[type="submit"] {
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
    padding: 15px;
    border: none;
    outline: none;
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 25px;
    color: #333;
    background-color: #bdc3c7;
    transition: 0.5s;
}
section input[type="submit"]:hover {
    background-color: #fff;
}

.error {
    background-color: #c0392b;
    padding: 10px;
    text-align: center;
    color: #fff;
}