/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive typography */
html {
    font-size: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding: 20px;
}

/* Container for the content */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}


/* Responsive layout */
@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 80%;
    }
}

/* Styles for reflection sections */
.reflection-section {
    margin-bottom: 20px;
}

.reflection-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.reflection-content {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.submit-button {
    padding: 10px 20px;
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Transition effect on hover */

    display: block; /* Makes the button a block-level element */
    margin: 20px auto; /* Vertical margins 20px, horizontal margins auto for centering */
}


/* Adjusting the form-container for center alignment */

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px; /* Add padding around the content */
    margin: 20px; /* Add some margin around the container */
    border: 0.5px solid #ccc; /* Light grey border */
    border-radius: 0.5px; /* Slight rounding of corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    background-color: #fff; /* Optional: Set a background color */
    width: auto; /* Adjust width as needed, could be a percentage or fixed width */
    max-width: 600px; /* Maximum width to prevent it from becoming too wide on larger screens */
}

/* Top Bar Styling */
.top-bar {
    background-color: #007bff; /* Change to match your site's color theme */
    color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.top-bar nav ul li {
    margin-left: 20px;
}

.top-bar nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    background-color: transparent;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* Add responsiveness */
@media (max-width: 600px) {
    .top-bar nav ul {
        flex-direction: column;
        margin-left: 0;
    }

    .top-bar nav ul li {
        margin: 10px 0;
    }
}
/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    text-align: left;
    padding: 8px;
}

th {
    background-color: #007bff;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}
