#content {
    max-width: 1600px;
    margin: 0 auto;
}
nav a {
    text-align: center;
    color: rgb(2, 53, 2);
    text-decoration: none;
    color: black;
    font-family: "coolvetica";
    font-size: 25px;
    padding: 35px;

}
nav {
    display: flex;
    justify-content: space-around;
}
#hero-msg h1, #hero-msg h4 {
    text-align: center;
}
#hero-msg {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 100px;
}
        
#hero {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    margin-top: -100px;
}
#hero-box {
    grid-column: 1/4;
    grid-row: 1/3;
    z-index: -1;
}
/* #hero-msg h4 {
    color: white;
} */
#hero-img {
    width: 100%;
    position: relative;
    top: -100px;         
}
.button-box {
    text-align: center;
}
main section {
    text-align: center;
}

#background {
    height: 725px;
}

body {
    background-image: linear-gradient(rgb(37, 143, 143), rgb(138, 255, 220));
;
    margin: 0;
    padding: 0;
}
h2 {
    font-family: "coolvetica";
    font-size: 2em;
    margin: 0;
}

header {
    background-color: rgba(183, 253, 253, 0.661);
    display: grid;
    grid-template-columns: 150px auto;
}
nav a:hover {
    background-color: rgb(0, 0, 0);
    color: white;
    
}
.book, .join {
    background-color: lightgreen;
    color: black;
    text-align: center;
    color: rgb(2, 53, 2);
    text-decoration: none;
    font-family: "coolvetica";
    font-size: 2em;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;

}
.book:hover, .join:hover {
    background-color: black;
    color: white;
    font-family: "coolvetica";
    font-size: 2em;
}
#background {
    background-image: linear-gradient(white, black);
}
.msg {
    background-color: lightgreen;
    padding: 35px;
}
footer {
    background-color: lightgreen;
    color: black;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;

}
a:hover {
    background-color: black;
}
.home-title {
    color: rgb(0, 79, 0);
    margin-top: 10px;
    text-shadow: 1px 1px 9px white;
}
h4 {
    color: darkgreen;
    font-family: "coolvetica";
    font-size: 2em;
    text-shadow: 0px 0px 9px white;
}

.msg h2 {
    color: black;
    font-family: "coolvetica";
    font-size: 2em;
}
.msg p {
    color: rgb(0, 66, 0);
    padding-bottom: 15px;
}

footer a {
    color: black;
    text-align: center;
    color: rgb(2, 53, 2);
    text-decoration: none;
}
footer a:hover {
    color: white;
}
.logo {
    width: 90px;
}
.icon {
    width: 80px;
    padding-top: 10px;

}

footer p {
    font-size: 1.2em;
}    
footer p a:hover {
    text-decoration: underline;
}    

@font-face {
    font-family: "impact2";
    src: url(../fonts/Impacted2.0.ttf);
}
@font-face {
    font-family: "coolvetica";
    src: url(../fonts/coolvetica/Coolvetica\ Rg.otf);
}


.home-title {
    font-family: "impact2";
    font-size: 5em;
}
.msg h2, h2 {
    font-family: "coolvetica";
    font-size: 3em;
}

p {
    font-family: "coolvetica";
    font-size: 2em;
}
#logo_link {
    padding: 5px;
    justify-self: center;
    align-self: center;
}
footer .social img {  
    padding-top: 15px;
}
.rivers-card, .camping-card, .rapids-card {  
    margin: 200px 0;
}
.card-img {
    border: 10px solid #3591fa;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #6f7364;
}
.card-img:hover {
    opacity: .6;
    transform: scale(1.1);
}
main section img {
    box-sizing: border-box;
}
.card-img, .mountains {
    width: 100%;
}
.home-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}
.rivers-card {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

/* Camping card: columns 5–7, rows 2–3 */
.camping-card {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
}

/* Rapids card: columns 8–10, rows 2–3 */
.rapids-card {
    grid-column: 8 / 10;
    grid-row: 2 / 3;
}

/* Background div: columns 1–11, rows 4–9 */
#background {
    grid-column: 1 / 11;
    grid-row: 4 / 9;
}

/* Mountains image: columns 2–7, rows 5–8 */
.mountains {
    width: 100%;
    grid-column: 2/7;
    grid-row: 5/8;
    box-shadow: 5px 5px 10px #6f7364;
}

/* Message section: columns 6–10, rows 6–7 */
.msg {
    background-color: #90d777;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #0d3f00;

}
@media screen and (max-width: 900px) {
    #hero, .home-grid {
        display: block;
        height: auto;
        position: relative;
        top: 100px; 
    }
    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: darkgreen;
        font-size: 3em;
    }
    .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;
    }
}