body {
    font-family: Arial, sans-serif;
    background-image: url('../assets/images/login.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-bottom: 0;
    overflow: hidden;
    font-size:25px;

}

header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 20px 0; 
    z-index: 1000; 
}

header h1 {
    font-size: 36px;
    color: white; 
    margin: 0;
}
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%; 
    margin-top: 100px; 
}


.card-container {
    display: flex;
    justify-content: space-between;  
    align-items: center;
    gap: 20px;  
    flex-wrap: wrap;
    max-width: 800px; 
    width: 100%;
}


.card {
    background-color: #ffffff;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 10px solid transparent;
}

.card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.card-content h2 {
    font-size: 20px;
    color: #007bff;
    text-align: center;
    margin: 0;
}

.card:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.card-content h2:hover {
    color: #0056b3;
}



form {
    background: rgba(41, 40, 40, 0.253); 
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


h2 {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}


.error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}


label {
    align-self: flex-start;
    color: rgb(255, 255, 255);
    font-size: 16px;
    margin-bottom: 8px;
}


input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}


button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

button:active {
    background-color: #004085;
}
