/* RESET & ROOT */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: -apple-system, sans-serif;
}

:root {
  --bg-color: #fff;
  --second-bg-color: #111111;
  --text-color: #000000;
  --main-color: #45FFCA;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
}

.navbar a {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-color);
  margin-left: 4rem;
  transition: all 0.5s ease;
  border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--main-color);
  cursor: pointer;
  display: none;
}

/* BUTTON STYLE */
.nav-btn,
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  border-radius: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  transition: all 0.5s ease;
  text-align: center;
}

.nav-btn {
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.nav-btn:hover {
  background: var(--main-color);
  color: var(--text-color);
  box-shadow: 0 0 20px var(--main-color);
}

.btn {
  background: var(--main-color);
  color: var(--bg-color);
  letter-spacing: 0.1rem;
  box-shadow: none;
}

.btn:hover {
  color: var(--text-color);
  box-shadow: 0 0 1.6rem var(--main-color);
}

/* ABOUT SECTION */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  flex-wrap: wrap;
}

.about-img img {
  width: 50vw;
  border: 2px solid var(--text-color);
  border-radius: 8px;
}

.about-content {
  padding: 0 3rem;
}

.about-content h2 {
  text-align: left;
  line-height: 1.2;
  font-size: 3rem;
  color: var(--text-color);
}

.about-content p {
  font-size: 1.6rem;
  margin: 2rem 0;
  color: var(--second-bg-color);
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 255px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    transition: all 0.5s ease;
    padding: 2rem;
  }

  .navbar.active {
    right: 0;
  }

  .navbar a {
    display: block;
    padding: 17px;
    font-size: 2.4rem;
  }

  .header {
    padding: 2rem 3%;
  }

  section {
    padding: 10rem 3%;
  }

  .about-content h2 {
    margin-top: 2rem;
    text-align: center;
    font-size: 4.5rem;
  }

  .review .wrapper {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .home {
    flex-direction: column;
    align-items: center;
  }

  .home-content h3,
  .home-content h1 {
    font-size: 4.5rem;
    margin-top: 1.5rem;
    text-align: center;
  }

  .home-img img,
  .about-img img {
    width: 70vw;
    margin-top: 4rem;
  }

  .about {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 4.5rem;
  }

  .services h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 617px) {
  .navbar a {
    font-size: 2.2rem;
  }

  .about-content h2,
  .home-content h3,
  .home-content h1 {
    font-size: 4rem;
  }

  .about-img img {
    width: 80vw;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .about-content h2 {
    font-size: 3.5rem;
  }

  .navbar a {
    font-size: 2rem;
  }
}
