*{
  margin: 0;
  padding: 0;
}
p{
  color: #000;
  font-size: 13px;
  text-align: justify;
}

.inner-page-banner {
background: url(../img/fondoregla.jpg) no-repeat center;
    height: 500px;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  z-index: 4;
}
.inner-page-banner .opacity {
 
  height:100%;
  padding-top: 256px;
  padding-bottom: 90px;
}
.inner-page-banner .opacity h2 {
  color:red;
  font-weight: lighter;
}
#contenedor{
  width: 80%;

  margin:0 auto;
  margin-top: 20px;
}
#contenedor h3{
  text-align: center;
    background-color: #96222d;
   font-family:Arial, sans-serif;
  font-size: 1.6em;
  padding: 10px;
  color: #fff;
}
#texto{
  width: 90%;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
.m1{
  float: left;
  width: 20%; display: block; height: 100px;
}
.m2{float: left;
width: 80%; display: block; height: 100px;}
#respuesta-ej5{
  width: 100%;
  text-align: justify;
}
#contenedor #btn a{
  color: #fff;
  padding: 10px;
  font-size: 15px;
  margin-top: 5px;
  margin-bottom: 5px;

  width: 100%;
  text-align: left;


  -moz-box-shadow: 1px 1px 1px #666;
  -webkit-box-shadow: 1px 1px 1px #666;
  -o-box-shadow: 1px 1px 1px #666;
  box-shadow: 1px 1px 1px #666;


  display: block;
  font-family:Arial, sans-serif;
  font-size: 1.2em;

  text-decoration: none;
  text-shadow: 1px 1px 1px #666;

  background: #073e58;
  -webkit-transition: background 0.5s linear;
  -moz-transition: background 0.5s linear;
  -o-transition: background 0.5s linear;
  transition: background 0.5s linear;
}

#im2 h3{
  text-align: center;
  background: #fff;
  color: #000;
}
#im{
  margin-top: 20px;
    margin-bottom: 20px;
 

}
.portafolio{

  margin: auto;
}

.portafolio-container{
  margin:0 auto;

  box-shadow: 2px 3px 29px -2px rgba(0,0,0,1);
}
.portafolio-item img{
  width: 100%;
  height: 300px;
}
.portafolio-item{
  width: 100%;
  position: relative;
  overflow: hidden;
}

.portafolio-img{
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.portafolio-text{
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 20px;

  background: rgba(62,212,250,0.9);
  color: #000;

  -webkit-transform: translateY(100%);

  -ms-transform: translateY(100%);

  transform: translateY(100%);

  -webkit-transition: all 0.5s ease-out;

  transition: all 0.5s ease-out;
}

.portafolio-text p{
  font-weight: bold;
  text-align: justify;
}

.portafolio-item:hover .portafolio-text{
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
}

.portafolio-item:hover .portafolio-img{
  -webkit-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
}
#a1{
  background: #073e58;


}
#a1 .p1{
  color: #fff;
  font-size: 30px;
  text-align: center;
  padding: 10px;
  font-family:Arial, sans-serif;
  font-weight: bold;
}
#linia{

  border-bottom: double 1px #fff;
  width: 80%;
  margin: 0 auto;

}
#a2{
  background: #073e58;
  margin-bottom: 20px;

}
#a2 .p2{
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding: 10px;
  font-family:Arial, sans-serif;
  font-weight: bold;
}
#face{
  margin-top: 20px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  border:solid 1px #000 ;
  margin-bottom: 10px;
}
#you{
  margin: 0 auto;
  text-align: center;
}

#malla{
  background: #fa7d46;
  padding: 10px;
}
#malla h4{
  color: #fff;
  display: block;
  font-family:Arial, sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 1px #666;
  text-align: center;
  -webkit-transition: background 0.5s linear;
  -moz-transition: background 0.5s linear;
  -o-transition: background 0.5s linear;
  transition: background 0.5s linear;}
  #a-1{
    text-align: center;
    color: #fd582c;
    font-size: 17px;
    font-weight: bold;
    padding: 5px;
  }
  #vineta{
    color: #fa5919;
     font-size: 1.9em;
  font-weight: bold;
  }
    #imgale{
  border-radius: 5px 5px;
  width: 100%;
  border:solid 1px #000;
  height: auto;
}
#imgale img{
  width: 100%;
  height: 200px;
}
#imgale h4{

  padding: 10px;
}
#imgale h4 a{
   color: #000;
}