/* CSS Reset - normalize spacing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body base styles */
body {
  font-family: Serif, sans-serif;
  padding: 30px;
  line-height: 1.6;
  background-color: #edbba4
}

/* Header styling */
header {
	text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
  font-family: "Bree Serif", serif;
  font-weight: 400;
  font-style: normal;
  padding: 20px;
  background-color: #f0e8e1;
  border: 10px groove #c4450a;
}


/* Grid layout: desktop specific */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

/* Grid items */
.grid-layout .item {
  background-color: #f0e8e1;
  border: 10px groove #c4450a;
  padding: 20px;
  
  text-align: center;
}

/* Adding padding below paragraph */
p {
  margin-bottom: 15px;
}

/* Image and text */
.image-text {
  text-align: center;
}

.image-text img {
  max-width: 100%;
  height: auto;
  background-color: #f0e8e1;
  border: 10px groove #c4450a;
  padding: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  width: 50%; /* Optional, adjust as needed */
  
}

/* Footer */
footer {
  text-align: Left;
  margin-top: 40px;
  color: #555;
}

/* Media Query: tablet specific */
@media (max-width: 768px) {
  /* 2 column grid for tablets */
  .grid-layout {
    grid-template-columns: repeat(1, 1fr);
  }

  body {
    background-color: #e3f2fd; /* lighter background on tablet */
  }
}

/* Media Query: smartphone specifc */
@media (max-width: 480px) {
  /* 1 column grid for smartphones */
  .grid-layout {
    grid-template-columns: 1fr;
  }

  body {
    background-color: #fffde7; /* lighter background available on phone */
  }

  header h1 {
    font-size: 1.4rem;
  }

  .grid-layout .item {
    font-size: 0.9rem;
    padding: 15px;
    
  }
  

}