/* -----------------------Large Devices------------------------*/

@media screen and (max-width: 1200px) {
  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #wpp {
    left: 60px;
    bottom: 140px;
  }

  #menu {
    font-size: 30px;
  }

  #perfil img {
    width: 400px;
  }

  #perfil h1 {
    font-size: 60px;
  }

  #perfil p {
    font-size: 30px;
  }

  #sobre {
    font-size: 22px;
  }

  #descricao {
    margin-left: -53px;
  }

  #dados {
    width: 380px;
    padding-left: 115px;
  }

  #tecnologias h1::after {
    margin-left: 39%;
  }

  .tecs {
    display: grid;
  }

  .tecs div {
    margin-bottom: 15px;
  }

  .group div {
    width: 180px;
  }

  #contato h1::after {
    margin-left: 43%;
  }
}

/* -----------------------Medium Devices------------------------*/
@media screen and (max-width: 768px) {
  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #wpp {
    bottom: 230px;
    left: 30px;
  }

  #menu {
    font-size: 25px;
  }

  #menu-itens {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-top: 18px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 2.5rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#perfil {
  letter-spacing: 5px;
}

#perfil img {
  width: 335px;
}

#perfil h1 {
  font-size: 50px;
}

#sobre {
  display: block;
}

#dados {
  margin: 0 auto;
  padding-right: 145px;
}

#descricao {
  display: inline-block;
  margin: 0 auto;
}

#tecnologias h1::after {
  margin-left: 36%;
}

#sub-contato {
  display: inline-block;
}

#contato h1::after {
  margin-left: 41%;
}

.group {
  padding: 15px;
}

#form input {
  width: 340px;
  margin: 15px;
}

#btn {
  margin-bottom: 15px;
}

/* -----------------------Small devices------------------------*/
@media screen and (max-width: 576px) {
  header {
    min-height: 100vh;
  }

  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #container .navbar {
    position: fixed;
    z-index: 9900;
    width: 460px;
    height: 5px;
    background-color: black;
  }

  #container .nav-menu.active {
    background: rgba(0, 0, 0, 0.5);
  }

  #wpp {
    bottom: 45px;
    left: 11px;
    font-size: 40px;
  }

  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #perfil {
    margin-top: 75px;
  }
  @media screen and (max-width: 414px) {
    header {
      min-height: 100vh;
    }

    #container {
      display: flex;
      justify-content: center;
      flex-direction: column;
      overflow: hidden;
    }

    #container .navbar {
      position: fixed;
      z-index: 9900;
      width: 340px;
      height: 5px;
      background-color: black;
    }

    #container .nav-menu.active {
      background: rgba(0, 0, 0, 0.5);
    }
  }
  #perfil img {
    width: 215px;
    margin-top: 100px;
  }

  #perfil h1 {
    font-size: 30px;
  }

  #perfil h1::after {
    width: 160px;
  }

  #perfil p {
    font-size: 16px;
  }

  #sobre {
    min-height: 107vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #sobre h2 {
    font-size: 27px;
    max-width: 85%;
    margin: 20px auto;
  }

  #sobre p {
    font-size: 15px;
    max-width: 80%;
    margin: 0 auto;
  }

  #redes-sociais {
    margin: 50px;
  }

  #dados {
    font-size: 16px;
    margin: 20px auto;
    max-width: 50%;
  }

  #form {
    display: block;
  }

  textarea {
    width: 380px;
  }
}

.bootstrapName {
  padding-left: 40px;
}

@media screen and (max-width: 414px) {
  header {
    min-height: 100vh;
  }

  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #container .navbar {
    position: fixed;
    z-index: 9900;
    width: 340px;
    height: 5px;
    background-color: black;
  }

  #container .nav-menu.active {
    background: rgba(0, 0, 0, 0.5);
  }
}

@media screen and (max-width: 414px) {
  header {
    min-height: 100vh;
  }

  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #container .navbar {
    position: fixed;
    z-index: 9900;
    width: 340px;
    height: 5px;
    background-color: black;
  }

  #container .nav-menu.active {
    background: rgba(0, 0, 0, 0.5);
  }
}
.header li {
  float: left;
}
.header li a {
  padding: 20px 30px;
}
.header .menu {
  clear: none;
  float: right;
  max-height: none;
}
.header .menu-icon {
  display: none;
}

@media screen and (max-width: 375px) {
  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #container .navbar {
    position: fixed;
    z-index: 9900;
    width: 300px;
    height: 5px;
    background-color: black;
  }

  #container .nav-menu.active {
    background: rgba(0, 0, 0, 0.5);
  }

  #portfolioImg {
    height: 400px;
  }

  #fotoFabio {
    border-radius: 50%;
    width: 200px;
    margin-left: 70px;
    box-shadow: 8px 7px 5px -3px rgba(20, 20, 20, 0.6);
  }

  #wpp {
    bottom: 10px;
    left: 11px;
    font-size: 40px;
  }

  #menu {
    font-size: 16px;
  }

  #sobre h2 {
    font-size: 22px;
    max-width: 80%;
    margin: 30px;
  }

  #sobre p {
    font-size: 13px;
    max-width: 60%;
    margin-left: 35px;
  }

  #redes-sociais {
    margin: 30px 10px;
  }

  #dados {
    font-size: 13px;
    margin: 20px -20px;
    max-width: 50%;
  }

  #tecnologias h1 {
    padding-top: 20px;
    font-size: 30px;
  }

  .tecs i {
    font-size: 75px;
    margin-bottom: 10px;
  }
  .caixa-prog {
    width: 265px;
    height: 6px;
    border-radius: 13px;
    background-color: #bbb;
    margin: 1px auto;
    padding: 2px;
  }

  .carousel-open {
    height: 500px;
  }

  #contato h1 {
    padding-top: 20px;
    font-size: 30px;
  }

  #sub-contato i {
    padding: 18px;
  }

  .group p {
    font-size: 13px;
  }

  #form input {
    width: 250px;
  }

  textarea {
    width: 275px;
  }
}

@media screen and (max-width: 320px) {
  header {
    min-height: 100vh;
  }

  #container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }

  #container .navbar {
    position: fixed;
    z-index: 9900;
    width: 240px;
    height: 5px;
    background-color: black;
  }

  #container .nav-menu.active {
    background: rgba(0, 0, 0, 0.5);
  }
}
