/* general styles */

.content {
  padding: 0 10%;
  overflow: hidden;
}

.hidden {
  display: none;
}

/* hero section */

.hero {
  background-image: url('../assets/hero-background.png');
  background-size: cover;
  background-position: bottom;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-main {
  display: flex;
  flex-direction: row;
  gap: 8rem;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.app-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 10rem;
}

#download-app-store {
  width: 60%;
  margin-bottom: 1.5rem;
}

#hero-devices {
  width: 80%;
}

#hero-devices-small {
  display: none;
}


.hero-support {
  padding-bottom: 4rem;
  padding-top: 2rem;
  background-color: #DDE5E9;
  position: relative;
  top: -3vw;
  margin-bottom: -3vw;
  display: flex;
  justify-content: center;
  gap: 5%;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 8rem;
}

.icon {
  width: 80%;
}

.icon-description {
  text-align: center;
  font-weight: 500;
  width: 100%;
}

.feature-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  margin: 78px 0;
}

.feature-text {
  min-width: 200px;
  font-weight: 500;
}

.reverse {
  flex-direction: row-reverse;
}

#limits-component {
  max-width: 420px;
}

#split-view {
  max-width: 600px;
}

@media screen and (max-width: 1060px) {
  .hero-main {
    gap: 2rem;
    padding-top: 5rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1.4rem;
  }

  .hero-support {
    top: -4vw;
    margin-bottom: -4vw;
    padding-bottom: 4.2rem;
    padding-top: 2rem;
  }

  #hero-devices {
    width: 90%;
  }

  .feature-section {
    gap: 2rem;
  }

  #split-view-section {
    justify-self: flex-start;
  }

  #limits-component {
    max-width: 300px;
  }
  
}


@media screen and (max-width: 800px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  #hero-devices {
    width: 100%;
  }
}

@media screen and (max-width: 660px) {
  .content {
    padding: 0 5%;
  }
  
  .hero-main {
    gap: 1rem;
  }

  .hero-support {
    top: -5vw;
    margin-bottom: -5vw;
    padding-bottom: 4.2rem;
    padding-top: 2rem;
  }
}

@media screen and (max-width: 560px) {
  .hero-main {
    flex-direction: column;
    padding-top: 2.75rem;
    padding-bottom: 1rem;
  }
  
  .hero-text h1 {
    text-align: center;
  }

  .hero-text h2 {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-support {
    top: -11vw;
    margin-bottom: -11vw;
    padding-bottom: 4.2rem;
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .app-icon-container {
    gap: 1rem;
  }

  #download-app-store {
    margin-bottom: 1rem;
  }

  #hero-devices {
    display: none;
  }
  
  #hero-devices-small {
    display: block;
    width: 70%;
  }

  .feature-section {
    flex-direction: column;
    align-items: flex-start;
  }

  #limits-component {
    width: 80%;
    align-self: center;
  }
}