@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: auto;
  width: min(100%, 120rem);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  display: grid;
  justify-items: center;
}

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

a {
  text-decoration: none;
  color: var(--color-text);
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

:root {
  --color-text: #1A1A1A;
  --color-text2: #585858;
  --color-link: #006AFF;
  --color-light: #fff;
  --color-bg: #FFF7F3;
  --color-bg2: #EEFFF3;
  --color-bg3: #FFE6E2;
  --color-bg4: #FF8555;
  --color-bg5: #003F82;
  --color-nav: #FFC3A3;
  --color-nav-active: #FF8555;
  --color-accent: #FFF171;
  --color-accent2: #FF8555;
  --color-accent3: #F2EFEF;
  --color-accent4: #A9DA86;
  --color-inputs: #f4f4f4;
  --cta-bg: linear-gradient(180deg, #FFC3A3 0.01%, #FFF 100%);
}

/* open-sans-regular - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500 - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-500.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500italic - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-500italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-600.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600italic - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 600;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-600italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700italic - cyrillic_cyrillic-ext_latin_latin-ext_math_symbols */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/open-sans-v40-cyrillic_cyrillic-ext_latin_latin-ext_math_symbols-700italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-serif-display-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/dm-serif-display-v15-latin_latin-ext-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-serif-display-italic - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/dm-serif-display-v15-latin_latin-ext-italic.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kaushan-script-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Kaushan Script";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/kaushan-script-v18-latin_latin-ext-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.875rem;
  font-size: clamp(1.875rem, 0.6818181818rem + 5.0909090909vw, 4.5rem);
  line-height: 1;
  font-family: "Kaushan Script", Arial, Helvetica, sans-serif;
  color: var(--color-light);
  font-weight: 400;
}

h2 {
  font-size: 1.875rem;
  font-size: clamp(1.875rem, 1.25rem + 2.6666666667vw, 3.25rem);
  font-family: "DM Serif Display", Arial, Helvetica, sans-serif;
  line-height: 1.1;
  font-weight: 400;
}

h3 {
  font-size: 1.625rem;
  font-size: clamp(1.625rem, 1.1136363636rem + 2.1818181818vw, 2.75rem);
  font-family: "DM Serif Display", Arial, Helvetica, sans-serif;
  line-height: 1.1;
}

h4 {
  font-size: 1.4375rem;
  font-size: clamp(1.4375rem, 1.1818181818rem + 1.0909090909vw, 2rem);
  font-family: "DM Serif Display", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.1;
}

h5 {
  font-size: 1.25rem;
  font-size: clamp(1.25rem, 1.1363636364rem + 0.4848484848vw, 1.5rem);
  line-height: 1.1;
}

h6 {
  font-size: 1rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.large {
  font-size: 1.25rem;
  font-size: clamp(1.25rem, 1.1363636364rem + 0.4848484848vw, 1.5rem);
  line-height: 1.4;
}

.main-link {
  font-size: 1.875rem;
  font-size: clamp(1.875rem, 1.7045454545rem + 0.7272727273vw, 2.25rem);
  line-height: 1.1;
  font-weight: 700;
  text-decoration: underline;
  color: var(--color-link);
}

.wrapper {
  width: min(100%, 81.9375rem);
  display: grid;
  justify-items: center;
  padding-inline: 0.5rem;
}

@media (width >=43.75em) {
  .wrapper {
    padding-inline: 5rem;
  }
}

main {
  background-color: var(--color-light);
}

@media (width >=62.5em) {
  main {
    display: flex !important;
    gap: 2.5625rem;
  }
}

article {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.advantage-list {
  width: 100%;
  padding: 12px;
  background-color: var(--color-bg2);
  display: grid;
  justify-items: start;
  gap: 0.5rem;
}

.advantage-list li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.subtitle {
  border-left: 6px solid var(--color-accent2);
  padding-inline-start: 12px;
}

.divider {
  height: 1px;
  width: 100%;
  background: #D7D4D4;
}

.disadvantages {
  background-color: var(--color-bg3);
}

.top {
  width: 100%;
  background: url(../img/hero_bg.png);
  display: grid;
  justify-items: center;
}

.top__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: start;
  padding-block: 40px;
}

@media (width >=43.75em) {
  .top__header {
    justify-content: start;
    padding-block: 52px;
  }
}

.top__logo {
  max-width: 43px;
  max-height: 42px;
}

@media (width >=43.75em) {
  .top__logo {
    max-width: 100%;
    max-height: 100%;
  }
}

.top__nav-container {
  width: 100%;
  background-color: var(--color-nav);
  display: grid;
  justify-items: center;
}

.top__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.75rem;
}

@media (width >=43.75em) {
  .top__hamburger {
    display: none;
  }
}

.top__main-nav {
  display: none;
}

@media (width >=43.75em) {
  .top__main-nav {
    display: flex;
    gap: 2rem;
    text-transform: capitalize;
    font-size: 0.625rem;
    font-size: clamp(0.625rem, -0.25rem + 2vw, 1.25rem);
  }
}

.top__main-nav .active {
  background-color: var(--color-nav-active);
  padding-inline: 0.625rem;
  font-weight: 700;
  border-radius: 41px;
  padding-block: 0.125rem;
  color: var(--color-light);
}

.top__socials {
  display: flex;
  gap: 0.5rem;
}

.header {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  padding-block-start: 24px;
}

@media (width >=43.75em) {
  .header {
    padding-block-start: 42px;
  }
}

.header__nav {
  display: none;
}

@media (width >=43.75em) {
  .header__nav {
    display: block;
  }
}

.header__nav ul {
  display: flex;
  gap: 0.25rem;
  font-size: 1.125rem;
  color: var(--color-text2);
}

.header__nav .current {
  text-decoration: underline;
}

.header h4 {
  width: 100%;
  background-color: var(--color-accent);
  padding-inline: 10px;
  padding-block-start: 7px;
  padding-block-end: 15px;
}

@media (width >=43.75em) {
  .header h4 {
    padding-inline-start: 28px;
  }
}

.header__info {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.header__info img {
  max-height: 29px;
  max-width: 29px;
}

.header__info span {
  font-size: 18px;
}

.testimonials {
  display: grid;
  justify-items: center;
  gap: 2rem;
  background-color: var(--color-bg);
  padding-block: 32px;
  padding-inline: 10px;
}

@media (width >=43.75em) {
  .testimonials {
    padding-inline: 24px;
  }
}

.testimonials__testimonial {
  display: grid;
  justify-items: start;
  gap: 32px;
}

.testimonials__photo {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 16px;
}

.testimonials img {
  margin: auto;
}

.testimonials__content {
  display: grid;
  gap: 24px;
}

.testimonials__texts {
  display: grid;
  gap: 24px;
}

.content {
  display: grid;
  gap: 1.5rem;
}

.content__problems {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (width < 43.75em) {
  .content__problems {
    display: grid;
  }
}

.content__problems>li {
  height: 100%;
  width: 100%;
  max-width: 265px;
  display: grid;
  justify-items: center;
  align-content: start;
  background-color: var(--color-bg3);
  padding-block: 16px 28px;
  padding-inline: 12px;
  gap: 0.75rem;
  flex: 1 1 30%;
}

.content__problems>li .disadvantages {
  padding: 0;
}

.extras__wrapper {
  padding: 24px;
  display: grid;
  gap: 1.5rem;
  background-color: var(--color-bg5);
  color: var(--color-light);
  max-width: 820px;
}

.extras__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel {
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  align-items: center;
}

@media (width >=43.75em) {
  .carousel {
    min-height: 450px;
  }
}

.carousel__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transition: opacity 0.5s;
  height: 100%;
}

.carousel__nav {
  transform: translateY(-100%);
  cursor: pointer;
}

.carousel__element {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.carousel__pagination {
  justify-self: center;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel__pag {
  width: 20px;
  height: 6px;
  background: #D9D9D9;
}

.carousel__pag.active {
  background: var(--color-accent2);
}

/* Style dla animacji */
.carousel__item {
  position: relative;
}

/* Animacja przesuwania w lewo (wyjście) */
.slide-left {
  animation: slideLeft 0.5s forwards;
}

/* Animacja przesuwania w prawo (wyjście) */
.slide-right {
  animation: slideRight 0.5s forwards;
}

/* Animacja wejścia z prawej strony */
.slide-right-in {
  animation: slideRightIn 0.5s forwards;
}

/* Animacja wejścia z lewej strony */
.slide-left-in {
  animation: slideLeftIn 0.5s forwards;
}

/* Styl dla nieaktywnych przycisków */
.carousel__nav.disabled {
  cursor: default;
  opacity: 0.5;
}

/* Definicje animacji */
@keyframes slideLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes slideRightIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideLeftIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.comments {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.comments__header {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 0.625rem;
}

.comments__header>h3 {
  width: 100%;
  padding: 6px;
  background-color: var(--color-accent4);
  font-weight: 400;
  line-height: 1.1;
}

.comments__header>h3>span {
  font-size: 1.125rem;
}

.comments__form {
  width: 100%;
  display: grid;
  gap: 0.5rem;
}

.comments__inputs {
  width: 100%;
  display: grid;
  gap: 0.5rem;
}

@media (width >=43.75em) {
  .comments__inputs {
    display: flex;
  }
}

.comments__inputs input {
  width: 100%;
  border-radius: 43px;
}

.comments textarea {
  width: 100%;
  height: 150px;
  border-radius: 18px;
}

@media (width >=43.75em) {
  .comments textarea {
    height: 233px;
  }
}

.comments textarea,
.comments input {
  padding: 12px;
  border: none;
  background-color: var(--color-inputs);
  margin: 0;
  font-family: "Open Sans";
  line-height: 1.4;
  font-size: 1rem;
}

.comments textarea::-moz-placeholder,
.comments input::-moz-placeholder {
  font-family: "Open Sans";
  line-height: 1.4;
  color: var(--color-text2);
}

.comments textarea::placeholder,
.comments input::placeholder {
  font-family: "Open Sans";
  line-height: 1.4;
  color: var(--color-text2);
}

.comments__wrapper {
  display: grid;
  gap: 1.5rem;
}

.comments__container {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.comments__comment {
  display: flex;
  gap: 0.75rem;
}

.comments__comment>img {
  max-width: 45px;
  max-height: 45px;
}

.comments__content {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.comments__author {
  display: flex;
  gap: 0.5rem;
}

.comments__author>p {
  font-weight: 700;
}

.comments__author>span {
  color: var(--color-text2);
}

.comments__user {
  color: var(--color-link);
}

aside {
  display: none;
  padding-block-start: 42px;
  min-width: 290px;
}

@media (width >=62.5em) {
  aside {
    display: grid;
    justify-items: start;
    align-self: flex-start;
    gap: 1.5rem;
  }
}

aside .news {
  display: grid;
  gap: 1.5rem;
}

aside .news h5 {
  text-align: center;
  font-family: "DM Serif Display", Arial, Helvetica, sans-serif;
  background-color: var(--color-bg4);
  color: var(--color-light);
  font-size: 1.5rem;
  font-weight: 400;
  padding: 10px;
  border-top: 8px solid var(--color-nav);
}

aside .news__list span {
  display: block;
  padding: 12px;
  background-color: var(--color-accent3);
}

aside .banner {
  border-radius: 5px;
  border: 3px solid var(--color-accent2);
  display: grid;
  justify-items: center;
  background: var(--cta-bg);
}

aside .banner h4 {
  background-color: var(--color-accent2);
  font-weight: 400;
  text-align: center;
  padding-block: 10px;
  margin-block-end: 35px;
  color: var(--color-light);
}

aside .banner a {
  display: flex;
  align-items: end;
  background: var(--color-accent);
  width: 98%;
  justify-content: center;
  padding-block: 16px;
  border-radius: 51px;
  margin-block-end: 28px;
  gap: 0.375rem;
  transition: transform 0.3s ease-in-out;
}

aside .banner a:hover {
  transform: scale(1.05);
}

aside .banner a span {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
}

footer a {
  color: #aaa;
}

footer {
  background-color: var(--color-light);
}

/*# sourceMappingURL=style.css.map */