*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  font-family:'Open Sans', sans-serif;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body{
  background-color: #000;
  overflow-x: hidden;
}
a{
  text-decoration: none;
}
h3{
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  margin-top: 50px;
}
.page{
  min-width: 320px;
  max-width: 1024px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s;
  z-index: 10000;
}
.preloader span{
  font-size: 3rem;
  color: white;
  /* font-family: 'Oswald', sans-serif; */
}
.preloader.load{
  left: 100%;
}

/*************HEADER**************/
header{
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  transition: 1s ease;
  box-shadow: 0 -4px 20px 0px rgb(0 0 0 / 30%);
}
.header__tittle a{
  color: white;
  font-size: 2.6rem;
  transition: 1s;
}
.header__menu {
  position: relative;
  width: 40px;
  height: 40px;
  z-index: 100;
  transition: 1s;
}
.header__menu.menuActivate{
  position: absolute;
  top: 30px;
  right: 20px;
}
header.sticky .header__menu.menuActivate::before{
  background: white;
  box-shadow: none;  
}
header.sticky .header__menu.menuActivate::after{
  background: white;
}
.header__menu::before{
  content: '';
  position: absolute;
  top: 9px;
  left: 5px;
  width: 30px;
  height: 2px;
  background: white;
  box-shadow:  0 10px white;
  transition: 1s;
}
.header__menu::after{
  content: '';
  position: absolute;
  top: 29px;
  left: 5px;
  width: 30px;
  height: 2px;
  background: white;
  transition: 1s;
}
.header__menu.menuActivate::before{
  box-shadow: none;
  transform: rotateY(0) rotate(45deg);
  top: 50%;
}

.header__menu.menuActivate::after{
  transform: rotateY(0) rotate(-45deg);
  top: 50%;
}
.header__menu.menuActivate nav{
  display: flex;
  justify-content: center;
  align-items: center;
}
header nav{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: -1;
}
header ul{
  display: flex;
  flex-direction: column;
}
header ul li{
  text-align: center;
  /* margin-left: 25px; */
  list-style: none;
  margin-bottom: 60px;
}
header ul li a{
  position: relative;
  color: white;
  font-size: 4.4rem;
  transition: .6s ease;
}

header li a::before{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #13c9ff;
  transition: .5s;
} 
header li a:hover::before{
  left: 0;
  width: 100%;
}

.front{
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100vh;
  background-image: url('../static/banner.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 50px 20px;
}
.front__gradient{
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:linear-gradient(to right, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .7) 30%,transparent);
}
.front__presentation{
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  transition: 1s;
}
.front__presentation h2{
  font-family: 'Oswald', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 10rem;
}
.front__presentation p{
  font-size: 2rem;
}
.front__presentation p span{
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 500;
  margin-left: 5px;
}
.front__presentation a{
  margin-top: 30px;
  width: 130px;
  height: 60px;
  padding: 20px;
  background-color: #13c9ff;
  border: 0;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  font-size: 2rem;
  font-weight: 500;
  position: relative;
  color: black;
  z-index: 0;
}
.front__presentation a::before{
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 25px;
  top: 0;
  left: 50%;
  width: 0;
  height:100%;
  background-color: #6fdeff;
  transition: .4s;
}
.front__presentation a:hover::before{
  left: 0;
  width: 100%;
}

/* Header Stycky */
header.sticky{
  background-color: white;
  height: 60px;
}
header.sticky .header__tittle a{
  color: black;
}

header.sticky .header__menu::before{
  background: black;
  box-shadow: 0 10px black;  
}
header.sticky .header__menu::after{
  background: black;
}
/* header.sticky .header__menu.menuActivate{
  position: absolute;
  top: 30px;
  right: 30px;
  transition: 0;
} */

/* header.sticky ul li a{
  color: black;
}
header.sticky li a::before{
  background: #00bef7;
} */

/************** ABOUT ME *************/
.about-me {
  width: 100%;
  padding: 50px 20px;
  background: #fafafa;
}
.about-me h3{
  color: #00bef7;
}
.about-me__container{
  width: 100%;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.about-me__container--text{
  /* width: 50%; */
  padding: 0;
  padding-right: 7%;
  margin-bottom: 50px;
}
.text__description p{
  font-size: 2rem;
  color: #424242;
  text-align: justify;
  transition: 1s;
}
.text__knowledge{
    margin-top: 20px;
}
.text__knowledge h4{
  font-size: 2rem;
  color:#00bef7;
}
.text__knowledge ul{
  width: 100%;
  max-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
}
.text__knowledge ul li{
  font-size: 1.6rem;
  width: 50%;
  margin: 0 10px;
  display: inline-block;
  color: #424242;
  font-weight: 300;
}
.about-me__container--skills{
  position: relative;
  width: 100%;
  padding: 0; 
  /* border: 2px solid black; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.skills{
  width: 100%;
  height: 60px;
  padding: 24px 10px;
  margin-bottom: 30px;
  background: linear-gradient(#616161 0%, #333 10%, #222);
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #000;
  transition: 1s;
}
.skills::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: rgba(255, 255, 255, .1);
  /* z-index: 10; */
}
.skills .name{
  position: relative;
  width: 110px;
  /* text-align: right; */
  color: white;
  text-transform: uppercase;
}
.skills .value{
  position: relative;
  width: 40px;
  text-align: left;
  color: white;
  text-transform: uppercase;
}
.skills .percent{
  position: relative;
  width: 100%;
  height: 20px;
  margin: 0 10px;
  border-radius: 10px;
  background-color: #151515;
  box-shadow: inset 0 0 10px #000;
  overflow: hidden;
}
.skills .percent .progress{
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(to right, #13c9ff, #a9ebff);
  box-shadow: inset 0 0 2px #000;
  /* animation: progressAnimate 4s ease-in-out forwards; */
}
@keyframes progressAnimate{
  from{
    width: 0;
  }
}
/* CERTIFICATES SLIDER */
.about-me__container--certificates{
  width: 100%;
  margin: 30px auto;
  position: relative;
}
.swiper{
  width: 100%;
  overflow-x: hidden;
  /* border-radius: 30px;
  box-shadow: 0px 5px 20px; */
  /* border-radius: 30px;  */
  box-shadow: 0px 5px 12px;
}
.swiper-wrapper{
  width: 100%;
}
.prev-slide{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #00bef7;
  position: absolute;
  top: calc(50% - 15px);
  /* left: -50px; */
  left: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
}
.prev-slide::before{
  content: '<';
  font-weight: 900;
  color: #2d2d2d;
  font-size: 2rem;
  margin-right: 2px;
  /* position: absolute;
  top: 0;
  left: 0; */
  /* z-index: 1; */
}
.next-slide{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #00bef7;
  position: absolute;
  top: calc(50% - 15px);
  /* right: -50px; */
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
}
.next-slide::before{
  content: '>';
  font-weight: 900;
  color: #2d2d2d;
  font-size: 2rem;
  margin-left: 2px;
}

/* .swiper{
  width: 70vw;
  overflow-x: hidden;
  margin: 50px 0;
  border-radius: 30px;
  box-shadow: 0px 10px 20px;
  position: relative;
}
.swiper .swipper-wrapper{
  width: 100%;
}
.swiper .swiper-wrapper img{
  width: 100%;
}
.prev-slide{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #13c9ff;
  position: absolute;
  top: calc(50% - 15px);
  left: -50px;
 } */

/********************* PROJECTS *********************/
.projects{
  /* background: #003f52; */
  background: #1f1f1f;
  width: 100%;
  padding: 50px 20px;
}
.projects h3{
  color: #f3f3f3;
}
.projects__container{
  width: 100%;
  margin-top: 50px;
  display: grid;
  grid-gap: 30px;
}
.projects__container--card{
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: .4s ease;
}
.projects__container--card:hover{
  transform: scale(1.17);
  box-shadow: 0 10px 20px rgb(0 0 0 / 40%);
  z-index: 100;
  cursor: pointer;
}
.card__description{
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background-color: rgba(0, 0, 0, .7);
  transition: .4s;
}
.projects__container--card:hover .card__description{
  opacity: 1;
}
.card__description h4{
  position: relative;
  top: calc(50% - 2.3rem);
  color: #dcdcdc;
  margin-bottom: 10px;
  font-size: 2.3rem;
  transition: 1s;
}
.projects__container--card:hover .card__description h4{
  font-size: 1.6rem;
  top: 0;
}
.card__description p{
  color: #adadad;
  font-size: 1.2rem;
  margin-bottom: 10px;
  opacity: 0;
  transition: .4s;
  transition-delay: .4s;
}
.projects__container--card:hover .card__description p{
  opacity: 1;
}
.card__image{
  width: 100%;
}
@keyframes animateProject {
  0%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(calc(-100% + 191px));
  }
  100%{
    transform: translateY(0);
  }
}
/***********************CONTACT FORM **************/

.contactme{
  width:100%;
  min-height: 100vh;
  /* background: linear-gradient(to right, white 0%, white 50%, blue 50%, blue 100%); */
  background: #fafafa;
}
.contactme__container{
  padding-left: 35%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* display: none; */
  background: white;
  box-shadow: 0 10px 40px -10px;
}
.data{
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: #1f1f1f;
  padding: 30px;
}
.data__container{
  width: 100%;
  height: 100%;
  color: white;
}.data__container--info{
  margin: 35px 0;
}
.info__title{
  font-size: 1.6rem;
  font-weight: 900;
  font-family: 'Oswald';
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.info__title .info__image{
  width: 35px;
  height: 35px;
  background-image: url('');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 10px;
}
.data__container--info:nth-child(1) .info__image{
  background-image: url('../static/profile.png');
}
.data__container--info:nth-child(2) .info__image{
  background-image: url('../static/email.png');
}
.data__container--info:nth-child(3) .info__image{
  background-image: url('../static/location.png');
}
.info__value{
  position: relative;
  left: 50px;
  font-size: 1.4rem;
  font-family: outo, "Open Sans";
  font-weight: 500;
  line-height: 2;
}
.form{
  width: 100%;
  padding: 30px;
}
.form__container{
  width: 100%;
  height: 100%;
}
.form__container h6{
  font-size: 4rem;
  font-weight: 500;
  text-align: center;
  color:#464646;
  letter-spacing: -3px;
  margin-bottom: 30px;
}
.form__container form{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.form__container form .form-group{
  width: 100%;
  position: relative;
  margin-bottom: 30px;
  border-bottom: 2px solid black;
}
.form__container form .form-group.names{
  width: 45%;
  margin-right: 5%;
}
.form__container form .form-group.names:nth-child(3){
  width: 50%;
  margin-right: 0;
}
.form__container form .form-group.names input{
  width:100%
}

.form-group label{
  font-size: 1.8rem;
  position: absolute;
  top: 5px;
  left: 5px;
  transition:.3s;
}
/* .form-group::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: black;
  z-index: 0;
}
.form-group::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #13c9ff;
  z-index: 1;
  transition: .4s;
} */
.input-active{
  width: 0%;
  height: 2px;
  background: #13c9ff;
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: 1;
  transition: .3s;
}
.form-group input:focus ~ .input-active,
.form-group textarea:focus ~ .input-active{

  width: 100%;
}
.form-group input:focus + label,
.form-group textArea:focus + label{
  font-size: 1rem;
  left: 0px;
  top: -10px;
}
.form__container form input,
.form__container form textarea{
  width: 100%;
  resize: none;
  outline: none;
  border: 0;
  padding: 5px;
  font-size: 1.8rem;
  color: black;
  position: relative;
  background: transparent;
  z-index: 0;
}
form .submit{
  background: black;
  width: 50px;
  height: 50px;
  outline: none;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
form .submit span{
  width: 30px;
  height: 30px;
  background-image: url('../static/submit.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  z-index: 2;
}
form .submit::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #585858;
  border-radius: 50%;
  z-index: 1;
  transition: .2s;
}
form .submit:hover::before{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* VALIDACIONES DE INPUTS */
label.valid{
  font-size: 1rem;
  left: 0px;
  top: -10px;
}
div.valid{
  width: 100%;
}
div.invalid{
  width: 100%;
  background: red;
}

/******************* ANIMATE WITH SCROLL *******************/
.toUp{
  opacity: 0;
  transform: translateY(60px);
  transition: 4s;
}
.toLeft{
  opacity: 0;
  transform: translateX(150px);
  transition: 2s;
}

@media screen and (min-width: 320px) {
  /* header nav{
    display: none;
  } */
  .about-me__container{
    flex-direction: column;
  }
  .about-me__container--text{
    width: 100%;
  }
  .projects__container{
    grid-auto-rows: 146px;
  }
  .contactme{
    padding: 100px 30px;
  }
  .contactme__container{
    padding-left: 0;
    flex-direction: column;
  }
  .contactme__container .data{
    position: relative;
    width: 100%;
  }
  form .submit {
    position: relative;
    bottom: 0;
  }
  form{
    justify-content: flex-end;
  }
}
@media screen and (min-width: 400px) {
  .projects__container{
    grid-auto-rows: 200px;
  }
}
@media screen and (min-width: 600px) {
  header{
    padding: 0 35px;
  }
  .header__menu.menuActivate{
    right: 35px;
  }
  .front{
    padding: 50px 35px;
  }
  .about-me{
    padding: 50px 35px;
  }
  .projects{
    padding: 50px 35px;
  }
  .projects__container{
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 157px;
  }
  .form{
    padding: 40px;
  }
}
@media screen and (min-width: 768px) {
  .header__menu{
    position: static;
    width: auto;
    height: auto;
  }
  .header__menu.menuActivate{
    position: static;
  }
  .header__menu nav{
    display: inline-block;
    position: static;
    background: transparent;
  }
  .header__menu nav ul{
    flex-direction: row;
  }
  .header__menu ul li{
    margin: 0;
    margin-left: 25px;
  }
  .header__menu ul li a{
    font-size: 2.4rem;
  }
  .header__menu::before{
    content: none;
  }
  .header__menu::after{
    content: none;
  }
  header.sticky .header__menu li a{
    color: black;
  }
  .about-me__container{
    flex-direction: row;
  }
  .about-me__container--text{
    width: 50%;
  }
  .about-me__container--skills{
    width: 50%;
  }
  .projects__container{
    grid-auto-rows: 212px;
  }
  form .submit{
    right: 30px;
  }
  .contactme__container{
    padding-left: 35%;
    flex-direction: row;
  }
  .contactme__container .data{
    position: absolute;
    width: 35%;
  }
  form .submit{
    right: 0;
  }
}
@media screen and (min-width: 900px){
  header{
    padding: 0 50px;
  }
  .about-me__container--certificates{
    width: 70%;
  }
  .front{
    padding: 50px 50px;
  }
  .projects__container{
    grid-auto-rows: 257px;
  }
  .form__container form {
    padding: 0 20px;
  }
  .form {
    padding: 50px;
  }
}
@media screen and (min-width: 1024px){
  .projects__container{
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 188px;
  }

  .form__container form {
    padding: 0 50px;
  }
  form .submit{
    right: 80px;
  }
  .form__container form {
    padding: 0;
  }
}
