*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: currentColor;
  list-style-type: none;
  border: none;
  outline: none;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}
:root{
  --primary-text-color: aliceblue;
  --secondary-text-color: #666;
  --primary-color: #3E2723;
  --secondary-color: #FF6F00;
  
}
.container{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
#header, #nav{
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem;
  background: linear-gradient(135deg, #6B4423 0%, #3E2723 100%);
  color: var(--primary-text-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-child{
  flex: 1 1 min(550px, 100%);
}
.hero {
  background: #8D6E63;
  padding: 1rem .5rem;
  position: relative;
  z-index: -2;
}
.hero p{
  font-size: 1.2rem;
  margin: 1.2rem 0 2rem 0;
}
.hero::before{
  content: 'Coffee Shop Interior';
  position: absolute;
  z-index: -1;
  color: var(--primary-text-color);
  font: 900 2.5rem sans-serif;
}
.hero-overlay{
  width: min(550px, 100%);
  background: rgba(0,0,0,0.5);
  padding: 2.5rem;
  color: var(--primary-text-color);
  text-align: center;
  border-radius: 10px;
}
.cta-button{
  background: var(--secondary-color);
  cursor: pointer;
  padding: 1rem 2.2rem;
  color: var(--primary-text-color);
  min-width: 20em;
  margin-bottom: 1rem;
}
.section-title{
  text-align: center;
  width: 100%;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}
h3{
  color: var(--primary-color);
  font-size: 1.4rem;
  width: 100%;
  margin: 1rem 0;
  padding: 0 .5rem;
}
.write-up{
  color: var(--secondary-text-color);
  padding: 0 .5rem;
}
#featured{
  padding: 4rem .5rem;
  gap: 1rem;
  background: #f5f5f5;
}
.card{
  flex-direction: column;
  align-self: stretch;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  flex: 0 1 min(300px, 100%);
}
.card-image{
  aspect-ratio:1.3/1;
  width: 100%;
}

.card-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin: 1rem 0;
  width: 100%;
  padding: 0 .5rem;
}
#features{
  text-align: center;
  gap: 1.5rem;
  padding: 4rem .5rem;
}
.feature-icon {
  width: 80px;
  aspect-ratio: 1/1;
  background-color: #6B4423;
  border-radius: 50%;
  margin: 0 auto;
  font-size: 2.5rem;
}
.feature-item{
  flex: 0 1 min(300px, 100%);
}
section.newsletter {
  background: linear-gradient(135deg, #3E2723 0%, #6B4423 100%);
  color: var(--primary-text-color);
  padding: 4rem 3%;
  text-align: center;
}
.newsletter h2 {
  font-size: 2rem;
  margin: 0 0 20px 0;
}
.newsletter p {
  font-size: 1.5rem;
  margin: 0 0 30px 0;
}
.newsletter-form{
  gap: .25rem;
  align-items: stretch;
}
.newsletter-form input {
    padding: .5rem;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--primary-color);
}
.newsletter-form button {
    background: var(--secondary-color);
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
}
footer#footer {
    background-color: #212121;
    color: var(--primary-text-color);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    justify-content: space-between;
}
.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
.footer-section ul li {
  margin-bottom: 10px;
}
#about, #contact{
  flex: 0 1 min(300px, 100%);
}
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #444;
    color: #999;
    width: 100%;
}