@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*width: 100vw;*/
  /*min-height: 100vh;*/
  background: #ecf0f3;
  background: #e0e5ec;
  overflow-x:hidden;
}
body::-webkit-scrollbar {
  width: 8px;
  background-color: #fff;
}
body::-webkit-scrollbar-thumb {
  background: #03a9f4;
}
.contenedor-portada,
.img-area,
.social-icons a,
.botenes-perfil button{
  background: #ecf0f3;
  box-shadow: -3px -3px 7px #ffffff,
               3px 3px 5px #ceced1;
}
.contenedor-portada {
  position: relative;
  width: 850px;
  padding: 30px;
  margin-top: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.contenedor-portada .icon{
  font-size: 17px;
  color: #31344b;
  position: absolute;
  cursor: pointer;
  opacity: 0.7;
  top: 15px;
  height: 35px;
  width: 35px;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  font-size: 16px;
}
.contenedor-portada .icon i{
  position: relative;
  z-index: 9;
}
.contenedor-portada .icon.arrow{
  left: 15px;
}
.contenedor-portada .icon.dots{
  right: 15px;
  display: none;
}
.img-area{
  height: 150px;
  width: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-area .area-interna {
  height: calc(100% - 25px);
  width: calc(100% - 25px);
  border-radius: 50%;
}
.area-interna img{
  height: 100%;
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.contenedor-portada .name{
  font-size: 23px;
  font-weight: 500;
  color: #31344b;
  margin: 10px 0 5px 0;
}
.contenedor-portada .about{
  color: #44476a;
  font-weight: 400;
  font-size: 16px;
}
.contenedor-portada .social-icons{
  margin: 15px 0 25px 0;
}
.social-icons a{
  position: relative;
  height: 40px;
  width: 40px;
  margin: 0 5px;
  display: inline-flex;
  text-decoration: none;
  border-radius: 50%;
}
.social-icons a:hover::before,
.contenedor-portada .icon:hover::before,
.botenes-perfil button:hover:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  background: #ecf0f3;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
}
.botenes-perfil button:hover:before{
  z-index: -1;
  border-radius: 5px;
}
.social-icons a i{
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  height: 100%;
  line-height: 40px;
}
.social-icons a.fb i{
  color: #4267B2;
}
.social-icons a.twitter i{
  color: #1DA1F2;
}
.social-icons a.insta i{
  color: #E1306C;
}
.social-icons a.yt i{
  color: #A0A0A0;
}
.contenedor-portada .botenes-perfil{
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.botenes-perfil button{
  position: relative;
  width: 100%;
  border: none;
  outline: none;
  padding: 12px 0;
  color: #31344b;
  font-size: 17px;
  font-weight: 400;
  border-radius: 5px;
  cursor: pointer;
  z-index: 4;
}
.botenes-perfil button:first-child{
  margin-right: 10px;
}
.botenes-perfil button:last-child{
  margin-left: 10px;
}
.contenedor-portada .social-perfil {
  display: flex;
  width: 100%;
  margin-top: 30px;
  padding: 0 5px;
  justify-content: space-evenly;
}
.social-perfil .social-fila{
  color: #31344b;
  font-size: 17px;
  cursor: pointer;
  position: relative;
}
.social-perfil .social-fila::before{
  position: absolute;
  content: "";
  height: 100%;
  width: 2px;
  background: #CED2D5;
  margin-left: -50px;
}
.social-fila:first-child::before{
  background: none;
}
.social-perfil .social-fila i.icon-2{
  position: absolute;
  left: 0;
  top: 50%;
  color: #31344b;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
/*.social-fila:nth-child(1):hover i.fa-medal,
.social-fila:nth-child(2):hover i.fa-code{
  opacity: 1;
  pointer-events: auto;*/

.social-perfil .social-fila i {
    display: flex;
    float: left;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #000;
    background: #fff;
    font-size: 10px;
    border-radius: 100%;
    border: 3px outset #EC1B1B;
    margin-right: 10px;
    box-shadow: 2px 2px 5px 1px #717977, inset 0px 0px 3px 1px #e3e3e3;
}
.social-perfil .social-fila span {
  display: flex;
  margin-top: 3px;
  cursor: default;
  text-decoration: none;
}
.social-perfil .social-fila span a {
  text-decoration: none;
}

/* -------------------- Habilidades -------------------- */
.container-habilidad {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px;
  background: #ecf0f3;
  width: 850px;
  height: 280px;
  border-radius: 10px;
  box-shadow: -7px -7px 20px 0px #fff9,
        -4px -4px 5px 0px #fff9,
        7px 7px 20px 0px #0002,
        4px 4px 5px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001;
  transition: box-shadow 0.6s cubic-bezier(0.79,0.21,0.06,0.81);
}
.frame {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  width: 100%;
  padding: 0px 0px 10px 0px;
}
.habilidades-title {
  width: 100%;
  height: auto;
  clear: both;
  float: left;
  padding-bottom: 30px;
  text-align: center;
}
.habilidades-title h1 {
  position: relative;
  z-index: 2;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  color: #31344b;
  display: inline-block;
  margin-top: 0px;
}
/*.habilidades-title h1:before {
  position: absolute;
  content: "";
  width: 100%;
  left: 0px;
  bottom: 2px;
  height: 3px;
  z-index: 1;
  background-color: #717977;
  opacity: 0.5;
  border-radius: 25px;
}*/
.btn {
  display: flex;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  margin-bottom: 15px;
  background: #e0e5ec;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  box-shadow: -7px -7px 20px 0px #fff9,
        -4px -4px 5px 0px #fff9,
        7px 7px 20px 0px #0002,
        4px 4px 5px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001;
  transition: box-shadow 0.6s cubic-bezier(0.79,0.21,0.06,0.81);
  transition: all 0.5s ease;
  font-size: 15px;
  color:  rgba(42,52,84,1);
  text-decoration: none; 
  cursor: pointer;   
}
/*.box:active {
  box-shadow: 4px 4px 6px 0px rgba(255,255,255,0.5),
        -4px -4px 6px 0px #0001 rgba(116,125,136,0.2),
        inset -4px -4px 6px 0px rgba(255,255,255,0.5),
        inset 0px 0px 0px 0px rgba (116, 125,136,0.3);
}*/
.btn:hover {
  transform: scale(1.3);
  transition: 0.4s;
  border-radius: 100%;
}
.img-style {
  width: 40px;
  height: 40px;
  object-fit: cover;
  image-rendering: crisp-edges;

}
@media screen and (max-width: 450px) {
  .frame {
    width: 80px;
    height: 400px;
    display: flex;
    flex-direction: column;
  }
}
/* -------------------- Fin de Habilidades -------------------- */


/* -------------------- Footer -------------------- */
.footer {
  width: 850px;
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  background-color: #ecf0f3;
  border-radius: 10px;
  box-shadow: -7px -7px 20px 0px #fff9,
        -4px -4px 5px 0px #fff9,
        7px 7px 20px 0px #0002,
        4px 4px 5px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001;
  transition: box-shadow 0.6s cubic-bezier(0.79,0.21,0.06,0.81);
}
.footer p {
    color: #31344b;
}
/* -------------------- Fin del Footer -------------------- */


/* -------------------- PopUp - Sombre Mi y de Tecnologias -------------------- */
.modal-container {
  display: flex;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  position: fixed;
  pointer-events: none;
  opacity: 0;  
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: opacity 0.5s ease;
  overflow: hidden;
}
.show {
  pointer-events: auto;
  opacity: 1;
}
.modal {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  position: relative;
  background-color: #e0e5ec;
  width: 600px;
  max-width: 100%;
  padding: 30px 30px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
  border-radius: 10px;
}
.modal h1 {
  margin: 2px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #01D8B7;
}
.modal p {
  opacity: 0.8;
  font-size: 14px;
  text-align: center;
  line-height: 22px;
}
.modal .boton-popup {
  position: absolute;
  top: 5px;
  right: 10px;
  border: 0;
  border-radius: 100px;
  color: #000; /*31344b*/
  font-size: 20px;
  padding: 2px 7px;
  background: #fff;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
  z-index: 300;
  cursor: pointer;
  line-height: 30px;
}
.modal .boton-popup:hover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  background: #000;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
  z-index: 250;
  border-radius: 100px;
  opacity: 0.2;
}
/* -------------------- Fin del PopUp - Sobre Mi y de Tecnologias -------------------- */

/* -------------------- PopUp - Servicios -------------------- */
.curso::-webkit-scrollbar {
  width: 8px;
  background-color: #fff;
}
.curso::-webkit-scrollbar-thumb {
  background: #03a9f4;
  border-radius: 6px;
}
.curso .servicios {
  padding: 20px 20px;
  max-width: 600px;
  margin: 20px;
  transition: 0.5s;
  text-align: center;
  background: #ecf0f3;
  border-radius: 20px;
  box-shadow: -3px -3px 7px #ffffff,
               3px 3px 5px #ceced1;
}
.curso .servicios h2 {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  color: #EC1B1B; 
}
.curso .servicios p {
  font-size: 14px;
  font-weight: 400;
  text-align: justify;
  color: #000;
  margin-top: 5px;
  margin-bottom: 5px;
  opacity: 0.8;
}
.servicios-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    grid-gap: 1rem;
    padding-top: 20px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.5;
    background-clip: padding-box;
}
.inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #000;
    overflow: hidden;
    background-color: #FCFCFC;
    border: 12px solid #ecf0f3;
    padding: 10px 10px 5px 10px;
    border-radius: 8px;
    box-shadow: -3px -3px 7px #ffffff,
               3px 3px 5px #ceced1;
    background-clip: padding-box;
}
.inner {
    transform: scale(1);
}
.inner:hover {
    transform: scale(0.9);
    transition: 1s;
    overflow: hidden;
}
.servicios-contenedor .servicios-lista .inner .svg {
    width: 50px;
    height: 50px;
    color: #00A3E1;
    margin-bottom: 10px;
}
.servicios-contenedor .servicios-lista .inner .texto p {
  text-align: center;
}
/* -------------------- Fin de PopUp - Servicios -------------------- */

/* -------------------- PopUp - Cursos y Proyectos -------------------- */
.curso-container {
  display: flex;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  position: fixed;
  pointer-events: none;
  opacity: 0;  
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: opacity 0.5s ease;
  overflow: hidden;
}
.show {
  pointer-events: auto;
  opacity: 1;
}
.curso {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  position: relative;
  background-color: #e0e5ec;
  width: 600px;
  height: 400px;
  max-width: 100%;
  padding: 30px 30px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
  border-radius: 10px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.curso h1 {
  margin: 2px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #01D8B7;
}
/*.curso p {
  opacity: 0.8;
  font-size: 14px;
  text-align: center;
  line-height: 22px;
}*/
.curso .boton-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  border-radius: 100px;
  color: #000; /*31344b*/
  font-size: 20px;
  padding: 2px 7px;
  background: #fff;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
  z-index: 300;
  cursor: pointer;
  line-height: 30px;
}
.curso .boton-popup:hover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  background: #000;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
  z-index: 250;
  border-radius: 100px;
  opacity: 0.2;
}
.contenido-certificado .subclase-certificado {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.contenido-certificado .subclase-certificado .certificados {
  padding: 40px 20px;
  max-width: 600px;
  margin: 20px;
  transition: 0.5s;
  text-align: center;
  background: #ecf0f3;
  border-radius: 20px;
  box-shadow: -3px -3px 7px #ffffff,
               3px 3px 5px #ceced1;
}
.contenido-certificado .subclase-certificado .certificados:hover {
  background: #ecf0f3;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
}
.contenido-certificado .subclase-certificado .certificados img {
  max-width: 500px;
  border-radius: 20px;
  box-shadow: -3px -3px 7px #ffffff,
               3px 3px 5px #ceced1;
}
/* ------ Esta parte solo va en proyectos ----- */
.certificados h2 a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  transition: 0.5s;
}
.certificados h2 a:hover {
  color: #EC1B1B;
}
.certificados p {
  color: #000;
  margin: 0;
  transition: 0.5s;
}
/* -------------------- Fin del PopUp - Cursos y Proyectos -------------------- */
@media screen and (max-width: 650px) {
  .contenedor-portada,
  .container-habilidad,
  .footer {
    max-width: 500px;
  }
  .modal, .curso {
    max-width: 95%;
  }
  .modal h1 {
    font-size: 25px;
  }
  .social-perfil .social-fila span {
    font-size: 15px;
    line-height: 25px;
    display: none;
  }
  .social-perfil .social-fila::before {
    display: none;
  }
  .contenido-certificado .subclase-certificado .certificados {
    padding: 40px 15px;
    margin: 10px 10px;
  }
  .contenido-certificado .subclase-certificado .certificados img {
    max-width: 450px;
  }
}


@media screen and (max-width: 450px) {
  .contenedor-portada {
    max-width: 350px;
    padding: 10px;
  }
  .contenedor-portada .social-icons {
    display: flex;
  }
  .botenes-perfil button {
    font-size: 15px;
  }
  .social-perfil .social-fila span {
    display: none;
  }
  .social-perfil .social-fila::before {
    display: none;
  }
  .contenedor-portada .social-perfil {
    margin-top: 20px;
  }
  .social-perfil .social-fila {
    margin-bottom: 10px;
  }
  /* TODO LO DE ARRIBA ES DEL PERFIL */
  .container-habilidad, .footer {
    max-width: 350px;
  }
  .frame {
    display: flex;
    flex-direction: row;
    height: 150px;
  }
  .btn {
    margin: 20px 20px 20px 20px;
  }
  /* POP UP GENERAL */
  .modal {
    max-width: 95%;
    padding: 30px 20px;
  }
  /* POP UP SERVICIOS */
  .curso{
    width: 95%;
    padding: 30px 5px;
  }
  .curso .servicios {
    margin: 4px 4px;
    margin-top: 20px;
    padding: 20px 10px;
  }
  .servicios-lista {
    grid-gap: 0.5rem;
    font-size: 10px;
  }
  .inner {
    border: 8px solid #ecf0f3;
    padding: 8px 8px 3px 8px;
  }
  .servicios-contenedor .servicios-lista .inner .texto p {
    font-size: 12px;
  }
  /* POP UP CERTIFICADOS y PROYECTOS */
  .contenido-certificado .subclase-certificado .certificados {
    padding: 10px 10px;
    max-width: 350px;
    margin: 4px 4px 20px 4px;
  }
  .contenido-certificado .subclase-certificado .certificados img {
    max-width: 300px;
    opacity: 0.8;
  }
  .certificados p {
    font-size: 10px;
  }
} 