@media (max-width:1420px) {
  .item-portfolio {
    width: 350px;
  }

  .item-skills>.img-skill {
    width: 80px;
    height: 76px;
  }

  #skills .icon {
    font-size: 75px;
  }

  .section-img-invitation {
    width: 650px;
    height: 650px;
  }
}

@media (max-width:1300px) {
  .section-img-invitation {
    width: 600px;
    height: 600px;
  }
}

@media (max-width:1300px) {
  .item-portfolio {
    width: 320px;
  }

  .item-skills>.img-skill {
    width: 70px;
    height: 71px;
  }

  .item-invitation>main>section {
    width: 80%;
  }

  .section-img-invitation {
    width: 550px;
    height: 550px;
  }

  .img-invitation {

    left: 146px;
  }
}

@media (max-width:1102px) {
  #portfolio {
    flex-direction: column;
  }

  .item-portfolio {
    width: 80%;
    margin-bottom: 80px;
  }

  .section-portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .item-portfolio .item-portafolio-img {
    height: 500px;
  }

  .item-invitation {
    flex-direction: column;
  }

  .item-invitation>aside {
    width: 100%;
  }

  .section-img-invitation {
    width: 650px;
    height: 650px;
    margin-top: 30px;
  }

  .item-invitation-right {
    flex-direction: column-reverse;
    align-items: end;
  }

  .item-invitation>aside {
    justify-content: center !important;
  }
}

@media (max-width:950px) {
  #header section {
    width: 70% !important;
  }

  #header h1 {
    font-size: 45px;
  }

  .item-invitation>main>section {
    width: 90%;
  }

  #skills {
    flex-wrap: wrap;
    padding: 50px 0px;
    height: auto;
  }

  .item-skills {
    max-width: 450px;
    margin: 30px 0;
  }

  .item-invitation>main {
    width: 80%;
  }
}

@media (max-width:680px) {
  .item-invitation h2 {
    font-size: 45px;
  }

  .item-invitation p {
    font-size: 15px;
  }

  .btn-item-invitation {
    font-size: 13px;
    margin-top: 12px;
  }

  .section-img-invitation {
    width: 560px;
    height: 560px;
  }

  #our-projects header h2 {
    font-size: 46px;
  }

  #our-projects header p {

    font-size: 13px;
  }
}

@media (max-width:582px) {
  #header h1 {
    font-size: 30px;
  }

  .item-portfolio {
    width: 90%;
  }

  .item-skill-title {
    font-size: 20px;
  }

  .item-description {
    font-size: 12px;
  }

  .item-skills>.img-skill {
    width: 60px;
    height: 61px;
  }

  #skills .icon {

    font-size: 67px;
  }

  .item-invitation>main {
    width: 90%;
  }

  .section-img-invitation {
    width: 450px;
    height: 450px;
  }

  .next-invitation .img-invitation {
    width: 285px;
    left: 88px;
  }

  .img-invitation {
    width: 185px;
    height: 380px;
    left: 134px;
  }

  .img-invitation2,
  .img-invitation3 {
    height: 290px;
  }

  #footer main label {
    width: 302px;
    text-align: center;
  }

}

@media (max-width:490px) {
  .item-portfolio .item-portafolio-img.dentista {
    background-position: -60px;
  }
}

@media (max-width:453px) {
  #header section {
    width: 80% !important;
  }

  .item-portfolio {
    width: 100%;
  }

  .item-invitation>main {
    width: 95%;
  }

  #our-projects header h2 {
    font-size: 40px;
  }

  #our-projects header p {
    font-size: 12px;
  }

  .next-invitation .img-invitation {
    width: 234px;
    left: 60px;
    height: 200px;
  }

  .section-img-invitation {
    width: 350px;
    height: 350px;
  }

  .img-invitation {
    width: 150px;
    height: 280px;
    left: 89px;
  }

  .img-invitation2,
  .img-invitation3 {
    width: 139px;
  }
}

@media (max-width:359px) {
  #header h1 {
    font-size: 25px;
  }

  #container-team,
  #services,
  #portfolio {
    padding-left: 25px !important;
    padding-right: 25px !important;
    padding-top: 40px;
  }

  #header {
    justify-content: center;
  }

  .item-invitation h2 {
    font-size: 35px;
  }

  .item-invitation p {
    font-size: 12px;
  }

  .btn-item-invitation {
    font-size: 11px;
  }

  .next-invitation .img-invitation {
    width: 148px;
    left: 53px;
    height: 140px;
  }

  .section-img-invitation {
    width: 250px;
    height: 250px;
  }

  .img-invitation {
    width: 100px;
    height: 207px;
    left: 77px;
  }

  .img-invitation2,
  .img-invitation3 {
    width: 75px;
    height: 179px;
  }

  .img-invitation3 {
    left: 26px;
  }

  #our-projects {
    padding-top: 72px;
  }

  #our-projects h4 {

    font-size: 11px;
  }

  #our-projects header h2 {
    font-size: 28px;
  }

  #our-projects header p {
    font-size: 11px;
  }

  #footer main a {
    font-size: 14px;
  }

  #skills .icon {
    font-size: 60px;
  }

  .item-skills>.img-skill {
    width: 55px;
    height: 56px;
  }

  .item-invitation>main {
    width: 100%;
    padding: 0 20px;
  }

  #footer main label {

    width: 100%;
  }
}

@media (max-width:265px) {

  #ivitation,
  #skills {
    display: none;
  }

  #tooSmall {
    display: flex !important;
  }
}