:root {
  --ff-body: "helvetica", sans-serif;
  --ff-heading: "helvetica", sans-serif;
  
  --clr-primary-400: hsl(60 100% 50%);
  --clr-neutral-900: hsl(0 0% 0%);
  --clr-neutral-100: hsl(0 0% 100%);
  
  --fs-xl: 5rem;
  --fs-600: 1.5rem;
  --fs-500: 1.25rem;
  --fs-400: 1rem;
  --fs-350: .6rem;
  --fs-300: .5rem;
  --fs-200: .2rem;

}

@media (min-width: 40em) {
  :root {
    --fs-xl: 5rem;
    --fs-600: 2.5rem;
    --fs-400: 2rem;
    --fs-350: 1.2rem;
    --fs-300: 1.2rem;
  }
}
body {
    
    margin: 3rem;
    padding: 1rem;
    text-align: start;
    margin-top:25px;
    margin-bottom:100px;   
    font-weight: bold;
    align-items: start;
    
    
}

h1 {
    
    margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  
}

h2 {
  font-size: var(--fs-350);
    font-family: var(--ff-body);
    
    
}
h3 {
  font-size: var(--fs-300);
    font-family: var(--ff-body);
}

p {
    
}

.site-title {
     text-decoration: none;
     color: black;
    
      text-align: center;
      
    
}

li {
    align-items: center;
    text-align: left;
    justify-content: center;
    font-family: var(--ff-body);
    font-size: var(--fs-400);
}

ul {
  list-style-type: none;
  margin: 1px;
  padding: 1px;
  width: 300px;
  text-align: center;
  align-items: center;
  justify-content: center;
  
}

header {
    
    background: #fff;
    font-size: var(--fs-600);
    color: black;
  
    display: static;
    justify-content: space-between;
    
    text-decoration: none;
    margin: 1px;
    text-align: right;
    font-family: var(--ff-body);
    
}

nav a {
    color: black;
   margin-bottom: 1rem;
    text-decoration: none;
    text-align: start;
    align-items: flex-start;
    justify-content: flex-start;
    
}   

    
}    

.hero {
    text-align: center;
    padding: 2rem 1rem;
    background: #eee;
}

@media (max-width: 768px) {
 .body{
    margin: 4rem;
    
}
  .topnav a {

    text-align: center;
    align-items: center;
    font-size: 20px;
    padding: 4px;
    flex-direction: column;
  }

  .body {
    margin: 1rem;
}
  .header{
    padding: 1rem;
    
}


}
  
nav.topnav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 3rem;
  


}
      
}

  .topnav ul {
    align-items: flex-start;
    text-align: flex-start;
    justify-content: flex-start;
    
    
    
}

  .topnav li {
    align-items: center;
    justify-content: center;
    
}
.image-wrapper{
    align-items: flex-start;
}

.hero-img {
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
    align-items: center;
    
}

.about {
    padding: 2rem 1rem;
    text-align: center;
}

.footer {
    background: white;
    color: black;
    text-align: start;
    padding: 1rem;
    margin-top: 2rem;
    font-family: sans-serif;
    font-weight: normal;
    font-size: var(--fs-200);
    font-family: var(--ff-body);
  
}

.email-form-wrapper {
  display: flex;
  justify-content: flex-end; /* horizontal centering */
  margin: 2rem 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; /* space between images */
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {

  body {
    margin: 1rem;
    padding: 0.5rem;
  }

  header {
    text-align: center;
    font-size: var(--fs-500);
    margin-bottom: 1rem;
  }

  nav.topnav {
    padding: 1rem;
    align-items: center;
  }

  .topnav ul {
    width: 100%;
    text-align: center;
  }

  .topnav li {
    margin-bottom: 0.5rem;
  }

  nav a {
    font-size: 1.1rem;
  }

  .image-wrapper {
    margin: 0;
    padding: 0;
  }

  .footer {
    text-align: center;
    margin: 1rem 0 0;
    padding: 1rem;
  }
}