@charset "utf-8";
@import 'https://fonts.googleapis.com/css?family=Cantarell:400,400i,700|Montserrat:400,700';
/* holii CSS DEL TP*/
*{
    box-sizing: border-box;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

html {
    font-size:10px;
    font-family:'Cantarell', sans-serif ;
    font-weight: 400;
}

body {
    background-color: #eeeef0;
    font-size:1.6rem;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: underline;
    list-style: none;
    color:white;
}

.descargarlink a{
    color:aliceblue;
    list-style: none;
    padding: none;
}

img {
    max-width: 100%;
    height: auto;
}

#pagina {
    width:65%;
    margin:auto;
}

header{
    background-image: url('../img/tpweb001.jpg');
    height: 540px;
    background-position: center center;

}

header h2, header h3, header a {
    padding-left: 18%;
}

header a {
    color:#605db2;
    
}


header h3{
    font-size: 1em;
}
header figure{
    width: 280px;
    margin-top:180px;
    margin-bottom: 30px;
    margin-left: 18%;

}

h1{
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    color:#605db2;
    padding-top:1em;
    padding-bottom: .6em;
    text-align: center;
}

h2 {
    color:#414c58;
    font-size: 1.4em;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

p{
    color: #414c58;
}

h3{
    font-family: 'Cantarell', sans-serif;
    color: #414c58;
    font-size: .8em;
    font-weight: 400;
    margin-bottom: 1em;

}

h4{
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 1.3em;
    font-weight: 400;
    margin-bottom: .3em;

}

h6{
    color:#eeeef0;
    text-align: left;
    margin-left: 1em;
    font-weight: 400;
}

.botondescargar a{
    border: solid 2px #8981c9;
    font-size: .8em;
    padding: 1em;
    color:#8981c9;
    text-decoration: none;
}

.botondescargar a:hover{
    background-color: #8981c9;
    font-size: .8em;
    padding: 1em;
    color:#eeeef0;
}

.botondescargar {
    text-align: center;
    margin: auto;
    padding-top: 2em;
    color:#eeeef0;
}

.blueberry {
    padding-top: 2em;
    padding-bottom: 2em;
}

article figure {
    max-width: 100%;
    margin: 1em auto;
}

figure>img, {
    display: block
}

article {
    text-align: center;
    margin-bottom: 1em;
    margin:.5em;
}

nav {
    background-color: #6eadbc;
}
nav ul {
    list-style:none;
    margin: auto;
    max-width: 1100px;
}
nav ul li {
	text-align:center;
	padding: 8px 0;

}
nav ul li a {
    color:#ffffff;
    font-weight: 700;
    text-decoration:none;
    text-align:center;
    margin:auto;
    height:4rem;
    line-height:3rem;
    display: block;
    padding: 0.25em;
}

nav ul li a:hover{
    color:#4e4e4e;
}

.padre{
    display: flex;
	flex-direction: row;
	justify-content: center;
	justify-content: space-around;
	align-content: center;
}
@media handheld, only screen and (max-width: 767px) {
.padre{
	flex-direction: column;
}
nav ul li {
    width:100%;
}
}


section {
    margin-top: 40px;
    color:#eeeef0;
}

footer{
    color:slategrey;
    background-color:#555555;  
    width: 80%
	padding:20px 10%;
	margin:auto;
	margin-top: 80px;
	text-align:center;

}

.pie {
	display: flex;
	flex-direction: row;
	justify-content: center;

}




.imagenalaizq{
    width: 100%;
    margin:4em 0 auto;
    text-align: center;
}

.abuelo>*:not(figure) { 
    width: 68%;
    margin: auto;
}

.abuelo figure{
    position:relative;
    top:0;
    left:0;
    height: 0; overflow: visible;
    z-index: 0;
}

.levantar{
    margin-top:29.3em;
}

.abuelo h2{
    padding-top:4em;
    
}

.video {
    padding-top: 3em;
    margin: 0 auto;
    text-align: center;

    
}

.video h2, p{
    color:#8981c9;
    margin:auto;
    text-align: center;
    padding-bottom: .2em;
}

.video p{
    color:#414c58;
    margin:auto;
    text-align: center;
    padding-bottom: 1em;
}

#doscolumnas{
    display:flex;
    width: 70%;
    margin:auto;
    padding-top: 2em;
}

#doscolumnas section{
    text-align: left;
    padding:1em;
    margin:.5em;
    overflow: hidden;
}

.pietp section {
    width: 45%;
    padding:2%;
    float: left;
    text-align:left;
    background-color:rgba(65, 65, 65, 0.8);
    z-index: 0;
}

.pietp{
    padding-bottom:2em;
}
#contenidos figure{
    max-width: 20vw;
    margin: 1em auto;    
}


.tresiconos img{
    width: 3em;
    margin: .5em;

}

.tresiconos {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top:2em;
}



/* FORMULARIO CONTACTO */

.formulario {
    background-color: rgba(137, 129, 201, 0.31);
    border-radius: 3px;
    min-width: 200px;
    width: 50%;
    padding: 25px;
    margin: auto;

}


.formulario input {
  font-family: 'Cantarell', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 100%;
  background: #fff;
  border: 0;
  border-radius: 4px;
  padding: .5rem;
  border: 1px solid transparent;
}

.formulario textarea {
  font-family: 'Cantarell', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  padding: .5rem;
  border: 1px solid transparent;
}

.form-container input:focus {
    border: 10px solid #414c58;
}

.formularioboton {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    background-color: rgba(137, 129, 201, 0.85);
    color: white;
    border-radius: 4px;
    padding: .3em;
    width: 100%;
    

}
.formularioboton:hover {
    background-color: #605db2;
    color: whitesmoke;
}

/* FORMULARIO CONTACTO */







#contenedor {
    /*  usaremos el contenedor
        como caja "padre" flexible
    	para que el pié quede abajo
        aun con poco contenido */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    /*  indicaremos que el eje principal
        de la caja flexible
        sea la vertical   */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    /*  indicaremos que los elementos "hijos" 
        del contenedor se separen
    	para que el pié quede siempre abajo
        aun con poco contenido en la página */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

footer {
    /*  flex resume 3 propiedades para los items:
        flex-grow (si se les permite crecer)
        flex-shrink (si se les permite achicar)
        flex-basis (medida según el eje ppal del flex)
        
        indicamos que el encabezado y el pié
        no "crezcan", pero que puedan "achicarse"
        si fuera necesario */
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.contenidos {
    /* como caja contenedora flex */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    /*  indicaremos que el eje principal
        de la caja flexible
        sea la vertical   */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    /*  indicaremos que los elementos "hijos" 
        de "contenidos" se separen
    	para que el aside quede siempre abajo
        aun con poco contenido en la página */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /*  como "hijo" de "contenedor", que es una caja flexible
        le indicamos que se achique o se agrande
        si fuera necesario, para que ocupe toda la pantalla*/
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}


#doscolumnas{
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        /*  en caso de ser necesario,
            los "hijos" de article pueden
            bajar a la siguiente línea de "hijos" */
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        /*  indicamos que los "hijos" de article
            se alineen en el inicio
            según el eje secundario (vertical) */
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;

         }

#doscolumnas section {
        /*  como "hijo" de caja contenedora flex,
            se estira para ocupar la mitad de la caja "padre" */
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 50%;
        -webkit-flex: 1 1 50%;
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
    }


/****************************************

             3º: mediaqueries
 
(cambios en el layout en la medida en que
la ventana del navegador se va ensanchando)

*****************************************/


/* a partir de 320px */

@media screen and (min-width:20em) {
    nav ul {
        /*  para que sea horizontal
            definimos la lista menú
            como caja flexible */
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    nav ul li {
        /*  para que el menú se extienda a lo ancho
            definimos que sus "hijos" puedan crecer o achicarse */
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    
}


/* a partir de 480px */

@media screen and (min-width:30em) {
   
    nav {
        margin: 0;
        /*  indicamos que el menú mida
            todo el ancho MENOS 8em
            para que quepa el logo a la izquierda */
        -webkit-flex-basis: calc( 100% - 8em);
        -ms-flex-preferred-size: calc( 100% - 8em);
        flex-basis: calc( 100% - 8em);
    }
  
 .tresiconos {
     display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
     width: 25%;
}
    
    .tresiconos figure{
     -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
}
    
   
}


/* a partir de 640px */

@media screen and (min-width:40em) {
    main {
        /* como caja contenedora flex */
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: baseline;
        -webkit-align-items: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
        /*  como "hijo" de caja contenedora flex,
            se estira para ocupar toda la caja "padre" */
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    main article {
        width: 50%;
        display: block;
        text-align: center;
    }
   
    article>figure {
        max-width: 50%;
        margin: 1em auto;
    }
    
       



}


/* a partir de 800px */

@media screen and (min-width:50em) {
    .contenidos {
        /*  indicaremos que el eje principal
            de la caja flexible cambie
            a la horizontal   */
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    
    #doscolumnas section {
        /*  como "hijo" de caja flex aside,
            indicamos INposibilidad de agrandarse o achicarse */
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

}




/* CSS para subrayar el boton al pasar con el mouse */

.hvr-underline-from-center {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #605db2;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
  left: 0;
  right: 0;
}