@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --header-height: 3rem;

  /* Colors */
  --first-color: #ffea9b;
  --body-color: #fff;

  /* Font and typography */
  --body-font: Montserrat-Light, Montserrat;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
}

/* Responsive  */
@media screen and (min-width: 768px) {
  :root {
    /* typography */
    --normal-font-size: 1.25rem;
    --small-font-size: 1.05rem;
    --smaller-font-size: 1rem;
  }
}

/* Responsive  */
@media screen and (min-width: 1440px) {
  :root {
    /* typography */
    --normal-font-size: 1.25rem;
    --small-font-size: 1.05rem;
    --smaller-font-size: 1rem;
  }
}

/* Responsive  */
@media screen and (min-width: 1580px) {
  :root {
    /* typography */
    --normal-font-size: 1.55rem;
    --small-font-size: 1.2rem;
    --smaller-font-size: 1.2rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  /* padding: var(--header-height) 0 0 0; */
  font-size: var(--normal-font-size);
  font-family: var(--body-font) !important;
  background-color: var(--body-color);
  line-height: 1.4;
  min-height: 100vh;
  overflow: scroll-y;
}

ul {
  list-style: none;
}

a {
  display: inline-block;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* REUSABLE CSS CLASSES */
.container {
  margin-left: 100px;
  margin-right: 100px;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.main {
  flex-grow: 1;
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  /* background-color: var(--body-color); */
  width: 100%;
  z-index: 100;
  transition: 0.3s;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__list {
  list-style: none;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.nav__logo img {
  height: 1.5rem;
  margin-right: 0.5rem;
}
.nav__toggle {
  font-size: 1.25rem;
  cursor: pointer;
}

.nav__menu,
.nav__menu_1 {
  font-size: var(--smaller-font-size);
  z-index: -1;
  margin-left: 3em;
  color: #ffffff;
}

.nav__item {
  margin-bottom: var(--mb-2);
}

.nav__link,
.nav__toggle {
  color: var(--body-color);
  font-weight: var(--font-medium);
}

.nav__link {
  transition: color 0.3s;
}

.nav__link.active-link,
.nav__link:hover {
  color: var(--first-color);
  transition: color 0.3s;
  border-bottom-color: var(--first-color);
}

.nav__menu_1:hover {
  color: var(--first-color);
  transition: color 0.3s;
  border-bottom-color: var(--first-color);
}

.scroll-header {
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Scroll top */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.3rem;
  font-size: 1.3rem;
  color: #fff;
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  visibility: hidden;
}

.show-scrolltop {
  bottom: 1.5rem;
  visibility: visible;
}

/* Footer */

.footer {
  background: #f5f6fa;
}

.footer__content {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.footer__link {
  margin-top: 60px;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 500;
  color: #0a2640;
  line-height: 16px;
  text-decoration: none;
}

.footer__link p {
  font-size: 24px;
  font-weight: 600;
  color: #252424;
}

.footer__li {
  margin-bottom: var(--mb-2);
  font-size: 14px;
  transition: 0.3s;
  color: #858a8f;
  font-weight: 600;
}

.footer__lis {
  display: block;
  margin-top: 12px;
  margin-bottom: 12px;
  color: #333;
  text-decoration: underline;
  font-weight: 400;
}

.footer__lis:hover {
  transition: color 0.3s;
  color: var(--first-color);
}

.footer__terms,
.footer__privacy {
  color: #724e1c;
}

.nav-d {
  width: 20px;
  display: none;
}

.fo-l {
  float: left;
  width: 100%;
}

.fo-r {
  float: left;
  width: 100%;
}

.fo-30 {
  float: left;
  width: 100%;
  margin-bottom: 10px;
}

.fo-30 .p1,
.p1 {
  font-weight: 600;
  color: #858a8f;
  font-size: 14px;
}

.fo-30 .p2,
.p2 {
  font-weight: 400;
  color: #000000;
  font-size: 14px;
}

.foo-di {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #afafaf;
  line-height: 24px;
  border-top: 1px solid rgba(0, 82, 204, 0.1);
  margin-top: 15px;
  padding-top: 10px;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .nav-d {
    display: block;
  }

  .nav {
    text-align: center;
    flex-direction: row-reverse;
  }

  .nav__menu_1 {
    font-size: 16px;
  }

  .nav__menu {
    position: fixed;
    /* background-color: var(--body-color); */
    top: -100%;
    left: -2.3rem;
    width: 100%;
    /* padding: 1.5rem 0 1rem; */
    text-align: center;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1rem 1rem;
    transition: 0.3s;
  }

  .nav__item {
    margin: 10px;
  }

  .scroll-header .nav__menu {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .show-menu {
    top: var(--header-height);
  }

  .container {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

  .foo_____ {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 82, 204, 0.1);
  }

  .foo-f {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media screen and (min-width: 768px) {
  /* body {
    padding-top: calc(var(--header-height) + 2rem);
  } */

  .nav__menu,
  .nav__menu_1 {
    z-index: 0;
  }
  .nav,
  .nav__link {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__logo img {
    height: 2.2rem;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
  }

  .nav__item {
    margin-bottom: 0;
  }

  .nav__link {
    height: 60px !important;
    margin: 0 20px;
    display: flex;
    align-items: center;
    border-bottom: 5px solid transparent;
  }

  .main {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home .container {
    flex-direction: row;
  }

  .footer__link {
    font-size: 16px;
    line-height: 20px;
    margin-top: 70px;
  }

  .product .card__group::after {
    width: 190px;
    height: 130px;
  }
  .contact .card__group::after {
    width: 190px;
    height: 150px;
  }
  .contact .card__group {
    padding-top: 3.5rem;
  }

  .footer__link p {
    font-size: 30px;
  }

  .footer__li {
    font-size: 16px;
  }

  .fo-l {
    float: left;
    width: 64%;
    margin-right: 3%;
  }

  .fo-r {
    float: left;
    width: 30%;
    padding-left: 3%;
    border-left: 1px solid rgba(0, 82, 204, 0.1);
    box-sizing: border-box;
  }

  .fo-30 {
    float: left;
    width: 33.3%;
  }

  .fo-30 .p1,
  .p1 {
    font-size: 16px;
  }

  .fo-30 .p2,
  .p2 {
    font-size: 16px;
  }

  .foo_____ {
    margin-top: 10px;
    padding-bottom: 0;
    margin-bottom: 0px;
  }

  .foo-di {
    font-size: 14px;
    margin-top: 30px;
    padding-top: 20px;
    margin-bottom: 40px;
  }
}

@media screen and (min-width: 1200px) {
  /* body {
    padding-top: calc(var(--header-height) + 2rem);
  } */

  .nav__menu,
  .nav__menu_1 {
    z-index: 0;
  }
  .nav,
  .nav__link {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__logo img {
    height: 2.2rem;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
  }

  .nav__item {
    margin-bottom: 0;
  }

  .nav__link {
    height: 60px !important;
    margin: 0 20px;
    display: flex;
    align-items: center;
    border-bottom: 5px solid transparent;
  }

  .main {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home .container {
    flex-direction: row;
  }

  .footer__link {
    font-size: 16px;
    line-height: 20px;
    margin-top: 70px;
  }

  .product .card__group::after {
    width: 190px;
    height: 130px;
  }
  .contact .card__group::after {
    width: 190px;
    height: 150px;
  }
  .contact .card__group {
    padding-top: 3.5rem;
  }

  .footer__link p {
    font-size: 30px;
  }

  .footer__li {
    font-size: 16px;
  }

  .fo-l {
    float: left;
    width: 64%;
    margin-right: 3%;
  }

  .fo-r {
    float: left;
    width: 30%;
    padding-left: 3%;
    border-left: 1px solid rgba(0, 82, 204, 0.1);
    box-sizing: border-box;
  }

  .fo-30 {
    float: left;
    width: 33.3%;
  }

  .fo-30 .p1,
  .p1 {
    font-size: 16px;
  }

  .fo-30 .p2,
  .p2 {
    font-size: 16px;
  }

  .foo_____ {
    margin-top: 10px;
    padding-bottom: 0;
    margin-bottom: 0px;
  }

  .foo-di {
    font-size: 14px;
    margin-top: 30px;
    padding-top: 20px;
    margin-bottom: 40px;
  }
}

@media screen and (min-width: 1580px) {
  .nav,
  .nav__link {
    height: calc(var(--header-height) + 3rem);
  }

  .nav__logo {
    font-size: var(--normal-font-size);
  }
  .nav__logo img {
    /* width: 2.5rem; */
    height: 2.5rem;
  }

  .nav__menu,
  .nav__menu_1 {
    font-size: var(--small-font-size);
  }

  .container {
    width: 1450px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact {
    justify-content: space-between;
  }

  .footer__li {
    font-size: 16px;
  }

  .footer__link {
    margin-top: 80px;
    font-size: 20px;
    line-height: 24px;
  }

  .footer__link p {
    font-size: 36px;
  }

  .fo-30 .p1,
  .p1 {
    font-size: 18px;
  }

  .fo-30 .p2,
  .p2 {
    font-size: 18px;
  }
}
