body {
  background-color: darkgray;
  font-family: arial, sans-serif;
}
header{
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  padding: 1rem;
  background-color: darksalmon;
  color:white;
}
.navbar{
  display: flex;
  padding: 0 15px;
}
.nav-menu {
  display: flex;
  list-style-type: none;
  padding:0;
  margin: 0;
  justify-content: center;
  gap: 1rem;
}
.nav-menu a:hover {
  color: darksalmon;
  background-color: darkblue;
}
section {
  transition: transform 0.3s ease;
}
section:hover {
  transform: scale(1.02);
}
main {
  padding: 2rem;
  margin: 1rem;
  border-style: dashed
}
main section {
  margin-bottom: 1rem;
  border: 1px solid #d3d3d3;
  padding: 1rem;
  background-color: #f0fff0;
  box-shadow: 5px 5px 10px darkgrey; 
}
footer {
  font-size: small;
  text-align: center;
  background-color: darksalmon;
  color: black;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
#projects {
  padding: 20px; 
  background-color: darksalmon;
}
#projects table {
  width: 100%;
  margin:20px 0;
}
#projects table thead th {
  background-color:grey;
  color:dark gray;
  text-align:left;
  padding: 10px;
}
#projects table caption {
  font-size: 1.5em;
  font-weight:bold;
  margin-bottom: 10px;
}
#projects table tbody td {
  text-align: left;
  padding: 8px;
  border: 1px solid charcoalgray;
}
#projects table tfoot td {
  text-align: left;
  padding: 8px;
  border: 1px solid charcoalgray;
}
#projects table colgroup col:nth-child(1), #projects table colgroup col:nth-child(3) {
  background-color:mint;
}
#contact {
  display: flex; 
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background-color: white;
  border: 1px; solid #ddd;
  border-radius: 5px;
}
form {
  display:flex; 
  flex-direction: column;
  gap: 10px;
}
label {
  margin-bottom: 5px;
}
input, textarea {
  transition: border-color 0.3s ease;
  border: 1px solid darkgray; 
  border-radius: 5px;
  
}
input:focus, textarea:focus {
  border-color: navyblue; 
  outline: none;
}
button {
  padding: 10px 20px; 
  transition: background-color 0.3s ease;
  cursor: pointer;
  color: black;
  border: none; 
  border-radius: 5px;
}
button:hover {
  background-color: navyblue;
}
button:focus {
  background-color:navyblue;
}
@media (min-width: 768px) 
{#contact {
  width:70%;
  margin: 0 auto;
}}
@media (min-width: 1024px)
{ #contact {width: 50%;}}
