
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@1,400..700&display=swap');

div {
    width: 100%;
}

#content {
    margin: 0 auto;
}

nav {
    text-align: center;
    margin: 15px;
    display: flex;
    justify-content: space-around;
}

nav a {
    text-align: center;
    color:#515B36;
    text-decoration: none;
    padding: 16px 50px;

}

nav a:hover {
    background-color: black;
    color: white;
}

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

main section {
    text-align: center;
}

#background {
    height: 725px;
}

body {
    background-color: #10354F;
    color: #D3A550;
    font-family: "Libre Baskerville", serif;
    font-size: 22px;
    margin: 0;
    padding: 0;

}

header {
    background-color:rgba(20,30,13,.7);
    color: #515B36;
    font-family: "Libre Baskerville", serif;
    display: grid;
    grid-template-columns: 150px auto;
}

.book {
    background-color: #515B36;
    color: #8D532E;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin: 50px;
    border-radius: 5px;
}

.join {
    background-color: #D3A550;
    color: #10354F;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin: 50px;
    border-radius: 5px;
}

.book:hover {
    background-color: #8D532E;
    color: black;
}

.join:hover {
    background-color: #10354F;
    color: green;
}

#background {
    background-color: white;
    color: black;
    grid-column: 1/11;
    grid-row: 4/9;
}

.msg {
    background-color: black;
    color: #515B36;
    line-height: 1.5em;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #6f7364;
}

.msg h2 {
    color:#D3A550
}

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

footer {
    background-color: #10354F;
    color: #8D532E;
    font-size: 1.2em;
    padding: 25px 50px;
    margin-top: 20px;
     display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
}

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

footer a:hover {
    color:#8D532E;
}

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

.logo {
    width: 80px;
}

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


.home-title {
    color: yellow;
    font-family: "Libre Baskerville", serif;
    font-size: 2em;
    margin-top: 10px;
}

h4 {
    color:#8D532E;
}

h2 {
    margin: 0;
    text-align: center;
}

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


footer .social img {
    padding-top: 15px;
    justify-self: center;
    align-self: center;
}

.rivers-card {
    margin: 200px 0;
    grid-column: 2/4;
    grid-row: 2/3;
}

.camping-card {
    margin: 200px 0;
    grid-column:5/7;
    grid-row: 2/3;
}

.rapids-card {
    margin: 200px 0;
    grid-column: 8/10;
    grid-row: 2/3;
}

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

.card-img {
    border: 10px solid black;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #6f7364;
    width: 100%;
}

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

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

#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;
}

#hero-img {
    width: 100%
}

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

}

.home-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    margin-bottom: -50px;

}


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

@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;
    }
    #her0o-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;
    }
}