body {
    margin: 0;
    /* border: 2px solid black; */
    font-family: 'Ubuntu', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    /* border: 1px solid magenta; */
    margin: 0 auto;
}

.container-flex {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    column-gap: 20px;
}

/* ==========
   Typography 
   ==========*/

h1 {
    font-family: 'Lora', sans-serif;
    font-weight: 700;
    color: #143774;
    font-size: 4em;
    margin: 0;
}

h2 {
    font-family: 'Lora', sans-serif;
    font-weight: 400;
    color: #143774;
    font-size: 2.5rem;
    margin: 0;
}

h3 {
    font-family: 'Lora', sans-serif;
    font-weight: 300;
    color: #143774;
    font-size: 1.5em;
    margin: 0;
}

.subtitle {
    font-weight: 300;
    color: #aa4400;
    font-size: 1.5rem;
    margin: 0;
}

/* ==========
     Layout header
   ==========*/

header {
    text-align: center;
    background: #dadada;
    padding: 2em 0;
}

/* Navigation */

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin-left: 2em;
}

nav a {
    text-decoration: none;
    color: #707070;
    font-weight: bold;
    padding: 0.25em;
}

nav a:focus,
nav a:hover {
    color: #aa4400;
}

.current-page {
    border-bottom: 1px solid #707070;
}

.current-page:hover {
    color: #aa4400;
}

/* ==========
     Layout index
   ==========*/

.box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    height: 150px;
    width: 250px;
    background-color: #dadada;
    border-radius: 50px;
    background-image: url('flexbox-background.jpg');
    background-size: cover;
    background-position: center;
    color: #aa4400;
    font-weight: 900;
    font-size: 2rem;
    text-align: center;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
}

.home-image {
    width: 25rem;
    height: auto;
}


/* use the following two lines to center a <div>:

    display: flex;
    justify-content: center;
    align-items: center;
   
    better is to use gaps and spread things evenly:

    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    align-content: center; */