/* Reset básico */
*{
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

*:focus {
  outline: none;
}


/* SCROLL */
*::-webkit-scrollbar {
  width: 14px;
}
/* Estilos barra (thumb) de scroll */
*::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
*::-webkit-scrollbar-thumb:active {
  background-color: #999999;
}
*::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Estilos track de scroll */
*::-webkit-scrollbar-track {
  background: #e1e1e1;
  border-radius: 4px;
}
*::-webkit-scrollbar-track:hover, 
*::-webkit-scrollbar-track:active {
  background: #d4d4d4;
}


/* General */
img{
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}

body{
  background-color: #eee7e7;
  color: #16a085;
  text-align: center;
}

header {
  width: 100%;
  margin-top: 0;
  padding: 8px;
  background-color: #16a085;
  color: #eee7e7;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 90%;
}
header button {
  position: absolute;
  left: 5px;
}

header a {
  text-decoration: none;
  color: inherit;
}

header a:hover, header a:focus {
  font-weight: 500;
}

/* Flecha hacia arriba y hacia atrás*/
.ir-arriba {
	display: none;
	padding: 3%;
	background: #1da288;
	font-size:20px;
	color:#fff;
	cursor: pointer;
	position: fixed;
	bottom: 20px;
  right: 20px;
  border-radius: 10%;
}
.ir-arriba img {
  width: 16px;
}

header img {
  width: 10px;
  position: absolute;
  left: 5%;
}

/* Contenedor general */ 
.container {
  display: flex;
  flex-flow: column nowrap;
}

/* Main */
main {
  min-height: 200px;
  margin: 25px auto 30px auto;
}

main section {
  min-height: 50px;
}

/* Contenedor info del avatar */
.perfil {
  display: flex;
  flex-flow: column nowrap;
}

.perfil img {
  margin: 5px;
  align-self: center;
  width: 40%;
  border-radius: 100%;
  max-width: 205px;
}

h1 {
  font-family: 'Zilla Slab', serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  word-spacing: 3px;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  letter-spacing: 3px;
  color: black;
  font-size: 15px;
  text-transform: uppercase;
}

.perfil-links {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  margin: 20px auto;
}
  .perfil-links li a img {
    width: 25px;
    border-radius: 0;
    margin: 1px;
  }
  .perfil-links a {
    flex: 1 1 auto;
    margin: 2px;
    opacity: 0.8;
    cursor: pointer;
  }
    .perfil-links a:hover {
      opacity: 1;
    }


/* Contenedor descripción del avatar */
.descripcion {
  display: flex;
  flex-flow: column nowrap;
}
  .descripcion ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 1% 10%;
    list-style-type: none;
    color: #0E1E1B;
  }
    .descripcion li {
      flex: 1 1 auto;
      min-width: 150px;
      margin: 10px auto;
      max-width: 413px;
    }

  .descripcion h5 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 105%;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #16a085;
  }
  .descripcion p {
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 400;
    font-size: 100%;
  }
  .descripcion a {
    color: #16a085;
    text-decoration: none;
    font-weight: 500;
  }
    .descripcion a:hover, a:focus {
      font-weight: 600;
      text-shadow: 0 2px 4px rgba(33, 92, 72, 0.37);
    }

.boton-contacto {
  align-self: center;
  margin-top: 10px;
  border: none;
}
  .boton-contacto a {
    background-color: #16a085;
    color: whitesmoke;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Zilla Slab', serif;
    font-size: 110%;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    opacity: 0.8;
  }
    .boton-contacto a:hover, a:focus, a:active {
      font-weight: 500;
      opacity: 1;
      transition: 0.1s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    }



/* Contenedor footer */
footer {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  padding: 0 10% 0 10%;
  margin: 40px auto 30px auto;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 100%;
}

.final {
  margin-top: 15px;
  font-size: 90%;
}

.final1 {
  margin-top: 15px;
  font-size: 100%;
}

.linea-footer {
  color: #16a085;
  border: 0;
  margin: 1% 0 2% 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(31, 143, 106, 0.308), rgba(31, 143, 106, 0.699), rgba(31, 143, 106, 0.308));
}

footer a {
  color: #16a085;
  text-decoration: none;
}
  footer a:hover, a:focus {
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(33, 92, 72, 0.37);
  }



/* media queries - breakpoints */

@media screen and (min-width:674px) {
  .descripcion li{
    width: 52%;
    max-width: 430px;
  }
  
  .perfil img {
    width: 30%;
  }

  .ir-arriba {
    padding: 2%;
  }
  .ir-arriba img {
    width: 20px;
  }

}/*674px*/


@media screen and (min-width:900px) {

  main {
      flex-flow: row nowrap;
  }

  .descripcion {
    margin: 1% 2%;
  }
  
  .descripcion ul {
    margin: 1% 5%;
  }
  .descripcion li {
    max-width: 30%;
    margin: 2% 1.5%;
  }

  .ir-arriba {
    padding: 1.5%;
  }
  .ir-arriba img {
    width: 25px;
  }

}/*900px*/


@media screen and (min-width:1024px) {

  h1 {
    font-size: 25px;
  }
  h2 {
    font-size: 18px;
  }
  .perfil-links li a img {
    width: 30px;
    margin: 3px;
  }
  .boton-contacto a {
    font-size: 140%;
    padding: 10px 16px;
  }
  
}/*1024px*/
