
h4 {
  font-size: 20px;
}

#form {
  background-color: #FFFAF0; 
  text-align: left;
  padding: 0; 
  font-family: "Times New Roman", Times, serif; 
  font-size: 15px;
}

ul {
  text-align: left;
}

tr a:link,
tr a:visited,
tr a:hover {
  text-decoration: none;
  color: blue;
}

body {
  background-color: #FFFAF0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

table {
  border: 1px solid white;
  border-collapse: collapse; 
  width: 100%;
  table-layout: fixed;
}

table td,
th {
  padding: 5px;
  border: 1px solid red;
  width: 50%;
}

table td {
  text-align: left;
}

tr:nth-child(even),
tr:nth-child(odd) {
  background-color: tan;
}

#name,
#email,
#phone,
#message {
  color: red;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 16px; 
  position: fixed; 
  bottom: 0;
  left: 0;
  right: 0;
}

nav {
  width: 100%;
  background-color: #333;
  padding-top: 10px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline-block;
}

nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  position: relative;
  transition: all 0.3s ease;
}

nav a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: transparent;
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #FF5722;
}

nav a:hover:before {
  background-color: #FF5722;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #FF5722;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

nav a:hover:after {
  width: 100%;
}

nav a:visited {
  text-decoration: none;
  color: #1976D2;
}
