@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;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-image: url('imgku/bgku.jpeg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; } .box { position: relative; width: 380px; height: 420px; background: transparent; border-radius: 8px; overflow: hidden; } .box1 { position: relative; width: 380px; height: 620px; background: transparent; border-radius: 8px; overflow: hidden; } .box2 { position: relative; width: 380px; height: 350px; background: transparent; border-radius: 8px; overflow: hidden; } .box3 { position: relative; width: 380px; height: 600px; background: transparent; border-radius: 8px; overflow: hidden; } .box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 420px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; } .box::after{ content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 420px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -3s; } .box1::before { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 620px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; } .box1::after { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 620px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -3s; } .box2::before { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 350px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; } .box2::after { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 350px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -3s; } .box3::before { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 600px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; } .box3::after { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 600px; background: linear-gradient(0deg,transparent,transparent,#45f3ff,#45f3ff,#45f3ff); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -3s; } .borderLine { position: absolute; top: 0; inset: 0; } .borderLineku { position: absolute; top: 0; inset: 0; } .borderLineku1 { position: absolute; top: 0; inset: 0; } .borderLineku2 { 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,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -1.5s; } .borderLineku::before { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 620px; background: linear-gradient(0deg,transparent,transparent,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -1.5s; } .borderLineku1::before { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 350px; background: linear-gradient(0deg,transparent,transparent,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -1.5s; } .borderLineku2::before { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 600px; background: linear-gradient(0deg,transparent,transparent,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 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,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -4.5s; } .borderLineku::after { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 620px; background: linear-gradient(0deg,transparent,transparent,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -4.5s; } .borderLineku1::after { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 620px; background: linear-gradient(0deg,transparent,transparent,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -4.5s; } .borderLineku2::after { content: ''; position: absolute; top: -50%; left: -50%; width: 380px; height: 600px; background: linear-gradient(0deg,transparent,transparent,#ff2770,#ff2770,#ff2770); z-index: 1; transform-origin: bottom right; animation: animate 6s linear infinite; animation-delay: -4.5s; } @keyframes animate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .box form { position: absolute; inset: 4px; background: #222; padding: 30px 30px; border-radius: 8px; z-index: 2; display: flex; flex-direction: column; } .box1 form { position: absolute; inset: 4px; background: #222; padding: 30px; border-radius: 8px; z-index: 2; display: flex; flex-direction: column; align-items: center; } .box2 form { position: absolute; inset: 4px; background: #222; padding: 30px; border-radius: 8px; z-index: 2; display: flex; flex-direction: column; align-items: center; } .box3 form { position: absolute; inset: 4px; background: #222; padding: 30px; border-radius: 8px; z-index: 2; display: flex; flex-direction: column; align-items: center; } .box form h2 { color: #fff; font-weight: 500; text-align: center; letter-spacing: 0.1em; } .box1 form h2 { color: #fff; font-weight: 500; text-align: center; letter-spacing: 0.1em; } .box2 form h2 { color: #fff; font-weight: 500; text-align: center; letter-spacing: 0.1em; } .box3 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: 10; } .box form .InputBox span { position: absolute; left: 0; padding: 20px 0px 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; } .box3 form i { position: absolute; left: 0; margin-top: 45px; width: 100%; height: 2px; background: #fff; border-radius: 4px; overflow: hidden; transition: 0.5s; pointer-events: none; } .box form .links { text-align: center; transform: translateY(20px); } .box form .links2 { text-align: center; margin: 5px 0; margin-top: -5px; } .box form .links p { font-size: 0.75em; color: #fff; text-decoration: none; } .box form .links2 p { font-size: 0.75em; color: #ff2770; text-decoration: none; } .box form .links p:hover { color: white; } .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: 100%; margin-top: 10px; margin-left: 4px; } .box form input[type="submit"]:active { opacity: 0.8; } .box form .InputBox input:valid ~ i, .box form .InputBox input:focus ~ i { height: 44px; } .infoTable { width: 100%; border-collapse: collapse; margin-bottom: 20px; } .infoTable td { padding: 8px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.2); } .infoTable td:first-child { font-weight: bold; } .box form input[type="submit"] { border: none; outline: none; padding: 9px 25px; background: #45f3ff; color: #222; cursor: pointer; font-size: 0.9em; border-radius: 4px; font-weight: 600; width: 100%; transition: 0.3s; } .box1 form input[type="submit"] { border: none; outline: none; padding: 9px 25px; background: #45f3ff; color: #222; cursor: pointer; font-size: 0.9em; border-radius: 4px; font-weight: 600; width: 100%; transition: 0.3s; } .box3 form input[type="submit"] { border: none; outline: none; padding: 9px 25px; background: #45f3ff; color: #222; cursor: pointer; font-size: 0.9em; border-radius: 4px; font-weight: 600; width: 100%; transition: 0.3s; } .box2 form .linkku a { border: none; outline: none; padding: 9px 25px; background: #45f3ff; color: #222; cursor: pointer; font-size: 0.9em; border-radius: 4px; font-weight: 600; width: 100%; transition: 0.3s; text-decoration: none; } .box form input[type="submit"]:hover { background: #34c2dd; } .box1 form input[type="submit"]:hover { background: #34c2dd; } .box3 form input[type="submit"]:hover { background: #34c2dd; } .box2 form .linkku a:hover { background: #34c2dd; } .box form .footer { text-align: center; color: #fff; margin-top: 15px; } .box form .footer a { text-decoration: none; color: #45f3ff; } .box1 form .footer { text-align: center; color: #fff; margin-top: 15px; } .box1 form .footer a { text-decoration: none; color: #45f3ff; } .box2 form .footer { text-align: center; color: #fff; margin-top: 15px; } .box2 form .footer a { text-decoration: none; color: #45f3ff; } .box2 form .cardku { background: #fff; border-radius: 4px; text-align: center; box-shadow: 0 0 10px cyan; color: #8f8f8f; } .box3 form .footer { text-align: center; color: #fff; margin-top: 15px; } .box3 form .footer a { text-decoration: none; color: #45f3ff; } .box3 form .cardku { background: #fff; border-radius: 4px; text-align: center; box-shadow: 0 0 10px cyan; color: #8f8f8f; }