@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300&display=swap');
@import url('menu.css');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* queda todo pegado*/
}

html{
    scroll-behavior: smooth; /* desliza el sitio hasta el hash del link*/
}

body{
    font-family: 'Raleway', sans-serif;
}

/* imagen de cabeza*/


 header{
     width: 100%;
     height: 100px;
     background-color: #0000CC;
     color: #fff;
     position: fixed;
     top: 0;
     left: 0;
     border-radius: 5px;
     z-index: 100;
 }


.hero{
   
    background-image: linear-gradient(120deg, rgba(147,145,207,0.7), rgba(228,239,233,0.7)), url('../fotos/cielo.jpeg');
    height: 75vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.texto-hero{
    height: 50vh;
    color: #fff;
    display: flex;
    flex-direction: column; /* lo pone uno abajo del otro (el flex-box lo pone uno al lado del otro )*/ 
    justify-content: center; /* lo centra verticalmente (en este caso , por que el flex-direction es column)*/
    align-items: center; /* lo centra horizontal en este caso*/ 
}
.texto-hero h1{
    font-size: 5vw;
}
.texto-hero p{
    font-size: 3vw;
    margin-bottom: 2vh;
}
.texto-hero a{
    display: inline-block; /* prop de linea y de bloque*/
    text-decoration: none;
    padding: 12px 15px;
    background: rgba(147,145,207,0.7);
    border-radius: 5px;
    color: #fff;
}
.svg-hero{
    bottom:  0;
    left: 0;
    position: absolute;
    width: 100%;
}

/* generales*/

.contenedor,
.contenedor-textos-main,
.wave-contenedor,
.card-contenedor{
    width: 85%;
    max-width: 1000px;
    overflow: hidden;
    margin: auto;
    padding: 0 0 25px 0 ;
}
.contenedor{
    padding: 80px 0 ;
}


.titulo{
    font-weight: 300;
    font-size: 30px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 30px;
    
    
    
}
.titulo .left{
    text-align: left;
  padding-bottom:  25px;
}

.titulo .rigth{
    text-align: right;
}


.website{
    display: flex; /* pone un elemento al lado del otro (dafault row)*/ 
    justify-content: space-between;
}
.website img{
    width: 48%; /* .website 100% -> las img 48% -> el txt 40% lo que falta lo separa el space-between */
}
.website .contenedor-textos-main{
    width: 40%;
}
.parrafo{
    text-align: justify;
    margin-bottom: 20px;
}
.cta{
    display: inline-block;
    text-decoration: none;
    padding: 12px 15px;
    background: rgba(147,145,207,0.7);
    border-radius: 5px;
    color: #fff;
}

/* info*/


.info{
    background: #f5576c;
    color: #fff;
}
.info p{
    text-align: center;
    justify-content: center;
}


/*    card*/


.content-card{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* espacio eqitativo entre elementos*/
}
.card{
    width: 30%;
    text-align: center;
    height: 60vh;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
    transform: scale(1);
    transition: all 0.6s;
    margin-bottom: 30px;
}
.card:hover{
    
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.6);
    transform: scale(1.03);
    cursor: pointer;
}
.card i{
    margin: 35px 0 20px 0; /* son 30 px arriba -> 0 a la derecha -> 20 px abajo -> 0 al al izquierda; */
    font-size: 50px;
    color: rgba(147,145,207,0.7);
    
}
.card p{
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 20px;
}

/* galeria*/
.galeria{
    background: #f2f2f2;
}
.galeria-cont{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden; /* nada sale cel contenedor*/
    
}
.galeria img{
    width: 30%;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
    cursor: pointer;
    overflow: hidden;
    
    
}

/* info 2*/



.last-section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
}
.last-section img{
    width: 48%;
}
.last-section .contenedor-textos-main{
    width: 40%;
}
footer{
    background: #f5576c;
    color: #FFF;
}
/* contacto*/

.contenedor-contacto{
    width: 70%;
    margin-left:  auto;
    margin-right: auto;
}
.form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input{
    background: transparent;
    border: 0;
    outline: none;
    color: #FFF;
    border: 1px solid #fff;
    padding: 20px 10px;
    
    
}
.input::placeholder{
   
    font-family: 'releway', 'sans-serif'; 
    color: #fff;
}
input[type="text"],
input[type="email"]{ /* los corchetes  indican el argumento. Todos los input que tienen el argumento*/
    display: inline-block;
    width: 49%;
    margin-bottom: 15px;
}
.form textarea{
    width: 100%;
    margin-bottom: 15px;
    
    
}
.input[type="submit"]{
    width: 120px;
    text-align: center;
    padding: 14px 0;
     box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
     transform: scale(1);
    transition: all 0.6s;
}
.input:hover[type="submit"]{
    
    color: rgba(0,0,0,0.7);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.6);
    transform: scale(1.1);
    cursor: pointer;
}
/* – ------- – iPhone 6, 6S, 7 and 8 – ------- – */


/* vertical */
 
@media screen and (max-width:800px){
 
.texto-hero h1{
    text-align: center;
    font-size: 5vw;
}
.texto-hero p{
    
    font-size: 4vw;
    
}
.titulo {
    
        font-size: 5vw;
}



.website {
   width: 90%;
   flex-direction: column-reverse;
   align-items: center;
   justify-content: space-between;
}
.website img{
   width:  100%;
}
.website .contenedor-textos-main{
    width: 100%;
    
}
.card{
    width: 80%;
    margin-bottom: 45px;
}
.galeria-cont>img{
    width: 48%;
    
}  
.last-section{
    flex-direction: column;
    width: 80%;
    align-items: center;
    justify-content: center;
    
}
.last-section .contenedor-textos-main{
    width: 100%;
    
}
.last-section>img{
    width: 100%;
}
}
