
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    background: #0a0a0a;
    color: #fff;
    overflow: hidden;
}
section{
    position: relative;
    width: 100vw;
    height: 100vh;
    display: grid;
    gap: 120px;
    grid-template-columns: repeat(auto-fill, 40px);
    grid-template-rows: repeat(2, 40px);
    background: #0f0f0f;
    overflow: hidden;
}
section span {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  background: #181818;
  z-index: 1;
  animation: animate 5s linear infinite;
}
@keyframes animate {
  0%, 100% {
    background: #181818;
  }
  50% {
    background: #0f0;
    box-shadow: 0 0 10px #0f0,
                0 0 20px #0f0,
                0 0 40px #0f0;
  }
}
section span:nth-child(odd) {
    animation-delay: 1s;
}
section span:nth-child(3n) {
    animation-delay: 2s;
}
section span:nth-child(4n) {
    animation-delay: 3s;
}
.signin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    padding: 40px;
    background: #1c1c1c;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,255,0,0.4);
    z-index: 10;
}
.signin h2{
    color:#0f0;
    text-align: center;
    margin-bottom: 20px;
}
.inputBox{
    position: relative;
    margin-bottom: 20px;
}
.inputBox input{
    width: 100%;
    padding: 10px;
    background: #2c2c2c;
    border: none;
    outline: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
}
.inputBox i{
    position: absolute;
    left: 10px;
    top:-18px;
    color: #0f0;
    font-size: 14px;
}
.links{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.links a{
    color: #0f0;
    text-decoration: none;
    font-size: 14px;
}
.inputBox input[type="submit"]{
    background: #0f0;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.inputBox input[type="submit"]:hover{
    background: #0c0;
}
section::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(#0f0 1px, transparent 1px),
                      linear-gradient(90deg, #0f0 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    animation: move 2s linear infinite;
}
@keyframes move{
    from {background-position: 0 0;}
    to {background-position: 80px 80px;}
}

