@import url('https://fonts.googleapis.com/css2?family=Finger+Paint&family=Roboto+Condensed:wght@300&display=swap');

body {
    font-family:'roboto condensed',Arial, Helvetica, sans-serif ;
    font-weight: 600;
}
.home-title, .msg h2 {
    font-family: 'finger paint', 'comic sans ms','dancing script', cursive ;
    font-size: 2em;
}
.home-title{font-size: 2em;}
.book, .join {font-size: 18px; padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}
.msg p {font-size: 2em;
    word-spacing: 2px;
}
.home-title{font-size: 2em;
    margin-top: 10px;
}
.msg{line-height: 2.5em;
background-color: #0a0a09ea;}
#content{
    max-width: 1600px;
    margin: 0 auto;
}
nav a {
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: #0a0a0a;
    text-decoration: none;
    padding: 35px;
}
nav {
    display: flex;
    justify-content: space-around;
    }
#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 h1, #hero-msg h4 {
    text-align: center;  color: #ffffff; 
}

#hero-msg {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 100px;
}
.button-box {
    text-align: center;
}
main section {
    text-align: center;
}
.home-grid{
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}
.card-img, .mountains{
    width: 100%;
}
.card-img{
    border: 10px solid rgb(68, 68, 68);
    transition: transform .5s;
    box-shadow: 5px 5px 10px rgb(78, 77, 76);
}
.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;     box-shadow: 5px 5px 10px rgb(78, 77, 76);
}
.msg{grid-column: 6/10; grid-row: 6/7;
    box-shadow: 5px 5px 10px rgb(78, 77, 76);

}
#background {
    height: 725px;
    background-color: #f09815;
    margin: 100px 0;
    grid-column: 1/11; grid-row: 4/9;
}
body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
header {
    display: grid;
    grid-template-columns: 150px auto;
    background-color: #f09815;
}
nav a:hover {
    background-color: #fafaf9;
    color: #0a0a0a;
}
.book, .join {
    background-color: #2e86ab;
    color: #0a0a0a;
    text-decoration: none;
}
.book:hover, .join:hover {
    background-color: #fffefc;
    color: #0a0a09ea;
}
.msg {
    background-color: #f09815;
    padding: 35px;
    margin-top: 200px ;
}
footer {
    background-color: #f09815;
    color: #0a0a0a;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.home-title {
    color: #0a0a0a;
}
h4 {
    color: #0a0a0a;
}
.msg h2 {
    color: #0a0a0a;
}
.msg p {
    color: #0a0a0a;
    padding-bottom: 15px;
}
footer a {
    color: #0a0a0a;
    text-decoration: none;
}
footer a:hover {
    color:#fdfcfb;
}
footer p {
    font-size: 1.2em;
}
footer p a:hover {
    text-decoration: underline;
}
.logo {
    width: 80px;
}
.icon {
    width:80px;
    padding-top: 10px;
}
#hero-image {
    width: 100%;
}

h2{
    margin: 0;
}
footer .social img {padding-top: 15px;}
#logo_link {
    padding-top: 5px;
    justify-self: center;
    align-self: center;
    padding-top: 5px;}

.rivers-card, .camping-card, .rapids-card {
    margin: 200px 0;
    
}

.card-image {
    border: 10px solid #2e86ab;
}
main section img {
    box-sizing: border-box;
}
.book:hover{ background-color: #f09815;
}


/* Here begins the Blog page Styles */
.blog-para{
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
    background-color: #f09815;
    padding: 10px 100px;
}
.blog-title, .blog-heading{
    text-align: center;
    font-family: 'finger paint', 'comic sans ms','dancing script', cursive ;
    font-size: 2em;
    margin-bottom: 30px;
}


main.blog-grid {
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
}

/* Blog Card Styles */
.blog-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #f09815;
    background-color: #fff;
    transition: transform 0.3s ease;
    border: 10px solid #f09815;
    margin-bottom: 10%;
    box-shadow: 5px 5px 10px;
}

.blog-card:hover {
    transform: scale(1.05); /* Enlarge the card on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

/* Blog Image Styles */
.blog-image {
    flex: 1;
    text-align: center;
    /* border: 1px solid orange; */
    margin-bottom: 10%;
    background-color: #2e86ab;
}

.blog-image img {
    max-width: 100%;
    transition: transform 0.3s ease;
}


/* Blog Image Hover Animation */
.blog-image img:hover {
    transform: scale(1.1); /* Enlarge the image on hover */
}

/* Blog Post Styles */
.blog-post {
    flex: 2;
}

.blog-post h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.post-metadata {
    color: #888;
}

/* "Read More" Button Styles */
.read-more-button {
    display: block;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: 2%;
}

.read-more-button:hover {
    background-color: #444; /* Change background color on hover */
}

/* Expanded Content Styles (Initially hidden) */
/* .read-more-checkbox {
    display: outside;
} */

/* Show expanded content when checkbox is checked */
.read-more-checkbox:checked + .content .read-more-content {
    display: block;
}

/* Hide the "Read More" button when expanded content is shown */
.read-more-checkbox:checked + .content .read-more-button {
    display: none;
}
.content{
    font-size: larger;
    border: 2px solid orange;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

/* Here begins the form styling */
.form-img{
    margin: 0 auto;
    width: 50%;
    text-align: center;
    box-sizing: border-box;
}
.form-h2{
    text-align: center;
    margin: 30px 30px;
}

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




/* the media query part */

@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;
        /* 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;
    }
}