
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #123;
    color: #EEE;
    line-height: 1.5;
    padding: 20px;
}


header {
    background-color: #000;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header h1 {
    text-transform: uppercase;
    font-weight: 700;
    color: #00f;
    letter-spacing: 1.5vw;
    font-size: 3em;
    margin: 0;
}


nav {
    background-color: #111;
    text-align: center;
    padding: 12px 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    padding: 12px 20px;
    
}

nav a:hover {
    background-color: #eee;
    color: grey;
}


main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: rgb(77, 59, 33);
    border-radius: 8px;
    box-shadow: 0 0 10px forestgreen;
}


section {
    margin: 40px 0;
    padding: 20px;
}


.hometown h1 {
    font-size: 3vw;
}
h2 {
    text-align: center;
    color: #EEE;
    text-transform: uppercase;
    letter-spacing: 1vw;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 2em;
}


p {
    padding: 0 20px;
}


img {
    border-radius: 8px;
    box-shadow: 2px 2px 10px #000;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

.photoArray {
    display: flex; /* get figures side by side */
    flex-flow: row wrap; /* display them in a row, but column if narrow */
    justify-content: space-around;

}

.photoArray figure {
    
    flex: 0 0 auto;
    width: 300px; aspect-ratio: 1;
    

}

.hometown .photoArray figure:nth-child(1) {
    background-image: url(../images/westlinn2.jpg);
}

.hometown .photoArray figure:nth-child(2) {
    background-image: url(../images/westlinn1.jpg);
    background-size: cover;
}

footer {
    background-color: #000;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

footer p {
    margin: 6px 0;
    font-size: 0.9em;
    color: #AAA;
}
