
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden; 
}


.login-page {
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFC107;
    text-align: center;
    position: relative;
}

.header-image {
    width: 100%;          
    height: 100%;         
    object-fit: cover;    
    position: absolute;   
    top: 0;
    left: 0;
    z-index: -1;          
}

.header {
    text-align: center;
    margin-bottom: 600px; 
    font-size: 3em;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.603);
    background: #222 -webkit-gradient(
        linear,
        left top,
        right top,
        from(#222),
        to(#222),
        color-stop(0.5, #fff)
      ) 0 0 no-repeat;
    background-image: -webkit-linear-gradient(
      -30deg,
      transparent 0%,
      transparent 40%,
      #ffd900 60%,
      transparent 80%,
      transparent 100%
    );
    -webkit-background-clip: text;
    -webkit-background-size: 200px;
    -webkit-animation: zezzz;
    -webkit-animation: shine-animation 7s linear infinite; 
}
@-webkit-keyframes shine-animation {
    0% {
        background-position: -150%;
    }
    100% {
        background-position: 150%;
    }
}


.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    padding: 40px;
    margin: 20px auto;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.login-box p:first-child {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.login-box .user-box {
    position: relative;
    margin-bottom: 30px;
}

.login-box .user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
}

.login-box .user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: 0.5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
    top: -35px;
    left: 0;
    color: #fff;
    font-size: 12px;
}


.login-box button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    overflow: hidden;
    transition: 0.5s;
    margin-top: 40px;
    letter-spacing: 3px;
    background: none;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
}

.login-box button:hover {
    background: #fff;
    color: #272727;
}

.login-box button span {
    position: absolute;
    display: block;
}

.login-box button span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e6d86081);
    animation: btn-anim1 1.5s linear infinite;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.login-box button span:nth-child(2) {
    top: -150%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FFC107);
    animation: btn-anim2 1.5s linear infinite;
    animation-delay: 0.375s;
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

.login-box button span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #FFC107);
    animation: btn-anim3 1.5s linear infinite;
    animation-delay: 0.75s;
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }
    50%, 100% {
        right: 100%;
    }
}

.login-box button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #FFC107);
    animation: btn-anim4 1.5s linear infinite;
    animation-delay: 1.125s;
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}

.login-box p:last-child {
    color: #aaa;
    font-size: 14px;
}

.login-box a.a2 {
    color: #fff;
    text-decoration: none;
}

.login-box a.a2:hover {
    background: transparent;
    color: #aaa;
    border-radius: 5px;
}

.user-box {
    position: relative;
    margin-bottom: 50px; 
}


.user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
}




@media (max-width: 992px) {
    .login-box {
        width: 70%;
        padding: 30px;
    }
    .header {
        font-size: 2.5em;
        margin-bottom: 400px;
    }
}


@media (max-width: 768px) {
    .login-box {
        width: 80%;
        padding: 20px;
    }
    .header {
        font-size: 2em;
        margin-bottom: 300px;
    }
    .login-box p:first-child {
        font-size: 1.3rem;
    }
    .login-box button {
        margin-top: 20px;
    }
}


@media (max-width: 480px) {
    .header {
        font-size: 1em; 
        margin-bottom: 450px; 
    }
    .login-box {
        width: 90%;
        padding: 15px;
    }
    .login-box p:first-child {
        font-size: 1.2rem;
    }
    .login-box .user-box {
        margin-bottom: 25px;
    }
    .login-box button {
        width: 100%;
        font-size: 14px;
        letter-spacing: 1px;
    }
}
