/* Reset some default spacing */
body, h1, h2, h3, p, form, table {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f4f8;
    color: #333;
    padding: 20px;
}

h2, h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="file"],
select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

button {
    background-color: #2c3e50;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #34495e;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: #2c3e50;
    color: white;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #2980b9;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}



style.css
css
Copy
Edit
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Header */
header {
  background-color: #1e90ff;
  color: white;
  padding: 0px;
  text-align: center;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Container holds sidebar and main content */
.container {
  display: flex;
  min-height: calc(100vh - 110px); /* Adjust based on header + footer height */
}

/* Sidebar (Menu) */
.sidebar {
  width: 200px;
  background-color: #2c3e50;
  padding-top: 20px;
  min-height: 100%;
}

.sidebar ul {
  list-style-type: none;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  display: block;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
}

.sidebar ul li a:hover {
  background-color: #1abc9c;
}

/* Main Content */
.content {
  flex: 1;
  padding: 30px;
  background-color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
  }

  .sidebar ul {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }

  .sidebar ul li {
    margin: 0;
  }

  footer {
    position: static;
  }
}





