@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&family=Playfair+Display&display=swap');


/*GLOBAL*/
body {
    padding-top: 5rem;

}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Playfair Display', serif;
}


main {
    padding: 20px;
}
main.container-fluid {
    width: 50%;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
}

nav {
    margin-bottom: 120px;
}

.navbar-brand {
    margin-left: 20px;
}

button.navbar-toggler{
margin-right: 10px;
}

.home_2col {
    margin-bottom: 20px;
}

img.dibley {
    max-width: 100%
}


/* GRID PAGE (grid.html)*/
.wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  grid-template-rows: auto auto auto auto auto; /* more rows to fit content */
  gap: 15px; /* spacing between boxes */
  max-width: 900px;
  margin: 0 auto;
}

.wrapper div {
  padding: 20px;
  font-weight: bold;
  color: black;
  border: 2px solid black; /* black border */
  border-radius: 6px;
}

/* Box colors + placement */
.box1 {
  grid-column: 1 / 4; /* spans all 3 columns */
  height: 150px;
  background-color: #8b3c3c; /* maroon */
}

.box2 {
  grid-column: 1 / 2;
  grid-row: 2 / 4; /* spans 2 rows */
  background-color: #f5e6a1; /* light yellow */
}

.box3 {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
  background-color: #a9c3a1; /* sage green */
}

.box4 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  background-color: #c9e2ff; /* light blue */
}

.box5 {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
  background-color: #7263f0; /* purple */
}

.box6 {
  grid-column: 1 / 4; /* spans all 3 columns */
  grid-row: 4 / 5;
  background-color: #e48bd3; /* pink */
  padding: 10px; /* smaller height */
}
