@font-face {
    font-family: "Semplicite";
    src: url(../Fonts/semplicitapro-bold.otf);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

nav {
    width: 100%;
    margin-bottom: 25px;
}

h1 {
    text-align: center;
    font-family: "Semplicite";
    font-weight: 500;
    margin-bottom: 25px;
}
/* Form Login*/

.form {
    width: 500px;
    margin: 50px auto;
    padding: 40px 40px 30px 40px;
    /* box-shadow: 0 15px 155px #000957; */
    border-radius: 4rem;
    /* background: #000957; */
    text-align: center;
    transition: .8s;
}

.input-container {
    display: flex;
    flex-direction: column;
}

.form-label {
    position: absolute;
    transform: translateY(-50%);
    margin-left: 2rem;
    padding: 0 0.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #fff;
}

.input {
    width: 100%;
    height: 100%;
    border: 2px solid #e1e5ee;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    padding: 1.25rem;
    background: none;
}

.input:hover {
    border-color: #adcaff;
}

.input:focus {
    border-color: #577BC1;
}

.inputsub {
    font-family: "Semplicite";
    border: 0;
    background: #406fcc;
    display: block;
    margin: 30px auto 0 auto;
    text-align: center;
    border: 2px solid #4266af;
    padding: 14px 40px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
}

.inputsub:hover {
    background: #1c418b;
}

.alert {
    display: flex;
    justify-content: center;
}

/*  */

/* Media querry */

@media screen and (max-width: 550px) {
    .form {
        width: 400px;
        transition: .8s;
    }
}

@media screen and (max-width: 450px) {
    .form {
        width: 370px;
        padding: 25px 25px 30px 25px;
        transition: .8s;
    }
}

@media screen and (max-width: 390px) {
    .form {
        width: 315px;
        transition: .8s;
    }
}

/*  */