@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,500,700,800,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #fff, #ccc);
}
#follow-mouse {
        width: 6em;
        height: 6em;
        background: transparent url(/img/tmpl_2023/logo/aigenwear_logo_color.png);
        background-size:contain;
        position: absolute;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        box-shadow: 0 0 20px rgba(16, 0, 54, 0.2);
        transition: 0.1s ease-out;
        z-index: 2;
    }
#follow-container {
    z-index: 2;
    width: 100vw;
    align-items: center;
    justify-content: center;
    display: flex;
    background: #eee url(/img/tmpl_2023/bg/ai-gen-wear-hexagonal-tile-transparent.png);
    height: 100vh;
}

.box {
    position: relative;
    width: 380px;
    height: 420px;
    background: #141414;
    border-radius: 8px;
    overflow: hidden;
    z-index: 3;
}
.box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #ff0080, #ff69b4, #fff);
    z-index: 4;
    transform-origin: bottom right;
    animation: border-tron 6s linear infinite;
}
.box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #ff0080, #ff69b4, #fff);
    z-index: 4;
    transform-origin: bottom right;
    animation: border-tron 6s linear infinite;
    animation-delay: -3s;
}
.borderLine {
    position: absolute;
    top: 0;
    inset: 0;
}
.borderLine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #FF8C00, #ff0, #fff);
    z-index: 4;
    transform-origin: bottom right;
    animation: border-tron 6s linear infinite;    
    animation-delay: -1.5s;
}
.borderLine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #FF8C00, #ff0, #fff);
    z-index: 4;
    transform-origin: bottom right;
    animation: border-tron 6s linear infinite;    
    animation-delay: -4.5s;
}

.box form {
    position: absolute;
    inset: 4px;
    background: #121212;
    padding: 50px 40px;
    border-radius: 8px;
    z-index: 5;
    display: flex;
    flex-direction: column;
}
.box form h2 {
    color: #fff;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
}
.box form .inputBox {
    position: relative;
    width: 300px;
    margin-top: 35px;
}
.box form .inputBox input {
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    outline: none;
    border: none;
    box-shadow: none;
    color: #23242a;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    z-index: 6;
}
.box form .inputBox input:valid,
.box form .inputBox input:focus {
    color:#fff;
    background: #151515;
    padding: 20px;
    border-bottom: 2px solid #eee;
    border-radius: 10px;
}
.box form .inputBox span {
    position: absolute;
    left: 0;
    width: 300px;
    padding: 20px 0 10px;
    pointer-events: none;
    color: #8f8f8f;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.box form .inputBox input:valid ~ span,
.box form .inputBox input:focus ~ span {
    color: #fff;
    font-size: 0.75em;
    transform: translateY(-34px);
}
.box form .inputBox i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.box form .inputBox input:valid ~ i,
.box form .inputBox input:focus ~ i {
    height: 44px;
}
.box form .links {
    display:flex;
    justify-content: space-between;
}
.box form .links a {
    margin: 10px 0;
    font-size: 0.75em;
    color: #8f8f8f;
    text-decoration: none;
}
.box form .links a:hover,
.box form .links a:nth-child(2) {
    color: #fff;
}
.box form input[type="submit"] {
    border: none;
    outline: none;
    padding: 9px 25px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    font-weight: 600;
    width: 100px;
    margin-top: 15px;
}
.box form input[type="submit"]:active {
    opacity: 0.8;
}

.footer {
    font-size: 8pt;
    color: #111;
    text-decoration: none;
    position: absolute;
    bottom: 10px;
}
.footer a {
    color: #111;
    text-decoration: none;
}
.logo {
    position: absolute;
    top: 30px;
}
.logo a {
    color: #111;
    text-decoration:none;
}
.logo span {
    font-size: 18pt;
    position: relative;
    top: -24px;
}

@keyframes border-tron {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes login-invalid {
    0% { transform: translateX(0) }
    25% { transform: translateX(5px) }
    50% { transform: translateX(-5px) }
    75% { transform: translateX(5px) }
    100% { transform: translateX(0) }
   }
   .login-invalid {
    animation: login-invalid 6s linear 3;    
   }