@import url('https://fonts.googleapis.com/css2?family=IM+Fell+French+Canon&family=Lato:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Protest+Guerrilla&display=swap');

/* HOME PAGE */
#content {
    max-width: 1600px;
    margin: 0 auto;
}
#hero-msg h1, #hero-msg h4 {
    text-align: center;
}
#hero-msg h4 {
    color: rgb(255, 255, 255);
}
#background {
    height: 725px;
    background-color: #33a1fd;
    grid-column: 1/11;
    grid-row: 4/9;
}
#hero {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    margin-top: -100px;
}
#hero-img {
    width: 100%;
}
#hero-msg {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 100px;
}
#hero-box {
    grid-column: 1/4;
    grid-row: 1/3;
    z-index: -1;
}
#logo_link {
    padding-top: 5px;
    justify-self: center;
    align-self: center;
}

.logo {
    width: 80px;
}
.icon {
    width: 80px;
    padding-top: 10px;
}
.button-box {
    text-align: center;
}
.book, .join {
    font-size: 18px;
    background-color: #FDCA40;
    color:#33a1fd;
    text-decoration: none;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}
.book:hover, .join:hover {
    background-color: #ffa724;
    color:#2176FF;
}
.msg {
    background-color: #33a1fd;
    line-height: 1.5em;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #6f7364;
}
.msg h2 {
    font-family: "Protest Guerrilla", "IM Fell French Canon", "Helvetica";
    color: #FDCA40;
}
.msg p {
    font-size: .8em;
    color: white;
    padding-bottom: 15px;
}
.home-title {
    font-family: "Protest Guerrilla", "IM Fell French Canon", "Helvetica";
    font-size: 2em;
    color: #2176FF;
    margin-top: 10px;
}
.home-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}
.rivers-card, .camping-card, .rapids-card {
    margin: 200px 0;
}
.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;
}
.card-img {
    width: 100%;
    border: 10px solid #33a1fd;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #6f7364;
}
.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 #6f7364;
}

main {
    text-align: center;
}
main section img {
    box-sizing: border-box;
}
body {
    font-family: "Lato", "Helvetica", "sans-serif";
    font-size: 22px;
    background-color: lightblue;
    margin: 0;
    padding: 0;
}
header {
    display: grid;
    grid-template-columns: 150px auto;
    background-color: #33a1fd;
}
h2 {
    margin: 0;
}
h4 {
    color: #ffa724;
}
nav {
    display: flex;
    justify-content: space-around;
}
nav a {
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 35px;
}
nav a:hover {
    background-color: #FDCA40;
    color: #2176FF;
}

footer {
    background-color: #1c5ec7;
    color: white;
    padding: 25px 50px;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer p {
    font-size: 1.2em;
}
footer p a:hover {
    text-decoration: underline;
}  
footer a {
    color:#FDCA40;
    text-decoration: none;
}
footer a:hover {
    color: #ffa724;
}
footer .social img {
    padding-top: 15px;
}

/*Pasted code*/
@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: #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;
    }
}

/* PAGE 2 */

section h3 {
    font-family: "Protest Guerrilla", "IM Fell French Canon", "Helvetica";
    font-size: 1.5em;
    color: #1c5ec7;
    margin-top: 10px;
    text-align: left;
}

.page2-grid {
    display: grid;
    grid-template-rows: 1fr, 1fr, 1fr;
}
.page2-grid p {
    font-size: 0.9em;
    text-align: left;
}
.page2-grid #second-river p {
    text-align: right;
}

#page2-title {
    text-align: center;
}
#page2-title p {
    font-size: 1.1em;
    font-weight: bold;
    color:#1c5ec7
}
#first-river {
    background-color: #FDCA40;
    padding: 10px;
    grid-row: 1/2;
}
#first-river img, #third-river img{
    width: 300px;
    height: 300px;
    float: left;
    padding-right: 10px;
}
#second-river {
    background-color: #33a1fd;
    padding: 10px;
    grid-row: 2/3;
}
#second-river img {
    width: 300px;
    height: 300px;
    float: right;
    padding-left: 10px;
}
#second-river h3 {
    color:#ffa724;
    text-align: right;
}
#third-river {
    background-color: #FDCA40;
    padding: 10px;
    grid-row: 3/4;
}

/* FORMS PAGE */
  
  form {
    display: inline-block;
    /* Form outline */
    padding: 1em;
    border: 2px solid #1c5ec7;
    border-radius: 1em;
    text-align: center;
    margin: 40px auto;
  }
  
  p + p {
    margin-top: 1em;
  }
  
  label {
    /* Uniform size & alignment */
    display: inline-block;
    min-width: 90px;
    text-align: right;
  }
  
  input,
  textarea {
    /* To make sure that all text fields have the same font settings
       By default, text areas 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 {
    /* Set the outline width and style */
    outline-style: solid;
    /* To give a little highlight on active elements */
    outline-color: #000;
    padding: 10px;
  }
  
  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;
}