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

body {
    font-family: 'Rubik', 'Open Sans', sans-serif;
    overflow: hidden;
    margin: 0;
    color: white;
}

.container {
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;

    background-image: url('https://static.vecteezy.com/system/resources/previews/005/658/962/non_2x/abstract-soft-blurred-gradient-background-illustration-for-your-graphic-design-free-vector.jpg');
    background-size: cover;
}

.form {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    padding: 4rem;
    box-shadow:
        0px 2.9px 1.8px rgba(0, 0, 0, 0.04),
        0px 7.3px 4.6px rgba(0, 0, 0, 0.058),
        0px 14.9px 9.4px rgba(0, 0, 0, 0.072),
        0px 30.7px 19.3px rgba(0, 0, 0, 0.09),
        0px 84px 53px rgba(0, 0, 0, 0.13);

}

h1 {
    text-align: center;
    margin-bottom: 1em;
    font-size: 2.5em
}

.form-control {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2em;
    display: flex
}

label {
    margin-bottom: .5em;
    display: block
}

input[type=text],
input[type=password] {
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 5px;
    padding: .8em;
    font-size: 1.1em;
    color: white;
}

input[type=text]:focus,
input[type=password]:focus {
    background-color: rgba(0, 0, 0, 0.35);
    border-bottom: 2px solid white;
    outline: none
}

button {
    width: 100%;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background-color: #fd0f56;
    border: none;
    border-radius: 5px;
    padding: 1em;
    font-size: 1.1em;
    transition: all .3s
}

button:hover {
    background-color: #ff359a
}

button:focus {
    outline: none
}

.button-container {
    margin-top: 1em
}

.alert {
    opacity: 0;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 18px;
    transition: opacity .5s ease-in-out;
    display: none
}

.alert.success {
    color: #155724;
    background-color: #d4edda
}

.alert.error {
    color: #721c24;
    background-color: #f8d7da
}