@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%
}

/*CSS Layout for my grid.html*/
.wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-template-rows: repeat(3,150px);
    gap: 12px;
    padding: 12px;
    background: #f4f4f9; /*soft background*/
    border-radius: 8px;
}

/*styling for all boxes*/
.box {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.box1 {
    background: #e63946;
    grid-column: 1 / 5;
    grid-row: 1 / 2;
}

.box2 {
    background: #457b9d;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.box3 {
    background: #2a9d8f;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
    
.box4 {
    background: #f4a261;
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.box5 {
    background: #264653;
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.box6 {
    background: #a8dadc;
    color: #222; /*text to dark for light background*/
    grid-column: 1 / 5;
    grid-row: 3 / 4;
}


