@import url('https://fonts.googleapis.com/css2?family=quicksand:wght@300;400;500;600;700&display=swap');

* {
    margin: 0%;
    padding: 0;
    box-sizing: border-box;
    font-family: 'quicksand', sans-serif;
}

body {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #797979;
    overflow: hidden;
}

section {
    position: center;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(#797979, #64f141, #797979);
    animation: animate 5s linear infinite;
}

@keyframes animate {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}


section span {
    position: relative;
    display: block;
    width: calc(6.25vw - 2px);
    height: calc(6.25vw - 2px);
    background: #b3b3b3;
    z-index: 2;
    transition: 0.2s;
}

section span:hover {
    background: #3db41fb4;
    transition: 0s;
}

section .signin {
    position: absolute;
    width: 400px;
    background: #c2c2c2;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 5);
}

section .signin .content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

section .signin .content .logo {
    width: 310px;
    height: 70px;
}

section .signin .content h2 {
    font-size: 1.5em;
    color: #40bb22;
    text-transform: uppercase;
}

section .signin .content .form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

section .signin .content .form .inputBx {
    position: relative;
    width: 100%;
}

section .signin .content .form .inputBx input {
    position: relative;
    width: 100%;
    background-color: #b4b4b4;
    border: none;
    outline: none;
    padding: 25px 10px 7.5px;
    border-radius: 4px;
    color: #40bb22;
    font-weight: 500;
    font-size: 1em;
}

section .signin .content .form .inputBx i {
    position: absolute;
    left: 0;
    padding: 15px 10px;
    font-style: normal;
    color: #2c2c2c;
    transition: 0.5s;
    pointer-events: none;
}

section .signin .content .form .inputBx input:focus~i,
section .signin .content .form .inputBx input:valid~i {
    transform: translateY(-7.5px);
    font-size: 0.8em;
    color: #fff;
}

.signin .content .form .links {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.signin .content .form .links a {
    color: #fff;
    text-decoration: none;
}

.signin .content .form .links a:hover {
    color: #525252;
}

.signin .content .form .links a:nth-child(2) {
    color: #40bb22;
    font-weight: 600;
}

.signin .content .form .links a:nth-child(2):hover {
    color: #167709;
}

section .signin .content .form .inputBx input[type="submit"] {
    padding: 10px;
    background-color: #3db41fb4;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25em;
    letter-spacing: 0.05em;
    cursor: pointer;
}

section .signin .content .form .inputBx input:focus {
    color: #40bb22;
}

section .signin .content .form .inputBx input[type="submit"]:hover {
    background-color: #167709;
}

#content {
    height: 20px !important;
}

.message-success b {
    display: flex;
    text-align: center;
    justify-content: center;
    color: #40bb22;
}

.alert {
    display: flex;
    text-align: center;
    justify-content: center;
    color: #ff0000;
}

.copy p {
    text-align: center;
    color: #40bb22;
    margin-top: 25px;
}

::selection {
    color: rgb(245, 248, 244);
    background-color: rgb(9, 37, 130);
}

/* Tambahan */

.my-swal-popup {
    border-radius: 0 !important; /* Atur sesuai kebutuhan */
}

.swal2-confirm {
    border-radius: 0 !important; /* Atur sesuai kebutuhan */
}

.swal2-cancel {
    border-radius: 0 !important; /* Atur sesuai kebutuhan */
}

@media (max-width:945px) {
    section span {
        width: 14%;
        height: 14%;
    }
}

@media (max-width:600px) {
    section span {
        width: 16.2%;
        height: 8%;
    }

    section .signin {
        width: 350px;
    }

    section .signin .content .logo {
        width: 250px;
        height: 60px;
    }

    section .signin .content h2 {
        margin-top: 5px;
    }
}