/* Maquetación web ===========================*/


body {
  width: 100%;
  margin: 0px auto;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  background-image: url('../S2HGames_img/s2h-background-01.png');
  background-position: center;
  background-size: 100%;
  font-size: 14px;
}

/* ESTILOS GENERALES */
/*=================================================================================*/

.s2h-color-sky {
  color: #60c0fa;
}
.s2h-color-black {
  color: #000;
}
.s2h-cursor {
  cursor: pointer;
}

.s2h-row {
  display: flex;
  flex-direction: row;
}
.s2h-column {
  display: flex;
  flex-direction: column; 
}
.s2h-align {
  align-items: center;
}
.s2h-justify {
  justify-content: center;
}
.bg-sky {
  background-color: #60c0fa;
}
.bg-green {
  background-color: #5dd6ab;
}

.s2h-size-18 {
  font-size: 18px;
}
.s2h-size-20 {
  font-size: 20px;
}

/* ESTILO MI FOTO DE PERFIL */
/*=================================================================================*/
#nav-photo {
  max-width: 316px;
  width: 100%;
  height: auto;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#nav-photo > img {
  height: 80px;
}

#nav-photo > span {
 color:  #60c0fa;
}

/* ESTILO PARA LA NAVEGACIÓN WEB */
/*=================================================================================*/
nav {
  width: 100%;
  height: auto;
  position: relative;
  margin: 0px auto;
  background-color: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .2);

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#nav-box {
  max-width: 900px;
  min-height: 80px;
  width: 100%;
  height: auto;
  position: relative;
  margin: 0px auto;

  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.nav-option {
  width: 120px;
  height: 50px;
  margin: 5px 10px;
}
.nav-option:hover {
  border-bottom: 2px solid #60c0fa;
}
.nav-option-active {
  border-bottom: 2px solid #60c0fa;
}

/* ESTILO PARA EL PANEL PRINCIPAL WEB */
/*=================================================================================*/
section {
  width: 100%;
  height: auto;
  position: relative;
  margin: 0px auto;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

article {
  max-width: 1216px;
  min-height: 800px;
  width: 100%;
  height: auto;
  position: relative;
  margin: 20px auto;
  background-color: #ffffffb5;
  box-shadow: 0 1px 33px rgba(0,0,0,.15);
}
.article-title {
  max-width: 1216px;
  min-height: 120px;
  width: 100%;
  height: auto;
  position: relative;  
  color: #d4cfcf;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.article-subtitle {
  background-color: #60c0fa;
  padding: 5px 10px;
  color: #fff;
}
.article-panel {
  max-width: 1216px;
  min-height: 380px;
  width: 100%;
  height: auto;
  position: relative;  
  color: #d4cfcf;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;  
  flex-wrap: wrap;
}


/* ESTILO PARA EL PANEL INICIO - PERFIL PROFESIONAL*/
/*=================================================================================*/
#article-profile {
  max-width: 45%;
  width: 100%;
  height: 90%;
  margin: 20px 10px;
  padding: 0px 20px;
  color: #000;  
}
.profile-data {
  width: 90%;
  height: 90%;
  position: relative;
}
.profile-data-1 {
  font-size: 30px;
  margin: 5px 0px;
}

.profile-data-2 {
  font-size: 40px;
  margin: 10px 0px;
  color: #60c0fa;
  font-weight: bold;
}

.profile-data-3 {
  font-size: 20px;
  margin: 10px 0px;
  color: #929090;
}

#profile-certificate {
  width: 100%;
  height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* background-color: #cc2; */
}

@keyframes spinPause {
  0%   { transform: rotateY(0deg); }
  20%  { transform: rotateY(720deg); }   /* dos vueltas rápidas */
  70%  { transform: rotateY(720deg); }   /* ⏸ se queda quieto */
  100% { transform: rotateY(720deg); }   /* sigue en la misma posición */
}

#profile-certificate #profile-badge > img {
  width: 200px;

   /* cada 8 segundos repite */
  /* animation: spinPause 12s ease-in-out infinite; */
}
.profile-data-4 {
  font-size: 20px;
  margin: 10px 0px;
  color: #002050;  
}
#profile-badge {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* ESTILO PARA EL PANEL INICIO - PHOTO PROFESIONAL*/
/*=================================================================================*/
#article-photo {
  max-width: 45%;
  width: 100%;
  height: 90%;
  margin: 0px 10px;
  padding: 0px 20px;
  color: #000;
}

#profile-photo {
  width: 100%;
  height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background-color: #ccc; */
}

#profile-photo > img {
  width: 420px;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* Aplica la animación */
#effect-experience,
#effect-mobile,
#effect-mail {
  position: absolute;
  background-color: #0808089e;
  padding: 10px;
  color: #fff;  
  border-radius: 6px;
  animation: float 3s ease-in-out infinite;
}

#effect-experience { top: 15%; left: 5%; }
#effect-mobile     { top: 40%; left: 68%; }
#effect-mail       { top: 88%; left: 8%; }

.effect-icon {
  color: #60c0fa;
  margin: 5px;
}

#effect-experience { animation-delay: 0s; }
#effect-mobile     { animation-delay: 1s; }
#effect-mail       { animation-delay: 2s; }

/* ESTILO PARA EL PANEL HABILIDADES - SKILL FRONTEDND*/
/*=================================================================================*/
#article-frontend {
  max-width: 45%;
  width: 100%;
  height: 90%;
  margin: 0px 10px;
  padding: 0px 20px;
  color: #000;
}

/* ESTILO PARA EL PANEL HABILIDADES - SKILL BACKEND*/
/*=================================================================================*/
#article-backend {
  max-width: 45%;
  width: 100%;
  height: 90%;
  margin: 0px 10px;
  padding: 0px 20px;
  color: #000;
}


/* ESTILO PARA EL PANEL EDUCACIÓN - EDUCACIÓN PROFESIONAL*/
/*=================================================================================*/

#article-education {
  max-width: 45%;
  width: 100%;
  height: 90%;
  margin: 20px 10px;
  padding: 0px 20px;
  color: #000;
}
.article-category {
  width: 100%;
  height: 30px;
  border-left: 2px solid #60c0fa;
  font-weight: bold;
  display: flex;
  font-size: 18px;
  flex-direction: column;
  justify-content: center;
  padding: 0px 5px;
}
.description {
  width: 100%;
  height: 100px;
  margin: 20px 5px;
  font-style: oblique;
}

/* Nueva Visualización de certificados */
.box-certification {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.box-course {
  width: 100%;
  height: 680px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}
.icon-course {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 35px;
}
.icon-program {
  color: #9a1f60;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 35px;
}
.icon-program > img {
    width: 40px;  
}
.card-bg-01 {
    background-image: url(../S2HGames_img/bg_certificate_03.png);
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-size: 40%;
}
.card-bg-02 {
    background-image: url(../S2HGames_img/bg_certificate_04.png);
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-size: 40%;
}
.card-bg-03 {
    background-image: url(../S2HGames_img/bg_certificate_05.png);
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-size: 40%;
}
.card-course {
    width: 200px;
    height: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    margin: 10px;
    border: 4px solid #e2e7ec;
}
.card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px auto;
  height: 100px;
}
.card-school {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}
.card-button {
    width: 155px;
    height: 35px;
}
.card-button a {
  text-decoration: none;
  width: 155px;
  height: 35px;
  background-color: rgb(0, 38, 43);
  color: #fff;
  border-radius: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15px auto;  
}

/* ESTILO PARA EL PANEL EDUCACIÓN - EDUCACIÓN CONTINUA*/
/*=================================================================================*/

#article-learning {
  max-width: 45%;
  width: 100%;
  height: 90%;
  margin: 0px 10px;
  padding: 0px 20px;
  color: #000;
}
.box-education {
  width: 100%;
  margin: 40px 5px;
  border-left: 1px solid #60c0fa;
}

.nav-learn {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.option-learn {
  padding: 9px;
  margin: 0px 20px;
  cursor: pointer;
  border-radius: 4px;
  color: #000;
  
}

.option-learn:hover {
  color: #9a1f60;
  border-bottom: 2px solid #9a1f60;
}

.option-learn-active {
  color: #9a1f60;
  border-bottom: 2px solid #9a1f60;
}

.year {
  width: 120px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #60c0fa;
  color: #fff;  
}
.box-learn-title {
  width: 100%;
  height: 100px;
  margin: 0px auto;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.learn-trophy {
  width: 100px;
  height: 100px;
  margin: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(../S2HGames_img/bg_trophy.png);
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
}
.learn-trophy>img {
  width: 65%;
}

.learn-trophy:hover > img {
  transform: rotateY(360deg);
  transition: 0.5s;
}

.learn-trophy-aws {
  width: 100px;
  height: 100px;
  margin: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
}
.learn-trophy-aws>img {
  width: 100%;
}

.learn-trophy-aws:hover > img {
  transform: rotateY(360deg);
  transition: 0.5s;
}

.school {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.school > img {
  height: 28px;
}
.btn-certificate {
    width: 200px;
    height: 20px;
    margin: 5px 0px;
    padding: 5px;
    color: #60c0fa;
    font-size: 15px;
    display: flex;    
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-style: italic;
}
.btn-certificate >a:hover {
    border-bottom: 1px solid #000;
    color: #000;
}
.btn-certificate > a {
  text-decoration: none;
  color: #60c0fa;
  border-bottom: 1px solid;
}
.navigate {
  width: 100%;
  height: 50px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.control {
    width: 60px;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #60c0fa;
    color: #fff;
    margin: 0px 20px;
    font-size: 15px;
}

.nav-skill {
  width: 100%;
  height: 30px;
}
.btn-skill {
  width: 110px;
  height: 30px;
  background-color: #Ccc;
  color: #Fff;
}

/* ESTILO PARA EL PANEL HABILIDADES - FRONTEND - BACKEND*/
/*=================================================================================*/
.s2h-progress-skill {
  width: 390px;
  height: 39px;
  margin: 0px auto;
  position: relative;
  margin-bottom: 30px;
  margin-top: 20px;
}
.s2h-progress {
  width: 390px;
  height: 5px;
  margin: 0px auto;
  position: relative;
  background-color: #e9eaea;
  align-items: center;
}
.s2h-anim-progress {
  height: 5px;
  position: relative;
  background-color: #acadad !important;
}
.s2h-progress-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7d7dc;
  box-shadow: 0 0 0 10px rgba(136,177,69,.1);
  position: relative;
}
.s2h-progress-tooltip {
  width: 70px;
  height: 25px;
  position: absolute;
  opacity: 1;
  top: -36px !important;
  left: -30px;
  justify-content: center;
  align-items: center;
}
.s2h-arrow {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  margin: 0px auto;
  margin-top: -14px;
  margin-left: 3px;
}
.s2h-anim-100 {
  width:100% !important;
}
.s2h-anim-95 {
  width:95% !important;
}
.s2h-anim-90 {
  width:90% !important;
}
.s2h-anim-85 {
  width:85% !important;
}
.s2h-anim-80 {
  width:80% !important;
}
.s2h-anim-75 {
  width:75% !important;
}
.s2h-anim-70 {
  width:70% !important;
}
.s2h-anim-65 {
  width:65% !important;
}
.s2h-anim-60 {
  width:60% !important;
}
.s2h-font-skill-title {
  font-size: 12px;
  line-height: 2.57;
  color: #000;
  font-weight: 500;
  letter-spacing: 1.8px;
}
.s2h-font-tolltip {
  font-size: 13px;
  line-height: 1.2;
  color: #fff;
  font-weight: 400;
}

/* ESTILO PARA LA ADAPTACIÓN WEB */
/*=================================================================================*/

/* 📱 Teléfonos pequeños (hasta 480px) */
@media screen and (max-width: 480px) {
  nav {
    flex-direction: column;
  }

  #article-profile,
  #article-photo,
  #article-frontend,
  #article-backend,   
  #article-education,
  #article-learning {
    max-width: 95%;
    width: 95%;
    height: auto;
    margin: 10px 0;
  }

  #profile-photo {
    height: auto;
  }

  #profile-certificate {
    height: auto;
  }  

  #profile-data {
    text-align: center;
  }  

  #profile-certificate #profile-badge > img {
    width: 60%;
  }

  #profile-photo > img {
    width: 90%;
  }    

  #profile-badge {
    flex-direction: column;
  }  

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

  .card-course {
    width: 95%;
    max-width: 95%;
    min-width: 95%;
  }

  .card-title {
    font-size: 18px;
  }

  .s2h-progress-skill {
    width: 95%;
    height: auto;
  }
  .s2h-progress {
    width: 100%;
  }

  .box-course {
    height: auto;
  }
}

/* 📱 Teléfonos grandes (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
  nav {
    flex-direction: column;
  }

  #article-profile,
  #article-photo,
  #article-frontend,
  #article-backend,  
  #article-education,
  #article-learning {
    max-width: 90%;
    width: 90%;
    height: auto;
    margin: 10px 0;
  }

  #profile-photo {
    height: auto;
  }

  #profile-certificate {
    height: auto;
  }  

  #profile-data {
    text-align: center;
  } 

  #profile-certificate #profile-badge > img {
    width: 60%;
  }

  #profile-photo > img {
    width: 90%;
  }    

  #profile-badge {
    flex-direction: column;
  }  

  .card-course {
    width: 90%;
    max-width: 90%;
    min-width: 90%;
  }

  .card-title {
    font-size: 20px;
  }

  .s2h-progress-skill {
    width: 90%;
  }
  .s2h-progress {
    width: 100%;
  }

  .box-course {
    height: auto;
  }
}

/* 📲 Tablets (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }  

  #article-profile,
  #article-photo,
  #article-education,
  #article-learning {
    max-width: 45%;
    width: 100%;
    margin: 10px;
  }

  #article-frontend,
  #article-backend {
    max-width: 90%;
    width: 100%;
    margin: 10px;    
  }    

  #profile-photo {
    height: auto;
  }

  #profile-certificate {
    height: auto;
  }

  #profile-data {
    text-align: center;
  } 

  #profile-photo > img {
    width: 90%;
  }    

  #profile-certificate #profile-badge > img {
    width: 60%;
  }

  #profile-photo > img {
    width: 90%;
  }  

  #profile-badge {
    flex-direction: column;
  }   

  .card-course {
    width: 45%;
    max-width: 45%;
  }

  .s2h-progress-skill {
    width: 80%;
  }
  .s2h-progress {
    width: 90%;
  }

  .box-course {
    height: auto;
  }
}

/* 💻 Laptops pequeñas (1024px - 1366px) */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  #article-profile,
  #article-photo,
  #article-frontend,
  #article-backend,  
  #article-education,
  #article-learning {
    max-width: 45%;
  }

  .card-course {
    width: 30%;
    max-width: 30%;
  }

  .s2h-progress-skill {
    width: 390px;
  }
  .s2h-progress {
    width: 390px;
  }
}

/* 🖥️ Pantallas grandes (1367px en adelante) */
@media screen and (min-width: 1367px) {
  #article-profile,
  #article-photo,
  #article-frontend,
  #article-backend,  
  #article-education,
  #article-learning {
    max-width: 40%;
  }

  .card-course {
    width: 25%;
    max-width: 25%;
  }

  .s2h-progress-skill {
    width: 450px;
  }
  .s2h-progress {
    width: 450px;
  }
}
