@import url('https://fonts.googleapis.com/css2?family=Baloo+2&family=Poppins:ital@1&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin:0;
}

body{
    --bg-color: radial-gradient(circle, transparent, #011f5b);
    --color-primary:#2d3436;
    --color-secondary:#252c6a;
    --border-radius:4px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
}

.container{
    width:400px;
    max-width:400px;
    margin:1rem;
    padding:2rem;
    border-radius: var(--border-radius);
    background: white;
}

.form--hidden{
    display: none;
}

.form > *:first-child{
    margin-top:0;
}

.form >*:last-child{
    margin-bottom:0;
}

.form__title{
    margin-bottom: 2rem;
    text-align: center;
}

.form__input-group{
    margin-bottom: 1rem;
}

.form__input{
    display:block;
    width:100%;
    padding:0.75rem;
    box-sizing:border-box;
    border-radius: var(--border-radius);
    border:1px solid #ddd;
    outline:none;
    background: #eee;
    transition: background 0.2s border-color 0.2s;
}

.form__input:focus{
    border-color:var(--color-primary);
    background: #fff;
}

.form__button{
    width: 100%;
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    border:none;
    border-radius: var(--border-radius);
    outline:none;
    cursor: pointer;
    background: #011f5b;
    -webkit-user-select: none;
}

.form__button:active{
    transform: scale(0.98);
}

.padding{
    padding-bottom:10px;
}
.text-center{
    text-align: center;
}
.link-color{
    color: #011f5b;
}

@media (max-width: 620px) {
    body{
        background: radial-gradient(circle, #366dda, #011f5b);
    }
    .container {
        background: radial-gradient(circle, transparent, #042f86);
    }

    .form__title{
        color: white;
    }
    .form__button{
        background: #f05a27;
        color: white;
    }
    .link-color{
        color: white;
    }
}
