:root{
  /* Principal color of the webpage */
  --color-primary: #FFA500;
  --color-primary-light: #FFC800;

  /* Backgrounds */
  --color-background-white: white;
  --color-background-light-gray: #F5F5F5;

  /* Text */
  --color-text-black: #222;
  --color-text-gray-dark-2: #333;
  --color-text-gray-dark: #666;
  --color-text-gray-dark-hover: #333;
  --color-text-white: white;

  /* Icons */
  --color-icon-black: #222;
  --color-icon-white: white;
  
  /* Borders */
  --color-border-light-gray: #EEE;

  /* Transparent colors */
  --color-transparent-black-50: hsla(0, 0%, 0%, 0.500);
  
  /* Shadows */
  --color-boxshadow-black: rgba(0, 0, 0, 0.2);
}

/* Shared */

  /* Fonts */

  /* Statistics font - Numbers */
  @font-face {
    font-family: Oswald;
    src: url('../fonts/Oswald.ttf') format('woff2');
    font-style: normal;
    font-weight: 600;
  }

  /* Statistics font - Normal words */
  @font-face {
    font-family: Roboto;
    src: url('../fonts/Roboto-Medium.ttf') format('woff2');
    font-style: normal;
    font-weight: 600;
  }

  /* Statistics font - Titles */
  @font-face {
    font-family: Roboto-Bold;
    src: url('../fonts/Roboto-Bold.ttf') format('woff2');
    font-style: normal;
    font-weight: normal;
  }

/* Default font size (16px) and font family */
* {
  font-family: Roboto, Calibri, Tahoma, sans-serif;
  font-size: 1em;
}

/* White border on mobile devices fix */
/* Media query for scrollReveal compatibility */
@media (max-width: 400px) {
  html, body {
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
  }
}

.button {
  color: var(--color-text-black);
  font-family: Roboto;
  font-weight: 500;
  letter-spacing: 0px;
  font-size: 1em;
  padding-left: 1.5em;
  padding-right: 1.5em;
  border: 0;
  background-color: var(--color-primary);
  transition: ease-in-out 0.1s;
  margin-right: 2em;
}

.button:hover {
  color: var(--color-text-black);
  background-color: var(--color-primary-light);
}

.button:focus {
  color: var(--color-text-black);
  background-color: var(--color-primary-light);
}


.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
  }
  
  .list-inline > li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
  }
  
  /* Sections */
  .section {
    padding: 100rem 0 10rem;
    text-align: center;
  }

  /* Sections */
  .section__brand {
    padding: 100rem 0 10rem;
    text-align: center;
  }
  
  .section-heading,
  .section-description {
    margin-bottom: 1.2rem;
  }

   .section__promotion {
    padding: 10rem 0 10rem;
    text-align: center;
  }
  
   /* General Header */
  .header {
    box-shadow: 0 2px 4px var(--color-boxshadow-black);
    color: var(--color-text-white);
  }

  .header-top {
    background-color: var(--color-primary);
    box-shadow: 0 2px 4px var(--color-boxshadow-black);
    color: var(--color-text-white);
  }

  .header-bottom {
    background-color: var(--color-background-white);
    box-shadow: 0 2px 4px var(--color-boxshadow-black);
    color: var(--color-text-white);
  }
  
  .header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
  }
  
  .header__bottom {
    display: flex;
    align-items: center;
    padding: 10px 2px;
    background-color: var(--color-background-white);
  }
  
   /* Top Header */

   /* Header - Contact */
  .header__contact-container {
    display: flex;
  }
  
  .header__contact {
    color: var(--color-icon-black);
    font-size: 14px;
  }
  
  .header__contact-text {
    color: var(--color-text-black);
    font-size: 14px;
    margin-right: 20px;
  }

  .header__contact i {
    margin-right: 0.2em;
  }

   /* Header - Social Network */
  .header__social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .header__social-link {
    display: inline-block;
    color: var(--color-text-black);
  }
  
  .header__social-link i {
    margin-left: 0.35em;
  }

  /* Bottom Header */
  .header__logo {
    color: var(--color-text-black);
    max-width: 30%;
  }

  .header__nav-dropdown {
    color: var(--color-icon-black);
    display: none;
  }
  
  .header__nav-dropdown-button {
    margin-top: auto;
    margin-bottom: bottom;
    justify-content: flex-end;
  }
  
  .header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .header__nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header__nav-list-show {
    display: block !important;
  }
  
  .header__nav-item {
    text-align: center;
    line-height: 100%;
    margin-left: 20px;
    margin-bottom: auto;
  }
  
  .header__nav-link {
    color: var(--color-text-black);
    text-decoration: none; 
    transition: ease-in-out 0.2s
  }

  .header__nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
  }

  .header__nav-link-selected {
    color: var(--color-primary);
    font-weight: 800;
    text-decoration: none;
    transition: ease-in-out 0.2s
  }

  .header__nav-link-selected:hover {
    color: var(--color-primary-light);
    text-decoration: none;
  }

  /* Hero */
  .hero {
    background-position: top left;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: var(--color-text-black);
  }
  
  /* Features */

  /* Correct spacing between columns  */
  .flex-grid > .flex-grid__col {
    margin-left: 0.5%;
    margin-right: 0.5%;
  }

  .features__flex-grid--border {
    padding: 1% 3% 1% 3%;
    border: 1px solid var(--color-border-light-gray);
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
  }

  .features {
    background-color: var(--color-background-white);
    color: var(--color-text-black);
    padding: 10rem 0rem 12rem 0rem;
    
  }
  
  .features__icon {
    color: var(--color-icon-black);
    padding-top: 10%;
    padding-bottom: 6%;
  }

  .features__title,
  .features__title-section {
    font-family: Roboto-Bold, Calibri, Tahoma, sans-serif;
  }

  .features__title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 50px;
  }

  .features__title-section {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.35em;
  }

  
  /* Promotion */
  .promotion {
    color: var(--color-text-white);
    background: url("../img/statsHiRes.jpg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    padding: 6rem 5 6rem;
  }

  .promotion__title {
    margin-bottom: 5rem;
  }
  
  .promotion__icon {
    margin-bottom: .5rem;
  }
  
  .promotion__heading {
    font-size: 5em;
    font-family: Oswald, Calibri, Tahoma, sans-serif;
    margin-bottom: 0rem;
  }
  
  .promotion__description {
    font-size: 1.5em;
    font-family: Oswald, Calibri, Tahoma, sans-serif;
  }
  
  /* Help */
  .get-started {
    background-color: var(--color-background-white);
    font-family: Oswald, Calibri, Tahoma, sans-serif;
  }

  .get-started__heading {
    color: var(--color-text-black);
    font-size: 40px;
    font-family: Roboto-Bold, Calibri, Tahoma, sans-serif;
    margin-bottom: 3rem;
  }
  
   /* Footer */
  .footer {
    background-color: var(--color-background-light-gray);
    padding: 40px;
    padding-bottom: 20px;
  }
  
  .footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  
  .footer__company-info {
    flex-basis: 33.33%;
    margin-bottom: 20px;
  }
  
  .footer__logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-text-gray-dark-2);
    margin: 0 0 10px 0;
  }
  
  .footer__address,
  .footer__phone,
  .footer__email {
    font-size: 14px;
    color: var(--color-text-gray-dark);
    margin: 0;
  }
  
  .footer__email a {
    color: var(--color-text-gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer__email a:hover {
    color: var(--color-text-gray-dark-hover);
  }
  
  .footer__links {
    flex-basis: 33.33%;
    margin-bottom: 20px;
  }
  
  .footer__heading {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text-gray-dark-2);
    margin: 0 0 10px 0;
    }
    
    .footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    }
    
    .footer__menu-item {
    margin-bottom: 10px;
    }
    
    .footer__menu-item:last-child {
    margin-bottom: 0;
    }
    
    .footer__menu-item a {
    color: var(--color-text-gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    }
    
    .footer__menu-item a:hover {
    color: var(--color-text-gray-dark-hover);
    }
    
    .footer__social {
    flex-basis: 33.33%;
    margin-bottom: 20px;
    }
    
    .footer__social-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    
    }
    
    .footer__social-menu-item {
    margin-right: 10px;
    }
    
    .footer__social-menu-item:last-child {
    margin-right: 0;
    }
    
    .footer__social-menu-item a {
    color: var(--color-text-gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    }
    
    .footer__social-menu-item a:hover {
    color: var(--color-text-gray-dark-hover);
    }
    
    .footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    
    .footer__copy {
    font-size: 14px;
    color: var(--color-text-gray-dark);
    margin: 0;
    }
    
    .footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    }
    
    .footer__legal-item {
    margin-right: 10px;
    margin-top: auto;
    margin-bottom: auto;
    }
    
    .footer__legal-item:last-child {
    margin-right: 0;
    }
    
    .footer__legal-item a {
    color: var(--color-text-gray-dark);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    }
    
    .footer__legal-item a:hover {
    color: var(--color-text-gray-dark-hover);
    }
  
  

  @media (min-width: 360px) {
    .section {
      padding: 10rem 0 10rem;
    }
    .section__brand {
      padding: 3rem 0 2rem;
    }
    .hero {
      padding: 0rem 0 0rem;
      text-align: left;
    }
    .hero-heading {
      font-size: 2.4rem;
    }
    .header__logo {
      max-width: 30%;
    }

    
  }

  /* Mobile navbar */
  @media (max-width: 600px) {
    .header-top {
      display: none;
    }
    .container {
      width: 75%;
    }
    .flex-grid__col {
      margin-top: 3%;
      padding: 1% 10% 2% 10%;
    }
    .section__promotion {
      padding: 3rem 0 3rem;
    }

    .header__top,
    .header__bottom {
      display: block;
    }

    
    .header__nav-list {
      display: block;
      text-align: center;
      margin-top: auto;
      margin-bottom:auto;
      padding-top: 7%;
      padding-bottom: 3%;
      width: 100%;
    }

    .header__nav-link {
      margin-left: auto;
      margin-right: auto;
    }

    .header__nav-item {
      font-size: 1.7em;
      margin-left: auto;
      margin-right: auto;
      padding-top: 2%;
      padding-bottom: 2%;
    } 
    .header__logo {
      max-width: 90%;
      text-align: right;
      margin-left: auto;
      margin-right: auto;
    }

    .header__nav {
      display: grid;
    }

    .header__nav-list {
      padding-top: unset;
      padding-bottom: unset;
    }

    .header__nav-dropdown {
      display: table;
      text-align: center;
    }

    .header__nav-list {
      display: none;
    }
  }

  @media (min-width: 600px) {
    .container {
      width: 95%;
    }
    .flex-grid--lg {
      display: flex;
    }
    .hero {
      padding: 8rem 0 8rem;
    }
    .hero-heading {
      font-size: 2.6rem;
    }
    .section {
      padding: 14rem 0 1rem;
    }
    .section__brand {
      padding: 7rem 0 6rem;
    }
    .hero {
      padding: 0rem 0 0rem;
    }
    .section-description {
      max-width: 60%;
      margin-left: auto;
      margin-right: auto;
    }
    .header__nav {
      display: flex;
    }
    .header__nav-link,
    .header__nav-link-selected,
    .header__nav-link-selected:hover {
      font-size: 0.8em;
    }
    
  }

  @media (min-width: 768px) {
    .container {
      width: 95%;
    }
    .hero {
      padding: 8rem 0 8rem;
    }
    .hero-heading {
      font-size: 2.6rem;
    }
    .section  {
      padding: 14rem 0 1rem;
    }
    .section__brand {
      padding: 7rem 0 6rem;
    }
    .hero {
      padding: 0rem 0 0rem;
    }
    .section-description {
      max-width: 60%;
      margin-left: auto;
      margin-right: auto;
    }
    .header__nav {
      display: flex;
    }
    .header__nav-link,
    .header__nav-link-selected,
    .header__nav-link-selected:hover {
      font-size: 0.8em;
    }

  }
  
  @media (max-width: 810px) {
    .section__promotion .col {
      margin-left: unset;
    }
    
    .promotion__heading {
      font-size: 3.5em;
    }

    .promotion__description {
      font-size: 1.2em;
    }

  }

  @media (min-width: 960px) {
    .section {
      padding: 10rem 0 10rem;
    }
    .section__brand {
      padding: 3rem 0 2rem;
    }
    .hero {
      padding: 0rem 0 0rem;
    }
    .hero-heading {
      font-size: 3.0rem;
    }
    .header__nav {
      display: flex;
    }
    .header__nav-link,
    .header__nav-link-selected,
    .header__nav-link-selected:hover {
      font-size: 1em;
    }
    
  }

  @media (min-width: 960px) {
    .section {
      padding: 10rem 0 4rem;
    }
    .section__brand {
      padding: 3rem 0 2rem;
    }
    .hero {
      padding: 0rem 0 0rem;
    }
    .hero-heading {
      font-size: 3.0rem;
    }
    .header__nav {
      display: flex;
    }
    .header__nav-link,
    .header__nav-link-selected,
    .header__nav-link-selected:hover {
      font-size: 1em;
    }

    
  }
  /* Turn off parallax scrolling for all tablets and phones. Increase/decrease the pixels if needed */
  @media only screen and (max-device-width: 1366px) {
    .promotion {
      background-attachment: scroll;
      background: url("../img/stats.jpg");
      background-position: center;
      background-size: cover;
    }
  } 

  /* Contact-us styles */

  /* Contact form */
  .form {
    display: flex;
    flex-wrap: wrap;
  }
  
  .form__group {
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  
  .form__label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .form__input {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--color-border-light-gray);
  }
  
  .form__input--textarea {
    resize: vertical;
    height: 100px;
  }
  
  .form__button {
    padding: 10px 20px;
    background-color: #007bff;
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }
  
  .form__button:hover {
    background-color: #0062cc;
  }
