@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,600,400italic);
@import url(https://fonts.googleapis.com/css?family=Patrick+Hand:400,300,600,400italic);


@import url(nav.css);
@import url(hero.css);

@import url(footer.css);

ul,h6{
    margin: 0;
}


html{
    position: relative;
}
  
body {
      font-family: "Patrick Hand", Helvetica, sans-serif;
      font-weight: 100;
      font-size: 20px;
      line-height: 30px;
      color: #777;
      background-color: #FFF;
      margin: 0 auto;  
      text-align: justify;
}

/* h1,h2,h3,h4,h5{
    font-family: "Patrick Hand", Helvetica, Arial, sans-serif;
} */

.hero{
    height: 400px;
}

.hero .titulo{
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.hero .titulo h2{
    margin: 0 auto;
    font-size: 80px;
    margin-top: 180px;
}

.intro{
    max-width: 1200px;
    margin: 0 auto;
}

.intro .container{
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 70px;
    border: 1px solid #9db668;
    padding: 4%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    transition: 0.3s;
    background-color: #FFF;
    text-align: justify;
}

.intro .container:hover{
    transform: translateY(-5px);
    transition: 0.5s;
}

.intro .container h4{
    margin: 0;
    display: block;
    font-size: 35px;
    width: 100%;
    color: #9db668;
}


.estudiar{
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 30px;
}

.estudiar .texto{
    border: 1px solid #9db668;
    padding: 4%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    background-color: #FFF;
    transition: 0.3s;
    width: 75%;
    text-align: justify;
}

.estudiar .texto:hover{
    transform: translateY(-5px);
    transition: 0.5s;
}

.estudiar .texto h4{
    margin: 0;
    display: block;
    font-size: 35px;
    color: #9db668;
}

.parrafo{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-left: 70px;
}

.parrafo .info{
    width: 50%;
    background-color: #FFF;
    margin-left: 100px;
}

.parrafo .info h3{
   margin: 0;
}

.parrafo .info p{
    margin: 0;
    
 }

.parrafo .foto{
    height: 250px;
    width: 250px;
    background: url(../img/IMG_2382byn.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-top: 5px;
    margin-right: 50px;
}


.parrafo i:hover{
    color: #0e76a8;
}


.imagen{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-left: 70px;
    margin-bottom: 10px;
}

.imagen .foto{
    height: 250px;
    width: 250px;
    background: url(../img/adrian.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-top: 5px;
    margin-right: 50px;
}

.imagen .info{
    width: 50%;
    background-color: #FFF;
    margin-left: 100px;
}

.imagen .info h3{
    margin: 0;
}

.imagen .info p{
    margin: 0;
    

}

.redes{
    width: 15%; 
    border: 1px solid #9db668;
    padding: 2%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    margin-left: 2%;
    transition: 0.3s;
}

.redes:hover{
    transform: translateY(-5px);
    transition: 0.5s;
}

.redes h4{
    margin: 0;
    display: block;
    font-size: 35px;
    color: #9db668;
}

.redes a{
    display: block;
    margin: 0 auto;
    font-size: 40px;
    text-align: center;
    margin: 20px;
    color: #777;
}

.redes :nth-child(2):hover{
    color: #3D5B94;
}

.redes :nth-child(3):hover{
    color:#D43089;
}

.redes :nth-child(4):hover{
    color: #0e76a8;
}

.redes :nth-child(2){
    margin-top: 30px;
}

a{
    color: #777;
}

a:hover{
    color: #0e76a8;
}

.fantasma{
    height: 450px;
  }
  

  @media only screen and (max-width: 820px) {

    .intro .container{
        text-align: center;
        margin-top: 10px;
    }

    .intro .container h4{
        margin-bottom: 30px;
    }

    .parrafo{
        margin: 0;
  
    }

    .parrafo .foto{
        margin-right: 0;
        margin: 0 auto;
        
    }

    .parrafo .info{
        width: 100%;
  
        margin-left: 0;
        margin-bottom: 80px;
    }

    .parrafo .info h3{
  
        margin-top: 20px;
    }

    .parrafo .info p{
  
        margin: 0 auto;
    }

    .imagen{
        margin: 0;
  
    }

    .imagen .foto{
        margin-right: 0;
        margin: 0 auto;
        
    }
    .imagen .info{
        width: 100%;
  
        margin-left: 0;
    }

    .imagen .info h3{
  
        margin-top: 20px;
    }


    .estudiar .texto{
        width: 100%;
    }

    .redes{
        display: none;
    }

    .fantasma{
        height: 600px;
    }
  }

