@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@700&family=Roboto:wght@300&display=swap');
#content {
    max-width: 1600px;
    margin: 0 auto;
}


header {
    display: grid;
    grid-template-columns: 150px auto;
    background-color: rgba(255, 255, 255, 0.1);
}
#logo_link {
    padding-top: 5px;
    justify-self: center;
    align-self: center;
}
nav {
    display: flex;
    justify-content: space-around;
}
nav a:hover {
    background-color: black;
    color: aliceblue;
}  
nav a {
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 35px;
}


#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: 100px;
}
#hero-msg h1 {
    text-align: center;
    color: aliceblue;
}
#hero-msg h4 {
    text-align: center;
    color: aliceblue;
}
#hero-img {
    width: 100%;
}


.button-box {
    text-align: center;
}
main section {
    text-align: center;
}
main section img {
    box-sizing: border-box;
}
#background {
    height: 725px;
    background-color: #0E2743;
    grid-column: 1/11;
    grid-row: 4/9;
}


body {
    background-color: white;
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 22px;
    margin: 0;
    padding: 0;
}

h2 {
    margin: 0;
}
h4 {
    color: #747C92;
}

.book, .join {
    background-color: #0E2743;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}
.book:hover, .join:hover {
    background-color: aliceblue;
    color: #0E2743;
}


.home-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}
.home-title {
    color: #0E2743;
    font-family: 'Cormorant SC', 'Times New Roman', Times;
    font-size: 2em;
    margin-top: 10px;
}


.msg {
    background-color: #747C92;
    color: white;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #747C92;
}
.msg h2 {
    color: #fcfcfe;
    font-family: 'Cormorant SC', sans-serif, Arial, Helvetica;
}
.msg p {
    color: aliceblue;
    font-size: .8em;
    padding-bottom: 15px;
}

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


.card-img {
    width: 100%;
    border: 5px solid #0E2743;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #747C92;
}
.card-img:hover {
    opacity: .6;
    transform: scale(1.1);
}



.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;
}
.rapid_waves {
    width: 100%;
    grid-column: 2/7;
    grid-row: 5/8;
    box-shadow: 5px 5px 10px #747C92;
}


footer {
    background-color: #747C92;
    color: #0E2743;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer a {
    color: #0E2743;
    text-decoration: none;
}
footer a:hover {
    color: aliceblue;
}
footer p {
    font-size: 1.2em;
}
footer p a:hover {
    text-decoration: underline;
}
footer .social img {
    padding-top: 15px;
}


/** CSS style for About Us page**/

#hero-msg1 {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 150px;
}

.home-title1 {
    color: aliceblue;
    font-family: 'Cormorant SC', 'Times New Roman', Times;
    font-size: 2em;
    margin-top: 10px;
}

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

.raft {
    margin: 40px;
}
.rafting{
    grid-column: 2/4;
}

raft_text {
    margin: 10px auto;
    grid-column: 2/4;
}



/** style for the contact page**/

#content1 {
    background-color: aliceblue;
}
#header {
    display: grid;
    grid-template-columns: 150px auto;
    background-color: #747C92
}

form {
/* Center the form on the page */
margin: 0 auto;
width: 400px;
/* Form outline */
margin-top: 10em;
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;
}


@media screen and (max-width: 900px) {
    header {
        background-color: #747C92;
    }
    #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 h1 {
        color: #0E2743;
    }
    #hero-msg h4 {
        display: none;
    }
    .home-title {
        font-size: 25px;
        color: #747C92;
    }
    .rivers-card, .camping-card, .rapids-card { 
        margin: 50px auto;
        width: 60%;
    }
    #background {
        display: none;
    }
    .rapid_waves, .msg {
        width: 80%;
        display: block;
        margin: 0 auto;
    }
    footer {
        margin-top: 25px;
    }
}




