@import url("global.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  font-weight: 300;
  overflow-x: hidden;
  background: var(--background-color);

  main {
    overflow-x: hidden;
  }

  .secondary-typo {
    font-family: var(--font-family-secondary-typo);
  }

  h1,
  h2 {
    font-weight: 800;
  }

  h3,
  h4,
  h5 {
    font-weight: 600;
  }

  h4,
  h5 {
    font-weight: 500;
  }
}

.strikethrough {
  text-decoration: line-through;
}

/* SECTIONS */
.section {
  padding: 5rem 0;

  &.-dark {
    background: var(--primary-color-dark);
    color: white;

    .section-title {
      color: white;

      span {
        color: var(--primary-color-light);
      }
    }
  }

  .section-title {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
    color: var(--primary-color-dark);
    font-style: italic;

    span {
      color: var(--primary-color-light);
      font-style: normal;
    }

    .title-icon {
      fill: var(--primary-color-dark);
      width: 38px;
      margin-right: 8px;

      &.-empty {
        fill: none;
        stroke: var(--primary-color-dark);

        path {
          stroke: var(--primary-color-dark);
        }
      }

      &.-stroke {
        fill: none;
        stroke: none;

        path {
          fill: var(--primary-color-dark);
        }
      }

      &.-negative {
        fill: none;
        stroke: none;

        g {
          path {
            fill: var(--primary-color-light);
          }
        }
      }
    }
  }
}

@media only screen and (min-width: 767px) {
  .section {
    padding: 8rem 0;

    .section-title {
      font-size: var(--font-size-m);

      img {
        width: 48px;
        margin-right: 15px;
      }
    }
  }
}

.container {
  max-width: 900px;
  width: 85%;
  margin: auto;
}

.registered-trademark {
  font-size: 0.8rem;
  color: var(--primary-color-dark);
  text-align: center;
  margin-bottom: 5px;
}

.cta-button {
  color: black;
  background-color: var(--secondary-color-light);
  padding: 0.6rem 2.5rem;
  border-radius: var(--btn-border-radius);
  border: none;
  box-shadow: var(--box-shadow);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-m);
  cursor: pointer;

  &:hover {
    color: white;
    background-color: var(--secondary-color-dark);
  }

  &#cta-navbar-desktop {
    padding: 0.3rem 1.6rem;
    font-size: var(--font-size-s);
  }
}

/* MEDIA QUERIES  */

/* Show content only for mobile */
@media only screen and (max-width: 767px) {
  .mobile-only {
    display: flex !important;
  }
}

@media only screen and (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

/* Show content for everything except mobile */
@media only screen and (min-width: 768px) {
  .not-mobile {
    display: flex !important;
  }
}

@media only screen and (max-width: 767px) {
  .not-mobile {
    display: none !important;
  }
}

/* Show content only for desktop */
@media only screen and (min-width: 1024px) {
  .desktop-only {
    display: flex !important;
  }
}

@media only screen and (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

/* Show content for everything except desktop */
@media only screen and (max-width: 1023px) {
  .not-desktop {
    display: flex !important;
  }
}

@media only screen and (min-width: 1024px) {
  .not-desktop {
    display: none !important;
  }
}
