@font-face {
    font-family: "Kanit Medium";
    src: url("../fonts/Kanit/Kanit-Medium.ttf");
}

@font-face {
    font-family: "Poly Reguler";
    src: url("../fonts/Poly/Poly-Regular.ttf");
}

@font-face {
    font-family: "Poppins Medium";
    src: url("../fonts/Poppins/Poppins-Bold.ttf");
}

@font-face {
    font-family: "Poppins Light";
    src: url("../fonts/Poppins/Poppins-Light.ttf");
}

@font-face {
    font-family: "Kalam Bold";
    src: url("../fonts/Kalam/Kalam-Bold.ttf");
}

html,
body {
    background: #fad060;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    display: grid;
    grid-template-areas: "card-logo card-form";
    grid-template-columns: 65% 35%;
    grid-template-rows: 100vh;
    grid-gap: 0rem;
}

.card-logo {
    grid-area: card-logo;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
}

.card-form {
    grid-area: card-form;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    padding-top: 252px;
}

.card-main-logo {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.card-form-login {
    width: 20rem;
    height: 12rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.text-login {
    width: 100%;
    font-family: "Poppins Medium";
    color: #f28801;
    font-size: 4rem;
    margin: 0rem;
    text-align: center;
}

.title-login {
    width: 100%;
    font-family: "Poppins Medium";
    color: #b98747;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.subtitle-login {
    width: 100%;
    font-family: "Poppins Light";
    color: #7e7e7e;
    font-size: 1.2rem;
    margin: 0rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.t1 {
    white-space: nowrap;
    overflow: hidden;
    animation: type1 2s steps(20, end), curser1 0.2s 4;
    animation-delay: 0;
    transition: 0.2s;
}

.t2 {
    white-space: nowrap;
    overflow: hidden;
    animation: type1 2s steps(19, end), curser 0.2s infinite;
    animation-fill-mode: both;
    animation-delay: 2s;
}

.t1:active {
    border-right: 8px solid transparent;
}

@keyframes type1 {
    0% {
        width: 0;
    }
    50% {
        width: 50%;
    }
}

@keyframes type2 {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.card-login {
    width: 70%;
    height: 30rem;
}

.btn-login {
    width: 100%;
    padding: 0.5rem;
    background: #f28801;
    color: #ffffff;
    font-family: "Poppins Medium";
    font-size: 1.2rem;
    transform: all 0.3s;
    position: relative;
    border-radius: 0.2rem;
}

.btn-login:before {
    content: "";
    position: absolute;
    width: 5%;
    height: 50%;

    top: -5px;
    left: -5px;
    border-top: 2px solid #f28801;
    border-left: 2px solid #f28801;
    transition: all 0.25s;
}

.btn-login:hover {
    color: #f28801;
}

.btn-login:hover:before,
.btn-login:hover:after {
    width: 105%;
    height: 110%;
}

.btn-login:focus {
    border: 1px solid transparent !important;
    outline: none;
    box-shadow: none;
}

.btn-login:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -5px;
    right: -5px;
    border-bottom: 2px solid #f28801;
    border-right: 2px solid #f28801;
    transition: all 0.3s;
}

label {
    font-family: "Poppins Light";
    font-size: 1.2rem;
    color: #838383;
}

.form-control {
    border: 1px solid #ececec;
    background: #ececec;
    /* border-radius: 1.5rem; */
    min-height: 3rem;
}

.form-control:focus {
    border: 2px solid #ececec;
    background: #ececec;
    box-shadow: none;
    outline: none;
}

.btn-pw {
    background: #ececec;
    border: 1px solid #ececec;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.btn-pw:hover,
.btn-pw:focus {
    background: #ececec;
    border: 1px solid #ececec;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.circle-logo {
    position: relative;
    width: 40rem;
    height: 40rem;
    border-radius: 50%;
    border: 0.5rem solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.circle-logo::before {
    position: absolute;
    content: "";
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    z-index: 10000;
}

.card-main-logo:nth-child(1) .circle-logo::before {
    top: -1.5rem;
    background: #a1b57d;
}

.card-main-logo:nth-child(2) .circle-logo::before {
    bottom: -1.5rem;
    background: #f28801;
}

.card-main-logo:nth-child(3) .circle-logo::before {
    right: -1.5rem;
    background: #f94c10;
}

.card-main-logo:nth-child(1) .circle-logo {
    animation: putar 5s linear 0s infinite normal none;
}

.card-main-logo:nth-child(2) .circle-logo {
    animation: putar 8s linear 0s infinite normal none;
    border: 0.5rem solid transparent;
}

.card-main-logo:nth-child(3) .circle-logo {
    animation: putar 10s linear 0s infinite normal none;
    border: 0.5rem solid transparent;
}

.circle-logo img {
    position: absolute;
    width: 50%;
}

@keyframes putar {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.table-call {
    width: 100%;
}

.table-call thead {
    background: #fad060;
    text-align: center;
}

.table-call tbody {
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
}

.modal-content {
    border-radius: 1rem !important;
}

.modal-header {
    background: #fad060;
    justify-content: center !important;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.modal-title {
    font-weight: bold !important;
}

.modal-body {
    background: #eff3f4;
}

.modal-footer {
    background: #eff3f4;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top: none !important;
}

.btn-save {
    background: #fad060;
    color: black;
    border-radius: 0.3rem;
    padding: 0.5rem 2rem;
    margin: 0rem 0.4rem;
    border: 1px solid #fad060;
}

.btn-save:hover::after,
.btn-save:hover {
    color: #fad060 !important;
    border: 1px solid #fad060 !important;
}
