/* Desktop screens of 1800px with high definition */

@media only screen and (max-width: 1800px) {
  /*header with nav*/

  .header__logo-box {
    top: 32%;
  }

  .navigation__list {
    top: 4.5rem;
  }
}

/* Desktop screens of 1680px with high definition */

@media only screen and (max-width: 1680px) {
  /*header with nav*/

  .navigation__nav {
    font-size: 2rem;
  }

  .navigation__list {
    top: 4.15rem;
    left: 25rem;
  }

  .navigation__item a:link,
  .navigation__item a:visited {
    width: 22rem;
    margin-right: 3.0rem;
  }

  .navigation__item a:before {
    left: 8px;
    top: 8px;
    opacity: 0;
  }

  .navigation__item a:hover:before {
    left: -8px;
    top: -8px;
    opacity: 1;
  }

  .navigation__item a:after {
    right: 8px;
    bottom: 8px;
    opacity: 0;
  }

  .navigation__item a:hover:after {
    right: -8px;
    bottom: -8px;
    opacity: 1;
  }

  /*HOME page*/

  .home-banner__text-box-1 h2 {
    font-size: 5.7rem;
  }

  .home-banner-image {
    width: 26%;
    margin-left: 37%;
  }

  .home-banner__text-box-2 h2 {
    font-size: 4.25rem;
  }

  
    /*ABOUT SECTION*/
    
    .section-h2 {
        font-size: 2.7rem;}
    
    .lead-paragraph {
        font-size: 2rem;}
    
    .feature-box {
        height: 36rem;
        padding: 2.05rem;
    }
    
    .heading-tert {
        font-size: 2.65rem;
        margin-bottom: 1.7rem;
        margin-top: .6rem;
        letter-spacing: 1.5px}
    
    .feature-box__icon {
        margin-bottom: 2.5rem;
    }
    
    .feature-box__text {
        margin-bottom: 1rem;
        font-size:1.7rem;
    }
        

  /*tab section for TaxPacc and CarbonX*/

  .tabs-box {
    height: 38rem;
  }
    
    .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
        height: 27rem;
    }  

  .tabs .tab-content {
    top: 63px;
      font-size: 1.75rem;
  }

  #tab-content2 p {
    margin-top: -10px;
  }

  .tab-content-img {
    padding-top: 0;
  }
    
    /*FOOTER*/
    
    .contact-box p a:link,
    .contact-box p a:visited {
        font-size: 1.7rem;}
    
    .copyright-box {
    font-size: 1.6rem;
  }
    
}

/* Laptop screens of 1440px with high definition */

@media only screen and (max-width: 1440px) {
  /*header with nav*/

  .navigation__nav {
    font-size: 1.8rem;
  }

  .navigation__list {
    top: 4.28rem;
    left: 27rem;
  }

  .navigation__item a:link,
  .navigation__item a:visited {
    margin-right: 2.5rem;
      width:20rem;
  }

  /*HOME page*/
  /*.section-h2 {
    font-size: 2.65rem;
  }*/

  /*.lead-paragraph {
    font-size: 1.8rem;
  }*/
    
    
   .feature-box {
        height: 36.25rem;
        padding: 2rem;
    } 
    
    .feature-box__text {
        font-size: 1.8rem;}
    

  /*FOOTER*/

  .footer {
    font-size: 1.55rem;
  }

  
}

/* Big tablet to 1280px (screen widths less than our 1140px row) */

@media only screen and (max-width: 1280px) {
  /*header with nav*/

  .header__logo-box {
    left: 6rem;
  }

  .header__logo {
    height: 4rem;
  }

  .navigation__nav {
    font-size: 1.6rem;
  }

  .navigation__list {
    top: 4.5rem;
  }

  /*HOME page*/

  .home-banner__text-box-1 h2 {
    font-size: 5.1rem;
  }
    
    .tabs label {
        padding:16px 21px;
    }

  .tab-content .btn-text:link,
  .btn-text:visited {
    padding: 2px 12px;
  }
}

/* small tablets to big tablets: from 901px to 1024px */

@media only screen and (max-width: 1024px) {
  html {
    font-size: 50%;
  }

  /*header with nav*/
    
    .header__logo-box {
        left: 5.8rem;
        top:33%;
    }

  .navigation__list {
    left: 27.5rem;
      top:4.4rem;
  }

  .navigation__item a:link,
  .navigation__item a:visited {
    padding-top: 4px;
    padding-bottom: 4px;
      font-size: 1.7rem;
  }

  .home-banner__text-box-1 {
    top: 70%;
  }

  .home-banner__text-box-2 {
    top: 20%;
  }

  .home-banner__text-box-2 h2 {
    font-size: 4.5rem;
  }

  .home-banner-image {
    width: 30%;
    margin-left: 35%;
  }

  /*HOME page*/

  .section-h2 {
    font-size: 2.8rem;
  }

  .lead-paragraph {
    font-size: 2rem;
  }

  .feature-box {
    height: 40rem;
  }
    
    .feature-box__text {
        font-size:1.95rem;
    }
     

  .feature-box__icon {
    font-size: 7.5rem;
    margin-bottom: 2.5rem;
  }

  /*tab section for TaxPacc and CarbonX*/

  .tabs-box {
    height: 305px;
  }

  .tabs .tab-content {
    top: 55px;
    font-size: 1.8rem;
    padding-top: 1rem;
  }
    
    /*FOOTER*/
    
   .contact-box p a:link, .contact-box p a:visited {
        font-size: 1.6rem;
    } 
}


@media only screen and (max-width: 966px) {
    
    /*Start of mobile navigation*/
    
    .header {
        height: 11rem;
    }
    
    .navigation__nav,
    .navigation__list,
    .navigation__item {
        display: none;
        overflow-x: hidden;
  }
    
    .mobi-navigation {
        display: block;
        overflow-x: hidden;   
  }
    .home-banner {
        height:80vh;}
    
    .home-banner__text-box-1 {
    top: 72%;
  }

  .home-banner__text-box-1 h2 {
    font-size: 4rem;
  }

  .home-banner__text-box-2 {
    top: 11%;
  }

  .home-banner__text-box-2 h2 {
    font-size: 3.5rem;
  }

  .home-banner-image {
    width: 26%;
    margin-left: 37%;
    margin-bottom: .8rem;
    }
    
    .section-h2 {
    font-size: 2.5rem;
    width: 90%;
    margin-left: 5%;
  }
    
     .tabs .tab-content {
        font-size: 1.73rem;
    }

    .tab-content p {
        padding: 0.5rem 1.3rem 0.5rem 0;
    }
    
    #tab-content2 p {
        margin-top: 0px;
    }
    
    .tab-content .btn-text:link,
    .tab-content .btn-text:visited {
        margin-top: .75rem;
    }
    
}

/* large phones to small tablets: from 821px to 900px */

@media only screen and (max-width: 900px) {
  
    .header {
        height: 10.5rem;
    }

  .header__logo-box {
    left: 6rem;
  }

  .home-banner {
    height: 86vh;
  }

  .home-banner__text-box-1 h2 {
    font-size: 3.7rem;
  }

  .section-link-arrow {
    top: 80%;
  }

    .feature-box {
        padding: 1.95rem;
    }
    
  .tabs-box {
    width: 86%;
    margin-left: 7%;
      height:40.25rem;
  }

  .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
    height: 28.5rem;
  }
    
    .tabs .tab-content {
        font-size: 1.8rem;
    padding-top: 0.75rem;}
    
  .tab-content .btn-text:link,
  .tab-content .btn-text:visited {
    margin-top: 0.85rem;
      font-size: 1.75rem;   
  }

  /*FOOTER*/
    
   .contact-box .heading-tert {
        font-size: 2.5rem;
        letter-spacing: 1px;}
    
}

/* small phones: from 641px to 820px */

@media only screen and (max-width: 820px) {
  /*Mobile navigation*/

  /*.mobi-navigation__button {
    top: 2.2rem;
  }*/
    
    .header {
    height: 9.5rem;
}

  .mobi-navigation__nav {
    height: 100vh;
  }
    
    .mobi-navigation__button {
        top:1.5rem;}

  .mobi-navigation__item a:link,
  .mobi-navigation__item a:visited {
    font-size: 2.5rem;
    padding: 0.8rem 1rem;
  }
    
    .home-banner {
        height: 92vh;
    }
    
    .home-banner__text-box-2 h2 {
        font-size: 3rem;
    }

    .home-banner__text-box-1 h2 {
        font-size: 3rem;
    }
    
     .section-h2 {
         font-size: 2.65rem;}
    
    .lead-paragraph {
    font-size: 2rem;
    }
    
    .section-about {
        padding: 7.5rem 0 2rem 0;}

    .section-about .col {
        margin: 0;
    }

    .section-about .span-1-of-3 {
     width: 100%;
     margin-left: 14%;
    }

    .section-about .feature-box {
        width: 60%;
        margin-left: 6%;
        margin-bottom: 8rem;
        font-size: 1.8rem;
        padding: 2.5rem 3rem;
        height: auto;
    }
    .feature-box__text {
        font-size: 1.95rem;
    }
    
    .feature-box .heading-tert {
        font-size: 3rem;
    }
    
    .tabs-box {
        height: 42.5rem;
        width: 92%;
        margin-left: 4%;}

    .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
        height: 31rem;
  }

   /* .tabs .tab-content {
        top: 50px;
        padding: 5px;
        font-size: 1.7rem;
    }*/

    .tab-content-img {
        margin-top: 15px;
    }
    
    #tab-content2 .span-1-of-2:first-child {
        width: 47%;
    }
    
    #tab-content2 .span-1-of-2:nth-child(2) {
        width: 51%;
    }

    #tab-content2 p {
        margin-top: 0;
        padding: 0.25rem 0.25rem 0.25rem 0;
    }
    .contact-box {
        width: 88%;
        margin-left: 6%;
        padding: 1.25rem;
    }
}

/* small phones: from 601px to 640px */

@media only screen and (max-width: 640px) {
    .home-banner {
        height:88vh;
    }
    
  .section-link-arrow {
    top: 78%;
  }
    
    .tabs-box {
        height: 44.5rem;}
    
   .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
    height: 33rem;
  }

  .tab-content-img {
    margin-top: 2rem;
  }
    
    #tab-content1 p {
        padding-top: 1rem;
    }
    
    
    #tab-content2 .tab-content-img {
        margin-top: 4rem;
    }

  .contact-box p a:link, .contact-box p a:visited {
    font-size: 1.55rem;
}
}

/* small phones: from 481px to 600px */

@media only screen and (max-width: 600px) {
  .mobi-navigation__nav {
    height: 90vh;
  }

  .mobi-navigation__list {
    top: 60%;
  }

  .mobi-navigation__item {
    margin-left: 2.5rem;
  }

  .mobi-navigation__item a:link,
  .mobi-navigation__item a:visited {
    font-size: 2rem;
  }

  .home-banner__text-box-1 h2 {
    font-size: 2.55rem;
  }
    
   .tabs-box {
       height: 67rem; 
    margin-left: 3%;}

 .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
    height: 55rem;
  }
    
    .tabs .span-1-of-2,
    #tab-content2 .span-1-of-2:first-child,
    #tab-content2 .span-1-of-2:nth-child(2){
        width:100%;
    }
    
    .tab-content p,
    #tab-content2 p {
        font-size: 2rem;
        margin-top: 0rem;
        padding: .75rem;
    }

    #tab-content2 .btn-text:link,
    #tab-content2 .btn-text:visited {
        margin-top: 0.5rem;
    }

    .tab-content-img {
        width: 65%;
        margin-left: 17.5%;
        margin-top: 4rem;
    }
    
    .contact-section .span-1-of-2 {
        width:100%;
    }

  .contact-box {
    width: 90%;
    margin-left: 5%;
    padding: 0.8rem;
  }

  .circle-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
  }

  .circle-icon i {
    font-size: 3rem;
  }

  .circle-icon .fa-headset {
    font-size: 3rem;
  }

  .contact-box p {
    line-height: 1.3;
    margin-bottom: 0;
  }
    
    .contact-box p a:link, .contact-box p a:visited {
        font-size: 1.72rem;
    }

  /*.contact-box .support-p a {
    width: 105%;
  }

  /*.contact-box .support-p2 a {
    margin-left: -15%;
  }*/
}

@media only screen and (max-width: 480px) {
  .tabs-box {
    height: 71rem;
  }

  .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
    height: 59rem;
  }

  .tabs .tab-content,
  #tab-content2 p a:link,
  #tab-content2 p a:visited {
    font-size: 1.85rem;
  }

  .tab-content p,
  #tab-content2 p {
    padding: 0 2rem 0.5rem 2rem;
  }

  #tab-content2 p {
    padding: 0 1rem 0rem 1rem;
    margin-top: -5px;
  }

  .tab-content-img {
    width: 70%;
    margin-left: 15%;
    padding-top: 10px;
    margin-bottom: 2rem;
  }

  .contact-box {
    width: 80%;
    margin-left: 10%;
  }

  .contact-box__text,
  .contact-box .phone,
  .contact-box p a:link,
  .contact-box p a:visited {
    font-size: 1.85rem;
  }

  .contact-box .support-p a {
    width: 100%;
    margin-bottom: 1rem;
  }

  .contact-box .support-p2 a {
    margin-left: 0%;
    line-height: 1.6;
  }
}

/* small phones: from 401 to 479px like Nexus 6/6P, iPhone4*/

@media only screen and (max-width: 479px) {
  .header__logo-box {
    left: 5rem;
  }

  .mobi-navigation__item a:link,
  .mobi-navigation__item a:visited {
    font-size: 2rem;
    width: 100%;
  }

  .home-banner__text-box-1 {
    top: 66%;
  }

  .home-banner__text-box-1 h2 {
    display: block;
    margin: 0;
    margin-top: 0.7rem;
    font-size: 2.8rem;
    text-align: center;
    width: 100%;
  }

  .home-banner__text-box-2 {
    top: 12%;
  }

  .home-banner__text-box-2 h2 {
    font-size: 3.4rem;
  }

  .home-banner-image {
    width: 60%;
    margin-left: 20%;
  }

  .section-link-arrow {
    top: 82%;
  }

  .section-about .span-1-of-3 {
    margin-left: 10%;
  }

  .section-about .feature-box {
    width: 80%;
    margin-left: 0;
    margin-right: 0%;
  }

  .copyright-row {
    width: 80%;
  }

  .copyright-box {
    font-size: 1.6rem;
  }
}

/* small phones portrait: from 321 to 400px like iPhone 5, iPhone 6, Galaxy S5*/

@media only screen and (max-width: 400px) {
  .header__logo {
    height: 3.5rem;
  }

  .mobi-navigation__button {
    top: 1.5rem;
    right: 2rem;
  }

  .mobi-navigation__nav {
    height: 60vh;
  }

  .mobi-navigation__list {
    top: 60%;
  }

  .mobi-navigation__item a:link,
  .mobi-navigation__item a:visited {
    font-size: 2rem;
  }

  .header__logo-box {
    left: 3rem;
  }
    
    .home-banner-image {
    width: 56%;
    margin-left: 22%;
}

  .home-banner__text-box-2 h2 {
    font-size: 2.4rem;
  }

  .tabs-box {
    height: 73rem;
  }

  .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
    height: 61rem;
  }

  .tabs label {
    display: inline;
    padding: 15px 14px;
  }
    
    .tabs [id^="tab"]:checked + label {
    top: 1rem;
    padding-top: 15px;
}

  .tabs [id^="tab1"] + label {
    top: 1rem;
  }

  .tabs [id^="tab2"] + label {
    margin-left: 15.5rem;
    top: -2.5rem;
  }
    
    .tabs [id^="tab2"]:checked + label {
        top:-2.5rem;}
    
    .tabs .tab-content {
        top: 45px;}

  .tab-content-img {
    margin-top: 3rem;
    padding-top: 0px;
    margin-bottom: 1.5rem;
  }
    
    .tabs .tab-content, #tab-content2 p a:link, #tab-content2 p a:visited {
        font-size: 1.9rem;}

  #tab-content2 p {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
    
    .circle-icon {
        margin-bottom: 2.8rem;}

  .copyright-row {
    width: 90%;
  }
}

/* small phones portrait: from 0 to 320px like iPhone 5, iPhone 6, Galaxy S5*/

@media only screen and (max-width: 320px) {
  .header__logo-box {
    left: 2rem;
  }
    .header__logo {
        height: 3.2rem;}
    
    .mobi-navigation__button {
        top: 1.3rem;}
    
    .mobi-navigation__checkbox:checked ~ .mobi-navigation__nav {
       width: 60%;
    }
    
    .mobi-navigation__item {
        margin-left: 1rem;}
    
    .home-banner-image {
        width: 57%;
        margin-left: 22.5%;}


  .home-banner__text-box-2 h2 {
    font-size: 2.2rem;
  }

  .home-banner__text-box-1 h2 {
    font-size: 2.4rem;
  }

  .tabs-box {
    height: 80rem;
  }

  .tabs label {
    font-size: 2rem;
    padding: 15px 9px;
  }

  .tabs [id^="tab"]:checked ~ [id^="tab-content"] {
    height: 70rem;
  }

  .tabs [id^="tab2"] + label {
    margin-left: 13rem;
      top:-2.1rem;
  }
    
    .tabs [id^="tab2"]:checked + label {
        top: -2.1rem;
    }
    .contact-box p {
    line-height: 1.1;}
    
  .contact-box .support-p a {
    margin-bottom: 0;
  }

  .copyright-row {
    width: 94%;
  }

  .copyright-box {
    font-size: 1.5rem;
  }
}
