*,
*::before,
*::after {
    box-sizing: border-box;
}

/*color palette: https://coolors.co/palette/606c38-283618-fefae0-dda15e-bc6c25 */
/* font-family: 'Commissioner', sans-serif;
    font-family: 'Fraunces', serif; */


body {
    display: grid;
    grid-template-areas:
        "navbar"
        "header"
        "intro"
        "contact";
    font-family: 'Commissioner', sans-serif;
}

main {
    grid-area: intro;
    display: flex;
    flex-direction: column;
}

footer {
    grid-area: contact;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fraunces', serif;
}

header {
    grid-area: header;
    display: flex;
    flex-direction: column;
}

.banner {
    height: 700px;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/stacked.jpg");
    background-size: cover;
    background-position: right 70%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 10%;
}

.bolded {
    color: #283618;
}

.letter {
    max-width: 1000px;
    border-radius: 15px;
}

.cover {
    width: fit-content;
}

.features {
    padding: 3rem 4rem;
    background-color: #FEFAE0;
    gap: 3rem;
}

.meet {
    background-color: #283618;
    color: white;
    max-width: fit-content;
    padding: 1rem;
    border-radius: 10px;
    transition: all 400ms ease-out;
}

.meet a {
    text-decoration: none;
    color: white;
}

.meet:hover,
.meet:focus {
    background-color: #606c38;
}

.thumbnail {
    height: 100%;
}

.thumbnail img,
.type img,
.cover {
    object-fit: cover;
}


.icon {
    font-size: 2rem;
}


.company-name {
    color: white;
    /* padding: 2%; */
    border-radius: 10px;
}

.motto {
    color: white;
    /* padding: 2%; */
    border-radius: 10px;
    font-family: 'Commissioner', serif;
}

.check-it-out {
    background-color: #283618;
    color: white;
    text-align: center;
}

.action {
    background-color: #606c38;
    text-decoration: none;
    border-radius: 5px;
    color: white;
    padding: 0.5rem 1rem;
    transition: all 400ms ease-out;
}

.action:hover,
.action:focus {
    background-color: #FEFAE0;
    color: black;
}

.who-we-are {
    min-width: fit-content;
    padding-top: 5%;
}

.vert-line {
    display: none;
}

.horiz-line {
    width: 50%;
    height: 0.1rem;
    background-color: #283618;
    border-radius: 5px;
}

@media only screen and (min-width: 992px) {

    .thumbnail {
        /* height: 35rem; */
        flex-basis: 60%;
    }

    .thumb {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .horiz-line {
        display: none;
    }

    .who-we-are {
        padding-left: 5%;
        padding-top: 0;
    }

    .vert-line {
        display: inline;
        width: 0.25rem;
        height: 50%;
        background-color: #283618;
        border-radius: 5px;
    }

    .switch {
        flex-direction: row !important;
    }

    .intro {
        align-items: center !important;
    }

}

.logo {
    font-family: 'Commissioner', sans-serif;
    font-size: 2rem;
}



nav {
    background-color: #283618;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    position: relative;
}

/* source: https://codepen.io/jstn/pen/mdoOZJ  */
nav a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #FEFAE0;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

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

nav a:hover:after,
nav a:hover:after {
    width: 100%;
    left: 0;
}