/* Reset default browser spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Header section */
.topsection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* Website heading */
.heading {
  font-size: 40px;
  color: #8B0000;
}

.restheading {
  color: black;
}

/* Search bar */
.search input {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.search button {
  padding: 8px 15px;
  background-color: #8B0000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.search button:hover {
  background-color: #a30000;
}

/* General buttons */
button {
  padding: 10px 18px;
  margin: 10px 5px;
  border: none;
  border-radius: 5px;
  background-color: #8B0000;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background-color: #a30000;
}

/* Center main image */
img {
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

/* Section headings */
h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #8B0000;
}

/* Tables */
table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
}

/* Table headers */
th {
  background-color: #8B0000;
  color: white;
  padding: 10px;
  text-align: center;
}

/* Table cells */
td {
  padding: 10px;
  vertical-align: top;
  background-color: white;
}

/* Links */
a {
  text-decoration: none;
  color: #8B0000;
}

a:hover {
  text-decoration: underline;
}

/* Lists */
ul {
  list-style: none;
}

li {
  margin-bottom: 5px;
}

/* Comments section */
p {
  margin-bottom: 10px;
  background: white;
  padding: 10px;
  border-radius: 5px;
}

/* Footer */
footer {
  margin-top: 40px;
  background-color: #222;
  color: white;
  padding: 20px;
}

/* Remove white boxes from footer text */
footer p {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* Footer tables */
footer table {
  width: 100%;
}

footer td {
  background: none;
  padding: 15px;
}

/* Footer headings */
footer h4 {
  margin-bottom: 10px;
  color: #f5f5f5;
}

/* Footer links */
footer a {
  color: #ddd;
}

footer a:hover {
  color: white;
}

/* Bottom footer links */
footer table:last-child td {
  text-align: center;
  font-size: 14px;
}