* {
    margin: 0;
    padding: 0;
    bottom: 0;
    box-sizing: border-box;
}

:root {
     --color-background: #fffbdb;
    --color-text: #30362f;
    --color-textalt: #f6b092;
    --color-primary: #a59132;
    --color-secondary: #625834;
    --color-accent: #814513;
}

/* Header font */

/* font-family: "Lacquer", system-ui; 
font-style: normal; */

header {
    margin: 15px auto; 
    font-family: sans-serif; 
    color: var(--color-textalt); 
    background-color: var(--color-secondary); 
    padding: 10px;
    width: 80%;
}

body {
    background-color: var(--color-background); 
    color: var(--color-text); 
    font-family: verdana; 
    font-style: normal;
    margin: 0 auto;
    font-size: 1em;
}

h1 {
    font-family: "Lacquer", system-ui;
    text-align: center; 
    text-shadow: 2px 4px 4px #2f94b3; 
    font-size: 1.5em; font-weight: 300;
}

header nav {
    text-align: center; 
    padding: 5px; 
    text-shadow: 2px 4px 4px #2fb371
}

header nav a:hover {
    text-decoration: none;
    color: var(--color-accent);
}

nav a {
    color: var(--color-textalt); 
    text-decoration: none;
}

#list3 nav a,
#list4 nav a {
    color: var(--color-text);
}

#list3 nav a:hover,
#list4 nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.navigation {
    background-color: var(--color-primary);
    min-height: 50px;
    width: 50vw;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 10px;
    padding: 10px 0px;
    margin: auto;
}

.navigation a {
    /* border: 2px solid green; */
    /* padding: 8px 12px; */
    background-color: var(--color-secondary);
    color: var(--color-textalt);
    text-decoration: none;
    font-size: .5em;
}

.navigation .desktop {
    /* border: 2px solid green; */
    display: none;
}

.navigation .tablet {
    /* border: 2px solid salmon; */
    display: none;
}

.navigation .mobile {
    /* border: 4px solid red; */
    display: inline;
}

.images {
    display: flex;
    /* gap: 10px; */
    width: 80%;
    margin: 20px auto;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.images figure {
    text-align: center;
    position: relative;
    /* border: 2px solid red; */
}

.images figcaption {
    font-size: .5em;
}

img {
    flex: 0 0 25%;
    border-radius: 50%; 
    box-shadow: 6px 6px 8px var(--color-accent);
    aspect-ratio: 1;
    max-height: 80px;
    max-width: 80px;
}

img:hover {
    filter: opacity(90%);
}

.introduction {
    background-color: var(--color-primary); 
    color: var(--color-text); 
    width: 80%; 
    text-align: center; 
    margin: auto;
    font-size: .8em;
}

.introduction p {
    padding: 10px;
}

#list1 {
    display: inline-block; 
    text-align: left;
}

#list2 {
    display: inline-block; 
    text-align: left;
    padding-left: 10px;
    list-style-type: none;
    line-height: 1.4em;
}

.info {
    text-align: center; 
    padding-bottom: 15px;
    display: flex; width: 80%; 
    background-color:var(--color-primary); 
    margin: auto;
    font-size: .8em;
}

main article {
    flex: 1 0 50%;
}

#list3 {
    display: inline-block; 
    text-align: center; 
    padding-top: 7px;
    list-style-type: none;
}

#list4 {
    display: inline-block; 
    text-align: center; 
    padding-top: 7px;
    list-style-type: none;
}

article p {
    text-align: center;
}

h2 {
    text-align: center; 
    color: var(--color-text);
}


footer {
    color: var(--color-textalt); 
    text-align: center; background-color: 
    var(--color-secondary); 
    margin: auto;
    line-height: 1.1em;
}

@media screen and (min-width: 550px) {

    .navigation a {
        font-size: .75em;
    }

    .navigation .tablet {
    display: inline;
    }

    .images {
    /* display: flex; */
    /* gap: 10px; */
    /* width: 80%; */
    /* margin: 20px auto; */
    /* flex-flow: row wrap; */
    /* justify-content: space-evenly; */
    }

    .images figcaption {
    font-size: .6em;
    }

    img {
    /* flex: 0 0 25%; */
    /* border-radius: 50%;  */
    /* box-shadow: 6px 6px 8px var(--color-accent);  */
    max-height: 180px;
    max-width: 180px;
    /* aspect-ratio: 1; */
    }

    .introduction {
        font-size: .95em;
    }

    .info {
        font-size: .95em;
    }

}


@media screen and (min-width: 1020px) {

    .navigation a {
        font-size: 1.2em;
    }

    .navigation .desktop {
    /* border: 2px solid hotpink; */
    display: inline;
    }

    .navigation .tablet {
        /* border: 2px solid salmon; */
        display: inline;
    }

    .images {
    display: flex;
    /* gap: 10px; */
    width: 80%;
    margin: 20px auto;
    flex-flow: row wrap;
    justify-content: space-evenly;
    }

    img {
    /* flex: 0 0 25%; */
    /* border-radius: 50%;  */
    box-shadow: 6px 6px 8px var(--color-accent); 
    max-height: 300px;
    max-width: 300px;
    aspect-ratio: 1;
    }

    .images figcaption {
    font-size: 1em;
    }

    .introduction {
        font-size: 1.2em;
    }

    .info {
        font-size: 1.2em;
    }
}