*{
    margin:0 auto;
}
html{
       background-color: #F9f7e8;
}
.nombre{
    font-size: 4.5vw;
    font-family: 'old Standard tt';
    text-align: center;
    margin:70px;
    font-weight: normal
}
#puntito{
    letter-spacing: 3vw;
}
#puntitoB, #puntito{
    display: inline;
    font-size: 3vw;
}
nav a:before, nav a:after{
    position: absolute; /*copiado*/
    color:silver;
    opacity: 0;
    font-size: 20px;
    top: 7px;
    transition: 0.4s;
}
nav a:before{ /*copiado*/
    content: '[';
    left: -5px;
    transform: translateX(10px);
    font-size: 25px;
}
nav a:after{ /*copiado*/
    content: ']';
    right: -5px;
    transform: translateX(-10px);
    font-size: 25px;
}
nav a:hover:before, nav a:hover:after{ /*copiado*/
    opacity: 1;
    transform: translateX(0px);
}
nav ul{
	width:75%;
	height:50px;
	margin-top:25px;
	padding:0px;
	display:flex;
    justify-content: center;
	align-items: center;
    list-style-type:none;
}
li a/*, #skills-bars*/, .column li{ 	
	padding: 10px 10px;/*copiado*/
    position: relative;/*copiado*/
	text-decoration: none;
    list-style-type:none;
	font-family: 'Poiret One', cursive;
    font-size: 15px;
    font-weight: bold;
	color: #61bfad;
}
i{
    letter-spacing: 15px;
}
@media (max-width: 700px) {
li i::before{
    display:none;
  }
}
@media (max-width: 500px) {
.nombre{
    margin-bottom: 2.5vw;
    }
nav ul{
     margin-top: 2.5vw;
     margin-bottom: 2.5vw;
    }
nav li a{
    font-size: 2.5vw;
    }
}

#portfolio{
    width: 80%;
    display: flex;
    flex-wrap:wrap;
    margin-top: 50px;
    justify-content: center;
}
#portfolio a{
    width:28%; /*el link ocupa el 30% del container "portfolio"*/
    margin:5px; /*dejar*/
}
article{
    width: 100%;/*la imagen ocupa el 100% del link, que a su vez es el 30% del contenedor*/
    height: 100%;
    position: relative;
    background:silver; /*http://jsfiddle.net/4Dfpm/*/
    justify-content: flex-start; 
}
img{
    width: 100%; /*la imagen ocupa el 100% de width y height del article*/
    height: 100%;
}
article:hover{
    transform:scale(1.01); /*se tiene que escalar todo el cuadrado y no solo la imagen*/
    transition:1s; 
}
article:hover img{
    opacity:0.2;
    transition:1s; 
}
.overlay {
    position: absolute;
    top:0; bottom: 0; left:0; right:0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .13s ease;
}
 article:hover .overlay{
    opacity: 1;
}
.texto-hover {
    color: white;
    font:  4vw 'Old Standard TT',bold, sans-serif;
    position: absolute;
    line-height: 4vw;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
   transition: 0.5s ease-in-out;
}
 article:hover .texto-hover {
    opacity: 1;
}
#more{
    width: 80%;
    display: flex;
    margin-top: 5px;
    justify-content: center;
}
#more a{
    width: 85.6% /*revisar*/
}
.more{
    top: 60%;
    left: 50%;
}
#article-more{
    background:darkgrey;
}
hr{
    margin-top: 50px;
    height: 6px;
    background: url(img/hr.png) repeat-x 0 0;
    border: 0; 
}
.about-skills, #footer-sign, #web{
    font-family: 'Poiret One', cursive;
    font-size: 30px;
    font-weight: bold;
    color: #61bfad;
    text-align: center;
}
.about-skills, #about-skills-text{
    width: 67.2%; /*28%x3=84% ocupan las tres imagenes. 
    eso es a 100 lo que 67.2 a 80% que es el total de mi width*/
    margin-top:25px;
    font-size: 40px;
    text-align: left;
}
#about-skills-text, #disenoweb{
    font-size: 1.4vw;
    font-family:  'Tajawal';
    color: #61bfad;/*color: #ff8b8b;*/
    line-height: 2vw;
}
@media (max-width: 750px) {
    #about-skills-text{
    font-size: 12px;
    line-height: 12px;
    }
}
#about-skills-text a{
    color:black;
    text-decoration: none;
}
#about-skills-text a:hover, #disenoweb a:hover{
    color: #EECD65;
}
.pink{
    color: #ff8b8b;
}

.column {
    float: left;
    width: 25%;
    padding: 8px;
}
.column ul{
    padding:0;
}
.right{
    width: 25%;
    min-width: 110px;
}
.column li{
    color: #ff8b8b;
    font-size: 15px;
    letter-spacing: 1px;
    padding:0;
    padding-top: 10px;
    min-width: 120px;
}

.row:after {
    content: "";
    display: table;
    clear: both;/*  borrar el float despues de las columnas */
}
.row{
    width: 67.2%;
    margin-top: 25px;
    min-width: 230px;
}
span{
    height: 11px;
    width: 11px;
    border: 2px solid #ff8b8b;
    display: inline-block;
    border-radius: 50%;
    margin: 0px 0px 0px 9px;
    text-align: center;
    background-color:#ff8b8b ;
    color: white;
    border-radius: 50%;
}

#span-empty{
    background-color: #F9f7e8;
}

footer{
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
footer ul{
    /*background-color: /*#b22a47;#bea1a5; #e54b4b; eeb200 */
    list-style-type:none;
    padding: 0;
    padding-top: 30px;
    padding-bottom: 30px;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
}
footer li{
    margin: 0;
}
footer li a{
    color: black;
    padding: 0;
    margin:0;
    line-height: 25px;
}
footer li a:hover{
    color: #ff8b8b;
}
h2{
    font-size: 18px;
}
@media (max-width: 650px) {
h3{
    font-size: 28px;
    }
h2{
    font-size: 13px;
    }
}
@media (max-width: 500px) {
footer ul li{
    display: none;
    }
}

#y{
    font-family: arial;
    display: inline;
}
#foto img{
    width: 125px;
    border-radius: 50%;
}


#photos {
  /* Prevent vertical gaps */
  /*https://css-tricks.com/seamless-responsive-photo-grid/*/
  line-height: 0;
  -webkit-column-count: 4;
  -webkit-column-gap:   0px;
  -moz-column-count:    4;
  -moz-column-gap:      0px;
  column-count:         4;
  column-gap:           0px; 
  width: 80%; 
  margin-top: 50px;
}

#photos img {
  /* por si hay atributos inline */
  width: 75% !important;
  height: auto !important;
  margin:10px 10px 35px 10px;
}
#photos #img-popup{
    width: 95% !important;
    margin:10px;
}

@media (max-width: 1200px) {
  #photos {
  -moz-column-count:    4;
  -webkit-column-count: 4;
  column-count:         4;
  }
}
@media (max-width: 1000px) {
  #photos {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }
}
@media (max-width: 800px) {
  #photos {
  -moz-column-count:    2;
  -webkit-column-count: 2;
  column-count:         2;
  }
}
@media (max-width: 400px) {
  #photos {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }
}


/**/
.popup {
    display: none;
    position: absolute;
    padding: 10px 35px 20px 25px;
    width: 40%;
    left: 25%;
    right: 25%;
    top: 20%;
    background: #FFF;
    z-index: 20;
    text-align: right;
    box-shadow: 3px 3px 4px rgba(0,0,0,0.7)
}

.popup img{
    padding-top:10px;
}
.popup::before  {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #FFF;
    z-index: -1;
}

.popup::after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    z-index: -2;
}
button{
    background: #61bfad;
    background-image: linear-gradient(#bababa, #ababab);
    border-radius: 28px;
    border:none;
    font-family: Arial;
    color: #ffffff;
    font-size: 15px;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}
button:hover {
    background: #bababa;
    background-image: linear-gradient( #61bfad, #6dd1bd);
    text-decoration: none;
}

.sec{
    display: none; /*ocultar número*/
}
.sec:target{
    display: block;
}

#data{
    margin-top: 100px;
    margin-bottom: 100px;
}
#data, #data a{
    text-align: center;
    font-family:'Poiret One';
    font-size: 25px;
    color:#ff8b8b;
    font-weight: bold;
    letter-spacing: 1.5px;
    line-height: 80px;
    text-decoration: none;
    display: block;
}
#data a:hover{
    color: #EECD65;
}
@media (max-width: 520px) {
    #data, #data a{
        font-size: 19px;
        line-height: 50px;
    }
    #data{
        margin:60px;
    }
}
