﻿@font-face {
    font-family: "NotoSansLaoLooped";
    src: url("fonts/NotoSansLaoLooped/NotoSansLaoLooped-Regular.woff2");
    font-display: swap;
    font-weight: 400;
}

@font-face {
    font-family: "NotoSansLaoLooped";
    src: url("fonts/NotoSansLaoLooped/NotoSansLaoLooped-Light.woff2");
    font-display: swap;
    font-weight: 300;
}

html {
    font-size: 65.2% !important;
}

body {
    font-family: "NotoSansLaoLooped";
    margin: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-align: left;
    background: url(img/login-cms.jpg) center center no-repeat;
}

.logo {
    width: 427px;
    height: 116px;
    background: url(img/logo.png) center center/ 427px no-repeat;
    display: block;
    font-size: 0;
    margin-bottom: 80px;
}

.title {
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 16px;
    margin-top: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-wrapper {
    display: inline-flex;
    padding: 40px 80px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 28px;
    border: 2px solid rgba(88, 130, 193, 0.49);
    background: rgba(88, 130, 193, 0.28);
    backdrop-filter: blur(8.893229484558105px);
}

.text {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 24px;
    margin-top: 0;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group i {
        position: absolute;
        color: #8C8C8C;
        font-weight: 300;
        right: 8px;
        bottom: 6px;
        width: 20px;
        height: 20px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

        .form-group i:hover {
            cursor: pointer;
        }

    .form-group input {
        display: flex;
        width: 232px;
        height: 32px;
        padding: 0 8px;
        justify-content: space-between;
        align-items: center;
        border-radius: 6px;
        border: 1px solid #BCBEC0;
        background: #FFF;
        outline: none;
    }

    .form-group label {
        font-size: 14px;
        font-weight: 300;
    }

.btn-login {
    display: flex;
    width: 250px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: #003465;
    color: #fff;
    border: none;
    font-size: 14px;
    transition: all .3s;
}

    .btn-login:hover {
        cursor: pointer;
        background: #003e79;
    }

@media (max-width: 767px) {
    body {
        padding: 0 16px;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
        background: url(img/login-cms.jpg) -500px center no-repeat;
    }

    .logo {
        width: 320px;
        height: 87px;
        background: url(img/logo.png) center center/ 320px no-repeat;
        margin-bottom: 50px;
    }

    .form-group {
        width: 100%;
    }

        .form-group input {
            display: flex;
            width: initial;
            height: 32px;
            padding: 0 8px;
            justify-content: space-between;
            align-items: center;
            border-radius: 6px;
            border: 1px solid #BCBEC0;
            background: #FFF;
            outline: none;
        }

    .title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .text {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .form-wrapper {
        padding: 24px 32px;
        gap: 16px;
        border-radius: 16px;
    }


    .btn-login {
        display: flex;
        width: 100%;
        height: 40px;
        justify-content: center;
        align-items: center;
        border-radius: 6px;
        background: #003465;
        color: #fff;
        border: none;
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .form-wrapper {
        padding: 20px 16px;
    }

    .text {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

@media (max-width: 320px) {
    .logo {
        width: 300px;
        height: 82px;
        background: url(img/logo.png) center center/ 300px no-repeat;
        margin-bottom: 40px;
    }

    .form-wrapper {
        padding: 12px 16px;
        width: 268px;
    }

    .title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .text {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .form-group {
        width: 268px;
    }

        .form-group label {
            font-size: 14px;
        }

    .btn-login {
        font-size: 14px;
        width: 268px;
    }

    .recaptcha {
        transform: scale(0.881579);
    }
}
