@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    background: #0f1014 url('https://cdn.discordapp.com/attachments/1236733139133534228/1302403023355773039/tumblr_static_bg3.png?ex=6727fcd6&is=6726ab56&hm=495e0d49f2b0fc6643af656136b519126cac7c8dd9065dbf8f5b4a1c2a1d226a&') repeat 0 0;
    animation: animate 10s linear infinite;
    overflow: hidden;
}

@keyframes animate {
    from { background-position: 0 0; }
    to { background-position: 500px 0; }
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #1a1a1a;
    border: 2px solid #39393a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px; 
}

h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px; /* Spacing below the header */
}

label {
    display: block;
    margin-bottom: 5px;
    color: #f1f1f1;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px; 
    background: #39393a;
    border: 1px solid #1a1a1a;
    color: white;
    border-radius: 4px;
    box-sizing: border-box; 
    transition: background 0.3s, border-color 0.3s; 
}

input[type="text"]:focus,
input[type="password"]:focus {
    background: #4a4a4d; 
    border-color: #007bff; /* Highlighting on focus */
    outline: none; 
}

input[type="text"]:hover,
input[type="password"]:hover {
    background: #4a4a4d; 
    border-color: #007bff; /* Highlighting on hover */
}

input[type="submit"] {
    width: 100%; 
    padding: 10px;
    background-color: #007bff; /* Button background color */
    border: 2px solid #1a1a1a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.5s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3; /* Darken on hover */
    transform: scale(1.05);
}

a {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #007bff; 
    text-decoration: none;
}

a:hover {
    text-decoration: underline; 
}
