/* starting reset */
html, body {
    margin: 0;
    padding: 0;
}

body {font-family: poppins, sans-serif;

}

header {
    display: flex;
    align-items: center;
  }
  
  .logo {
    margin-right: auto;
  }

  nav {
    width:100%;
    display: flex;
    justify-content: center;

}

nav ul {
display: flex;
}

nav ul li {
    margin: 8px 24px;
    list-style: none;
}
nav ul li a {
    color: #000000;
    text-decoration: none;
    align-items: baseline;
}


/* hero */
.hero {
    height: 50%;
    background-size: cover;
    display: flex;
    justify-content: center;
    

/* Position and center the image to scale nicely on all screens */
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

  width: 100%;
  height: 100%;
}

h1 {
    display: flex;
    justify-content: center;
color: rgb(94, 52, 0);
font-size: 30px;
}

.intro {
    display: flex;
    justify-content: center;
color: rgb(94, 52, 0);
font-size: 30px;
}

h3 {
    display: flex;
    justify-content: center; 
}

.button {
    background-color: rgb(94, 52, 0);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    justify-content: center; 

    display: block;
    margin: auto;
  
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    place-items: center;
  }
  
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    
  }
  
  .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
    justify-content: center;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  .caption {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #666;
  }
  
  @media (max-width: 768px) {
    .gallery-item {
      flex: 1 0 100%; /* Full width on smaller screens */
      max-width: 100%;
    }
  }

  
  /* Generic styling */
* {
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
  }
  ul {
    list-style: none;
    padding-left: 0;
  }
  footer {
    background-color: rgb(94, 52, 0);
    color: rgb(255, 255, 255);
    line-height: 1.5;
  }
  footer a {
    text-decoration: none;
    color: #eee;
  }
  a:hover {
    text-decoration: underline;
  }
  .ft-title {
    color: #fff;
    font-family: "Merriweather", serif;
    font-size: 1.375rem;
    padding-bottom: 0.625rem;
  }
  /* Sticks footer to bottom */
  body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }
  .container {
    flex: 1;
  }
  /* Footer main */
  .ft-main {
    padding: 1.25rem 1.875rem;
    display: flex;
    flex-wrap: wrap;
  }
  @media only screen and (min-width: 29.8125rem /* 477px */) {
    .ft-main {
      justify-content: space-evenly;
    }
  }
  @media only screen and (min-width: 77.5rem /* 1240px */) {
    .ft-main {
      justify-content: space-evenly;
    }
  }
  .ft-main-item {
    padding: 1.25rem;
    min-width: 12.5rem;
  }
  
  /* Footer main | Newsletter form */
  form {
    display: flex;
    flex-wrap: wrap;
  }
  input[type="email"] {
    border: 0;
    padding: 0.625rem;
    margin-top: 0.3125rem;
  }
  input[type="submit"] {
    background-color: #d18b00;
    color: #fff;
    cursor: pointer;
    border: 0;
    padding: 0.625rem 0.9375rem;
    margin-top: 0.3125rem;
  }
  /* Footer social */
  .ft-social {
    padding: 0 1.875rem 1.25rem;
  }
  .ft-social-list {
    display: flex;
    justify-content: center;
    border-top: 1px #d18b00;
    padding-top: 1.25rem;
  }
  .ft-social-list li {
    margin: 0.5rem;
    font-size: 1.25rem;
  }
  .ft-social-list li img {
    margin-top: 8px;
    vertical-align: middle;
    height: 2rem;
    width: 2rem;
  }

  /* Footer legal */
  .ft-legal {
    padding: 0.9375rem 1.875rem;
    background-color: #d18b00;
  }
  .ft-legal-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  .ft-legal-list li {
    margin: 0.125rem 0.625rem;
    white-space: nowrap;
  }
  /* one before the last child */
  .ft-legal-list li:nth-last-child(2) {
      flex: 1;
  }

  p {
    display: flex;
    justify-content: center;
  }

  .review img {
    border-radius: 4px;
    justify-content: center;
    height: auto;
    max-width: 50%;

  }