*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.caja{
  width: 100%;
}

@font-face {
    font-family: 'tintinbold';
    src: url('../fuentes/tintin/tintin-bold-webfont.eot');
    src: url('../fuentes/tintin/tintin-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fuentes/tintin/tintin-bold-webfont.woff2') format('woff2'),
         url('../fuentes/tintin/tintin-bold-webfont.woff') format('woff'),
         url('../fuentes/tintin/tintin-bold-webfont.ttf') format('truetype'),
         url('../fuentes/tintin/tintin-bold-webfont.svg#tintinbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

a[href]{
  color: #000000;
}

a:hover{
  color: #0000FF;
}

.contenedor a:link, a:visited, a:active {
  text-decoration:none;
}

.contenedor{
  font-family: 'tintinbold';
  width: 250px;
  float: left;
  position: fixed;
  display: block;
}

.logo{
  width: 100%;
  padding-top: 20px;
  padding-left: 30px;
  margin-right: 10px;
}

.menu{
  width: 100%;
  font-size: 0.8em;
  padding-left: 20px;
  margin-right: 20px;
  padding-bottom: 20px;
  padding-top: 10px;
}

h2{
  margin-top: 10px;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.redes{
  width: 100%;
  padding-top: 30px;
  padding-bottom: 15px;
}

/* Cuadro de contenido */

.contenido{
  margin-left: 250px;
  margin-bottom: 10px;
  width: 950px;
  font-family: 'tintinbold';
  display: flex;
  flex-flow: row wrap;
}

.cuadro{
  width: 237px;
  justify-content: center;
  align-items: top;
}

.cuadro figure{
  position: relative;
  height: 237px;
  width: 237px;
  overflow: hidden;
}

.cuadro figure img{
  width: 100%;
  height: 100%;
  transition: all 500ms ease-out;
}

.cuadro figure .capa{
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,103,123,0.6);
  transition: all 500ms ease-out;
  opacity: 0;
  visibility: hidden;
  text-align: center;
}

.cuadro figure:hover > .capa{
  opacity: 1;
  visibility: visible;
}

.cuadro figure:hover > .capa h3{
  margin-top: 70px;
  margin-bottom: 15px;
  margin-left: 15px;
  margin-right: 15px;
}

.cuadro figure:hover > img{
  transform: scale(1.3);
}

.cuadro figure .capa h3{
  letter-spacing: 1px;
  font-size: 20px;
  color: #fff;
  font-weight: 400px;
  margin-bottom: 120px;
  margin-left: 15px;
  margin-right: 15px;
  transition: all 500ms ease-out;
  margin-top: 30px;
}

.cuadro figure .capa p{
  letter-spacing: 1px;
  text-decoration: overline;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
  width: 100%;
  max-width: 215px;
  margin: auto;
}

.proyectos{
  width: 100%;
  height: auto;
}

.titulo_proyecto{
    background-color: #000000;
    width: 100%;
    height: 50px;
    margin-top: 10px;
    border-radius: 7px;
}

.titulo_proyecto_grande{
    background-color: #000000;
    width: 100%;
    height: 50px;
    margin-top: 10px;
    border-radius: 7px;
  }

h4{
  color: #ffffff;
  font-size: 22px;
  padding-top: 14px;
  letter-spacing: 1px;
}

/* Media Queries */

@media all and (min-width:1200px){
  .contenido{
    width: 950px;
  }
}

@media all and (max-width:1199px) and (min-width:961px){
  .contenido{
    width: 711px;
  }
}

@media all and (max-width:960px) and (min-width:724px){
  .contenido{
    width: 474px;
  }
}

@media all and (max-width:723px) and (min-width:500px){
  .contenido{
    width: 237px;
  }
}

@media all and (max-width:499px){
  .caja{
    width: 250px;
    display: flex;
  }

  .contenedor{
    width: 250px;
    height: 737px;
    position: absolute;
  }

  .contenido{
    width: 250px;
    margin-left: 10px;
    margin-top: 500px;
  }
}

@media all and (max-height:500px){

  .contenedor{
    width: 250px;
    height: 280px;
  }

  .logo{
    transform: scale(30%);
    width: 80px;
    height: 80px;
    padding-top: 2px;
    padding-left: 0px;
  }

  .menu{
    padding-bottom: 2px;
    padding-top: 2px;
  }

  h2{
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .redes{
    padding-top: 2px;
    padding-bottom: 2px;
  }
}
