@font-face {
    font-family: "Barber Chop";
    src: url("fonts/BarberChop.otf");
}

@font-face {
    font-family: "Hey Comic";
    src: url("fonts/HeyComic.otf");
}

body {
    background-color: #fcfbfb;
    margin: 0;
    padding: 0;
    font-size: 22px;
}

h2 {
    margin: 0;
}

#content {
    max-width: 1600px;
    margin: 0 auto;
}

header {
    background-color:rgba(20,30,13, .7);
    display: grid;
    grid-template-columns: 150px auto;
    padding: 10px;
    align-items: center;
}

header img {
    float: left;
}

p {
    font-family: "Hey Comic", cursive;
}

#logo {
    display: inline;
    width: 80px;
    height: 64px;
    float: left;
    justify-self: center;
}

#logo_link {
    padding: 5px;
    justify-self: center;
    align-self: center;
}

nav {
    display: flex;
    justify-content: space-around;
}

nav a {
    text-align: center;
    color: #d9c2a3;
    margin: 1%;
    padding: 35px;
    display: block;
    min-width: 100px;
    text-decoration: none;
    font-family: "Barber Chop", cursive;
}

nav a:hover {
    background-color: black;
    color: #d9c2a3;
}

#hero {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    margin-top: -150px;
}

#hero-box {
    grid-column: 1/4;
    grid-row: 1/3;
    z-index: -1;
}

#hero-img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
}

#hero-msg {
    margin-top: 100px;
}

#hero-msg h4 {
    color: white;
}

#hero-msg h1, #hero-msg h4 {
    text-align: center;
}

.home-title {
    color: #d9c2a3;
    font-family: 'Barber Chop', serif;
    font-size: 2em;
    margin-top: 10px;
}

h4 {
    color: black;
}

.button-box {
    text-align: center;
}

.book, .join {
    background-color: #d9c2a3;
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}

.book:hover, .join:hover {
    background-color: #fcfbfb;
    color: #d9c2a3;
}

main section {
    text-align: center;
    width: 100%;
    margin: auto;
}

main section img {
    box-sizing: border-box;
}

main section h2 {
    font-family: "Hey Comic", cursive;
}

#home-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.campingImg, .riversImg, .rapidsImg {
    margin: 200px 0;
}

.riversImg {
    grid-column: 2/4;
    grid-row: 2/3;
}

.campingImg {
    grid-column: 5/7;
    grid-row: 2/3;
}

.rapidsImg {
    grid-column: 8/10;
    grid-row: 2/3;
}

.cardImg {
    border: 10px solid #d9c2a3;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #6f7364;
}

.card-img:hover {
    opacity: .6;
    transform: scale(1.1);
}

.icon {
    width: 80px;
    padding-top: 10px;
}

#background {
    background-color: #d9c2a3;
    height: 725px;
    grid-column: 1/11;
    grid-row: 4/9;
}

.mountains {
    width: 100%;
    grid-column: 2/7;
    grid-row: 5/8;
    box-shadow: 5px 5px 10px #6f7364;
}

.msg {
    background-color: rgba(20,30,13, .7);
    line-height: 1.5em;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #6f7364;
}

.msg h2 {
    color: white;
    font-family: 'Barber Chop', serif;
}

.msg p {
    color: white;
    font-size: .8em;
    padding-bottom: 15px;
}

footer {
    background-color: rgba(20,30,13, .7);
    color: #d9c2a3;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer p {
    font-size: 1.2em;
}

footer p a {
    color: #d9c2a3;
    text-decoration: none;
}

footer p a:hover {
    color: #d9c2a3;
    text-decoration: underline;
}

footer .social a img {
    padding-top: 15px;
}

@media screen and (max-width: 900px) {
    #hero, .home-grid {
        display: block;
        height: auto;
    }
    nav, footer {
        flex-direction: column;
    }
    nav a {
        display: block;
        padding: 15px;
    }
    #hero {
        margin-top: 0;
    }
    #hero-msg {
        margin-top: 0;
    }
    #hero-msg h4 {
        display: none;
    }
    #hero-msg h1 {
        color: #6f7364;
    }
    .home-title {
        font-size: 25px;
    }
    .rivers-card, .camping-card, .rapids-card {
        margin: 50px auto;
        width: 60%;
    }
    #background {
        display: none;
    }
    .mountains, .msg {
        width: 80%;
        display: block;
        margin: 0 auto;
    }
    footer {
        margin-top: 25px;
    }
}