@import url('https://fonts.googleapis.com/css2?family=Barriecito&family=Barrio&family=Gowun+Dodum&family=Quicksand:wght@300..700&display=swap');

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

#logo_link{
    padding-top:5px;
    justify-self: center;
    align-self: center;
}
.logo{
    width: 100px;
}
nav{
    display:flex;
    justify-content: space-around;

}
nav a{
    text-align:center;
    color:#d9c2a3;
    text-decoration: none;
    padding: 35px;
}
nav a:hover{
    background-color: rgb(181, 197, 181, 0.4);
    color:#d9c2a3;
}
.home-title{
    color:#506350;
    font-family: Barriecito, Barrio, sans-serif;
    font-size: 2em;
    margin-top: 10px;
}
h4{
    color:#d9c2a3;
}
#hero{
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    Margin-top: -110px;
    width: 100%;
}
#hero-box{
    grid-column: 1/4;
    grid-row:1/3;
    z-index: -1;
}
#hero-msg{
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 100px;
}
#hero-msg h1{
    text-align:center;
    color:#d9c2a3;
}
#hero-msg h4{
    text-align:center;
    color:white;
}
#hero-img{
    width: 100%;
}
.button-box{
    text-align:center;
}
main section{
    text-align:center;
    box-sizing: border-box;
}
#background{
    height: 725px;
}
body{
    background-color: #fcfbfb; 
    font-family: Quicksand, "Gowun Dodum", sans-serif;
    font-size: 22px;
    margin: 0;
    padding: 0;
}
h2{
    margin: 0;
}
header{
    background-color: rgba(20,30,13, .6);
    display: grid;
    grid-template-columns: 150px auto;
}

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

}
.book:hover{
    background-color: #fcfbfb;
    color:#506350;
    
}
.join:hover{
    background-color: #fcfbfb;
    color:#506350;
}
.home-grid{
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}
#background{
    background-color: #506350;
    grid-column: 1/11;
    grid-row: 4/9;
}
.msg{
    background-color: #d9c2a3;
    line-height: 1.5em;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #506350;
}
.msg h2{
    color:#d9c2a3;
    font-family: Barriecito, Barrio, sans-serif;
}
.msg p{
    color:#506350;
    font-size: .8em;
    padding-bottom: 15px;
}
.icon{
    width: 80px;
    padding-top: 10px;
}
.card-img{
    border: 10px solid #d9c2a3;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #506350;
    width: 100%;
}
.card-img:hover{
    opacity: .6;
    transform: scale(1.1);
}
.mountains{
    width: 100%;
    grid-column: 2/7;
    grid-row: 5/8;
    box-shadow: 5px 5px 10px #d9c2a3;
}
.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;
}

footer{
    background-color: #d9c2a3;
    color:#506350;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer a{
    color:#506350;
    text-decoration: none;
}
footer a:hover{
    color:#506350;
}
footer p{
    font-size: 1.2em;
}
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;
    }
    #hero{
        margin-top: 0;
    }
    #hero-msg{
        margin-top: 0;
    }
    #hero-msg h4{
        display: none;
    }
    #hero-msg h1{
        color: #506350;
    }
    .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;
    }
}
