@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@500&family=Poppins:wght@400;700;800&family=Shantell+Sans:wght@300;400&display=swap');


body{
    background-color:#4ce0b3;
    font-family: "Poppins","Messiri", "Shantell+Sans";
    font-size: 22px;
    margin: 0 auto;
    padding: 0 auto;  
}

#content{
    
   width: 0 auto;
   margin: 0 auto;
}

#logo{
    padding-top: 5px;
    justify-self: center;
    align-self: center;
}

.logo_img{
    width: 80px;
}

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

header{
    background-color: #b47eb3;
    display: grid;
    grid-template-columns: 150px auto;
}

nav{
    display: flex;
    justify-content: space-around;
}

nav a{
    text-decoration: none;
    text-align: center;
    background-color: #b47eb3;
    color: white;
    padding: 5px;
    
}
    
nav a:hover {
    background-color: #2459a8;
    
}



.home-title{
    background-color: none;
    color: #2459a8;
    font-family: "Poppins","Messiri", "Shantell+Sans";
    font-size: 2em;
    margin-top: 10px;
}

h2{
    margin: 0;
}

h4{
    background-color: none;
    color: #2459a8;
}






#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 img {
    width: 100%;
}

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

#hero-msg h4 {
   color: white;
    
    
}

#hero-msg h1, h4{
    text-align: center;
}

.button-box{
    text-align: center;
}
main section img{
    box-sizing: border-box;
}

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

.home-grid{
    text-align: center;
}

.home-grid img{
    box-sizing: border-box;
}



.msg{
    background-color: #a998a9;
    line-height: 1.5em;
    padding: 35px;
    grid-column: 6/10;
    grid-row: 6/7;
    box-shadow: 5px 5px 10px #6f7364;
}

.msg h2{
    background-color: none;
    color: white;
    font-family: "Poppins","Messiri", "Shantell+Sans";
}

.msg p{
    background-color:none;
    color: white;
    font-size: .8em;
    padding-bottom: 15px;
}

.book, .join {
    font-size: 18px;
    padding: 15px 30px;
    margin-top: 50px;
    border-radius: 5px;
}

.rivers-card, .camping-card, .rapids-card{
    width: 100%;
    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 {
    border: 10px solid #d9c2a3;
    transition: transform .5s;
    box-shadow: 5px 5px 10px #6f7364;
   
}
.card-img:hover {
    opacity: .6;
    transform: scale(1.1);
}

#background{
    background: 725px;
    background-color: #6f7364;
    grid-column: 1/11;
    grid-row: 4/9;
}

.mountains{
    width: 100%;
    grid-column: 2/7;
    grid-row: 5/8;
    box-shadow: 5px 5px 10px #6f7364;
}

footer{
    background-color: #4ce0b3;
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer a {
    text-decoration: none;
    background-color:none;
    color:black ;
    
}


footer p {
    font-size: 1.2em;
}

footer .social img{
    padding-top: 15px;
}
.face{
    width: 64px;
    height: 64px;
}

#contact :hover {
    background-color: #b47eb3;
}

#site :hover {
    background-color: #b47eb3;
}


/* css for the page2*/
.page2{
    background-color: #b47eb3;
}

.content1{
    background-color: #3f8ec2;
    width: 100%;
    height: auto;
    padding-top: 10px;
    margin: 20px 10px;
  
}

.river-title{
    font-weight: bolder;
    color: #4ce0b3;
    font-size: 50px;
}

.river-name{
    text-align: center;
    font-weight: bold;
    color: #08316d;
}

.content-img, .img-content { 
    
    width: 200px; 
    height: 200px; 
    float: left; 
    margin-left: 5px;
    padding-right: 5px;
   
    
} 

.img-content{
   
    transition: transform .5s;
}
.img-content:hover{
   
        opacity: .6;
        transform: scale(1.6);
        align-items: center;
}

.level{
    font-style: oblique;
    font-weight: bold;
}

p{
    font-family: "Poppins";
    
}

#pag2{
    font-family: "Messiri";
}
   

  /* css for the form area*/

form {
    /* Centrar el formulario en la página */
    margin: 0 auto;
    width: 400px;
    /* Esquema del formulario */
    padding: 1em;
    border: 1px solid #CCC;
    border-radius: 1em;
}
  
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
  
form li + li {
    margin-top: 1em;
    
}
  
label {
    /* Tamaño y alineación uniforme */
    display: inline-block;
    width: 90px;
    text-align: right;
}
  
input,textarea {
    /* Para asegurarse de que todos los campos de texto tienen la misma configuración de letra
       Por defecto, las áreas de texto tienen un tipo de letra monoespaciada */
    font: 1em sans-serif;
  
    /* Tamaño uniforme del campo de texto */
    width: 300px;
    box-sizing: border-box;
  
    /* Hacer coincidir los bordes del campo del formulario */
    border: 1px solid #999;
}
  
input:focus,textarea:focus {
    /* Destacado adicional para elementos que tienen el cursor */
    border-color: #000;
}
  
textarea {
    /* Alinear los campos de texto multilínea con sus etiquetas */
    vertical-align: top;
  
    /* Proporcionar espacio para escribir texto */
    height: 5em;
}
  
.button {
    /* Alinear los botones con los campos de texto */
    padding-left: 90px; /* mismo tamaño que los elementos de la etiqueta */
}
  
button {
    /* Este margen adicional representa aproximadamente el mismo espacio que el espacio
       entre las etiquetas y sus campos de texto */
    margin-left: .5em;
}

/*feedback*/

#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) {
    #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;
    }
}

