﻿@font-face {
    font-family: "PhetsarathOT";
    src: url('Phetsarath_OT.ttf');
}

* {
    font-family: PhetsarathOT;
}

:root {
    --color-primary: #002440; /* #cb8c25 #002440 */
    --color-second: #e9eaeb; /* #773c00 #e9eaeb; */
    --color-yellow: #fca531; /* #fca531; */
    --color-white: #fff;
    --color-black: black;
}

section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logobox{
    display:flex;
    justify-content:center;
    align-content:center;
    height:310px;
}

.loginbox {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 30px;
    padding-bottom:100px;
    padding-top:30px;
    background-color:white;
}

.logologin {
    width: auto;
    margin: -18px 0px;
    padding: 0px 10px;
    justify-content: center;
}

.formbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title {
    font-size: 1.5em;
    text-align: center;
    font-weight: bold;
    color: var(--color-primary);
}
/*
.inputbox {
    position: relative;
    margin: 30px 0;
    width: 100%;
    border-bottom: 2px solid var(--color-primary);
}

    .inputbox label {
        font-weight:700;
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        color: var(--color-primary);
        font-size: 1em;
        pointer-events: none;
        transition: .5s;
    }

input:focus ~ label, input:valid ~ label {
    top: -5px;
}

.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color: var(--color-primary);
}

.forget {
    font-size: .9em;
    color: var(--color-primary);
    margin: 25px 0 10px;
}

    .forget p a {
        color: var(--color-primary);
        font-weight: 600;
    }

        .forget p a:hover {
            text-decoration: underline;
        }
*/


button {
    width: 70%;
    height: 45px;
    border-radius: 20px !important;
    background-color: #034266;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: white;
}

.textbox {
    width: 100% !important;
    height: 45px;
    padding: 12px;
    border-radius: 12px !important;
    border: 1.5px solid #034266;
    outline: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0px 0px 20px -18px;
}

    .textbox:hover {
        border: 2px solid #034266;
        box-shadow: 0px 0px 20px -17px;
    }

    .textbox:active {
        transform: scale(0.95);
    }

    .textbox:focus {
        border: 2px solid #034266;
    }

.background-pic {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}