
/*Header Content*/
header{
    background-image: url(../images/Heritage-Hats-Header.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 100%;
    padding: 0.5em 2.75em;
}
nav{
    background: none;
    display: flex;
    justify-items: center;
    align-items: center;
    width: 100%;
    height:100%;
}
nav ul{
    width: 100%;
    list-style: none;
    display: inline-flex;
    justify-content: center;
    align-items:center;
}
 nav li{
    height: 3.125em;
    display: inline;
    justify-content: space-between;
 }
 nav a{
    height: 100%;
    padding: 0 1em;
    display: flex;
    align-items: center;
    color:#D2B48C;
    font-family: 'Avenir Next LT Pro';
 }
 nav a:hover{
    color:#A76825;
 }
.company-logo{
    margin-right: auto;
}
.sidebar{
    position: fixed;
    top:0;
    right:0;
    height: 100vh;
    width: 15.625em;
    z-index: 999;
    background-color:#273F5B;
    display: none;
    flex-direction: column;
    align-items:flex-start;
    justify-content: flex-start;
}
.sidebar li{
    width:-100%;
}
.sidebar a{
    width: -100%;
}
.menu-button{
    display: none;
}
.hero-content{
    color:#F5F5DC;
}
.hero-content h1, h5, p{
    margin: 0.5em auto;
}
/*About Us*/
#about-us{
    margin: 2em 3em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
}
#about-us img{
    max-width: 100%; 
}
/*Hat Types*/
#hat-types{
    margin: 2em 3em;

}
.brand-logo{
  max-width: 100%;
  height: auto;
}
.hat-gallery{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
    text-align:center;
    margin: 1em 0 0 0;
}
.button{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5em 0;
}
#restoration-services{
    margin: 2em 3em;
}
.services{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.5em;
    margin: 1em;
}
.card-1,.card-2{
    display: block;
    align-items: center;
}
.container-1{
    background-color:#4682B4;
    color:#F5F5DC;
    text-align: center;
    padding: 1em 0.5em ;
    max-width: 281px;
}
.container-2{
    background-color:#D2B48C;
    color:#273F5B;
    text-align: center;
    padding: 1em 0.5em;
    max-width: 281px;
}
.icon{
    position:relative;
    left: 32%;
    top: 15%;
}
.reminder{
   text-align: center;
   margin: 1em 1em;
}
.container {
    position: relative;
    max-width: 800px; /* Maximum width */
    margin: 0 auto; /* Center it */
}
  .containter,.content-1,.content-2{
    position: absolute; /* Position the background text */
    bottom: 0; /* At the bottom. Use top:0 to append it to the top*/
    width: 100%; /* Full width */
    padding: 20px; /* Some padding */
    font-family: 'Avenir Next LT Pro';
  }
  .content-1{
    background-color: #D2B48C;
    color: #273F5B;
    padding: 1em 1.5em;
  }
  .content-2{
    background-color: #4682B4;
    color: #F5F5DC;
    padding: 1em 1.5em;
  }

  #what-customers-say{
    background-image: url(../images/Woodbackground.jpg);
    background-size: cover;
    color: #F5F5DC;
    padding: 1em 1.5em;
  }
  #what-customers-say h2{
    text-align: center;
  }
  .quote-1,.quote-2{
    margin: 2em 3em;
  }
  #events-and-conventions{
    margin: 2em 3em;
  }
  .gallery{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    column-gap: 2em;
    row-gap: 1em;
    margin: 0;

  }
  .image{
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0;
    padding:0;
  }
  .phone{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  footer{
    background-color: #4682B4;
  }

  .footer-content{
    margin: 1em 2em 0 2em;
    padding: 1em;
    color:#F5F5DC;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2em;
    font-family: 'Avenir Next LT Pro';
  }
  .footer-content ul{
    list-style-type:none;
  }
  .phone-number,.location{
    display: inline-flex;
    align-items: center;
  }