/* General styles */
body {
    margin: 0px;
    font-family: Arial, sans-serif;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: scroll;
}

main {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #1a1a1a;
    color: #ffffff;
    flex-grow: 1;
}

h1 {
    text-align: center;
    color: #ffffff;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
    max-width: 500px;
}

.form-group label {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    margin-top: 5px;
}

.form-group input {
    background-color: #121212;
    color: white;
}

.form-group textarea {
    background-color: #121212;
    color: white;
    height: 150px;
    resize: none;
}

.form-group button {
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background-color: #45a049;
}

/* Navigation Bar */
.navbar {
    background-color: #121212;
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin: 0 10px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: inline-block;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
}

.navbar a:hover {
    background: linear-gradient(90deg, #ffff00, #ff6600);
    color: white;
    transform: scale(1.1);
}

/* Active Page Highlight */
.navbar a.active {
    border: 2px solid white;
    padding: 10px 18px; /* Adjust padding to compensate for border */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

/* Footer Links */
.footer a {
    color: white;
    text-decoration: none;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, yellow, orange);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;  /* Full width on hover */
    transition: width 0.5s ease;
}
