h1 {
    font-family: 'Rubik Doodle Shadow', serif;
}

h2, h3, h4, li, p, figcaption {
    font-family: 'Montserrat', sans-serif;
}

/* ========== Header ===========*/

nav {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    font-size: 1.5rem;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin: 20px 0;
    padding-left: 0;
} 

nav ul li a {
    text-decoration: none;
    color: teal;
}

nav ul li a:hover {
    cursor: pointer;
    color: aqua;
}

/* ========== Main ===========*/

.splash {
    background-image: url('./images/splash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.splash-txt {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    background-color: black;
    color: white;
    width: 100%;
    height: fit-content;
}

.splash-txt h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 12px;
}

.splash-txt p {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 12px;
}

.splash figcaption {
    width: 100%;
    font-size: .75rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    color: white;
}

figcaption a {
    color: teal;
    text-decoration: none;
}

figcaption a:hover {
    color: aqua;
    cursor: pointer;
}

.mission h2 {
    font-size: 2rem;
    text-align: center;
    margin: 20px 0;
}

.mission p {
    font-size: 1.5rem;
    text-align: center;
    margin: 20px 0;
}

#products h2 {
    font-size: 2rem;
    text-align: center;
    margin: 20px 0;
}

.products {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
}

.product {
    display: inline-flex;
    flex-direction: column;
    flex: 1 0 200px;
    width: 100%;
    margin: 10px;
    border: 1px solid black;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
}

.product-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.product-img figcaption {
    font-size: .75rem;
    text-align: right;
}

.product-info {
    padding: 0 20px 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.product-info p {
    font-size: 1rem;
    margin: 10px 0;
}

#team {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

#team h2 {
    font-size: 2rem;
    text-align: center;
    margin: 20px 0;
}

.team {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
}

.team-member {
    display: inline-flex;
    flex-direction: column;
    flex: 1 0 200px;
    width: 100%;
    margin: 10px;
    border: 1px solid black;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
}

.team-member-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.team-member-img figcaption {
    font-size: .75rem;
    text-align: right;
}

.team-member-info {
    padding: 0 20px 20px;
}

.team-member-info h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.team-member-info h4 {
    font-size: 1.25rem;
    margin: 10px 0;
}

.team-member-info p {
    font-size: 1rem;
    margin: 10px 0;
}