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

/* ROOT */
:root {
  --color-background: #73d7f7;
  --color-gradient: linear-gradient(243.02deg, #10a9da -9.92%, #92e5ff 106.28%);
  --color-primary: #53b9d9;
  --color-white: #fff;
  --color-body: #5b5b5b;
  --color-heading: #0e5d80;
}

.copy-right {
  font-size: 2rem;
  margin-right: 60rem;
}

@media screen and (max-width: 1024px) {
  .copy-right {
    font-size: 1.4rem;
    margin-right: 4rem;
    margin-top: 1rem;
    white-space: nowrap;
  }
}

/* TYPOGRAPHY */
body {
  color: var(--color-white);
  font-size: 1.6rem;
  background: radial-gradient(
    circle at 10% 20%,
    rgb(149, 219, 254) 0%,
    rgb(52, 157, 209) 90.1%
  );
}

h1,
h2,
h3 {
  color: var(--color-heading);
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3rem;
  }
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
}

.container .plan {
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  outline: 0;
  cursor: pointer;
  padding: 1rem 3rem;
  white-space: nowrap;
  font-size: 1.4rem;
  border-radius: 0.8rem;
  border: 0;
  text-align: center;
}

.btn--primary {
  color: var(--color-white);
  background-color: var(--color-heading);
}

.btn--secondary {
  color: var(--color-white);
  background-color: var(--color-primary);
  border: 3px solid var(--color-white);
}

.btn--secondary.cta {
  background-color: var(--color-primary);
}

@media screen and (min-width: 1024px) {
  .btn {
    font-size: 1.8rem;
  }
}

/* LISTS */
.list {
  list-style: none;
  font-size: 1.6rem;
}

.list--inline .list__item {
  display: inline-block;
  margin-left: 9.3rem;
  font-size: 1.8rem;
}

.list--footer .list__item {
  display: block;
  font-size: 1.6rem;
  margin-top: 1.7rem;
}

@media screen and (min-width: 1024px) {
  .list {
    font-size: 3.6rem;
  }
  .list--inline .list__item {
    font-size: 3.6rem;
  }
  .list--footer .list__item {
    font-size: 2rem;
  }
}

/* NAVBAR */
.main--header {
  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
}

.nav img {
  cursor: pointer;
}

.nav__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease-out;
}

.nav.nav__expanded .nav__list {
  max-height: 100vh;
  opacity: 1;
}

.nav__item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-white);
}

.nav__item.cta a {
  font-size: 1.4rem;
  color: var(--color-white);
}

.nav4,
.nav5 {
  border: none;
}

.nav__item .btn {
  padding: 0.6rem 2.5rem;
}

.nav__item > a {
  text-decoration: none;
  color: var(--color-white);
  display: block;
  padding: 0.5rem;
}

.nav__item > a:hover {
  color: var(--color-heading);
}

.nav__item .btn:hover {
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .nav {
    padding: 0.2rem 2rem;
  }
  .nav .logo-ban {
    margin-right: -15rem;
  }
  .nav__toggler {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    width: auto;
    opacity: 1;
    max-height: 100%;
  }
  .nav__item {
    margin-right: 2rem;
    margin-bottom: 0;
    font-size: 2rem;
    border: 0;
  }
  .nav__item > a {
    text-decoration: none;
    color: var(--color-white);
    display: block;
    padding-bottom: 1rem;
  }
}

/* TOGGLER */
.nav__toggler {
  cursor: pointer;
  background-color: var(--color-heading);
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  margin: 5px 0;
  border-radius: 5px;
  transition: all 0.4s ease-out;
}

.nav.nav.nav__expanded .bar-one {
  transform: rotate(-45deg) translate(-5px, 5px);
}

.nav.nav.nav__expanded .bar-two {
  opacity: 0;
  transform: translateX(-20px);
}

.nav.nav.nav__expanded .bar-three {
  transform: rotate(45deg) translate(-8px, -8px);
  margin: 8px 0;
}

/* OPTIONS ICONS */
.option-icons {
  margin-top: 10rem;
  color: var(--color-white);
}

.icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(1, 1fr);
}

.icon--item {
  margin-right: 4.6rem;
  margin-bottom: 3rem;
}

.option-p {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.item--nav > img {
  width: 25px;
  height: 25px;
}

.item--nav {
  width: 65px;
  height: 65px;
  background-color: #f6f6f6;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 17px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .icons {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .option-icons {
    margin-top: 7rem;
  }
}

@media screen and (min-width: 1024px) {
  .option-p {
    font-size: 2.2rem;
    margin-right: 0.5rem;
  }
  .item--nav > img {
    width: 45px;
    height: 45px;
  }
  .icon--item {
    margin: 0 auto;
    margin-bottom: 0;
  }
  .item--nav {
    width: 90px;
    height: 90px;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    cursor: pointer;
  }
}

/* HOME SECTION */
.home {
  margin-top: 1rem;
  padding-right: 4rem;
}

.home__view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home--photo {
  width: 50%;
  position: relative;
  margin-top: 2rem;
}

.home--phone {
  display: none;
  width: 20%;
  position: absolute;
  left: 13rem;
  top: 11rem;
}

.home__heading {
  margin-top: 2rem;
}

.btn.home--btn {
  background-color: var(--color-heading);
  color: var(--color-white);
  margin-top: 3rem;
  font-size: 1.4rem;
}

@media screen and (min-width: 1024px) {
  .home {
    display: flex;
    margin-top: 4rem;
    padding-right: 8rem;
  }
  .btn.home--btn {
    font-size: 1.8rem;
  }
  .home__intro {
    width: 50%;
  }
  .home__view {
    width: 50%;
    display: flex;
    order: 2;
  }
  .home--photo {
    width: 60%;
    position: relative;
  }
  .home--phone {
    display: none;
    width: 12%;
    position: absolute;
    top: 12rem;
    left: 15rem;
  }
  .home__heading {
    margin-top: 5rem;
  }
}

/* BABY SECCTION */
.baby {
  display: flex;
  background-color: #f6f6f6;
  overflow-x: hidden;
}

.baby--heading {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.baby--image {
  width: 100%;
  height: auto;
  margin-right: -10rem;
}

.baby--holder {
  margin-left: -30rem;
}

.baby--btn {
  margin-top: 3rem;
  margin-bottom: 2rem;
  color: var(--color-heading);
  background-color: var(--color-white);
  border: 3px solid var(--color-heading);
  border-radius: 0.8rem;
  font-size: 1.4rem;
  padding: 0.7rem 1rem;
  color: var(--color-white);
  border: none;
  background-color: var(--color-primary);
}

.baby--text {
  font-size: 1.4rem;
  margin-top: 1rem;
  color: #5b5b5b;
}

.baby--intro {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .baby {
    column-gap: 1rem;
  }
  .baby--heading {
    font-size: 4rem;
    margin-top: 3rem;
    margin-bottom: 0;
  }
  .baby--intro {
    width: 100%;
  }
  .baby--image {
    width: 100%;
    margin-right: 0;
  }
  .baby--text {
    margin-top: 3rem;
    font-size: 2.5rem;
  }
  .baby--btn {
    margin-top: 4rem;
    margin-bottom: 5rem;
    font-size: 2rem;
    border-radius: 1.5rem;
    padding: 1.2rem 3.6rem;
  }
  .baby--holder {
    margin-left: 0;
  }
}

/* MANAGE SECCTION */
.manage {
  display: flex;
  column-gap: 0.5rem;
  padding: 4rem 5rem;
  margin-bottom: 2rem;
}

.manage--intro {
  max-width: 700px;
}

.manage--heading {
  margin-top: 1rem;
  margin-bottom: 2.4rem;
}
.manage--image {
  width: 70%;
  height: auto;
}

.manage--btn {
  margin-top: 1.5rem;
  color: var(--color-heading);
  background-color: var(--color-white);
  border: 3px solid var(--color-heading);
  border-radius: 0.8rem;
  font-size: 1.4rem;
  padding: 0.3rem 1rem;
}

@media screen and (min-width: 1024px) {
  .manage {
    column-gap: 13rem;
    margin-bottom: 4rem;
  }
  .manage--image {
    width: 100%;
  }
  .manage--btn {
    margin-top: 8rem;
    font-size: 2rem;
    border-radius: 1.5rem;
    padding: 1.2rem 2.5rem;
  }
  .manage--heading {
    margin-bottom: 5.7rem;
  }

  .manage--text {
    line-height: 1.5;
  }
}

/* Special */
.special--holder {
  padding: 3rem;
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
}

.special--block {
  margin-left: 3rem;
}

.special--text {
  font-size: 2rem;
  text-align: right;
}

.special--image img {
  border-radius: 10px;
}

@media screen and (max-width: 678px) {
  .special--holder {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 3rem;
    margin-top: 1rem;
  }
  .special--text {
    font-size: 1.6rem;
  }
  .special--block {
    margin-left: 2.3rem;
  }
  .special--heading {
    margin-top: 1rem;
    margin-right: 5rem;
  }
  .special {
  }
  .special--image img {
    max-width: 200px;
  }
}

/* FRIENDS FEATURE */
.friends {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.friends--heading {
  margin-top: 4rem;
}

.friends--text {
  margin-top: 2.2rem;
}

.friends--image img {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .friends {
    flex-direction: row;
  }
}

/* DEVICE MANAGER */
.device {
  text-align: center;
  padding: 3rem;
}

.device--heading {
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.device--image img {
  margin-top: 4rem;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 1024px) {
  .device--image img {
    margin-top: 6.5rem;
  }
}

/* Footer */
.main-footer {
  background-color: var(--color-heading);
  color: white;
  min-height: 200px;
}

.main-footer .footer {
  display: flex;
  flex-direction: column;
}

.footer__item {
  margin-bottom: 2.5rem;
  margin-right: 10rem;
}

.footer__item a {
  text-decoration: none;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.5rem;
  display: block;
}

.footer__item h6 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.big-app img {
  width: 30%;
  height: auto;
}

.big-app2 img {
  width: 30%;
  height: auto;
}

.footer__item.app {
  display: flex;
  flex-direction: column;
}

.footer__app {
  border-radius: 10px;
  padding: 1rem 0.5rem;
  margin-left: 7rem;
}

.footer__item a:hover,
h6:hover {
  color: var(--color-primary);
}

@media screen and (min-width: 768px) {
  .main-footer .footer {
    flex-direction: row;
  }
  .footer__item {
    margin-bottom: 0;
    margin-left: 10rem;
    margin-top: 3rem;
  }
  .footer__item h6 {
    font-size: 2.2rem;
  }
  .footer__item a {
    font-size: 1.8rem;
    white-space: nowrap;
  }
  .footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .big-app img {
    width: 60%;
    height: auto;
  }
  .big-app2 img {
    width: 60%;
    height: auto;
  }
  .footer__app {
    margin-bottom: -1rem;
  }
}

.social-links {
  margin-top: 5rem;
  display: flex;
  flex-direction: row;
  padding-right: 10rem;
  justify-content: flex-start;
}

.hr-color {
  color: #f6f6f6;
  opacity: 0.2;
}

.social-links > a {
  width: 45px;
  height: 45px;
  border-radius: 100%;
  background-color: rgb(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 7rem;
  margin-bottom: 4rem;
}

.social-links img {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .social-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    padding-right: 4rem;
    justify-content: center;
  }
  .social-links > a {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: rgb(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
    margin-bottom: 4rem;
  }
}
