﻿/*************Boiler plate de Ruben Marquez*****************************/
/*esta hoja de estilos intenta seguir seguir la metodologia BEM
 para evitar problemas de especifidad*******/
/*******************Control tipografias y paleta*********************************/
/***********************Reset de elementos***********************************/
*{
	overflow-x: hidden;
  overflow-wrap: break-word;
  font-family: 'Roboto', sans-serif;
  padding: 0;
}

img {
  border-style: none;
  max-width: 100%;
}
/******************aqui se empieza*********************************/
/*@media (min-width: 700px)*/
html{
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
.header{
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  background:
  linear-gradient(to bottom, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 1) 100%),
  url("../img/font end.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  /*filter: grayscale(1);*/
}
.h1{
  display: flex;
  justify-content: center;
  color: white;
  font-size: 10.5vw;
  overflow-y: hidden;
  margin: 0;
  filter: drop-shadow(2px 4px 6px rgb(26, 26, 26));
}
.h2{
  text-align: center;
    color: white;
    margin: 0 auto;
    padding: 5px 0;
    font-size: 5vw;
    /*font-size: calc(1em + 1vw)*/
    overflow-y: hidden;
    /*background-color: #9e9e9e;*/
   /* opacity: 0.9;*/
   /*backdrop-filter: blur(5px);*/
   filter: drop-shadow(2px 4px 6px black);
    border-radius: 20px;
}
.burger{
  width: 40px;
  height: 40px;
  padding: 8px;
  /*min-height: 40px;*/
  margin: 10px auto 10px auto;
  overflow-y: hidden;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-content: space-around;
  justify-content: center;
  transition: 0.4s ease-in-out;
 
}
.burger__li{
  box-sizing: border-box;
  list-style: none;
  width: 40px;
  height: 4px;
  background-color: #262626;
  margin: 4px 0;
  border-radius: 5%;
  transition: 0.4s ease-in-out;
}
.nav{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.nav__ul{
  height: 0;
  padding: 0;
  margin: 0;
  width: 100%;
 /* justify-content: space-evenly;
  align-items: center;*/
  transition: 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.nav__li{
  position: relative;
  font-size: 18px;
  overflow-y: hidden;
  border-radius: 5%;
  transition: color 0.4s ease;
}
.nav__li:hover{
  cursor: pointer;
}
.nav__a{
  /*color: #262626;*/
 color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav__li:hover  .nav__a{
  color: white;
}
.galeria__nav{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.galeria__ul{
  padding: 10px 0 10px 0; 
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.galeria__li{
  width: 80%;
  padding: 10px 0;
  font-size: 18px;
  margin: 16px 0;
  text-align: center;
  overflow-y: hidden;
  position: relative;
  transition: all 0.4s ease;
}
.galeria__li::after{
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  /*opacity: 0.8;*/
  border-bottom: 1.5px solid #262626;
  border-left: 1.5px solid #262626;
  transition: border-width 0.4s ease,
              width 0.4s ease-in-out,
              height 0.4s ease-in-out;
}
.galeria__li::before{
  content: '';
  position: absolute;
  right: 0px;
  top: 0;
  width: 100%;
  height: 100%;
  /*opacity: 0.8;*/
  border-top: 1.5px solid #262626;
  border-right: 1.5px solid #262626;
  transition: border-width 0.4s ease,
              width 0.4s ease-in-out,
              height 0.4s ease-in-out;
}
.galeria__li:hover{
    transition: 0.4s;
    color: #0590d2;
    cursor: pointer;
  }
.galeria__li:hover::before{
    width: 25px;
    height: 25px;
    border-color: #0590d2;
    /*opacity: 0.7;*/
}
.galeria__li:hover::after{
  width: 25px;
  height: 25px;
  border-color: #0590d2;
  /*opacity: 0.7;*/
}
.wrapper{
  width: 80%;
  margin: 0 auto;
}
.wrapper__img{ 
height: 240px;
width: 100%;
margin-bottom: 20px;
border-radius: 1.5px;
border: 1.5px solid #262626;
box-sizing: border-box;
background-position: center;
object-fit: cover;
transition: filter 0.3s ease;
}
.wrapper__img:hover{
  cursor: pointer;
}
.about__titulo{
  width: 90%;
  margin: 30px auto 20px auto;
  font-size: 30px;
}
.about__texto{
  width: 80%;
  margin:  auto;
  padding: 80px 0;
  text-align: justify;
  font-size: 17px;
  position: relative;
}
.about__texto::after{
  content: 'Const Rubén =';
  position: absolute;
  top: 30px;
  left: 0;
  font-size: 34px;
  color: #0590d2;
  font-style: italic;
}
.about__texto::before{
  content: ';';
  position: absolute;
  bottom: 40px;
  font-size: 30px;
  color: #0590d2;
}
.about__fin{
  width: 90%;
  margin: 20px auto 30px auto;
  font-size: 30px;
}
.imagen{
  position: relative;
  width: 100%;
  height: 250px;
  background-image: url("../img/programador web movil.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
 /* margin: 0 0 70px 0;*/
}/*
.imagen::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}*/
.wrapper__article{
  width: 80%;
  margin: 70px auto 0 auto;
}
.article{
  display: flex;
  justify-self: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 70px;
}
.article__h2{
  overflow-y: hidden;
  text-align: center;
}
.article__img{
  border-radius: 50%;
  width: 200px;
  height: 200px;
}
.article__p{
 text-align: justify;
 overflow-y: hidden;
 font-size: 17px;
 /*line-height: 1.4;*/
}
.skills__titulo{
  width: 80%;
  margin: 0 auto 40px auto;
  font-size: 25px;
  text-align: center;
  overflow-y: hidden;
}
.skills__ul{
  padding: 0;
  width: 80%;
  margin: 30px auto;
  height: 140px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.skills__li{
  position: relative;
  padding: 0 20px;
  font-size: 20px;
  overflow-y: hidden;
}
.skills__li::after{
  content: '';
  position: absolute;
  top: 30%;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: #0590d2;;
}
.footer{
  width: 100%;
}
.footer__p{
  text-align: center;
  font-size: 20px;
}
.desplegable{
  height: 170px;
}
.menumovil{
  background-color: #262626;
}
.oculto{
  display: none;
}
.giro{
  transform: rotatez(45deg);
  transform-origin: 50% 50%;
  margin: 1px;
  background-color: white;
}
.giro2{
  margin: 0;
  margin-top: -4px;
  transform: rotatez(-45deg);
  transform-origin: 50% 50%;
  background-color: white;
}
.seleccionado{
 /* background-color: #262626;
  color: white;*/
}
.oscurecido{
  filter: grayscale(1);
  color: white;
}
.bajar{
  animation: bounce 2.2s ease;
  }
  @keyframes bounce {
    0% {margin-top: -1000px;}
    100% {margin-top: 0px;}
  }
  @media (min-width: 375px){
    .h1{
       /*font-size: 47px;*/
     }
    }
@media (min-width: 425px){
 .h1{
   /* font-size: 53px;*/
  }
 .skills__li{
   font-size: 17px;
 }
}
@media (min-width: 768px){
  .burger{
    display: none;
  }
  .nav{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: space-around;
    flex-direction: column;
  }
  .nav__ul{
    height: auto;
    width: 70%;
    flex-direction: row;
    justify-content: space-between;
    margin: 16px 0;
  }
  .nav__li{
    padding: 9.26px 15px;
    border: 1.5px solid black;
  }
  .nav__li:hover{
    color: white;
    border-color: #0590d2;
    /*cursor: pointer;*/
  }
  .nav__li::after{
    content: '';
    position: absolute;
    bottom: 0px;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #0590d2;
    transition: left 0.4s ease;
  }
  .nav__li:hover::after{
    left: 0px;
  }
  .header{
    height: 600px;
   /* background-image: url("../img/back end.jpg");*/
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 1) 100%), url("../img/back end.jpg");
  background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
  }
  .h1{
   /* font-size: 85px;*/
  }
  /*
  @keyframes bounce {
    0% {margin-top: -135px;}
    100% {margin-top: 0px;}
  }*/
  .h2{
    font-size: 2.5vw;
  }
  .nav__ul{
    display: flex;
  }
  .galeria__nav{
    justify-content: center;
  }
  .galeria__ul{
    flex-direction: row;
    justify-content: space-between;
    width: 70%;
    padding: 10px 0 10px 0;
    margin: 0;
    margin: 32.4px 0 16.2px 0;
  }
  .galeria__li{
    width: auto;
    padding: 15px 15px;
  }
  .__texto::after{
    font-size: 36px;
    top: 48px;
  }
  .about__texto::before{
    font-size: 32px;
    bottom: 55px;
  }
  .about__texto{
    width: 70%;
    max-width: 760px;
    padding: 110px 0;
    font-size: 18px;
  }
  .imagen{
    height: 400px;
    margin-bottom: 90px;
    background-size: cover;
    background-image: url("../img/programador web.jpg");
  }
  .wrapper{
    display: grid;
    grid-template-areas:
    "1fr 1fr 1fr"
    "1fr 1fr 1fr"
    "1fr 2fr";
    /*grid-template-columns: 33.333% 33.333% 33.333%;
    grid-template-rows: 33.333% 33.333% 33.333%;*/
    height: 668px;
    width: 668px;/*670*/
    grid-gap: 16.2px;
    overflow-y: hidden;
    margin: 0 auto;
  /*  grid-template-columns: minmax(33.33%, auto) minmax(33.33%, auto) minmax(33.33%, auto);
    grid-template-rows: minmax(30%, auto)  minmax(30%, auto)  minmax(30%, auto); */
  }
  .wrapper__img{
    min-height: auto;
  }
  .grid1{
    grid-column: 1;
    grid-row: 1/3;
    align-self: stretch;
    height: 100%;
    object-fit: cover;
  }
  .grid2{
    grid-column: 2/3;
    grid-row: 1;
    align-self: stretch;
    height: 100%;
    object-fit: cover;
  }
  .grid3{
    grid-column: 3/4;
    grid-row: 1;
    align-self: stretch;
    height: 100%;
    object-fit: cover;
  }
  /*
  .grid4{
    grid-column: 2/3;
    grid-row: 2;
    align-self: stretch;
    height: 100%;
    object-fit: cover;
  }*/
  .grid4{
    grid-column: 2/4;
    grid-row: 2;
    align-self: stretch;
    height: 100%;
    object-fit: cover;
  }
  .grid5{
    grid-column: 1/3;
    grid-row: 3;
    align-self: stretch;
    height: 100%;
    object-fit: cover;
  }
  .grid6{
    grid-column: 3/4;
    grid-row: 3;
    align-self: stretch;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .wrapper__img{
    width: 100%;
  }
  .wrapper__article{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 745px;
    margin: 0 auto;
  }
  .about__texto::after{
    top: 50px;
  }
  .article{
    width: 248.33px;
    height: 344.81px;
  }
  .article__img{
    width: 150px;
    height: 150px;
  }
  .article__h2{
    /*width: 170px;*/
    margin-bottom: 30px;
  }
  .article__p {
    text-align: justify;
    margin: 0 auto;
    width: 70%;
}
.skills__titulo{
  text-align: left;
  width: 670px;
  margin: 20px auto 30px auto;
}
 .skills__ul{
 flex-direction: row;
 height: auto;
 justify-content: flex-start;
 width: 670px;
 margin: 0 auto;
}
.skills__li{
  font-size: 20px;
}
.footer{
  margin-top: 50px;
}
}
@media (min-width: 1024px){
 /* .header{
    height: calc(100vh - 72px);
  }*/
  .galeria__ul{
    padding: 32.4px 0 16.2px 0;
    margin: 0;
  }
  .galeria__li{
    padding: 15px 15px;
  }
  .wrapper{
    width: 916px;
   /* height: 90vh;*/
   height: 500px;
  }
  .about__texto{
    margin: 16.2px auto;
  }
  .article{
    height: auto;
  }
  .article__img{
    width: 200px;
    height: 200px;
  }
  .article__h2{
    /*width: 180px;*/
  }
  .article__p{
    width: 100%;
  }
  .wrapper__article{
    width: 1020px;
  }
 .skills__titulo{
   width: 920px;
 }
 .skills__ul{
   width: 920px;
 }
}
@media (min-width: 1366px){ 
  .nav{
  width: 1044px;
  margin: 0 auto;
  border: none;
  }
  .galeria__nav{
   width: 1044px;
   margin: 0 auto;
 }
 .about__texto{
  margin: 30px auto;
  width: 731px;
}
 .wrapper{
   width: 1044px;
   height: 700px;
 }
 .wrapper__article{
  width: 1044px;
   justify-content: space-between;
 }
 .article__img{
  width: 180px;
  height: 180px;
 }
.skills__titulo{
  width: 1044px;
}
.skills__ul{
  width: 1044px;
}
}
@media (min-width: 1920px){ 
/*.wrapper__article{
   width: 1560px;
 }*/
 .header{
  height: 800px;
 /* background-image: url("../img/full stack.jpg");*/
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 1) 100%), url("../img/full stack.jpg");
  background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
 }
 .h2{
   font-size: 2vw;
 }
 .wrapper{
   height: 750px;
 }
 .article__img{
   width: 250px;
   height: 250px;
 }
 .about__texto{
   font-size: 22px;
 }
}