body {
    font-family: Georgia, Arial;
    font-size: 22px;
    background-color: #7FC77F;
    margin: 0;
    padding: 0;
}

h2 {
    margin: 0;
}

#content {
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    width: 100px;
    margin: 25px 25px 25px 25px;
}

#logo-link {
    padding-top: 5px;
    justify-self: center;
    align-self: center;
}

p, h4 {
    font-family: "Trebuchet MS", Courier;
}

.home-title {
    color: white;
    font-size: 2em;
    margin-top: 10px;
}

#hero {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    /* grid-template-rows: 300px 300px; */
    margin-top: -100px;
}

#hero-background {
    background-color: #ffe4d2;
    grid-column: 1/4;
    grid-row: 1/3;
    z-index: -2;
}

#hero-box {
    grid-column: 1/4;
    grid-row: 1/3;
    z-index: -1;
}

#hero-img {
    width: 100%;
}

#hero-msg {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 100px;  
}

#hero-msg h1 {
    text-align: center;
}

#hero-msg h4 {
    text-align: center;
    color: white;
}

.button-box {
    text-align: center;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    /* grid-template-columns: 150px repeat(1fr, 8) 150px; */
}

main section {
    text-align: center;
}

main section img {
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-around;
}

nav a {
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 35px;
}

nav a:hover {
    color: white;
    background-color: #e200d3;
}

#background {
    height: 725px;
}

header {
    background-color: #52154E;
    display: grid;
    grid-template-columns: 150px auto;
}

.book {
    background-color: #52154E;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}

.join {
    background-color: #e200d3;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}


.book:hover {
    background-color: #e200d3;
    color: white;
}

.join:hover {
    background-color: #ff00d3;
    color: white;
}

#main-background {
    background-color: #ffe4d2;
    grid-column: 1/11;
    grid-row: 1/4;
    z-index: -2;
}

.card {
    margin: 200px 0;
}

.card-img {
    border: 10px solid #52154E;
    width: 100%;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #333333;
}

.card-img:hover {
    opacity: .6;
    transform: scale(1.1);
}

.rivers-card {
    /* width: 100%; */
    grid-column: 2/4;
    grid-row: 2/3;
}

.camping-card {
    /* width: 100%; */
    grid-column: 5/7;
    grid-row: 2/3;
}

.rapids-card {
    /* width: 100%; */
    grid-column: 8/10;
    grid-row: 2/3;
}

.mountains {
    width: 100%;
    grid-column: 2/7;
    grid-row: 5/8;
    box-shadow: 5px 5px 10px #333333;
}

#background {
    background-color: #3B3BCE;
    grid-column: 1/11;
    grid-row: 4/9;
}

h4 {
    color: black;
}

.icon {
    width: 80px;
    padding: 10px;
}

.msg {
    background-color: #52154E;
    line-height: 1.5em;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #333333;
}

.msg h2 {
    color: white;
}

.msg p {
    color: white;
    font-size: .8em;
    padding-bottom: 15px;
}

footer  {
    color: white;
    padding: 25px 50px;
    background-color: #333333;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer p {
    font-size: 1.2em;
}
footer p a:hover {
    text-decoration: underline;
}

footer .social img {
    padding-top: 15px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: rgb(161, 161, 161);
}






@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;
    }
}