/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
}

/* BODY */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: Barlow, sans-serif;
  background: #fff;
  color: #000;
}

:root {
  --font-logo-main: Coco;
  --font-logo-sub: KarlaRegular;
  --font-body-light: KarlaLight;
  --font-body-regular: KarlaRegular;
  --font-body-bold: KarlaSemiBold;
  --font-button: KarlaRegular;

  --font-nav: CrimsonPro;
  --font-heading: CrimsonPro;
  --font-subheading: KarlaSemiBold;
  --font-tertiary-heading: KarlaLight;

  --color-background-dark: #000824;
  --color-background-bright: #b4bcd8;
  --color-background-third: #333b54;
  --color-background-button: #f5881d;
  --color-background-input: #969eba;

  --color-text-dark: #000824;
  --color-text-bright: #ffffff;
  --color-text-third: #333b54;
  --color-logo-text: #ffffff;
  --color-font-button: #ffffff;

  --color-anchor-bright: #ffffff;

  --color-menu-hover: #f5881d;
  --color-list-dot: #616e9c;

  --text-heading-xl: 62px;
  --text-heading-md: 41px;

  --text-body-lg: 28px;
  --text-body-md: 21px;
  --text-body-sm: 19px;

  --text-ui-md: 18px;
  --text-ui-sm: 15px;

  --text-caption: 12px;
}

h1 {
  font-family: var(--font-heading);
  font-size: var(--text-heading-xl);
  color: var(--color-text-dark);
}
h2 {
  font-family: var(--font-subheading);
  color: var(--color-text-bright);
  font-size: var(--text-body-md);
}

section h2 {
  font-family: var(--font-heading);
  font-size: var(--text-heading-md);
  text-align: center;
}

h3 {
  font-size: var(--text-ui-md);
  font-family: var(--font-tertiary-heading);
  color: var(--color-text-dark);
}

section h3 {
  font-size: var(--text-ui-md);
  font-family: var(--font-tertiary-heading);
}

p {
  color: var(--desc-color);
  font-family: var(--BarlowCondensedRegular);
}

button {
  width: fit-content;
  border: 0;
  background: var(--color-background-button);
  color: var(--color-font-button);
  font-size: var(--text-body-sm);
  font-family: var(--font-button);
  text-transform: uppercase;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
}

section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  position: relative;
}

#book-quotes,
#reviews {
  background: var(--color-background-dark);
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

#book-quotes img {
  position: absolute;
  width: 20vw;
}

@media only screen and (max-width: 1000px) {
  #book-quotes img {
    display: none;
  }
}

.book-quotes-left-coffee {
  left: 5px;
  top: -25%;
}
.book-quotes-right-coffee {
  right: 5px;
  bottom: -25%;
}

#reviews h3 {
  color: var(--color-text-bright);
}

#book-quotes {
  padding: 100px 0;
}

#why-buy {
  background-color: var(--color-background-bright);
  padding: 50px 0;
}

#why-buy h2 {
  color: var(--color-text-dark);
  text-align: left;
}

.why-buy__wrapper {
  display: flex;
  width: 100%;
}

.why-buy__content,
.why-buy__image {
  display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: center;
  align-items: flex-end;
}

.why-buy__content div {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why-buy__content ul {
  --list-dot: #616e9c;
  list-style-position: inside;
  list-style-type: disc;
}

.why-buy__content ul li {
  color: var(--color-text-dark);
  font-family: var(--font-body-bold);
  margin-top: 10px;
  font-size: var(--text-ui-md);
}

.why-buy__content ul li::marker {
  color: var(--list-dot);
}

.why-buy__image {
  overflow: hidden;
}

.why-buy__image img {
  width: 90%;
  height: auto;
  margin-right: -50px;
}

#reviews {
  padding: 50px 0;
}

#reviews img {
  margin-top: 30px;
  margin-bottom: 20px;
}

#offer {
  padding: 50px 0;
  background: var(--color-background-third);
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.offer__item {
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.offer__image {
  border-radius: 100%;
  width: 50px;
  height: 50px;
  background: var(--color-background-button);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.offer__image-line {
  background: var(--color-background-dark);
  width: 4px;
  height: 50%;
  border-radius: 2px;
}
.offer__details {
  display: flex;
  flex-direction: column;
}

.offer__title {
  font-size: var(--text-ui-md);
  color: var(--color-text-bright);
  font-family: var(--font-body-light);
}

.offer__desc {
  font-size: var(--text-body-lg);
  color: var(--color-text-bright);
  font-family: var(--font-body-bold);
}

@media (max-width: 900px) {
  .offer__item {
    max-width: 480px;
  }
}

#order {
  background: var(--color-background-bright);
  padding: 100px 0;
  display: flex;
}

#order h2 {
  color: var(--color-text-dark);
  width: 50%;
  text-align: left;
}

hr {
  width: 100px;
  height: 3px;
  background: var(--color-background-dark);
  border: 0;
  margin: 30px 0;
}

#order p {
  font-family: var(--font-body-bold);
  font-size: var(--text-ui-md);
  color: var(--color-text-dark);
  width: 50%;
}

.order-form__info {
  color: var(--color-text-dark);
  font-family: var(--font-body-regular);
  font-size: var(--text-caption);
  margin: 25px 0 0 0;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-background-dark);
  justify-content: center;
  align-items: center;
  padding: 30px 0 40px 0px;
}
footer a {
  color: var(--color-background-bright);
  font-family: var(--font-body-regular);
  font-size: var(--text-caption);
  text-decoration: none;
}

footer div {
  display: flex;
  gap: 20px;
  padding: 0 0 40px 0;
}

footer div img {
  width: 32px;
}

@media only screen and (max-width: 1500px) {
  #order h2 {
    width: 80%;
  }
  #order p {
    width: 60%;
  }

}

@media only screen and (max-width: 1000px) {
  .why-buy__wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
  }
  .why-buy__content,
  .why-buy__image {
    width: 90%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  .why-buy__content div {
    width: 100%;
  }

  #why-buy h2 {
    text-align: center;
  }
  .why-buy__image img {
    margin-right: 0px;
  }

  #reviews h3 {
    text-align: center;
  }

  #order {
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 450px) {
  :root {
    --text-heading-xl: 48px;
  }
}