@font-face {
  font-family: "segoe_probold";
  src: url("../fonts/segoepro-bold-webfont.woff2") format("woff2"),
    url("../fonts/segoepro-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "segoe_proregular";
  src: url("../fonts/segoepro-regular-webfont.woff2") format("woff2"),
    url("../fonts/segoepro-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "segoe_prosemibold";
  src: url("../fonts/segoepro-semibold-webfont.woff2") format("woff2"),
    url("../fonts/segoepro-semibold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary: #1c72d1;
  --secondary: #ececec;
  --grey: #e0e0e0;
  --darkGrey: #878183;
  --textGrey: #2b2b2b;
  --fz-200: .875rem; 	
  --fz-300: 1rem;
  --fz-400: 1.25rem;
  --fz-500: 1.5rem;
  --fz-600: 2rem;
  --fz-700: 2.5rem;

  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  text-decoration: none;
  border: none;
}

p {
  font-family: "segoe_prosemibold", SegoeUI, "Helvetica Neue", Helvetica, Arial,
    sans-serif !important;
}

.container {
  margin: 0 auto;
  max-width: 1040px;
}

.wide {
  max-width: 1440px;
}

.button {
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  border: none;
  padding: 1rem;
}

.button::after {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  height: 100%;
  line-height: normal;
  content: "\27A7";
}

.button:hover {
  cursor: pointer;
}

.header__logo_wrapper {
  display: flex;
  padding: 1rem;
  justify-content: space-between;
}

header img {
  object-fit: contain;
}

header img:nth-of-type(2) {
  transform: scale(0.8);
}
.hero_banner__wrapper {
  display: grid;
  max-height: 500px;
  grid-template-columns: repeat(2, 1fr);
}

.hero_banner__title {
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero_banner__title {
  font-size: 3.5rem;
  text-align: left;
}
.hero_banner__right {
  max-height: 500px;
}

.hero_banner__img {
  max-height: 100%;
  margin-left: auto;
  object-fit: cover;
}

.info-text {
  margin: 2rem auto;
}

.tips {
  background-color: var(--secondary);
}

.tips__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}

.tips__wrapper h2 {
  line-height: 1.1;
  color: var(--primary);
}

.tips__image {
  width: 40px;
  aspect-ratio: 1;
}

.tip {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.devider {
  width: 100%;
  margin: 2rem auto;
  height: 1px;
  background-color: lightgrey;
}

.products {
  margin: 0 auto;
  width: 1440px;
  display: flex;
  flex-direction: column;
}

.product {
  display: flex;
  justify-content: center;
  margin: 1rem auto;
  width: 100%;
  flex-grow: 1;
}

.product__grid-wrapper {
  display: grid;
  margin: 0 auto;
  grid-template-columns: 250px 1fr 1fr;
  gap: 4px;
  flex-grow: 1;
}

.product__name {
  display: flex;
  padding: 2rem 3rem;
  flex-direction: column;
  background-color: var(--grey);
  grid-area: 1/1/3/2;
}

.product__name > * {
  margin: 0;
  padding: 0;
}

.product__btn {
  max-width: 120px;
  text-align: center;
  background-color: var(--primary);
  color: white;
}

.product__icons-wrapper {
  display: flex;
  gap: 4px;
  flex-grow: 1;
  grid-area: 1/2/2/4;
}

.product__icons {
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
  gap: 1rem;
  flex-grow: 1;
  background-color: var(--grey);
}

.product__icons p {
  font-size: 1.5rem;
  color: var(--textGrey);
}

.product__icons-list {
  display: flex;
  gap: 1rem;
}

.product__icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: column;
  text-align: center;
  line-height: 1.1;
  max-width: 80px;
}

.product__icon img {
  max-width: 60px;
}
.product__desc {
  grid-area: 2/2/3/4;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  background-color: var(--grey);
  color: var(--textGrey);
}

.faq__items_wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item:hover {
  cursor: pointer;
}
.faq__title {
  margin-bottom: 1rem;
}

.faq__question {
  display: grid;
  grid-template-rows: 0fr;
  margin: 1rem 2rem;
  position: relative;
  align-items: center;
  transition: visibility 0s, opacity 0.3s, max-height 0.6s linear;
}

.faq__question:hover {
  cursor: pointer;
}

.faq__item_question {
  display: flex;
  align-items: center;
}
.faq__question_button {
  margin-right: 1rem;
  align-self: center;
  inset: 0;
  text-align: center;
  line-height: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.faq__answer {
  display: none;
}

.footer {
  position: relative;
  padding: 1rem 0;
  background-color: var(--grey);
}
.footer__icons {
  display: flex;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
}
.footer__icon {
  width: 40px;
  aspect-ratio: 1;
}

.footer__icon:hover {
  cursor: pointer;
}

.arrow {
  position: fixed;
  bottom: 8rem;
  right: 50px;
  background-color: gray;
  opacity: 0.5;
  width: 60px;
  height: 60px;
}

.arrow::before {
  content: "\2191";
  display: grid;
  place-items: center;
  color: white;
  margin-top: 15px;
  transform: scale(2);
}

.arrow:hover {
  cursor: pointer;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.blue {
  color: var(--primary);
}

@media only screen and (max-width: 600px) {
  .container {
    max-width: 100%;
  }

  .header__logo_wrapper {
    padding: 0;
  }

  .hero_banner__wrapper {
    display: flex;
    flex-direction: column-reverse;
    max-height: 100%;
  }

  .hero_banner__title {
    font-size: 2rem;
    text-align: center;
  }
  .button {
    margin: 1rem auto;
  }

  .tips__wrapper {
    display: flex;
    flex-direction: column;
  }

  .tip {
    padding: 0 1rem;
  }

  .tips__image {
    margin: 0 auto;
  }

  .faq__item_question {
    text-align: center;
    gap: 0.5rem;
    flex-direction: column-reverse;
  }

  .products {
    width: 100%;
  }

  .product__grid-wrapper {
    display: flex;
    flex-direction: column;
  }

  .product__name {
    grid-area: 1;
  }

  .product__icons-wrapper {
    grid-area: 1;
    flex-direction: column;
  }

  .product__icons-list {
    flex-wrap: wrap;
  }
	
  .product__icon {
    max-width: 90px;
  }

  .footer {
    padding: 1rem;
  }
}

/* Utility classes */

.fz-200 {
  font-size: var(--fz-200);
}
.fz-300 {
  font-size: var(--fz-300);
}
.fz-400 {
  font-size: var(--fz-400);
}
.fz-500 {
  font-size: var(--fz-500);
}
.fz-600 {
  font-size: var(--fz-600);
}

.fz-700 {
  font-size: var(--fz-700);
}

.fw-300 {
  font-weight: var(--fw-300);
}
.fw-400 {
  font-weight: var(--fw-400);
}
.fw-500 {
  font-weight: var(--fw-500);
}

.fw-600 {
  font-weight: var(--fw-600);
}
.fw-700 {
  font-weight: var(--fw-700);
}

.clr-primary {
  color: var(--clr-primary);
}

.bg-grey {
  color: var(--clr-white);
  background-color: var(--clr-grey-600);
}

.bg-primary {
  color: var(--clr-white);
  background-color: var(--clr-primary);
}
.bg-white {
  color: var(--clr-primary);
  background-color: var(--clr-white);
}
