
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');

#content{
    max-width: 1600px;
    margin: 0 auto;
}
nav{
    display: flex;
    justify-content: space-around;
}
nav a{
    text-align: center;
    color: black;
    text-decoration: none;
}
#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{
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top:150px;
}
#hero-msg h1, #hero-msg h4{
    text-align: center;
}
.button-box{
    text-align: center;
}

.home-grid{
    display: grid;
    grid-template-columns: repeat(10, 1fr );
} 

.about-background{
    display: grid;
    grid-template-columns: repeat(10, 1fr );
} 
.about-feed{
    color:#E7C24F ;
    text-align: center;
    font-size: 30px;
}

main section{
    text-align: center;
}
#background{
    height: 725px;
}
body{
    background-color: #235789  ;
    font-family:'Young Serif', serif; ;
    margin: 0;
    padding: 0;
}
h2{
    margin: 0;
}
header{
    background-color:#E7C24F ;
    display: grid;
    grid-template-columns: 150px auto;
}
nav a:hover{
    background-color: white;
    color: black;
}
.book, .join{
    background-color:#E7C24F ;
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}
.book:hover, .join:hover{
    background-color: #E7C24F;
    color: black;
}
.icon{
    padding: 10px;
}
#background{
    background-color: #E7C24F;
    grid-column: 1/11;
    grid-row:4/9;
}
.msg{
    background-color:#E7C24F ;
    line-height: 1.5em;
    padding: 35px;
    background-color: #6f7364;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #6f7364;
}
footer{
    background-color: #235789;
    color: black;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.home-title{
    color: white;
    font-family: 'Young Serif', serif;
    font-size: 2em;
    margin-top: 10px;
}
#hero-msg h4{
    color: white;
}
.msg h2{
    color: black;
    font-family: 'Young Serif', serif;
}

.msg p{
    color: black;
    font-size: 1.2em;
    padding-bottom: 15px;
}
.card-img{
    border: 10px solid #d9c2a3;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #6f7364;
}
.card-img, .mountains{
    width:100%;
}
.mountains{
    box-shadow: 5px 5px 10px #6f7364;
}
.card-img:hover {
    opacity: .6;
    transform: scale(1.1);
}
.rivers-card{
    grid-column: 2/4;
    grid-row: 2/3;
}
.camping-card{
    grid-column:5/7;
    grid-row:2/3;
}

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


.mountains{
    grid-column: 2/7;
    grid-row: 5/8;
}

footer a{
    color: black;
    text-decoration: none;
}
footer a:hover{
    color: black;
}
.logo{
    width: 80px;
}
.icon{
    width: 80px;
}
#hero-img{
    width: 100%;
}
#logo_link{
    padding-top: 5px;
    justify-self: center;
    align-self: center;
}
footer p{
    font-size: 1.2em;
}
footer p a:hover{
    text-decoration: underline;
}
section{
    line-height: 1.5em;
}
nav a{
    padding: 35px;
}
footer .social img {
    padding-top: 15px;
}

.card-img{
    border:  10px solid black;
}
.main section img{
    box-sizing: border-box;
}
@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;
    }
    .home-title {
        font-size: 25px;
        color: #6f7364;
    }
    .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;
    }
}
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
}
.text-grid {
    padding: 30px;
}
.image-grid {
    padding: 30px;
}
.mon-img{
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}
.slide-img{
    width: 100%;
    border-radius: 15px;
}
.slideshow-img{
    margin-bottom: 20px;
    padding: 30px;
}
.text-grid p{
    color: white;
    font-size: 18px;
    clear: both;
}
.slideshow-img p{
    color: white;
    text-align: center;
}
.text-grid p span{
    font-size: 30px;
    color: #E7C24F;
}
form {
    /* Center the form on the page */
    margin: 0 auto;
    width: 400px;
    /* Form outline */
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 1em;
  }
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  form li + li {
    margin-top: 1em;
  }
  
  label {
    /* Uniform size & alignment */
    display: inline-block;
    width: 90px;
    text-align: right;
  }
  
  input,
  textarea {
    /* To make sure that all text fields have the same font settings
       By default, textareas have a monospace font */
    font: 1em sans-serif;
  
    /* Uniform text field size */
    width: 300px;
    box-sizing: border-box;
  
    /* Match form field borders */
    border: 1px solid #999;
  }
  
  input:focus,
  textarea:focus {
    /* Additional highlight for focused elements */
    border-color: #000;
  }
  
  textarea {
    /* Align multiline text fields with their labels */
    vertical-align: top;
  
    /* Provide space to type some text */
    height: 5em;
  }
  
  .button {
    /* Align buttons with the text fields */
    padding-left: 90px; /* same size as the label elements */
  }
  
  button {
    /* This extra margin represent roughly the same space as the space
       between the labels and their text fields */
    margin-left: 0.5em;
  }
  #feedback {
    background-color: antiquewhite;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: .5em;
    /* make this element invisible until we are ready for it */
    display: none;      
}
.moveDown {
    margin-top: 3em;
}
   