@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');
:root{
  --color-blue: #13abec;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
.container-about-skill.activeBorder{
  transition: border .2s ease;

  border: 1px solid #999999;
}
/* * * * * * * * * * * Estilos generales * * * * * * * * * * * * * * * */
body{
  color: aliceblue;
  background-color: #111;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
}
.color-blue{
  color: var(--color-blue);
  font-weight: bold;
}
::selection{
  color: aliceblue;
  background-color: var(--color-blue);
}
::-webkit-scrollbar{
  width: 8px;
}
::-webkit-scrollbar-thumb{
  background-color: #222;
  width: 8px;
  border-radius: 6px;
}
::-webkit-scrollbar-track{
  background-color: #111;
  width: 8px;
}
/* * * * * * * * * * * Header * * * * * * * * * * * * * * * */
.header{
  margin: 0 auto;
  max-width: 2000px;
  height: 700px;
}
.container-header{
  width: inherit;
  height: inherit;
  position: relative;
}
.container-nav{
  margin: 0 auto;
  right: 0;
  left: 0;
  position: fixed;
  padding: 0 65px;
  max-width: 2000px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 8;
  transition: background-color .6s ease;
  background-color: #111;
}
.container-nav-list{
  display: flex;
  background-color: none;
  gap: 35px;
  transition: .3s ease;
}
.nav-list-item{
  list-style: none;
}
.list-item-link{
  padding: 8px 10px;
  display: block;
  font-weight: bold;
  text-decoration: none;
  color: aliceblue;
  border-radius: 6px;
  transition: .2s all ease-in-out;
}
.list-item-link:hover, .list-item-link:active{
  color: var(--color-blue);
}
.header-info-title{  
  display: block;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-size: 1.9rem;
}
.container-btn-burguer{
  cursor: pointer;
  display: none;
}
@media screen and (max-width: 650px){
  .container-nav{
    padding: 0 25px;
  }
  .container-btn-burguer{
    display: block;
    position: fixed;
    z-index: 9;
    right: 45px;
  } 
  .container-nav-list{
    display: flex;
    padding: 65px 0 0 0;    
    flex-direction: column;
    position: fixed;
    width: 250px;
    height: 100vh;
    top: 0;    
    right: 0;
    bottom: 0;
    background-color: #222;
    gap: 0;
    z-index: 8;
    transform: translate(100%, 0);
    transition: transform .3s all ease;
  }
  .nav-list-item{
    width: 100%;
  }
  .list-item-link{
    padding: 15px 0 15px 25px;
    border-radius: 0px;
  }  
  .list-item-link:hover, .list-item-link:active{
    color: aliceblue;
    background-color: #333;
  }  
}
.container-nav-list.isActive{  
  transform: translate(0, 0);
}
/* * * * * * * * * * * * * * container section header * * * * * * * * */
.container-section-header{
  margin: 0 auto;
  width: 80%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.container-header-info{  
  text-align: left;
  max-width: 600px;
}
.tag-name{
  display: block;
  font-size: 1.5em;
}
.container-networks{
  max-width: 100px;
}
.container-networks-list{
  padding: 10px 0;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  max-width: 320px;
}
.network-list-item{
  list-style: none;
}
.network-item-link{
  color: #999;
}
.network-item-link:hover, .network-list-item:hover{
  transition: transform .2s ease;
  color: var(--color-blue); 
  transform: scale(1.2);   
}
/* animacion emoji */
.container-emoji {
  width: 100%;
  animation: bounce 2s infinite; /* Aumenté la duración de la animación a 2 segundos para que sea más visible */
}
.emoji{
  text-decoration: none;
}
.header-img{
  width: 250px;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0); /* Inicial y final: sin desplazamiento en Y */
  }
  50% {
    transform: translateY(-20px); /* En el 50% de la animación, el emoji sube 20px */
  }
}
@media screen and (max-width: 810px){
  .container-section-header{
    padding-top: 80px;
    flex-direction: column;    
    justify-content: start;
    min-height: 500px;
  }
  .container-header-info{
    text-align: center;
  }
  .header-info-description{
    margin: 0 auto;
  }
  .container-networks{
    margin: 0 auto;    
  }
  .container-networks-list{
    padding: 30px 0;
  }
  .container-emoji{
    margin: 55px 0;
  }
  .header-info-title{
    font-size: 1.3em;
  }  
}
  .header-img{
    width: 200px;
  }
@media screen and (max-width: 510px){  
  .header-info-title{
    font-size: 1em;
  }
}
/* * * * * * * * * * * * * * * * * * * container section about * * * * * * * * * * * */
.container-section-about{
  margin: 0 auto;
  padding: 100px 0;
  max-width: 2000px;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;  
  background-color: #222;
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
}
.container-about{
  margin: 0 auto;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.container-about-info{
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-info-description{
  text-align: justify;
}
.container-about-info > h2{
  margin-bottom: 35px;
}
.about-info-img{
  margin-bottom:35px;
}
.container-about-skills{
  max-width: 700px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
}
.container-about-skill{
  width: 150px;
  height: 150px;
  /* background-color: #222; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 6px;
  border: 1px solid #333;
  transition: border .2s ease;
  /* cursor: pointer; */
}
/* .container-about-skill:nth-child(1):hover{
  border: 1px solid orangered;
}
.container-about-skill:nth-child(2):hover{
  border: 1px solid rgb(0, 157, 255);
}
.container-about-skill:nth-child(3):hover{
  border: 1px solid yellow;
}
.container-about-skill:nth-child(4):hover{
  border: 1px solid green;
}
.container-about-skill:nth-child(5):hover{
  border: 1px solid purple;
}
.container-about-skill:nth-child(6):hover{
  border: 1px solid orangered;
} */
@media screen and (max-width:1000px){
  .container-about{
    flex-direction: column;
  }
  .container-section-about{
    padding: 100px 0;
    clip-path: none;
  }
}
/* * * * * * * * * * * * * * * * * * * * * container section projects * * * * * * * * * * * */
.container-section-projects{
  margin: 0 auto;
  padding: 100px 0 35px 0;
  width: 90%;
  height: auto;
  /* border-bottom: 1px solid #9999; */
}
.container-projects{
  margin-top: 45px;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
}
.container-card-project{
  padding: 35px 0;
  width: 300px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border: 1px solid #222;
  border-radius: 6px;  
  transition: .6s all ease;
  z-index: 3;
}
.container-card-project:hover{
  cursor: pointer;
  border: 1px solid #666;
  /* transform: scale(1.1); */
  z-index: 3;
}
.card-project-img{
  border-radius: 6px;
}
.container-card-project > p {
  max-width: 240px;
}
.header-info-description{
  font-size: .9rem;
  font-weight: bold;
  line-height: 25px;
  width: 80%;
}
.project-link{  
  margin: 0 15px;
  transition: .3s all ease;
  color: #999;
  text-decoration: none;
}
.project-link:hover, .project-link:active{
  color: var(--color-blue);
}
/* * * * * * * * * * * * * * * * * * * container section contact * * * * * * * */
.container-section-contact{  
  margin: 0 auto;
  padding:0 0 35px 0;
  max-width: 2000px;  
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 55px;
  position: relative;
  overflow: hidden;
}
.container-form{
  margin: 0 auto;
  width: 80%;
  display: flex;
  justify-content: space-around;
}
.container-form-contact{  
  padding: 10px 0;
  min-height: 320px;
  max-width: 400px;
  text-align: left;  
  border-radius: 6px;
  background-color: #222;
}
.form-contact{
  padding: 25px 45px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.form-contact > div > input{
  padding: 10px;
  width: 250px;
  background: none;
  border: 1px solid #333;
  border-radius: 6px;
  color: aliceblue;
  display: block;
}
.form-contact > div > input:focus{
outline: 1px solid #13abec;
}
 /* #message{
  height: 100px;
}  */
div > label{
  display: block;
  text-align: left;
  margin-bottom: 10px;  
}
div > input{
  height: 30px;
}
.container-form > img{
  width: 250px;
}
.btn-send{
  margin: 0 auto;
  padding: 8px 15px;
  width: 100px;
  font-weight: bold;
  border: 1px solid #158cb0;
  border-radius: 24px;
  color: aliceblue;
  background-color: #158cb0;
  cursor: pointer;
}
.btn-send:hover, .btn-send:active{
  border: 1px solid var(--color-blue);
  background: var(--color-blue);
}
@media screen and (max-width:700px){  
  .container-section-contact{
    gap: 0;
  }
  .container-form{
    flex-direction: column-reverse;
    gap: 35px;
    margin: 45px;
    align-items: center;
  }
  .container-form > img{
    width: 150px;
  }
  .container-form-contact{
    min-width: 340px;
  }
}
/********************* modal *********************/
.modal{
  width: 100%;
  height: inherit;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.77);
  position: absolute;
  display: grid;
  place-items: center;
  z-index: 7;
  transform: translateY(100%);      
  transition: transform 1s ease-out; /* Agrega una transición para suavizar el cambio */
}
.modal-view{
  transform: translateY(0);
}
@keyframes flashing {
  0% {
    border-color: transparent; /* Cambiamos el color del borde en el inicio */
  } 
  50% {
    border-color: var(--color-blue); /* Cambiamos el color del borde a la mitad de la animación */
  }
  100% {
    border-color: transparent; /* Cambiamos el color del borde al final */
  }
}

.container-modal {
  width: 200px;
  height: 200px;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;  
  border-radius: 8px;
  border: 1px solid transparent; /* Asegúrate de establecer un borde inicial transparente */
  animation: flashing 2s linear infinite; /* Aplicamos la animación */
}
.container-icon, .container-icon-mark{    
  color: var(--color-blue);
}
/* * * * * * * * * * * * * * * * * * * * * * footer * * * * * * * * * * * * * */
.container-footer{
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #222;  
  gap: 15px;
}
.email::after{
  content: 'carlossanchezdvp@gmail.com';
}
@media screen and (max-width: 400px){
  .container-footer{    
    height: 100px;
    flex-direction: column-reverse;
    justify-content: center;
  }
}
