:root {
  --light-red: hsl(356, 100%, 66%);
  --very-light-red: hsl(355, 100%, 74%);
  --very-light-blue: hsl(208, 49%, 24%);
  /* NEUTRAL */
  --white: hsl(0, 0%, 100%);
  --grayish-blue: hsl(240, 2%, 79%);
  --very-dark-black-blue: hsl(240, 10%, 16%);
  /* GRADIENT */
  --grad-very-light-red: hsl(13, 100%, 72%);
  --grad-light-red: hsl(353, 100%, 62%);

  --grad-very-dark-grey-blue: hsl(237, 17%, 21%);
  --grad-very-desaturated-blue: hsl(237, 23%, 32%);

  /* FONTS */
  --ubuntu: "Ubuntu", sans-serif;
  --overpass: "Overpass", sans-serif;
}

*,
*::before,
*::after {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  background-color: var(--white);
}

h1,
h2,
h3,
h5,
h6,
p,
li {
  font-family: var(--overpass);
}

h1 {
  text-align: center;
  color: var(--very-dark-black-blue);
  width: 70%;
  margin: 1rem auto;
}

p {
  width: 75%;
  color: var(--grad-very-desaturated-blue);
  margin: 1rem auto;
  text-align: center;
  line-height: 1.5;
}

img {
  display: block;
  width: 80%;
  margin: 1.5rem auto;
}

.btn {
  font-family: var(--ubuntu);
  font-size: 1rem;
  font-weight: 700;
  margin: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 2rem;
  background-color: none;
  border: 2px solid var(--white);
}

.cta,
.cta-container {
  border-radius: 0px 0px 0px 5rem;
}

.cta {
  position: relative;
  background-image: linear-gradient(
    to right,
    hsl(13, 100%, 72%),
    hsl(353, 100%, 62%)
  );
  margin-bottom: 4rem;
}

.cta-container {
  background-image: url(./images/bg-pattern-intro-mobile.svg);
  background-repeat: no-repeat;
  background-size: 300%;
  background-position: center;
}

.logo-text {
  font-family: var(--ubuntu);
  color: var(--white);
  font-size: 10vw;
  font-weight: 500;
  margin-top: 10px;
}

.navigation {
  display: flex;
  justify-content: space-between;
  padding: 3rem 1rem 5rem 1rem;
}

.hamburger-icon {
  transition: ease-out 0.5s;
}

.close-icon {
  display: none;
}

.nav-bar,
.sub-link {
  border-radius: 10px;
}

.nav-bar {
  position: absolute;
  background-color: var(--white);
  top: 7rem;
  left: 0px;
  right: 0px;
  width: 0px;
  height: 0px;
  margin: auto;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.nav-bar p {
  color: var(--very-light-blue);
  font-size: 1rem;
  font-weight: 600;
  opacity: 1;
  margin: 0px auto 0.5rem auto;
}

.sub-link {
  background-color: hsl(0, 3%, 94%);
  padding: 1rem;
  display: none;
}

.nav-bar h4 {
  color: var(--very-dark-black-blue);
  font-family: var(--overpass);
  font-size: 1.2rem;
  margin: 1rem auto;
}

.nav-bar h4 > svg {
  display: inline;
  margin: 0px;
}

hr {
  margin: 2rem auto;
  border-color: hsl(0, 3%, 94%);
  opacity: 0.5;
}

.nav-bar button {
  padding: 1.2rem 2rem;
  background-image: linear-gradient(
    to right,
    hsl(13, 100%, 72%),
    hsl(353, 100%, 62%)
  );
  color: var(--white);
  transition: 0.5s;
}
.cta-header-text,
.cta-paragraph {
  color: var(--white);
  text-align: center;
  margin: 0px auto;
  width: 80%;
}

.cta-header-text {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-bottom: 5rem;
}

.cta-btn-1,.cta-btn-2 {
  transition: 0.5s;
}

.cta-btn-1 {
  color: var(--light-red);
}

.cta-btn-1:hover, .cta-btn-2:hover, .nav-bar > button {
  transform: scale(1.1);
}

.cta-btn-1:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.491);
  border: none;
}

.cta-btn-2 {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.cta-btn-2:hover {
  background-color: var(--white);
  color: var(--light-red);
}

.f-introduction p {
  margin-bottom: 2.5rem;
}

.states {
  position: relative;
  margin-top: 15rem;
}

.states-write-up {
  background-image: linear-gradient(
    to right,
    hsl(237, 17%, 21%),
    hsl(237, 23%, 32%)
  );
}

.states-image {
  position: absolute;
  transform: translateY(-180px);
}

.states-write-up,
.states-write-up-container {
  border-radius: 0px 30% 0px 30%;
}

.states-write-up-container {
  background-image: url(./images/bg-pattern-circles.svg);
  background-repeat: no-repeat;
  background-size: 90%;
  background-position: 50% -50%;
  padding: 150px 0px 50px 0px;
}

.states-write-up-container h1,
.states-write-up-container p {
  color: var(--white);
}

.states-write-up-container h1 {
  width: 100%;
  font-size: 2rem;
}

footer {
  background-color: var(--grad-very-dark-grey-blue);
  color: var(--white);
  text-align: center;
  padding: 2rem 0px;
  border-radius: 0px 70px 0px 0px;
  margin-top: 4rem;
}

footer h2 {
  font-family: var(--ubuntu);
  font-size: 2rem;
  margin: 2rem auto;
}

footer div {
  margin-bottom: 2.2rem;
}
footer h5 {
  font-size: 1.1rem;
}

footer p {
  color: var(--grayish-blue);
}

@media (min-width: 450px) and (max-width: 1023px) {
  body {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .cta-container {
    position: relative;
    background-image: url(./images/bg-pattern-intro-desktop.svg);
    background-size: 220%;
  }

  .navigation {
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
  }

  .logo-text {
    font-size: 3.5vw;
  }

  .nav-bar {
    position: static;
    background-color: transparent;
    padding: 0rem;
    height: auto;
    width: 80%;
    margin: 0px 20px;
    transition:
     none;
  }



  .nav-container {
    display: flex;
    justify-content: space-between;
  }

  .sub-link {
    position: absolute;
    width: 10vw;
  }

  .sub-link p {
    font-size: 1.2vw;
  }

  .product-sub-link {
    left: 19.5vw;
  }

  .company-sub-link {
    left: 27.5vw;
  }

  .content-sub-link {
    left: 37.5vw;
  }

  .product-sub-link,
  .content-sub-link,
  .company-sub-link {
    top: 120px;
  }

  .left-nav,
  .right-nav {
    display: flex;
    margin-top: 10px;
  }

  .left-nav > div {
    margin-right: 2vw;
  }

  .left-nav > *:hover, .right-nav > *:hover, .btn{
    cursor: pointer;
  }

  .left-nav > div > img {
    transition: 0.5s;
  }

  #Content {
    margin: 0px;
  }

  .n-control {
    display: none;
  }

  hr {
    display: none;
  }

  .nav-bar button {
    padding: 0rem 3rem;
    background-color: var(--white);
    background-image: none;
    border-color: none;
    color: var(--light-red);
    margin: 0.5rem 0.5rem 0.5rem 4rem;
  }

  .nav-bar button:hover{
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.491);
  border: none;
  }

  .nav-container h4 {
    color: var(--white);
    font-size: 1.35vw;
  }

  

  .nav-container h4 > svg path {
    stroke: var(--white);
  }

  /* BODY SECTION */

  .features {
    overflow-x: hidden;
  }
  .features-container {
    margin-top: 50px;
    display: flex;
    flex-direction: row-reverse;
    max-height: fit-content;
  }
  .f-introduction > h1,
  .f-introduction > p {
    width: 85%;
    text-align: left;
    margin-left: 6rem;
  }

  .f-introduction > h1 {
    font-size: 1.3rem;
  }

  .f-introduction > p {
    font-size: 0.9rem;
  }

  .f-introduction,
  .features-image {
    width: 50vw;
  }

  .features-image > img {
    width: 100%;
    transform: translate(100px, -90px);
    margin: 0px;
  }

  /* STATES */
  .states {
    margin-top: 0.5rem;
  }

  .states-image {
    transform: translateY(-70px);
  }

  .states-write-up {
    border-radius: 0px 95px 0px 95px;
  }

  .states-write-up-container {
    background-position: -200% 90%;
    padding: 100px 0px;
  }

  .states-write-up-container > p,
  .states-write-up-container > h1 {
    text-align: left;
    margin: 0px;
    width: fit-content;
    margin-left: 50%;
    width: 40vw;
  }

  .states-write-up-container > h1 {
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  /* F2 SECTION */

  .f2 {
    overflow-x: hidden;
    margin-top: 4rem;
  }

  .f2-container {
    display: flex;
  }

  .f2-img,
  .f2-write-up {
    width: 50%;
  }

  .f2-img > img {
    width: 120%;
    margin: 0px;
    transform: translate(-200px, -10px);
  }

  .f2-write-up {
    margin-top: 7rem;
  }

  .f2-write-up > h1,
  .f2-write-up p {
    text-align: left;
    margin-left: 0px;
  }

  /* FOOTER */
  footer {
    display: flex;
    justify-content: space-around;
    padding-top: 5rem;
  }

  footer h2 {
    margin: 0px;
  }

  .n-sec:hover {
    border-bottom: 2px solid white;
  }
}

/* ANIMATION */

.icn {
  transform: scale(1.1) rotate(180deg);
  transition: 0.5s;
}

.rotate {
  transform: none;
}

.visible {
  display: block;
}


