@media (max-width:1200px) {

  #difference h2::after,
  #difference h2::before {
    width: 130px;
  }

  #difference h2 {
    font-size: 35px;
  }

  #difference main p {
    width: 95%;
  }

  #difference main h3 {
    font-size: 22px;
  }
}

@media (max-width:1170px) {
  #difference {
    padding: 90px 50px;
  }

  #container-team,
  #services,
  #portfolio {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 1075px) {
  #home .title {
    font-size: 40px;
    margin-top: 150px;
  }

  #services .container-services header h3 {
    font-size: 20px;
  }

  #services .container-services main p {
    font-size: 15px;
    width: 60%;
  }
}

@media (max-width: 960px) {
  #home .title {
    font-size: 38px;
    margin-top: 180px;
  }

  #home main {
    width: 50% !important;
  }

  #difference h2 {
    font-size: 30px;
  }

  #services .sec-right .sec-service:after,
  #services .sec-left .sec-service:after {
    width: 90px;
  }

  #services .container-services header h3 {
    width: 45%;
  }
}

@media (max-width:900px) {
  #difference h2 {
    font-size: 27px;
  }

  #difference h2::after,
  #difference h2::before {
    width: 100px;
  }

  #difference #main {
    grid-template-columns: 100%;
  }
}

@media (max-width:850px) {

  #home>section {
    background: #fff !important;
  }

  #home .line1 {
    left: 322px;
  }

  #home .line2 {
    left: 470px;
  }

  #home .title {
    max-width: 514px;
    margin-top: 170px;
  }

  #team h2:after {
    width: 390px;
  }
}

@media (max-width: 800px) {

  #home .title {
    font-size: 38px;
    max-width: 410px;
  }

  #home #arrow {
    font-size: 25px;
    width: 50px;
    height: 50px;
  }

  #services .sec-right {
    justify-content: flex-start;
  }

  #services .sec-right .sec-service {
    order: 1;
  }

  #services .sec-right .divider-services {
    order: 2;
    right: 0;
  }

  .container-services>section {
    width: 100% !important;
  }

  #services .sec-left .sec-service:before,
  #services .sec-right .sec-service:before {
    right: -9px !important;
    left: auto;
    top: 40%;
  }

  #services .sec-right .sec-service::after {
    right: 0;
  }

  #services .sec-right .sec-service:after,
  #services .sec-left .sec-service:after {
    width: 130px;
    top: 44%;
  }

  #difference:before {
    display: none;
  }

  #services .container-services {
    height: 250px;
  }

  #services .container-services header h3 {
    width: 50%;
  }

  #services .container-services header {
    width: 81%;
    text-align: right;
    padding: 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  #services .container-services header h3 {
    width: 35%;
    text-align: center;
    margin: initial;
  }

  #services .container-services main p {
    text-align: right;
    padding-left: 30px;
  }

  #services .icon-service {
    margin: inherit;

  }

  #services header .icon-service,
  #services header i {
    margin-right: 12%;
  }

  #footer>aside {
    width: 100% !important;
    margin-bottom: 42px;
  }

  #footer>main {
    padding-top: 45px;

    position: relative;
    width: 100% !important;
  }

  #footer>main::before {

    top: 0;
    height: 2px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width:770px) {
  #home #arrow {
    margin-top: 100px;
  }

  #difference h2::after,
  #difference h2::before {
    width: 65px;
  }

  #services .sec-right .sec-service::after,
  #services .sec-left .sec-service::after {
    width: 100px;
  }

}

@media (max-width:700px) {
  #services .container-services header h3 {
    width: 45%;
  }

  #services header .icon-service,
  #services header i {
    margin-right: 18%;
  }

  #difference h2 {
    padding: 0 126px;
  }

  #difference h2::after,
  #difference h2::before {
    width: 90px;
  }

  #home main {
    width: 90% !important;
  }

  #home>section {
    width: 10% !important;
  }

  #home .line1 {
    left: 30px;
  }

  #home .line2 {
    left: 145px;
  }

  #home main::after {
    display: none;
  }

  #home .title {
    font-size: 33px;
    max-width: 317px;
  }

  #home>section {
    z-index: 2
  }
}

@media (max-width:574px) {

  #services header .icon-service,
  #services header i {
    margin-right: 29%;
  }

  #services .container-services header h3 {
    width: 70%;
  }

  #services .container-services main p {
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
  }

  #services .sec-right .sec-service::after,
  #services .sec-left .sec-service::after {
    top: 43%;
  }

  #difference main h3 {
    font-size: 20px;
  }

  #difference main p {
    font-size: 12px;
  }

  #difference h2::after,
  #difference h2::before {
    width: 50px;
  }

  #difference h2 {
    padding: 0 80px;
  }

  #team h2 {
    font-size: 27px;
  }

  #team h2::after {
    width: 300px;
  }

  #team header p {
    font-size: 15px;
    margin: 0 auto;
    width: 68%;
  }

  #team {
    overflow: hidden;
  }
}

@media (max-width: 460px) {
  #home .title {
    max-width: 276px;
  }

  #footer>main::before {
    width: 80%;
  }

  #footer>main>#form input,
  #footer>main>#form #sendBtn,
  #footer>main>#form textarea {
    width: 100% !important;
    font-size: 15px;
  }
}

@media (max-width:450px) {
  #services .container-services {
    height: 310px;
  }

  #services .sec-right .sec-service::after,
  #services .sec-left .sec-service::after {
    width: 60px;
  }

  #difference {
    padding: 90px 18px;
  }

  #container-team,
  #services,
  #portafolio {
    padding-left: 18px;
    padding-right: 18px;
  }

  #team .card-profile {
    width: 240px;
    height: 356px;

  }

  #team .card-profile h3 {
    font-size: 18px;
  }

  #team main>p {

    font-size: 12px;
    width: 86%;
  }

  #home #txt-home {
    padding-left: 0;
    margin: 0 auto;
    width: 100%;
  }

  #header {
    margin-left: 5px;
  }

  #social-media {
    left: 17px;
  }

  #difference {
    padding: 90px 26px;
    /*! padding-left: 60px; */
  }

  #difference main {
    padding: 25px 10px;
  }

  #home .title {
    margin: 0 auto;
    margin-top: 100px;
    margin-left: 26px;
  }

  #home #arrow {
    margin-top: 90px;
    margin-left: 26px;
  }

  #home #arrow {
    margin-left: 26px;

  }

  .logo-footer {
    margin-bottom: 10px;
  }
}






@media (max-width:407px) {

  #difference #main>article {
    flex-direction: column
  }

  #difference #main>article aside {
    justify-content: center;
  }

  #difference main {
    width: 100%;
    text-align: center;
  }

  #difference h2 {
    padding: 0 20px;
  }

  #difference h2::after,
  #difference h2::before {
    display: none;
  }

  #footer>aside {
    min-width: 100%;
  }

  #footer>aside>h2 {
    max-width: 278px;
    text-align: center;
    font-size: 20px !important;
    margin: 0;
  }

  #footer>main>#form input,
  #footer>main>#form #sendBtn,
  #footer>main>#form textarea {
    font-size: 15px;
  }

  #footer>main {
    padding-top: 20px;
  }

  #form>h3 {
    font-size: 25px;
  }
}

@media (max-width:370px) {

  #team h2,
  #difference h2 {
    font-size: 22px;
  }

  #team h2::after {
    width: 224px;
  }

  #team header p {
    width: 80%;
    font-size: 12px;
  }

  #services .container-services header h3,
  #difference main h3 {
    font-size: 17px;
  }

  #services .container-services main p,
  #difference main p {
    font-size: 12px;
  }

  #services .container-services header i {
    margin-right: 31%;
  }

  #services .container-services header h3 {
    width: 80%;
  }

  #services .container-services main p {
    padding-left: 0px;
    padding-right: 0px;
    width: 70%;
  }

  #services .sec-right .sec-service::after,
  #services .sec-left .sec-service::after {
    top: 36%;
  }

  #services .sec-left .sec-service::before,
  #services .sec-right .sec-service::before {
    top: 34%;
  }

  #services .container-services:nth-child(1) header i {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width:340px) {
  #home .title {
    font-size: 30px;
    max-width: 250px;
  }

  #team .card-profile {
    width: 200px;
    height: 300px;
    padding-top: 0px;
  }

  #team .card-profile header {
    height: 180px;
  }

  #team main>p {
    width: 87%;
  }

  #team h2,
  #difference h2 {
    padding: 0;
  }
}

@media (max-width:304px) {
  #home .title {
    font-size: 25px;
    max-width: 100%;
  }

  #home #arrow {
    width: 40px;
    height: 40px;
    margin-top: 37px;
  }

  .icon-social-media {
    width: 20px;
    height: 20px;
  }

  #social-media main::before,
  #social-media main::after {
    height: 100px;
  }

  .icon-menu .line-menu-1,
  .icon-menu .line-menu-3 {
    width: 23px;
  }

  .icon-menu .line-menu-2 {
    width: 32px;
  }

  #header {
    margin-left: 9px;
    justify-content: flex-start;
  }

  #social-media {
    left: 7px;
  }

  #services .sec-right .sec-service::after,
  #services .sec-left .sec-service::after {
    width: 45px;
  }

  #difference #main picture img {
    width: 50px;
  }

  #form>h3 {
    font-size: 20px;
  }
}

@media (max-width:290px) {

  #services .sec-right .sec-service::after,
  #services .sec-left .sec-service::after {
    width: 30px;
  }

  #services .container-services header h3 {
    width: 90%;
  }

  #services .container-services header {
    width: 100%;
    align-items: center;
  }

  #services .container-services header i {
    margin-right: 0;
  }

  #team h2,
  #difference h2 {

    font-size: 20px;
  }

  #footer>main>#form input {
    height: 30px;
  }

  .logo-footer {
    width: 130px;
  }

  #footer>aside>h2 {
    font-size: 16px !important;
  }

  #footer>aside {
    margin-bottom: 30px;
  }

  #home .title {

    margin-left: 0px;
  }

  #portfolio h2 {
    font-size: 25px;
  }

  .container-img {
    width: 100% !important;
  }

  #portfolio .card-profile img {
    height: 149px;
    width: 100%;
    margin-bottom: 10px;
  }

  #portfolio .card-profile {
    padding-left: 0px;
  }

  .card-profile-nuevo {
    width: 209px !important;
  }
}

@media (max-width:265px) {

  #header,
  #social-media,
  #home,
  #difference,
  #team,
  #image,
  #services,
  #footer,
  #portfolio {
    display: none;
  }

  #tooSmall {
    display: block;

  }

  #tooSmall h1 {
    color: #002642;
  }
}

/* @media (min-width:386px){
  #tooSmall{
    display: none;
  }
}
@media (max-width:386px){

}*/

@media (max-width:500px) {
  .container-img {
    width: 85%;
  }

  #portfolio .card-profile {
    padding-top: 21px;
    width: 270px;
    text-align: right;
    padding-left: 0px;
  }

  #portfolio h2:after {
    width: 86%;
  }

  .card-profile-nuevo .mas {
    background-position-x: center !important;
  }

  #portfolio:before {
    left: 47%;
    top: 26px;
  }

  #portfolio h2 {
    font-size: 22px !important;
  }

  #portfolio h3 {
    font-size: 20px !important;
    text-align: center;
  }

  .flecha {
    width: 18px !important;
    height: 12px !important;
    margin-bottom: -2px !important;
  }

  .text {
    font-size: 15px !important;
  }
}

@media (max-width:375px) {
  .card-profile-nuevo {
    width: 209px !important;
  }
}

@media (max-width:280px) {
  .card-profile-nuevo {
    width: 167px !important;
  }
}