@font-face {
    font-family: "Poppins Regular";
    src: url(font/Poppins-Regular.ttf);
}

@font-face {
    font-family: "Poppins Medium";
    src: url(font/Poppins-Medium.ttf);
}

:root {
    --bg-color: #FBFBFB;
    --bg-color-logo-login: #F1C654;
    --bg-color-form-login: #FBFBFB;
    --fw-color-h1: #F28801;
    --fw-color-label-judul: #7E7E7E;
    --fw-color-form-label: #A9A9A9;
    --brd-color-form-control: #ECECEC;
    --fw-color-btn-login: #FFFFFF;
    --bg-btn-login: #F28801;
}

body {
    background: var(--bg-color);
    overflow: hidden;
}

.section {
    width: 100%;
    padding: 0rem;
    display: grid;
    grid-template-areas:
        "logo-login form-login";
    grid-template-columns: 60% 40%;
    grid-template-rows: 100vh;
    grid-gap: 0rem;
}

@media screen and (max-width: 1024px) {
    .section {
        grid-template-columns: 55% 45%;
    }
}


.logo-login {
    grid-area: logo-login;
    background: var(--bg-color-logo-login);
    position: relative;
}

.logo-login .air{
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(../wave.png);
    background-size: 1000px 100px
}

.logo-login .air.air1 {
    animation: wave 30s linear infinite;
    z-index: 1000;
    opacity: 0.1;
    animation-delay: 0s;
    bottom: 0;
}

.logo-login .air.air2 {
    animation: wave2 15s linear infinite;
    z-index: 999;
    opacity: 0.2;
    animation-delay: -5s;
    bottom: 10px;
}

.logo-login .air.air3 {
    animation: wave 30s linear infinite;
    z-index: 998;
    opacity: 0.1;
    animation-delay: -2s;
    bottom: 15px;
}

.logo-login .air.air4 {
    animation: wave2 5s linear infinite;
    z-index: 997;
    opacity: 0.2;
    animation-delay: -5s;
    bottom: 20px;
}

@keyframes wave {
    0% {
        background-position-x: 0px;
    }

    100% {
        background-position-x: 1000px;
    }
}

@keyframes wave2 {
    0% {
        background-position-x: 0px;
    }

    100% {
        background-position-x: -1000px;
    }
}

.form-login {
    grid-area: form-login;
    background: var(--bg-color-form-login);
    padding: 1rem;
    position: relative;
}

.logo-img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    margin: auto;
}

.card-form-login {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    margin: auto;
    padding: 3rem;
}

@media screen and (max-width: 1024px) {
    .card-form-login {
        padding: 0rem;
    }
}

.judul-login {
    color: var(--fw-color-h1);
    width: 100%;
    text-align: center;
    font-family: "Poppins Medium";
    font-size: 4rem;
    margin: 1rem 0rem;
}

.label-judul {
    width: 100%;
    color: var(--fw-color-label-judul);
    margin: 0.2rem;
    text-align: center;
    font-family: "Poppins Regular";
}

.label-location{
    width: 100%;
    color: #B98747;
    margin: 0.2rem;
    text-align: center;
    font-family: "Poppins Medium";
    font-size: 1.2rem;
}

@media screen and (max-width: 1024px) {
    .judul-login {
        font-size: 2.5rem;
    }

    .label-location {
        font-size: 1rem;
    }

    .label-judul {
        font-size: 0.8rem;
    }
}

.box-form {
    padding: 2rem;
    text-align: center;
}

.form-label {
    color: var(--fw-color-form-label);
    font-family: "Poppins Regular";
    font-size: 20px;
    width: 100%;
    text-align: left;
}

.form-control {
    border-radius: 1.8rem;
    border: 1px solid var(--brd-color-form-control);
    background: var(--brd-color-form-control);
    padding: 0.8rem;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="text"]:hover,
input[type="password"]:hover,
.form-control:focus {
    border-color: var(--brd-color-form-control);
    box-shadow: none;
    outline: 0px solid var(--brd-color-form-control);
    background: var(--brd-color-form-control);
}

/* .btn-login {
    width: 50%;
    font-size: 1.5rem;
    color: var(--fw-color-btn-login);
    background: var(--bg-btn-login);
    text-align: center;
    padding: 0.5rem 0rem;
} */

.btn-login:hover {
    color: var(--fw-color-btn-login) !important;
    background: var(--bg-btn-login) !important;
}


.btn-login {
    width: 45%;
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: var(--fw-color-btn-login);
    background: var(--bg-btn-login);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 4px;
    font-size: 24px;
    overflow: hidden;
    /* transistion: 0.2s; */
}

.btn-login span {
    position: absolute;
    display: block;
}

.btn-login span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fw-color-btn-login));
}

.btn-login:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
    color: var(--fw-color-btn-login);
}

.btn-login span:nth-child(2) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, var(--fw-color-btn-login));
}

.btn-login:hover span:nth-child(2) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}

.btn-login span:nth-child(3) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--fw-color-btn-login));
}

.btn-login:hover span:nth-child(3) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}

.btn-login span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, var(--fw-color-btn-login));
}

.btn-login:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}

.copy-right {
    position: absolute;
    width: 90%;
    bottom: 2rem;
    margin: 0rem;
    font-size: 1rem;
    text-align: center;
    font-family: "Poppins Regular"
}

.btn-pw,
.btn-pw:hover,
.btn-pw:focus{
    border-radius: 1.8rem;
    border: 1px solid var(--brd-color-form-control) !important;
    background: var(--brd-color-form-control) !important;
}