/* ---- reset ---- */

html {
    box-sizing: border-box;
    overflow-x: hidden;
    max-width: 100vw;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

h1,h2,h3,h4,h5,p {
  margin: 0;
}

a {
  text-decoration: none;
  color: black;
}

  /* ---- typography ---- */


body {
  color: black;
  font-family: 'Open Sans', Arial, sans-serif;
}

img {
  max-width: 100%;
}

ul {
  list-style-type: none;
  padding: 0;
}

  
  /* ---- nav ---- */

header {
  
  height: 50px;
  position: fixed;
  width: 100%;
  background-color: white;
  z-index: 999;
}

p {
  font-size: 20px
}

@media (max-width: 600px){
  
  .nav-bar { 
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: bold;
      font-size: 20px;
      height: 50px;
  }
  
  .hamburger {
    min-height: 30px;
    max-width: 50px;
    padding-right: 30px;
    padding-top: 5px; 
  }
  .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    background-color: black;
    position: absolute;
    width: 30px;
    height: 2px;
    border-radius: 5px;
    content: '';
    transition-timing-function: ease;
    transition-duration: .2s;
    transition-property: transform,opacity;
  }
  .hamburger-inner:before {
    top: 5px;
  }
  .hamburger-inner:after {
    top: 10px;
    width: 20px;
  }
  
  .hamburger.open .hamburger-inner {
    transform: translate3d(0,10px,0) rotate(45deg);
  }
  .hamburger.open .hamburger-inner:after {
    transform: translate3d(5px,-15px,0) rotate(-90deg);
  }
  .hamburger.open .hamburger-inner:before {
    transform: translate3d(0,-5px,0) rotate(90deg);
  }
  
  .navegador {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    margin: 0;
    text-align: center;
    font-size: 30px;
    position:relative;
    animation:animateright 1s;
  }
  
  @keyframes animateright{
    from{
      right:-100vw;
      opacity:0
    } 
    to{
      right:0;
      opacity:1
    }
  }
  
  .hidden {
    position:relative;
    animation:animateleft 1s;
    visibility: hidden;
  }
  
  .none {
    display: none;
  }
  
  @keyframes animateleft{
    from{
      left:0px;
      visibility: visible;
    } 
    to{
      left: 100vw;
      visibility: hidden;
    }
  }

}


/* ---- section-one ---- */

.section-one{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 30%;
  text-align: center;
  background-color: whitesmoke;
}


.section-one h1 {
  font-weight: bold;
  font-size: 36px;
}

.section-one h2 {
  padding-bottom: 70px;
  font-weight: normal;
  font-size: 36px;
}

.section-one h3 {
  padding-bottom: 100px;
  font-size: 26px;
  display: flex;
  justify-content: space-around;
}

.foto {
  max-width: 375px;
  border-radius: 50px;
  -moz-box-shadow:inset 0px 0px 3px 1px rgba(0,0,0,1);
  -webkit-box-shadow:inset 0px 0px 3px 1px rgba(0,0,0,1);
  box-shadow:inset 0px 0px 3px 1px rgba(0,0,0,1);

}
  /* ---- about ---- */

.about {
  position: relative;
  background-color: rgb(252, 0, 84);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-me {
  height: max-content;
  display: flex;
  flex-direction: column;
  padding: 0px 20px;
  font-size: 16px;
  padding-top:20px;
  padding-bottom: 20px;
  justify-content: flex-start;
}

.red {
  color: rgb(252, 0, 84);
}

.about-me h4 {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  
}

.about-me h5 {
  font-weight: bold;
  font-size: 17px;
}

.center {
  list-style-type: disc;
  margin: 0 20px;
}




.work {
  position: relative;
  background-color: black;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}



.vinted, .five, .stylex {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 0 40px;
}

.vinted h4, .five h4, .stylex h4 {
  text-align: center;
  font-size: 20px;
}

.img-vinted, .img-five, .img-stylex {
  max-width: 300px;
} 


.brainstorm {
  height: max-content;
  position: relative;
  overflow: hidden;
}

.img-brainstorm {
  margin-top: 30px;
  width: 100%;
  transform: scale(1.25) rotate(-17deg);
}

.brainstorm h4 {
  float: left;
  margin-top: 40px;
  margin-left: 30px;
  border: 2.5px dotted black;
  padding: 10px;
  border-radius: 50px;
}

.img-persona {
  width: 100%;
  margin-top:35px;
  transform: scale(1.25);
}

.user-persona {
  position: relative;
  top: -5px;
}

.ui {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
}

.ui p {
  text-align: justify;
  margin: 0 35px;
  z-index: 9;
  background-color: white;
}

.ui img {
  margin-top: 20%;
  width: 100%;
  transform: scale(1.25) rotate(-17deg);
  margin-left: 15px;
}

.ui h3 {
  font-size: 20px;
}

.ui h5 {
  font-size: 16px;
}

.prototipo {
  height: 100vh;
  position: relative;
  text-align: center;
  font-size: 25px;
  padding-top: 50px;
  }

.prototipo div {
  overflow-y: scroll;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 90%;
  padding-top: 40px;
}

.prototipo div img{
  padding-left: 40px;
  width: 70%;
  transform: scale(1)
}
  
.contact {
  position: relative;
  background-color: rgb(179, 177, 177);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-texto {
  display: flex;
  height: 100vh;
  position: relative;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  font-size: 20px;
  text-align: justify;
  padding: 0 25px;
}

#vin3, #fiv3, #sty3 {
  border-bottom: 1px dotted black;
}

.brainstorm h3 {
  position: relative;
  left: 50px;
  font-size: 20px;
}

.mail-number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* @media (min-width: ) */

@media (min-width: 600px) {
  .section-one {
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  .hamburger {
    display: none;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-weight: bold;
    font-size: 20px;
  }

  .navegador {
    display: flex;
    justify-content: center;
    width: 50%;
  }

  .navegador ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
  }

  .navegador li{
    padding: 0 10px;
  }

  .section-one h3 p {
    padding: 0 30px;
  }

  .all-about, .works, .contacts{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .works {
    flex-direction: row-reverse;
  }

  .about, .about-me, .work, .works-child, .contact, .contact-texto {
    width: 50%;
    margin: 0;
    padding-top: 50px;
  }

  .about-me {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .vacio {
    display: none;
  }

  .plus {
    width: 50px;
  }

  @media (max-width: 815px) {
    .about-me {
      overflow-y: scroll; 
      justify-content: flex-start;
    }
  }


}

@media (max-height: 730px) {
  .about-me {
    overflow-y: scroll; 
    justify-content: flex-start;
  }
}

@media (min-width: 600px) {
  .brainstorm {
    position: relative;
    padding-top: 100px;
  }

  .ui h3 {
    text-align: start;
    padding-left: 35px;
    margin-bottom: 20px;
  }

  .ui img {
    margin-top: 150px;
  }

  .prototipo div img {
    width: 30%;
    padding: 10px 10px; 
  }

  .prototipo div {
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    height: max-content;
  }

  .prototipo {
    height: max-content;
    margin-bottom: 50px;
  }

  .brainstorm .user-persona{
    margin-top: 200px;
    
  }

  .img-persona {
    margin-top: 100px;
    transform: scale(1)
  }

  #vinted, #five, #stylex {
    position: relative;
    animation:animatebottom 1s;
  }
  
  @keyframes animatebottom{
    from{
      top:-100vh;
      opacity:0
    } 
    to{
      top:0;
      opacity:1
    }
  }

  .works-child {
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-y: scroll;
    width: 100vw;
  }

  .work {
    margin-left: 50vw;
  }

  .vinted, .five {
    position: relative;
    width: 50vw;
  }

  .pepe {
    width: 50vw;
    position: absolute;
  }

  #five .img-brainstorm {
    transform: none;
  }

  #five .brainstorm h4 {
    border: none;
  }

  #five .ui {
    height: max-content;
  }

  #five .ui img {
    transform: none;
    margin: 0;
  }

  #five .prototipo h3, #stylex .prototipo h3 {
    text-align: start;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 20px;
  }

  .five-persona {
    width: 100vw;
  }

  .affinity-stylex {
    margin-top: 30px;
    width: 100%;
    transform: scale(1) rotate(-17deg);
  }

  .z-index {
    z-index: 9;
  }
}
