:root {
    --primary-color: #2C4011; /* celtic */
    --secondary-color: #FDF8EF; /* Luxor Bold */
    --accent1-color: #3f5f7e; /* EastBay */
    --accent2-color: #8d9eb1; /* Bali Hai */
    --heading-font: "Times New Roman", "Georgia", serif;
    --body-font: Arial, Helvetica, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: var(--secondary-color);
    color: var(--accent2-color);
    margin: 1rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: flex-end;
    border-bottom: 1px solid #FDF8EF;
    max-width: 1000px;

    position: sticky;
    top: 0;
    z-index: 10;
}

body {
    font-family: var(--body-font);
    color: var(--primary-color);
    background-color: var(--secondary-color)
}

header, main, footer {
    width: 840px;
    margin: 0 auto;
}

.logo img {
    margin: 0 0.25rem 0 1rem;
    width: 64px;
    height: auto;
}

.navigation {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    list-style: none;
}

.navigation li {
    position:relative;
    flex: 0 0 auto;
}

.navigation a {
    display: block;
    color: var(--primary-color);
    padding: 20px;
    text-decoration: none;
    font-size: 1.2 rem; 
}

.navigation a:hover {
    color: var(--accent1-color);
    text-decoration: underline;
}

.dropdown-menu {
    display:none;
    position: absolute;
    top: 100%;
    left: 50;
    transform: translateX(-50);
    background-color: var(--secondary-color);
    list-style: none;
    padding: 0.5rem 1rem;
    border:1pxsolid var(accent2-color);
    border-radius: 4px;
    z-index: 20;
    min-width: 180px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0.5rem 0;
 }

 .dropdown-menu a {
    color:var(--primary-color);
    text-decoration: none;
    padding: 8px 0;
    display: block;
 }

 .dropdown-menu a:hover {
    color: var(--accent1-color);
    text-decoration:underline;
 }


h1, h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
}
.create h1 {
    text-align:center;
}

nav, p, section, article {
    margin: 16px;
    padding: 8px;
}

.socialmedia a {
    text-decoration: none;
}

.hero {
    position: relative;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

h1 {
    position: absolute;
    top: 300px;
    width: 100%;
    padding: 16px;
    text-align: center;
    opacity: 0.7;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.hero article img {
    float: left;
    width: 150px;
}

.hero article {
    position: absolute;
    margin: 0px;
    top: 390px;
    width: 100%;
    padding: 10px;
    text-align: center;
    opacity: 0.7;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.image-section {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.image-card {
    text-align: center;
    width: 400px;
    color: var(--primary-color);
}

.image-card h2 {
    margin-top: 1rem;
    font-family: var(--heading-font)
}

.image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-card img:hover {
    transform: scale(1.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 2rem;
    justify-items: center;
}

.project-card {
    text-align:center;
    width: 350px;
}

.project-card h3 {
    margin-bottom: 1rem;
    font-family: var(--heading-front);
}

.project-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.project-card img:hover {
    transform: scale(1.05);
}

.project-card p {
    font-size: 1 rem;
    line-height:1.4;
} 

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width:1000px;
    margin: 2rem auto;
    text-align: center;
}

.team-container img {
    width: 100;
    max-width: 250px;
    height:auto;
    border-radius: 8px;
}

.member h2 {
    margin-top: 0.5rem;
}

.member p {
    margin-top: 0.5rem;
}

footer {
  background-color: var(--primary-color);
  color: #fdf8ef;
  margin: 1rem auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between; /* separates text and icons */
  align-items: center;
  max-width: 1000px;
  border-bottom: 1px solid #fdf8ef;
}

footer p {
  margin: 0;
  font-size: 1rem;
}

.socialmedia {
  display: flex;
  gap: 1rem; /* spacing between icons */
}

.socialmedia a img {
  width: 30px; /* adjust size for better balance */
  height: auto;
}

 