/* Fuente comic */

@font-face{
  font-family: "comic";
  src: url(../fuentes/KICOMIC_.TTF);
}
body{
  font-family: "comic";
}

header{
    background-color: cornsilk;
    text-align: center;
    border-style: solid;
    border-color: black;
}



/*menu*/

#menuToggle
{
  display: block;
  position: relative;
  top: 50px;
  left: 20px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: tomato;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 30px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 100px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 85px;
  
  background-color:cadetblue;
  border-color: black;
  border-style: solid;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0px;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

/* Secciones */

.seccion1{
  height: 25%;
  width: 100%;
 background-color: crimson;
 background-image: url(../img/fondo1.jpg);
 background-repeat: no-repeat;
 background-size:cover;
}

/* Posicionamiento 1 */

.flexcont div{
  width: 50vw;
  max-width: 200vw;
  text-align: center;
}

.titulo1{
  position: relative;
  top: 13vh;
  font-size: 3vw;
  right: 5.5vw;
}

.textopre{
  position: relative;
  right: -5vw;
  bottom:35vh;
  background-color: #ffbb00;
  border-color: black;
  border-style: solid;

}

.yo{
  position: relative;
  left: 53vw;
  top:15vh;
}

/* SECCION 2 */

.seccion2{
  height: 100vh;
  width: 100%;
  background-color: black;
  background-image: url(../img/fondo2.jpg);
  background-repeat: no-repeat;
  background-size:cover;
}

.titulo2{
  font-size: 3vw;
  background-color:rebeccapurple;
  border-color: black;
  border-style: solid;
  width:20vw;
  position: relative;
  top:10vh;
  left:10vw;
  text-align: center;
}

/* IMAGENES COLLAGE */

.fotosillia{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: stretch;
  align-items: center;
}

.fotosillia img{
    margin: 10px;
    border: 3px solid #000;
    box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.3); 
    max-width: 25vw;
}

.wintim{
 position: relative;
 top:-5vh;
}

/* SECCION 3 */

.seccion3{
  height: 100vh;
  width: 100%;  
  background-color: chartreuse;
  background-image: url(../img/fondo3.jpg);
  background-repeat: no-repeat;
  background-size:cover;
}

/* POSICION 3 */



.titulo3{
  font-size: 3vw;
  background-color:cadetblue;
  border-color: black;
  border-style: solid;
  width:20vw;
  position: relative;
  top:10vh;
  left:10vw;
  text-align: center;
}

.datos{
  background-color:cadetblue;
  border-color: black;
  border-style: solid;
  width:30vw;
  position: relative;
  top:30vh;
  left:10vw;
}

.listadatos{
  line-height: 200%;
}

.cartelredes{
  background-color:cadetblue;
  border-color: black;
  border-style: solid;
  width:10vw;
  position: relative;
  top:15vh;
  left:60vw;
}


/* BOTONES REDES */

.redes {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: space-between;
  align-items: flex-end;
  position: relative;
  top:-20vh;
}

.mail{
  position: relative;
  left: -2vw;
}

/* SECCION 4 */

.seccion4{
  height: 100vh;
  width: 100%;
  background-color: coral;
  background-image: url(../img/fondo4.jpg);
  background-repeat: no-repeat;
  background-size:cover
}

.titulo4{
  font-size: 3vw;
  background-color:deepskyblue;
  border-color: black;
  border-style: solid;
  width:20vw;
  position: relative;
  top:10vh;
  left:10vw;
  text-align: center;
}

/* flex futuro */

.containerfut{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: stretch;
  align-items: center;
}

.containerfut div{
  position: relative;
  top:15vh;
  width: 25vw;
  max-width: 25vw;
  height: 55vh;
  text-align: center;
  background-color:deepskyblue;
  border-color: black;
  border-style: solid;
}

/* Boton de volver */

.botonvolver{
  text-decoration: none;
  background-color:crimson;
  border-color: black;
  border-style: solid;
  width:10vw;
  color: antiquewhite;
}

.seccion3 .botonvolver{
position: relative;
top: -20vh;
left: 5vw;
}

.seccion4 .botonvolver{
position: relative;
top: 25vh;
left: 5vw;
}






