/*HEADER*/
.header {
    height: 100vh;
    position: relative;
    color: var(--text-primary);
    background: #f4f4f4;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, white, #f4f4f4);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, white, #f4f4f4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.header .grid {
    grid-template-columns: 1fr 1fr;
}

.header h1 {
    font-size: 3.5rem;
    color: var(--light-color);
    font-weight: 500;
  }
  
.header h3 {
    font-size: 1.5rem;
    color: var(--bg-secondary);
    font-weight: 200;
    margin-bottom: 1.5rem;
    text-align: justify;
  }

  .header img {
      max-height: 70vh;
  }

  .intro {
      position: absolute;
      margin-top: 100px;
      top: 0;
      width: 100%;
      justify-content: center;
  }

  .header-text {
      order: 1;
      justify-self: end;
      padding: 0 2rem;
      animation: slideInFromLeft 1s ease-in;
  }

  .header-img {
      order: 2;
      animation: slideInFromRight 1s ease-in;
  }

/*PROS*/
.pros {
    padding: 2rem;
    animation: slideInFromBottom 1s ease-in;
}

.pros li {
    display: flex;
    align-items: center;
    justify-content: left;
}

.pros img {
    height: 30px;
    width: auto;
    justify-self: end;
}

.pros ul {
    max-width: 530px;
    padding-bottom: 2rem;
    margin: 0 auto;
}

.pros p {
    font-size: 1.5rem;
    color: var(--bg-secondary);
    font-weight: 200;
    margin-left: 2rem;
}


/*FEATURES*/

.features {
    background-color: var(--dark-color);
    border-radius: 0% 25% 0% 0%;
    z-index: 30;
    position: relative;
    padding: 1rem 0.3rem;


    background: #375BA9;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #a1beff, #375BA9);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #a1beff, #375BA9); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.features h2 {
    font-size: 4rem;
    color: var(--light-color);
  }
  
  .features h3 {
    font-size: 3rem;
    color: #f4f4f4;
    font-weight: lighter;
  }

  .features span {
      font-weight: 500;
  }
  
  .tabbar {
    display: flex;
    justify-content: center;
    gap: 10rem;
  }
  
  .tabbar img {
    max-height: 3rem;
    width: auto;
  }
  
  .tab {
    position: relative;
    width: 150px;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0.5rem 0.5rem 0 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 15px 25px inset, rgba(0, 0, 0, 0.3) 0px 5px 10px inset;
  }
  
  .active {
    box-shadow: none;
    border-radius: 0.5rem 0.5rem 0 0;
  }
  
  .dynamic-content {
    height: 500px;
    padding: 10rem auto;
  
  }
  .dynamic-content img {
    width: auto;
    height: 400px;
  }
  
  .dynamic-content h4 {
    font-size: 2.5rem;
    color: var(--dark-color);
  }
  
  .dynamic-content p {
    font-size: 1.5rem;
    color: #333;
    text-align: justify;
  }
  
  .dynamic-tab {
    justify-content:flex-start;
    padding: 3rem;
    margin: 0 auto;
    align-items: center;
    max-width: 1100px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    border-radius: 0.5rem;
    background-color: white;
    height: 700px;
  }

  .dynamic-content .flex {
      flex-direction: column;
  }

/*FEATURES - MOBILE*/
.feature-card {
    padding: 0 2rem;
}

.card-tab {
    position: relative;
    width: 150px;
    margin-top: 5rem;
    margin-left: 2rem;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-tab img {
    max-height: 3rem;
    width: auto;
  }
.card {
    padding: 10rem auto;

    justify-content:flex-start;
    padding: 3rem;
    margin: 0 auto;
    align-items: center;
    max-width: 1100px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    border-radius: 0.5rem;
    background-color: white;
    height: auto;
}

  .card h4 {
    font-size: 2rem;
    color: var(--dark-color);
  }
  
  .card p {
    font-size: 1.2rem;
    color: #333;
    text-align: justify;
  }


/*ABOUT-US*/
.about-us {
    position: relative;
    background-color: var(--dark-color);
    text-align: justify;
    margin-bottom: 2rem;
    padding-top: 10rem;
    position: relative;
    color: var(--text-primary);
    border-radius: 0% 0% 50% 100%;
}

.about-us h2 {
    text-align: left;
}

.about-us-img {
    order: 1;
}

.about-us-text {
    order: 2;
    padding: 4rem 3rem 0rem 3rem;
}


/*PRODUCTS*/

.products {
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}

.product-icon {
    height: 80px;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding: 1.3rem;
    text-align: center;
    background: white;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    border-radius: 100%;
    transition: all 1s;
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    filter: grayscale(100%);
}

.product-icon:hover {
    filter: grayscale(0%);
}

.products h3 {
    font-size: 1.2rem;
    color: #375BA9;
}

.products  p {
    color: var(--bg-secondary);
    height: 90px;
    padding: 0 1rem;
}

.products i:hover {
    color: var(--light-color);
}

/*PARTNERS*/
.partners {
    padding-top: 1rem;
    padding-bottom: 5rem;
    box-shadow: inset 0px 0px 26px 5px rgba(0,0,0,0.35);
}
.partners .flex{
    justify-content: space-around;
}
.partners h2 {
    font-size: 3rem;
    color: var(--light-color);
  }
  
.partners h3 {
    font-size: 2rem;
    color: var(--bg-secondary);
    font-weight: 300;
  }

.partners img {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
}

/*CONTACT*/

.contact {
    height: 900px;
    padding: 2rem 2rem;
    position: relative;
}

.contact h1 {
    font-weight: 300;
    font-size: 3rem;
    color: var(--light-color);
    text-align: center;
}

.contact h4 {
    font-weight: 300;
    font-size: 2rem;
    color: #9b9b9b;
    line-height: 1.5;
}

/* ///// inputs /////*/

input:focus ~ label, textarea:focus ~ label, input:valid ~ label, textarea:valid ~ label {
    font-size: 0.75em;
    color: #999;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
}

.styled-input {
    float: left;
    width: 293px;
    margin: 1rem 0;
    position: relative;
    border-radius: 4px;
}

@media only screen and (max-width: 915px){
    .styled-input {
        width:100%;
    }
}

.styled-input label {
    color: #999;
    padding: 1.3rem 30px 1rem 30px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.styled-input.wide { 
    width: 650px;
    max-width: 100%;
}

input,
textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: white;
    color: #333;
    border-radius: 4px;
    font-size: 1.2rem;
}

input:focus,
textarea:focus { outline: 0; }

input:focus ~ span,
textarea:focus ~ span {
    width: 100%;
    -webkit-transition: all 0.075s ease;
    transition: all 0.075s ease;
}

textarea {
    width: 100%;
    min-height: 15em;
    resize: none;
}

.input-container {
    width: 650px;
    max-width: 100%;
    margin: 20px auto 25px auto;
}

.submit-btn {
    float: right;
    padding: 7px 35px;
    border-radius: 60px;
    display: inline-block;
    background-color: var(--dark-color);
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.06),
              0 2px 10px 0 rgba(0,0,0,0.07);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.submit-btn:hover {
    transform: translateY(1px);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.10),
              0 1px 1px 0 rgba(0,0,0,0.09);
}

@media (max-width: 915px) {
    .submit-btn {
        width:100%;
        float: none;
        text-align:center;
    }
}

input[type=checkbox] + label {
  color: #ccc;
  font-style: italic;
} 

input[type=checkbox]:checked + label {
  color: #f00;
  font-style: normal;
}


/* MEDIA QUERIES */
/*Desktop*/
@media(min-width:916px) {
    .mobile {
        display: none;
    }
}

@media(max-width:1500px){
    .navbar .flex {
        justify-content: center;
    }

    .language {
        right: 3%;
    }
}

/* Tablets and under*/
@media(max-width:915px){
    .grid,
    .header .grid,
    .about-us .grid,
    .products .grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .desktop {
        display: none;
    }

    .about-us {
        border-radius: 0% 0% 20% 40%;
        padding-top: 0;
    }

    .features {
        border-radius: 0% 10% 0% 0%;
    }

    .about-us-img {
        order: 2;
    }

    .about-us-text {
        order: 1;
        padding-top: 0;
    }

    .header {
        height: 1200px;
    }

    .pros ul{
        max-width: 330px;
    }

    .header-text {
        order: 2;
        justify-self: center;
    }
  
    .header-img {
        order: 1;
        padding: 0 2rem;
    }

    .header img {
        max-height: 350px;
    }

    .contact {
        height: 1100px;
    }

    .navbar .flex {
        justify-content: space-between;
    }

    .language {
        position: static;
        top: 0;
    }

    .language img {
        width: auto;
    }

    .card {
        padding: 2rem 1rem;
    }
    .card h4 {
        font-size: 1.7rem;
    }

}

@media(max-width:390px){
    .header {
        height: 1250px;
    }

    .header h1 {
        font-size: 2.5rem;
    }
}


@media(max-width:390px){
    .header {
        height: 1250px;
    }

    .header h1 {
        font-size: 2.5rem;
    }
}
