@import url('https://fonts.googleapis.com/css2?family=Battambang&family=Dangrek&family=Preahvihear&family=Suwannaphum&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Koulen&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nokora:wght@100;300;400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    line-height: normal !important;
}

body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/home-page/main/home-bg.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header {
    position: fixed;
    width: 100%;
    height: 68px;
    background: linear-gradient(to right, #1f003f, #7c00ff);
    background-size: 100%;
    top: 0;
    z-index: 998;
}

header .container {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

header .container .logo img {
    position: absolute;
    width: 100px;
    top: 2px;
    left: 20px;
}

header .container .artical {
    position: relative;
    float: right;
    right: 10px;
    line-height: 80px;
}

header .container .select-menu {
    width: auto;
}

header .container .select-menu .select-btn {
    display: inline-flex;
    height: 10px;
    padding: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    font-family: DB-Heavent-Cond;
    border-radius: 10px;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
}

header .container .select-menu .select-btn img {
    width: 25px;
}

header .container .select-btn i {
    font-size: 25px;
    transition: 0.3s;
}

header .container .select-menu.active .select-btn i {
    transform: rotate(-180deg);
}

header .container .select-menu .options {
    position: relative;
    padding: 10px;
    margin-top: 0px;
    border-radius: 8px;
    background: rgba(241, 241, 241, 0.3);
    backdrop-filter: saturate(125%) blur(10px);
    display: none;
    max-height: 300px;
    /* overflow-y: scroll; */
}

header .container .select-menu.active .options {
    display: block;
}

header .container .options .option {
    display: flex;
    height: 40px;
    cursor: pointer;
    border-radius: 8px;
    align-items: center;
    background: #f2f2f2;
    margin-top: 5px;
}

header .container .options .option img {
    width: 20px;
    margin-left: 10px;
}

header .container .options .option:hover {
    background: #F2F2F2;
}

header .container .option i {
    font-size: 25px;
    margin-right: 12px;
}

header .container .option .option-text {
    font-size: 12px;
    color: #333;
    margin-left: 10px;
    margin-right: 10px;
    font-family: "Nokora", sans-serif;
}

header .container .sBtn-text {
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
    font-family: "Nokora", sans-serif;
    margin-left: 10px;
}

header .container .phone-login {
    width: 100%;
    height: auto;
}

header .container .phone-login .wrap {
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 27% 73%;
    padding-top: 20px;
}

header .container .phone-login .wrap .artical {
    cursor: pointer;
}

header .container .select-btn i {
    font-size: 14px !important;
    margin-left: 10px;
}

main {
    padding: 0;
}

.section1 {
    width: 100%;
    height: 700px;
}

.section1 .container {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.section1 .container img {
    width: 100%;
    vertical-align: middle;
}

/* -------------login------------ */
.login-btn {
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 150px;
}

.login-btn .container {
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}

.login-btn .container .row {
    cursor: pointer;
}

.login-btn .container .row button {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    font-family: "Nokora", sans-serif;
    border-radius: 50px;
    border: none;
    background: linear-gradient(45deg, #33dddd, #006a90);
    padding: 15px !important;
}

.login-btn .container .row button:hover {
    background-color: #0e3a59;
}

.register-btn {
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 90px;
}

.register-btn .container {
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}

.register-btn .container .row {
    cursor: pointer;
}

.register-btn .container .row button {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    font-family: "Nokora", sans-serif;
    background: none;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 10px;
}

#confirm-login-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px;
    background: linear-gradient(to right, #1f003f, #7c00ff);
    font-size: 14px;
    font-family: "Nokora", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

#confirm-register-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    color: #e7e7e7;
    border: none;
    border-radius: 50px;
    background: none;
    font-size: 14px;
    font-family: "Nokora", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

#confirm-signup-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px;
    background: linear-gradient(to right, #1f003f, #7c00ff);
    font-size: 14px;
    font-family: "Nokora", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-content-signup {
    margin: 5% auto 15% auto;
    width: 25%;
    margin: 5% auto 0% auto;
    max-width: 400px;
    border-radius: 10px;
    background-size: 100%;
    background: rgba(241, 241, 241, 0.3);
    border: 1px solid #26456b;
    backdrop-filter: saturate(125%) blur(10px);
    position: absolute;
    float: right;
    right: 20px;
    top: 0;
}

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #0000b3;
}

.imgcontainer-msg {
    border-radius: 10px;
    text-align: center;
    margin: 0px 0 18px 0;
    position: relative;
    margin-bottom: 0px !important;
    background-color: #008F6B;
}

.container-msg {
    padding: 10px 10px;
}

.container-msg p {
    text-align: center;
    font-size: 14px;
    color: rgb(100, 100, 100);
}

.container-msg h2 {
    text-align: center;
    font-size: 25px;
    color: rgb(56, 56, 56);
}

span.psw {
    float: right;
    padding-top: 16px;
}

.modal-login {
    display: block;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-login-content {
    margin: 5% auto 0% auto;
    max-width: 400px;
    border-radius: 10px;
    background-size: 100%;
    background: rgba(241, 241, 241, 0.3);
    backdrop-filter: saturate(125%) blur(10px);
    position: absolute;
    float: right;
    right: 20px;
    top: 0;
}

.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.middle-msg h3 {
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-family: "Nokora", sans-serif;
}

.form-element label {
    color: #fff;
    font-size: 14px;
    font-family: "Nokora", sans-serif;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

.middle-msg {
    padding: 10px 15px !important;
    padding-top: 15px !important;
    text-align: center;
}

.login-input {
    display: block;
    width: -webkit-fill-available !important;
    padding: 10px;
    outline: none;
    border: 1px solid #aaa;
    margin-top: 5px;
    border-radius: 0.70rem;
    font-family: "Nokora", sans-serif;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input[type=text]::placeholder {
    color: #000;
    font-size: 12px;
    font-family: "Nokora", sans-serif;
}

input[type=password]::placeholder {
    color: #000;
    font-size: 12px;
    font-family: "Nokora", sans-serif;
}

.form-element {
    padding: 0 15px;
    border-radius: 10px;
}

.section1 button[type=submit] {
    font-size: 25px;
    font-weight: 600;
    color: #222;
    background: #f5f5f5;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 10px;
}

button:hover {
    opacity: 0.8;
}

.imgcontainer-msg {
    border-radius: 10px;
    text-align: center;
    margin: 0px 0 18px 0;
    position: relative;
    margin-bottom: 0px !important;
    background-color: #008F6B;
}

.modal-login-content {
    margin: 5% auto 15% auto;
    /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #dbdbdb;
    width: 25%;
    border-radius: 10px;
    background-size: 100%;
}

.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.div_phone,
.div_pwd {
    position: relative;
}

.div_phone i,
.div_pwd i {
    position: absolute;
    left: 15px;
    top: 20px;
}

.div_pwd i {
    cursor: pointer;
}

#phone_number,
#password,
#password_register,
#phone,
#confirm_password {
    width: 100%;
    padding: 12px 40px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* -------login end ------ */
.section2 {
    width: 100%;
    height: auto;
    padding: 20px 0;
    margin-top: -80px;
    z-index: 1;
    position: relative;
}

.section2 .container {
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 20px;
    backdrop-filter: saturate(125%) blur(10px);
    background: rgba(244, 244, 244, 0.6);
    border: 1px solid #fffefe;
}

.section2 .container .row {
    padding: 0;
}

.section2 .container .row img {
    position: relative;
    top: 0px;
    width: 20%;
    vertical-align: middle;
    float: left;
    animation: loan 3s linear infinite;
}

@keyframes loan {
    0% {
        top: 0px;
    }

    25% {
        top: 5px;
    }

    50% {
        top: 0px;
    }

    75% {
        top: 5px;
    }

    100% {
        top: 0px;
    }
}

.section2 .container .row h1 {
    position: relative;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    font-family: "Nokora", sans-serif;
    text-align: left;
    cursor: pointer;
    text-transform: uppercase;
    top: 20px;
}

.section2 .container .row p {
    position: relative;
    width: 100px;
    color: #043d5d;
    font-size: 14px;
    font-weight: 400;
    font-family: "Nokora", sans-serif;
    text-align: center;
    cursor: pointer;
    border-radius: 100px;
    border: 1px solid #626262;
    padding: 5px;
    float: left;
    left: 0px;
    top: 30px;
}

.section2 .container .row i {
    color: #043d5d;
    font-size: 12px;
    transform: rotate(320deg);
}

.flex-container {
    display: flex;
}

.flex-container>p {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 14px;
    color: #e7e7e7;
    font-weight: 500;
    font-family: "Nokora", sans-serif;
    padding-top: 10px;
    padding-bottom: 10px;
}

footer {
    width: 100%;
    background: url(../images/home-page/footer/bgfooter-image-1.png) bottom no-repeat;
    background-size: cover;
    bottom: 0px;
}

footer .footer1 {
    width: 100%;
    height: auto;
}

footer .footer1 .container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.1em;
}

footer .footer1 .container .row {
    padding: 30px;
    background: rgba(255, 255, 255, 30%);
    backdrop-filter: saturate(125%) blur(10px);
}

footer .footer1 .container .row i {
    color: #fff;
}

footer .footer1 .container .row p {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    font-family: "Nokora", sans-serif;
    text-align: center;
    cursor: pointer;
}

.background_f {
    background: linear-gradient(to top, #1f003f, #7c00ff);
}

footer .footer2 {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    padding-top: 20px;
}

footer .footer2 .wrap {
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    border-top: 1px solid #dadada;
    padding-top: 20px;
}

footer .footer2 .container {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

footer .footer2 .container .row {
    padding: 0;
}

footer .footer2 .container .row p {
    color: #494949;
    font-size: 10px;
    font-weight: 400;
    font-family: "Nokora", sans-serif;
    line-height: 50px;
}

footer .footer2 .container .row img {
    position: relative;
    top: 0;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
    cursor: pointer;
}

footer .footer2 .container .row img:hover {
    position: relative;
    top: -5px;
}

footer .footer3 {
    width: 100%;
    height: auto;
}

footer .footer3 .wrap {
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    border-top: 1px solid #1f003f;
    padding-top: 20px;
}

footer .footer3 .container {
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

footer .footer3 .container .row {
    padding: 0;
}

footer .footer3 .container .row h1 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    font-family: "Nokora", sans-serif;
    cursor: pointer;
}

footer .footer3 .container .row p {
    position: relative;
    left: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    font-family: "Nokora", sans-serif;
    padding-top: 5px;
    cursor: pointer;
    transition: 0.3s;
}

footer .footer3 .container .row p:hover {
    position: relative;
    left: 10px;
}

footer .footer4 {
    width: 100%;
    height: auto;
}

footer .footer4 .container {
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    padding-top: 100px;
}

footer .footer4 .container p {
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: "Nokora", sans-serif;
    cursor: pointer;
    padding-bottom: 20px;
}