* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

html,
body {
    height: 100vh;
    width: 100vw;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    background-color: white;
}

.main-login-container {
    background-color: #EDEDED;
    margin: 0px auto;
    max-width: 450px;
    width: calc(100% - 13px);
    border-radius: 16px;
}

.main-login-container__logo {
    margin: 30px 0px;
}

.main-login-container__logo__link {
    display: flex;
    align-items: center;
    margin-left: 15px;
    gap: 5px;
}

.main-login-container__logo__link img {
    width: 70px;
    height: auto;
}

.main-login-container__logo__link span {
    font-family: "RobotoFlex", sans-serif;
    font-size: 18px;
}

.main-login-container__form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.main-login-container__form__title {
    font-family: "RobotoFlex", sans-serif;
    font-size: 29px;
}

.main-login-container__form input {
    width: calc(100% - 20px);
    height: 40px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    padding: 5px;
    font-family: "RobotoFlex", sans-serif;
    font-size: 14px;
}

.main-login-container__form input:focus {
    border: 1px solid royalblue;
}

.main-login-container__form button {
    padding: 5px 30px;
    font-family: "RobotoFlex", sans-serif;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: royalblue;
    color: white;
    margin-top: 5px;
    height: 35px;
}

.main-login-container__form button:disabled {
    color: #666666;
}

.main-login-container__helper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin: 30px 0px;
}

.main-login-container__helper a {
    font-size: 13px;
    font-family: "RobotoFlex", sans-serif;
}

.input__error::placeholder {
    color: darkorange;
}

.logo {
    width: 340px;
}

.logo__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.logo__link {
    display: flex;
    width: 100%;
    padding-left: 28px;
    align-items: flex-start;
    gap: 5px;

}

.logo__link img {
    width: 55px;
    height: 55px;
}

.link__logo__text {
    font-family: "BalsamqSans", sans-serif;
    font-weight: normal;
    font-size: 18px;
    color: #555555;
}

.link__logo__id {
    font-family: "Montserrat-Regular", sans-serif;
    font-weight: normal;
    color: royalblue;
}

.login {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
}

.login__form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 100%;
    gap: 3px;
}

.login__form input {
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 100%;
    height: 38px;
    font-family: "BalsamqSans", sans-serif;

    padding-left: 10px;
}

.login__form button {
    margin-top: 15px;
    width: 80px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: not-allowed;

    font-family: "Montserrat-Regular", sans-serif;
    font-weight: normal;
    background-color: #ccc;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:not(:disabled) {
    background-color: royalblue;
    cursor: pointer;
    color: white;
}

.login__links {
    width: 100%;
}

.links__container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.links__container a {
    font-family: "BalsamqSans", sans-serif;
    font-weight: normal;
    font-size: 14px;
    text-decoration: underline;
    color: royalblue;
}

.text-danger {
    color: red;
    font-size: 14px;
}


@font-face {
    font-family: "BalsamqSans";
    src: url("/fonts/BalsamiqSans-Regular.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url("/fotns/Montserrat-Bold.ttf") format("truetype");

    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("/fotns/Montserrat-Bold.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "RobotoFlex";
    src: url("/fonts/RobotoFlex.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@media(min-width:768px) and (max-width:868px) {
    .login {
        width: 400px;
    }

    .logo {
        width: 400px;
    }

    .logo__link {
        padding-left: 5px;
    }

    .login__container {
        width: 400px;
    }

}

@media(min-width:869px) {
    .login {
        width: 400px;
    }

    .logo {
        width: 400px;
    }

    .login__container {
        width: 400px;
    }

    .login__form button {
        width: 90px;
        height: 35px;
        font-size: 15px;
    }

    .links__container a {
        font-size: 15px;
    }

    .logo__link {
        padding-left: 5px;
    }

    .logo__link img {
        width: 60px;
        height: 60px;
    }

    .link__logo__text {
        font-size: 20px;
    }
}