* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}
.home, .portfolio{
  
  height: 100vh;
  background-color: #191c32;
  color: #fff;
  background-size: cover;
  background-position: center;;
}
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #2b3058;
  box-shadow: 0 4px 25px -22px #000;
  z-index: 1;
}
.header-content{
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}
div h1 span{
  color:#f50c0cfd;
}
div h1{
    padding-top: 20px;
    padding-left: 20px;
}
.menu {
  height: 80px;
  width: 100%;
}
.menu nav{
  height: 100%;
  
}
.menu nav ul{
  height: 100%;
  display: flex;
  list-style: none;
}
.menu nav ul li{
  height: 100%;
  margin: 0px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.menu nav ul li a{
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: color 300ms;
}
.brand span{
  color: #ff0000;
}
.menu li{
list-style: none;
}
.menu{
  display: flex;
  width: 50%;
  justify-content: space-around;
  font-weight: bold;
}
.menu .active{
  color: #ff0000;
  border: #ff0000;
  font-weight: bold;
}
#icon-menu{
  width: 50px;
  height: 50px;
  position: absolute;
  right: 20px;
  top: 16px;
  padding: 10px;
  font-size: 20px;
  background: #eeeeeefa;
  border-radius: 100%;
  color: #787878;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.menu a:hover{
  background-color:#ff0000;
  color: #fff;
  transition: ease-in .4s;
}
.presentation{
  max-width: 1100px;
  height: 100vh;
  margin: auto;
  columns: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.welcome{
  font-size: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  float: left;
  color: #fff;
  position: relative;
}
.home .presentation h2{
  font-size: 55px;
  margin-bottom: 25px;
  text-align: center;
}
.home .presentation h2 span{
  font-size: 25px;
  color:#ff0000;
  transition: 0.5s;
}
.home .presentation h2 span:hover{
  font-size: 35px;
  color:#ff0000;
}
.home .presentation a{
  text-decoration: none;
  display: inline-block;
  margin: 25px;
  padding: 20px 25px;
  border: 2px solid #fff;
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  transition: .5s;
}
.home .presentation a:hover{
  background-color: #ff0000;
}
.contenedor p span{
  position: absolute;
  right: 0;
  width: 0;
  background: #191c32;
  border-left: 2px solid #0000;
  animation: maquina 3s infinite alternate;
}
.contenedor{
  margin:auto;
  display: table;
  margin: 0;
}
@keyframes maquina {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}
#aboutme{
  max-width: 1100px;
  margin: auto;
  padding: 70px 15px;
  color: #111135;
  display: flex;
  box-sizing: border-box;
}
#aboutme .aboutme{
  max-width: 400px;
  margin-right: 50px;
  align-items: center;
}
#aboutme .aboutme .title-section{
  font-size: 32px;
  text-transform: uppercase;
  color: #111135;
}
#aboutme .me-foto{
  max-width: 400px;
  margin-right: 80px;
}
#aboutme .me-foto img{
  padding: 20px;
  width: 100%;
  border-radius: 20px;
  background-color: #00e3ff1c;
}
.download-cv {
  padding: 10px 20px;
  background-color: #d3d3d3;
  border: none;
  border-radius: 20px;
  margin-top: 10px;
  cursor: pointer;
}
.download-cv:hover{
  background-color: #ff0000;
}
.divider{
  height: 4px;
  width: 60px;
  background-color: #ff0000;
  margin-bottom: 20px;
}
#aboutme h2{
  font-size: 34px;
  letter-spacing: 3px ;
  color: #2c2c2c;
}
#aboutme .aboutme  h2 span{
  color: #ff0000;
}
#aboutme .aboutme h3{
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
#aboutme .aboutme p {
  font-size: 14px;
  line-height: 25px;
  color: #565656;
  margin-bottom: 12px;
}
#aboutme .aboutme a{
  display: inline-block;
  text-decoration: none;
  color: #000;
  border-radius: 30px;
  padding: 10px 20px ;
  border: 1px solid #000;
  margin-top: 30px;
  transition: .5s;
}
#aboutme .aboutme a:hover{
  background-color: #ff0000;
}
.portfolio-heading {
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5em;
}
.portfolio-heading h2, .contact-heading h2 {
  font-size: 2.5em;
  color: #fff;
}
.portfolio .container {
  height: 80vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 250px;
}
.card {
  position: relative;
  width: 300px;
  height: 350px;
  margin: 20px;
}
.card .face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  transition: .5s;
}
.card .front {
  transform: perspective(600px) rotateY(0deg);
  box-shadow: 0 1px 2px #000;
}
.card .front img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .front h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45px;
  line-height: 45px;
  color: #fff;
  background: rgba(0,0,0,.4);
  text-align: center;
}
.card .back {
  transform: perspective(600px) rotateY(180deg);
  background: #2b3058;
  padding: 15px;
  color: #f3f3f3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 1px 2px #000;
}
.card .back .link {
  height: 50px;
  line-height: 50px;
}
.card .back .link a {
  color: #000;
  text-decoration: none;
}
.card .back h3 {
  font-size: 30px;
  margin-top: 20px;
  letter-spacing: 2px;
}
.card .back p {
  letter-spacing: 1px;
} 
.card:hover .front {
  transform: perspective(600px) rotateY(180deg);
}
.card:hover .back {
  transform: perspective(600px) rotateY(360deg);
}
.project-details-button a {
  text-decoration: none;
  color: #191c32;
}
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 2em;
  background-color: #2c2c2c;
  padding: 0 10px;
}
.footer-content{
width: 45%; 
}
.footer-content h2 {
  color: #d3d3d3;
  padding-bottom: 10px;
  font-size: 20px;
}
.footer .parrafo p{
  padding-left: 10px;
  display: flex;
  padding-top: 10px ;
}
.sotial-networks{
  display: flex;
}
.sotial-networks img {
  max-width: 41px;
  max-height: 41px;
  padding-left: 10px;
}
@media screen and (max-width: 1000px){
  #aboutme, .footer-content{
    max-width: 750px;
    padding: 20 10px;
}
}
@media screen and (max-width: 550px){
  .footer-content h2{
    font-size: 0px;
    }
    .sotial-networks img {
      max-width: 31px;
      max-height: 31px;
      padding-left: 10px;
      }
    .footer .parrafo p{
      padding-left: 10px;
      display: flex;
      padding-top: 5px;
      }
      .sotial-networks{
        padding-left: 15px;
      }
      .card .back h3{
        margin: 0;
        padding: 0;
        font-size: 20px;
      }
      .card .back{
        font-size: 10px;
      }
      .portfolio .container{
        padding-bottom: 0;
      }
  }

 
  @media screen and (max-width: 700px){
  .sotial-networks{
    display: flex;
    text-align: center;
    justify-content: center;
    padding-right: 40px;
  }
  .card .back h3{
    margin: 0;
    padding: 0;
  }
  .portfolio .container{
    padding-bottom: 0;
  }
  footer .footer{
    display: flex;
    text-align: center;
    justify-content: center;
  }
  header{
      padding-right: 75px;
    } 
  .container, #aboutme{
    flex-direction: column;
  }
  .portfolio .portfolio-heading{
    padding: 10px 0px ;
  }
  .me-foto{
    padding-bottom: 20px;
  }
 
  
  .container-all{
    transition: all 300ms cubic-bezier(1,0,0,1);
}
.move-container-all{
  transform: translateX(300px);
}
.menu{
  width: 80%;
  height: 27vh;
  position: fixed;
  top: 80px;
  left: 0;
  background: #2b3058;
  overflow: hidden;
  transform: translateX(-350px);
  box-shadow: 10px 0 20px -25px black;
  transition: all 300ms cubic-bezier(1,0,0,1);
  color: #fff;
  margin-bottom: 10px;
}
.menu nav ul {
  flex-direction: column;
}
.menu nav ul li{
  max-width: 200px;
  height: 50px;
  justify-content: flex-start;
}
.menu-selected:before{
  width: 0;
}
.menu nav ul li a{
  margin-top: 20px;
  color: #fff;
  width: 200px;
  display: inline-block;
  text-align: center;
  align-items: center;
}
#icon-menu{
  display: flex;
}
.show-lateral {
  width: 100%;
  transform: translateX(0px);
}
}