/* Import Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rock+Salt&display=swap');

body {
    background-color: #fdfcfc;
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 22px;
    padding: 0px;
    margin: 0px;
}

h2 {
    margin: 0px;
}

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

header {
    background-color: #2089AC;
    color: white;
    display: grid;
    grid-template-columns: 150px auto;
    align-items: center;
    justify-items: center;
}

.logo {
    width: 80px;
    border-radius: 10px;
}

#logo-link {
    padding-top: 5px;
    justify-self: center;
    align-self: center;
}

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

nav a {
    text-align: center;
    text-decoration: none;
    color: white;
    padding: 35px;
}

nav a:hover {
    color: #2089AC;
    color: black;
}

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

#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, #hero-msg p {
    text-align: center;
    color: white;
}

.home-title {
    font-family: "Rock Salt", "Comic Neue", sans-serif;
    font-size: 2em;
    margin-top: 10px;
}

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

.book, .join {
    background-color: #6F8F66;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 50px;
}

.book:hover, .join:hover {
    background-color: #2089AC;
    color: white;
}

main {
    display: grid;
    grid-template-columns: repeat(10, 1fr);

}

main section {
    text-align: center;
}

.rivers-card, .camping-card, .rapids-card {
    margin: 200px 0;
    grid-row: 2/3;
}

.rivers-card {
    grid-column: 2/4;
}

.camping-card {
    grid-column: 5/7;
}

.rapids-card {
    grid-column: 8/10;
}

.card-img {
    width: 100%;
    border: 10px solid #1E314C;
    transition: transform 0.5s, opacity 0.5s;
    box-shadow: 5px 5px 10px #514B23;
}

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

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

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

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

.msg {
    background-color: #514B23;
    line-height: 1.5em;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #1E314C;
}

.msg h2 {
    color: #8ca8ad;
    font-family: "Rock Salt", "Comic Neue", sans-serif;
}

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

footer {
    background-color: #1E314C;
    color: white;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer p {
    font-size: 1.2em;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    color: #2089AC;
}

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

footer .social 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;
        align-self: end;
    }
    #hero {
        margin-top: 0;
    }
    #hero-msg {
        margin-top: 0;
    }
    #hero-msg p {
        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;
    }
}