@charset "utf-8";

/*
My colors are:
rgb(85, 107, 47), dark green
rgb(143, 163, 30), medium green
rgb(198, 216, 112), light green
rgb(239, 245, 210), grey green
rgb(252, 181, 59), burnt orange
*/
@font-face {
    font-family: Golfer;
    src: url("Oswald-VariableFont_wght.ttf");
}
*{
    color: rgb(85, 107, 47);
}

a:link, a:visited{
    color: rgb(252, 181, 59);
    text-decoration: none;
}

a:hover, a:focus{
    color: rgb(198, 216, 112);
    text-decoration: underline;
}

h1{
    font-family: Golfer;
}

body {
  background-color: rgb(239, 245, 210);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 10px;
}

header, main, footer, article, aside {
  background-color: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}

nav {
  background-color: rgb(85, 107, 47);
  padding: 10px;
  border-radius: 8px;
}

nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

nav a {
  color: white;
  font-weight: bold;
}

nav a:hover {
  color: rgb(252, 181, 59);
}

header, main, footer, article, aside {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header {
  background: linear-gradient(to right, rgb(198, 216, 112), rgb(143, 163, 30));
  color: white;
}

figure img {
  transition: transform 0.3s ease-in-out;
}

figure img:hover {
  transform: scale(1.03);
}

h2 {
  margin-bottom: 15px;
}

h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th, table td {
  border: 1px solid rgb(198, 216, 112);
  padding: 8px;
  text-align: left;
}

table th {
  background-color: rgb(239, 245, 210);
}

article p {
  margin-bottom: 15px;
}