::selection {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

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

html {
  --color-primary: #029a02;
  --color-primary-m: #015a01;
  --color-accent: #d63624;
  --color-accent-m: rgba(214, 54, 36, 0.6);
  --color-secondary: #f50d0d;
  --color-secondary-m: #f50d0d;
  --color-grey: #727271;
  --color-grey-light: #c5c6c6;
  --color-white: #ffffff;
  --color-white-m: rgba(255, 255, 255, 0.7);
  --color-black: #001a00;
  --color-black-m: rgba(0, 0, 0, 0.7);
}

:root {
  font-size: 105%;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 2;
  background-color: var(--color-white);
}

.container {
  display: grid;
  grid-template-columns: [container-start] 1fr [center-start] repeat(6, [col-start] minmax(min-content, 16.66667rem) [col-end]) [center-end] 1fr [container-end];
}

li {
  list-style: none;
}

a:link,
a:visited {
  text-decoration: none;
  color: var(--color-primary-m);
  font-weight: 400;
  letter-spacing: 0.2rem;
  font-size: calc(0.7rem + 0.4vw);
}

i {
  color: var(--color-secondary);
  font-size: calc(1.5rem + 2vw);
}

.header-contact {
  display: flex;
  flex-direction: row;
}
.header-contact .header-contact-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1vh 2vw;
}
.header-contact .header-contact-item .icon-contact-header {
  width: 40px;
  margin-right: 10px;
}
@media screen and (max-width: 600px) {
  .header-contact .header-contact-item .icon-contact-header {
    width: 20px;
  }
}
.header-contact .header-contact-item a {
  font-size: 18px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}
@media screen and (max-width: 600px) {
  .header-contact .header-contact-item a {
    font-size: 16px;
  }
}
@media screen and (max-width: 600px) {
  .header-contact .header-contact-item a {
    font-size: 14px;
  }
}
@media screen and (max-width: 600px) {
  .header-contact .header-contact-item a {
    font-size: 13px;
  }
}
.header-contact .header-contact-item a:hover {
  color: var(--color-secondary);
}

.header {
  grid-column: container-start/container-end;
  z-index: 1000;
}
.header .header__menu {
  padding: 5px;
  background-color: var(--color-white);
}
.header.open .header__menu--line {
  background-color: transparent;
}
.header.open .header__menu--line::before {
  transform: rotate(45deg);
}
.header.open .header__menu--line::after {
  transform: rotate(-45deg);
}
.header.open .header__menu--line::before, .header.open .header__menu--line::after {
  top: 0;
}
.header__overlay {
  width: 100%;
  height: 100vh;
  background-color: var(--color-white-m);
  position: fixed;
  opacity: 0;
  display: none;
  z-index: 10;
}
.header__nav {
  width: 100%;
  height: 8.5rem;
  line-height: 8.5rem;
  display: flex;
  justify-content: space-evenly;
  background-color: var(--color-white-m);
  text-transform: uppercase;
  overflow: hidden;
}
.header__nav--logo {
  padding-top: 10px;
}
.header__nav--logo img {
  width: 172.17px;
  height: 120px;
}
@media screen and (max-width: 800px) {
  .header__nav--logo img {
    width: 130px;
    height: 91px;
  }
}
@media screen and (max-width: 600px) {
  .header__nav--logo img {
    width: 110px;
    height: 77px;
  }
}
.header__nav--links {
  display: flex;
  font-family: "Roboto", sans-serif;
  font-weight: 600 !important;
}
.header__nav--links__item a:link,
.header__nav--links__item a:visited {
  margin-right: 1vw;
  padding: 0 0.5rem;
  display: block;
  position: relative;
  color: var(--color-black);
  transform-style: preserve-3d;
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.header__nav--links__item a:hover,
.header__nav--links__item a:active {
  transform: rotateX(90deg);
}
.header__nav--links__item a:link::after,
.header__nav--links__item a:visited::after {
  position: absolute;
  content: attr(data-text);
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  left: 0;
  top: 100%;
  transform: rotateX(-90deg);
  transform-origin: top;
  padding: inherit;
}
.header__nav--links__item:nth-child(odd) {
  animation: up 1s forwards;
}
.header__nav--links__item:nth-child(even) {
  animation: down 1s forwards;
}
@media screen and (min-width: 1300px) {
  .header__nav--links__item a:link,
  .header__nav--links__item a:visited {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 800px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 12rem;
    height: 100vh;
    line-height: initial;
    flex-direction: column;
    text-align: center;
    z-index: 20;
    transform: perspective(70rem) rotateY(0.5turn);
    transform-origin: top left;
    transition: transform 0.5s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  .header__nav--links {
    height: 80%;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .header__nav--links__item {
    animation: initial;
  }
  .header__nav--links__item a:link,
  .header__nav--links__item a:visited {
    transform-origin: left;
    margin-right: initial;
    padding: 1rem;
    font-size: 1rem;
  }
  .header__nav--links__item a:hover,
  .header__nav--links__item a:active {
    transform: rotateY(90deg);
  }
  .header__nav--links__item a:link::after,
  .header__nav--links__item a:visited::after {
    top: 0;
    bottom: 100%;
    left: 100%;
    width: 100%;
    height: 100%;
    border-top: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform-origin: left;
    transform: rotateY(-90deg);
  }
  .header__nav--links__toggle-container {
    justify-content: center;
  }
  .header.open nav {
    transform: rotateY(0);
  }
  .header__menu {
    height: 4rem;
    width: 4rem;
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 2rem;
    z-index: 20;
    cursor: pointer;
  }
  .header__menu--line, .header__menu--line::before, .header__menu--line::after {
    content: "";
    position: absolute;
    width: 2.5rem;
    height: 0.15rem;
    background-color: var(--color-primary);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.5s ease-in-out;
  }
  .header__menu--line::before {
    top: -2.2rem;
  }
  .header__menu--line::after {
    top: 1.2rem;
  }
  .header__overlay.open {
    display: block;
    opacity: 0.8;
  }
}

@keyframes down {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes up {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.showcase {
  grid-column: container-start/container-end;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  top: 0;
  height: 86vh;
  animation: kenburns-top 1s ease-out both;
}
@media screen and (max-width: 800px) {
  .showcase {
    height: 85vh;
  }
}
@media screen and (max-width: 600px) {
  .showcase {
    height: 79vh;
  }
}
.showcase__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase__content img {
  margin: 0 auto;
  padding-top: 100px;
  width: 65%;
}
@media screen and (max-width: 800px) {
  .showcase__content img {
    padding-top: 70px;
    width: 70%;
  }
}
@media screen and (max-width: 600px) {
  .showcase__content img {
    padding-bottom: 50px;
    width: 90%;
  }
}
@media screen and (max-width: 400px) {
  .showcase__content img {
    padding-bottom: 0px;
  }
}
.showcase__content--title {
  text-align: center;
  font-size: calc(1.5rem + 2vw);
  color: var(--color-grey);
}
@media screen and (max-width: 800px) {
  .showcase__content--title {
    font-size: 2.7rem !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 600px) {
  .showcase__content--title {
    font-size: 2rem !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 400px) {
  .showcase__content--title {
    padding-bottom: 0 !important;
    font-size: 1.8rem !important;
    line-height: 1.2;
  }
}
.showcase__content--para {
  text-align: center;
  font-size: calc(1rem + 1vw);
  color: var(--color-primary);
  margin-bottom: calc(1rem + 2vw);
}
@media screen and (max-width: 800px) {
  .showcase__content--para {
    margin-top: 20px;
    font-size: 1.3rem !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 600px) {
  .showcase__content--para {
    text-align: center;
    font-size: 1.2rem !important;
    line-height: 1.2;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 400px) {
  .showcase__content--para {
    font-size: 1rem !important;
    line-height: 1;
  }
}
.showcase__content--links {
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}
.showcase__content--links a {
  margin: 0 !important;
}
.showcase__content--links a:link,
.showcase__content--links a:visited {
  font-size: calc(0.7rem + 0.4vw);
  font-weight: 400;
  padding: calc(0.25rem + 0.7vh) calc(0.5rem + 0.7vw);
  text-transform: uppercase;
  position: relative;
  border-radius: 0.25rem;
  z-index: 1;
  transition: all 0.5s ease-in-out;
}
.showcase__content--links a:link:first-child,
.showcase__content--links a:visited:first-child {
  background-color: var(--color-primary);
  border: 0.2rem solid var(--color-primary-m);
  color: var(--color-white);
  margin-right: calc(1rem + 2vw);
}
.showcase__content--links a:link:last-child,
.showcase__content--links a:visited:last-child {
  background-color: var(--color-secondary);
  border: 0.2rem solid var(--color-accent-m);
  color: var(--color-white);
}
.showcase__content--links a:link:first-child::before,
.showcase__content--links a:visited:first-child::before,
.showcase__content--links a:link:last-child::before,
.showcase__content--links a:visited:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--color-white-m);
  border-radius: inherit;
  z-index: -1;
  transform: scale(0);
  transition: all 0.5s ease-in-out;
}
.showcase__content--links a:hover:first-child::before,
.showcase__content--links a:active:first-child::before,
.showcase__content--links a:hover:last-child::before,
.showcase__content--links a:active:last-child::before {
  transform: scale(1);
}
.showcase__content--links a:hover:first-child,
.showcase__content--links a:active:first-child {
  color: var(--color-primary);
}
.showcase__content--links a:hover:last-child,
.showcase__content--links a:active:last-child {
  color: var(--color-accent);
}
@media screen and (max-width: 800px) {
  .showcase {
    height: 100vh;
  }
  .showcase__content--title {
    text-align: center;
  }
  .showcase__content--links {
    justify-content: center;
  }
}
@media screen and (max-width: 600px) {
  .showcase {
    padding: 4rem;
  }
  .showcase__content--title {
    font-size: calc(1.5rem + 5vw);
    font-weight: 600;
    line-height: 3.3rem;
    padding-bottom: 1.6rem;
  }
  .showcase__content--para {
    font-size: 1.2rem;
    line-height: 2rem;
    padding-bottom: 1.6rem;
  }
  .showcase__content--links {
    font-size: font-size font-size-small;
    text-align: center;
    padding: 1rem 0;
  }
}
@media screen and (max-width: 400px) {
  .showcase__content--links {
    flex-direction: column;
    align-items: center;
  }
  .showcase__content--links a:link,
  .showcase__content--links a:visited {
    display: inline-block;
  }
  .showcase__content--links a:link:first-child,
  .showcase__content--links a:visited:first-child {
    margin-bottom: 4vw;
  }
}

/**
 * ----------------------------------------
 * animation kenburns-top
 * ----------------------------------------
 */
@keyframes kenburns-top {
  0% {
    transform: scale(0) translateY(0);
    transform-origin: 50% 16%;
  }
  100% {
    transform: scale(1) translateY(-15px);
    transform-origin: top;
  }
}
@keyframes text-focus-in-opacity {
  0% {
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 0.7;
  }
}
.section-motto {
  margin: 100px 0;
  grid-column: container-start/container-end;
  background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)), url("../img/mada_oc_ustawa.avif");
  background-position: center;
  background-size: auto;
  overflow: hidden;
}

.motto {
  padding-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  grid-gap: 2rem;
  place-content: center;
}
@media screen and (max-width: 800px) {
  .motto {
    grid-gap: 1.2rem;
  }
}
@media screen and (max-width: 600px) {
  .motto {
    grid-gap: 1.5rem;
  }
}
.motto__content {
  display: grid;
  grid-row-gap: 4vh;
  border-bottom: 4px solid var(--color-primary);
  padding: 2rem;
  background-color: var(--color-white-m);
}
@media screen and (max-width: 800px) {
  .motto__content {
    grid-row-gap: 3.5vh;
    padding: 1rem;
    border-bottom: 3px solid var(--color-primary);
  }
}
@media screen and (max-width: 600px) {
  .motto__content {
    grid-row-gap: 3vh;
    padding: 1.5rem;
    border-bottom: 2px solid var(--color-primary);
  }
}
@media screen and (max-width: 400px) {
  .motto__content {
    grid-row-gap: 2vh;
    padding: 0.7rem;
  }
}
.motto__content--title {
  font-size: calc(1.5rem + 5vw) !important;
  color: var(--color-secondary) !important;
  text-align: center;
  letter-spacing: 1.2px;
}
.motto__content--para {
  text-align: center;
  font-size: calc(1rem + 1vw);
  color: var(--color-grey);
  text-transform: uppercase;
}
.motto__content--para span {
  font-weight: 600;
  color: var(--color-primary);
}
.motto__content--link:link, .motto__content--link:visited {
  color: var(--color-black);
  background: var(--color-grey-light);
  place-self: center;
  position: relative;
  padding: 0.7rem 1.5rem;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
}
.motto__content--link:link span, .motto__content--link:visited span {
  display: block;
  position: absolute;
}
.motto__content--link:link span:first-child, .motto__content--link:visited span:first-child {
  top: 0;
  left: -100%;
  height: 0.2rem;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--color-secondary));
  transition: 0.5s;
  transition-delay: 1s;
}
.motto__content--link:link span:nth-child(2), .motto__content--link:visited span:nth-child(2) {
  top: -100%;
  right: 0;
  height: 100%;
  width: 0.2rem;
  background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
  transition: 0.5s;
  transition-delay: 0.75s;
}
.motto__content--link:link span:nth-child(3), .motto__content--link:visited span:nth-child(3) {
  bottom: 0;
  right: -100%;
  height: 0.2rem;
  width: 100%;
  background: linear-gradient(270deg, var(--color-primary), var(--color-secondary));
  transition: 0.7s;
  transition-delay: 0.25s;
}
.motto__content--link:link span:nth-child(4), .motto__content--link:visited span:nth-child(4) {
  top: 100%;
  left: 0;
  height: 100%;
  width: 0.2rem;
  background: linear-gradient(360deg, var(--color-secondary), transparent);
  transition: 0.5s;
  transition-delay: 0s;
}
.motto__content--link:hover, .motto__content--link:active {
  color: var(--color-white);
  background: var(--color-primary);
  transition-delay: 1s;
}
.motto__content--link:hover span:first-child, .motto__content--link:active span:first-child {
  left: 100%;
  transition-duration: 0.5s;
  transition-delay: 0s;
}
.motto__content--link:hover span:nth-child(2), .motto__content--link:active span:nth-child(2) {
  top: 100%;
  transition-duration: 0.5s;
  transition-delay: 0.25s;
}
.motto__content--link:hover span:nth-child(3), .motto__content--link:active span:nth-child(3) {
  right: 100%;
  transition-duration: 0.5s;
  transition-delay: 0.5s;
}
.motto__content--link:hover span:nth-child(4), .motto__content--link:active span:nth-child(4) {
  top: -100%;
  transition-duration: 0.5s;
  transition-delay: 0.75s;
}
.motto .box {
  transform: translateX(-350%);
  transition: transform 1.5s ease;
}
@media screen and (max-width: 800px) {
  .motto .box {
    transform: translateX(-300%);
    transition: transform 1s ease;
  }
}
.motto .box.show {
  transform: translateX(0);
}

.reserve {
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75)), url("../img/mada_stationery.avif");
  grid-column: container-start/container-end;
  display: grid;
  grid-template-rows: repeat(3, max-content);
  grid-row-gap: 3vh;
  overflow: hidden;
}
.reserve .divider {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}
@media screen and (max-width: 600px) {
  .reserve .divider {
    height: 1px;
  }
}
.reserve img {
  margin: 0 auto;
  padding: 70px 0;
  width: 300px;
}
@media screen and (max-width: 800px) {
  .reserve img {
    padding: 50px 0;
    width: 200px;
  }
}
@media screen and (max-width: 600px) {
  .reserve img {
    margin: 0;
    padding: 30px 0;
    width: 150px;
  }
}
@media screen and (max-width: 400px) {
  .reserve img {
    padding: 20px 0;
    width: 120px;
  }
}
.reserve__h2 {
  margin: 0 70px;
  text-align: center;
}
@media screen and (max-width: 800px) {
  .reserve__h2 {
    font-size: 32px !important;
  }
}
@media screen and (max-width: 600px) {
  .reserve__h2 {
    font-size: 26px !important;
  }
}
@media screen and (max-width: 400px) {
  .reserve__h2 {
    font-size: 22px !important;
  }
}
.reserve__content {
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, 25rem);
  place-content: center;
  grid-gap: 5rem 3vw;
  background-color: var(--color-white-m);
  border-top: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}
@media screen and (max-width: 800px) {
  .reserve__content {
    grid-gap: 3rem 1vw;
  }
}
@media screen and (max-width: 600px) {
  .reserve__content {
    padding: 0;
    grid-gap: 2rem 0.7vw;
    border-top: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
  }
}
@media screen and (max-width: 400px) {
  .reserve__content {
    grid-gap: 1.5rem 0.5vw;
  }
}
.reserve__content--section {
  display: grid;
  grid-gap: 1rem;
  padding: 0 20px;
}
.reserve__content--section .icon-contact {
  padding: 0;
  margin: 10px 0px;
  width: 50px;
}
@media screen and (max-width: 800px) {
  .reserve__content--section .icon-contact {
    width: 40px;
  }
}
@media screen and (max-width: 600px) {
  .reserve__content--section .icon-contact {
    width: 30px;
  }
}
.reserve__content--section__title {
  line-height: 1.2;
}
.reserve__content--section__link:link, .reserve__content--section__link:visited {
  display: block;
  letter-spacing: initial;
  transition: all 0.5s ease-in-out;
}
@media screen and (max-width: 800px) {
  .reserve__content--section__link:link, .reserve__content--section__link:visited {
    font-size: 18px !important;
  }
}
@media screen and (max-width: 600px) {
  .reserve__content--section__link:link, .reserve__content--section__link:visited {
    font-size: 17px !important;
  }
}
@media screen and (max-width: 400px) {
  .reserve__content--section__link:link, .reserve__content--section__link:visited {
    font-size: 16px !important;
  }
}
.reserve__content--section__link:link:hover, .reserve__content--section__link:link:active, .reserve__content--section__link:visited:hover, .reserve__content--section__link:visited:active {
  color: var(--color-secondary-m);
}
.reserve__content--section__link:link span, .reserve__content--section__link:visited span {
  font-size: 30px;
}
@media screen and (max-width: 800px) {
  .reserve__content--section__link:link span, .reserve__content--section__link:visited span {
    font-size: 28px;
  }
}
@media screen and (max-width: 600px) {
  .reserve__content--section__link:link span, .reserve__content--section__link:visited span {
    font-size: 22px;
  }
}
@media screen and (max-width: 400px) {
  .reserve__content--section__link:link span, .reserve__content--section__link:visited span {
    font-size: 20px;
  }
}
.reserve__content--section__title {
  color: var(--color-white);
  font-size: calc(0.7rem + 0.4vw);
}
@media screen and (max-width: 800px) {
  .reserve__content--section__title {
    font-size: 18px !important;
  }
}
@media screen and (max-width: 600px) {
  .reserve__content--section__title {
    font-size: 17px !important;
  }
}
@media screen and (max-width: 400px) {
  .reserve__content--section__title {
    font-size: 16px !important;
  }
}
.reserve__content--section .comunicators a:link,
.reserve__content--section .comunicators a:visited {
  border: none;
  padding: 0 !important;
  background: transparent !important;
}
.reserve__content--section .comunicators a:link img,
.reserve__content--section .comunicators a:visited img {
  margin: 10px;
  transform: scale(1);
  transition: all 0.5s ease-in-out;
}
.reserve__content--section .comunicators a:link img:hover, .reserve__content--section .comunicators a:link img:active,
.reserve__content--section .comunicators a:visited img:hover,
.reserve__content--section .comunicators a:visited img:active {
  transform: scale(1.3);
}
.reserve__content--section:first-child, .reserve__content--section:nth-child(2), .reserve__content--section:last-child {
  border-right: 2px solid var(--color-white-m);
}
@media screen and (max-width: 600px) {
  .reserve__content--section:first-child, .reserve__content--section:nth-child(2), .reserve__content--section:last-child {
    border-right: none;
  }
}
.reserve__content--section:first-child, .reserve__content--section:nth-child(2) {
  border-bottom: none;
}
@media screen and (max-width: 600px) {
  .reserve__content--section:first-child, .reserve__content--section:nth-child(2) {
    border-bottom: 1px solid var(--color-white-m);
    padding-bottom: 1rem;
  }
}
.reserve__content--section:last-child a {
  background-color: transparent;
  color: var(--color-white);
  font-size: 16px;
  border: 0.2rem solid var(--color-gold);
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  letter-spacing: inherit;
}
.reserve__content--section:last-child a:hover, .reserve__content--section:last-child a:active {
  background-color: var(--color-white);
  color: var(--color-gold);
}

.icon-contact-sec {
  width: 50px !important;
}

.title-big {
  grid-column: container-start/container-end;
  justify-content: center;
  overflow: hidden;
}
.title-big .mada__title {
  padding: 15px;
}

.features {
  background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.65)), url("../img/mada_ustawa_oc2.avif");
  grid-column: container-start/container-end;
  display: grid;
  grid-gap: 1.1vw;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  overflow: hidden;
}
@media screen and (max-width: 800px) {
  .features {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75)), url("../img/mada_ustawa_oc2_sm.avif");
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    grid-gap: 10vw;
  }
}
@media screen and (max-width: 600px) {
  .features {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    grid-gap: 12vw;
  }
}
@media screen and (max-width: 400px) {
  .features {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    grid-gap: 8vw;
  }
}
.features__content {
  background-color: var(--color-white);
  display: grid;
  grid-gap: 0.8vw;
  margin: 0 auto;
  padding: 0 1rem;
  width: 80%;
  position: relative;
  height: 24rem;
  align-items: center;
  border: 2px solid var(--color-primary);
  transition: transform 0.5s ease-in-out;
}
@media screen and (max-width: 800px) {
  .features__content {
    grid-gap: 0.7vw;
    padding: 0 0.9rem;
    width: 60%;
    height: 22rem;
  }
}
@media screen and (max-width: 600px) {
  .features__content {
    grid-gap: 0.8vw;
    padding: 0 0.8rem;
    width: 85%;
    height: 22rem;
  }
}
@media screen and (max-width: 400px) {
  .features__content {
    grid-gap: 1vw;
    width: 95%;
    padding: 0 0.7rem;
    height: 20rem;
  }
}
.features__content--title {
  color: var(--color-black);
  font-size: 32px;
  line-height: 1.5;
  text-align: center;
  position: relative;
  align-self: end;
  z-index: 1;
}
@media screen and (max-width: 800px) {
  .features__content--title {
    font-size: 28px;
  }
}
@media screen and (max-width: 600px) {
  .features__content--title {
    font-size: 24px;
  }
}
@media screen and (max-width: 400px) {
  .features__content--title {
    font-size: 22px;
  }
}
.features__content--title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: -1;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
  transform-origin: right;
}
.features__content:hover .features__content--title::before, .features__content:active .features__content--title::before {
  transform: scaleX(1);
  transform-origin: left;
}
.features__content:hover img, .features__content:active img {
  transform: scale(1);
  opacity: 1;
}
.features__content--para {
  color: var(--color-grey);
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.5;
  background-color: var(--color-gold-m);
  text-align: center;
  padding: 10px;
}
@media screen and (max-width: 800px) {
  .features__content--para {
    font-size: 17px !important;
  }
}
@media screen and (max-width: 600px) {
  .features__content--para {
    font-size: 16px !important;
  }
}
@media screen and (max-width: 400px) {
  .features__content--para {
    font-size: 15px !important;
  }
}
.features__content img {
  margin: 0 auto;
  width: 170px;
  opacity: 0.8;
  transform: scale(0.9);
  transition: transform 0.5s ease-in;
}
@media screen and (max-width: 600px) {
  .features__content img {
    width: 130px;
  }
}

.mada {
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75)), url("../img/mada_stationery_www8.avif");
  grid-column: container-start/container-end;
  justify-content: center;
  overflow: hidden;
}
@media screen and (max-width: 600px) {
  .mada {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75)), url("../img/mada_stationery_www8_sm.avif");
  }
}
.mada__title {
  text-align: center;
  padding: 1rem 0;
  margin-bottom: 3rem;
  background-color: var(--color-primary);
}
.mada__content {
  display: block;
  text-align: center;
}
.mada__content--quote {
  margin: 0 auto;
  padding-bottom: 0 !important;
  max-width: 70rem;
}
@media screen and (max-width: 800px) {
  .mada__content--quote {
    max-width: 40rem;
  }
}
@media screen and (max-width: 400px) {
  .mada__content--quote {
    max-width: 30rem;
  }
}
.mada__content p {
  text-align: center;
  color: var(--color-secondary);
  font-style: italic;
  letter-spacing: 1.5px;
  padding-bottom: 4rem;
}
.mada__content--card {
  position: relative;
  margin: 0 auto;
  height: 32rem;
  width: 32rem;
  overflow: hidden;
  margin-bottom: 3rem;
}
@media screen and (max-width: 800px) {
  .mada__content--card {
    height: 24rem;
    width: 24rem;
  }
}
@media screen and (max-width: 600px) {
  .mada__content--card {
    height: 20rem;
    width: 20rem;
  }
}
@media screen and (max-width: 400px) {
  .mada__content--card {
    height: 19rem;
    width: 19rem;
  }
}
.mada__content--card__specialty, .mada__content--card__name, .mada__content--card__link {
  position: absolute;
  bottom: 25%;
  left: 5%;
  transform: translate(-12.5rem, -7.5rem);
  overflow: hidden;
}
.mada__content--card__name {
  bottom: 30%;
}
.mada__content--card__link {
  bottom: 4%;
}
.mada__content--card__link a:link,
.mada__content--card__link a:visited {
  font-size: calc(0.7rem + 0.4vw);
  font-weight: 400;
  padding: calc(0.25rem + 0.7vh) calc(0.5rem + 0.7vw);
  text-transform: uppercase;
  position: relative;
  border-radius: 0.25rem;
  background-color: var(--color-accent-m);
  border: 0.2rem solid var(--color-accent-m);
  color: var(--color-white);
  margin-right: calc(1rem + 2vw);
  z-index: 1;
  transition: all 0.5s ease-in-out;
}
.mada__content--card__link a:link::before,
.mada__content--card__link a:visited::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--color-white-m);
  border-radius: inherit;
  z-index: -1;
  transform: scale(0);
  transition: all 0.5s ease-in-out;
}
.mada__content--card__link a:hover::before,
.mada__content--card__link a:active::before {
  transform: scale(1);
}
.mada__content--card__link a:hover,
.mada__content--card__link a:active {
  color: var(--color-accent);
}
.mada__content--card__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.5rem ease-in-out;
}
.mada__content--card:hover .mada__content--card__img, .mada__content--card:active .mada__content--card__img {
  filter: contrast(30%);
}
.mada__content--card:hover .mada__content--card__specialty, .mada__content--card:active .mada__content--card__specialty, .mada__content--card:hover .mada__content--card__name, .mada__content--card:active .mada__content--card__name, .mada__content--card:hover .mada__content--card__link, .mada__content--card:active .mada__content--card__link {
  animation: name 1.5s linear forwards;
  z-index: 1;
}

@keyframes name {
  0% {
    transform: translate(-5rem, -12rem);
    opacity: 0;
  }
  30% {
    transform: translate(11rem, -12rem);
    opacity: 0.6;
  }
  60% {
    transform: translate(11rem, -2rem);
    opacity: 0.8;
  }
  100% {
    transform: translate(0, -2rem);
    opacity: 1;
  }
}
.clients {
  grid-column: container-start/container-end;
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}
.clients__title {
  line-height: 0.9;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600 !important;
  position: relative;
  align-self: center;
  padding: 0.5rem;
  transition: transform 0.5s ease-in-out;
}
.clients__title--sub {
  text-align: center;
  line-height: 0.9;
  margin-bottom: 2rem;
  font-size: calc(1rem + 1vw) !important;
  font-weight: 600 !important;
  position: relative;
  align-self: center;
  padding: 0.5rem;
}
.clients__title::before, .clients__title::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 0.2rem;
  transition: all 0.5s ease-in-out;
}
.clients__title::before {
  left: 0;
  background-color: var(--color-primary);
}
.clients__title::after {
  right: 0;
  background-color: var(--color-accent);
}
.clients__title:hover::before, .clients__title:active::before, .clients__title:hover::after, .clients__title:active::after {
  height: 0.2rem;
  width: 100%;
}
.clients__title:hover::after, .clients__title:active::after {
  top: 100%;
}
.clients__content {
  padding: 50px 0;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.clients__content h3 {
  width: 12rem;
  margin: 0.5rem;
  text-align: center;
  border: 2px solid var(--color-primary);
  transition: all 0.5s ease-in-out;
}
.clients__content h3:hover,
.clients__content h3:active {
  transform: scale(1.1);
}

.testimonials {
  grid-column: container-start/container-end;
  background-color: var(--color-primary);
  overflow: hidden;
}
.testimonials__title {
  text-align: center;
  margin-bottom: 4vh;
}
.testimonials__content {
  max-width: 70rem;
  margin: 0 auto;
}
.testimonials__content--slider {
  background: var(--color-white-m);
  border: 0.1rem solid var(--color-white);
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
  padding: 2vh 1vw;
}
.testimonials__content--slider__slide {
  display: none;
}
.testimonials__content--slider__slide--para {
  margin-bottom: 3rem;
}
.testimonials__content--slider__slide.active {
  display: block;
  animation: slide 1s linear;
}
.testimonials__content--indicator {
  padding-top: 4vh;
  padding-bottom: 4vh;
  display: flex;
  justify-content: center;
}
.testimonials__content--indicator h2 {
  text-align: center;
  font-size: 28px;
  line-height: 2.8;
  height: 80px;
  width: 80px;
  margin: 2vh 2vw;
  opacity: 0.5;
  filter: grayscale(1);
  background-color: var(--color-white);
  border: 0.2rem solid var(--color-secondary);
  cursor: pointer;
  transition: opacity 1s ease;
}
.testimonials__content--indicator h2.active {
  opacity: 1;
  filter: grayscale(0);
}
@media screen and (max-width: 800px) {
  .testimonials__content {
    max-width: 50rem;
  }
  .testimonials__content--slider {
    max-width: 40rem;
  }
  .testimonials__content--indicator h2 {
    height: 60px;
    width: 60px;
    font-size: 20px;
    line-height: 3;
  }
}
@media screen and (max-width: 400px) {
  .testimonials__content {
    max-width: 30rem;
  }
  .testimonials__content__title {
    max-width: 80% !important;
  }
  .testimonials__content--slider {
    max-width: 20rem;
    padding: 1rem 1.5rem;
  }
}

@keyframes slide {
  0% {
    transform: translateX(-1rem);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.form {
  background-color: var(--color-accent);
  grid-column: container-start/container-end;
  height: 600px;
}

.footer {
  grid-column: container-start/container-end;
  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65), rgb(255, 255, 255), rgb(255, 255, 255)), url("../img/mada_wizytowki.avif");
  display: grid;
  grid-template-rows: repeat(3, max-content);
  grid-row-gap: 6vh;
  overflow: hidden;
}
@media screen and (max-width: 600px) {
  .footer {
    background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65), rgb(255, 255, 255), rgb(255, 255, 255)), url("../img/mada_wizytowki_sm.avif");
  }
}
.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, 20rem);
  place-content: center;
  grid-gap: 5rem 3vw;
}
@media screen and (max-width: 600px) {
  .footer__content {
    grid-gap: 3rem 1vw;
  }
}
@media screen and (max-width: 800px) {
  .footer__content {
    grid-gap: 2rem 0.7vw;
  }
}
@media screen and (max-width: 400px) {
  .footer__content {
    grid-gap: 1.5rem 0.5vw;
  }
}
.footer__content--section {
  display: grid;
  grid-gap: 1rem;
  padding: 40px;
  background-color: var(--color-white);
}
.footer__content--section__title {
  font-family: "Roboto", sans-serif;
  font-size: 24px !important;
}
@media screen and (max-width: 800px) {
  .footer__content--section__title {
    font-size: 22px !important;
  }
}
@media screen and (max-width: 600px) {
  .footer__content--section__title {
    font-size: 20px !important;
  }
}
@media screen and (max-width: 400px) {
  .footer__content--section__title {
    font-size: 18px !important;
  }
}
.footer__content--section__link:link, .footer__content--section__link:visited {
  display: block;
  font-size: 18px;
  letter-spacing: initial;
  transition: all 0.5s ease-in-out;
}
@media screen and (max-width: 800px) {
  .footer__content--section__link:link, .footer__content--section__link:visited {
    font-size: 22px !important;
  }
}
@media screen and (max-width: 600px) {
  .footer__content--section__link:link, .footer__content--section__link:visited {
    font-size: 20px !important;
  }
}
@media screen and (max-width: 400px) {
  .footer__content--section__link:link, .footer__content--section__link:visited {
    font-size: 18px !important;
  }
}
.footer__content--section__link:link:hover, .footer__content--section__link:link:active, .footer__content--section__link:visited:hover, .footer__content--section__link:visited:active {
  color: var(--color-secondary);
}
.footer__content--section__para {
  color: var(--color-black);
  font-size: 18px;
}
.footer__content--section:first-child, .footer__content--section:nth-child(2), .footer__content--section:nth-child(3) {
  border-right: 1px solid var(--color-primary);
}
@media screen and (max-width: 800px) {
  .footer__content--section:first-child, .footer__content--section:nth-child(2), .footer__content--section:nth-child(3) {
    border-right: none;
  }
}
.footer__content--section:first-child, .footer__content--section:nth-child(2), .footer__content--section:nth-child(3) {
  border-bottom: none;
}
@media screen and (max-width: 800px) {
  .footer__content--section:first-child, .footer__content--section:nth-child(2), .footer__content--section:nth-child(3) {
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 1rem;
  }
}
.footer__content--section:nth-child(2) {
  padding-right: 3vw;
}
.footer__content--section:nth-child(2) input[type=email] {
  padding: 0.7rem;
  background-color: transparent;
  color: var(--color-white);
  border: 0.2rem solid var(--color-primary);
  border-left: none;
  border-right: none;
}
.footer__content--section:nth-child(2) input[type=submit] {
  background-color: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.2rem;
  border: 0.1rem solid var(--color-primary);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.footer__content--section:nth-child(2) input[type=submit]:hover,
.footer__content--section:nth-child(2) input[type=submit]:active {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}
.footer__content--section:last-child {
  padding-bottom: 3vw;
  border-bottom: 1px solid var(--color-primary);
}
.footer__content--section:last-child span {
  font-family: "Roboto", sans-serif;
  font-size: calc(1rem + 0.5vw);
}
.footer__content .icon-contact {
  width: 50px;
}
@media screen and (max-width: 600px) {
  .footer__content .icon-contact {
    width: 35px;
  }
}
.footer__content .divider {
  width: 90%;
  height: 2px;
  background-color: var(--color-primary);
}
@media screen and (max-width: 600px) {
  .footer__content .divider {
    height: 1px;
  }
}
.footer__content .mail-link,
.footer__content .adress-link {
  font-size: 18px !important;
}
@media screen and (max-width: 800px) {
  .footer__content .mail-link,
  .footer__content .adress-link {
    font-size: 17px !important;
  }
}
@media screen and (max-width: 600px) {
  .footer__content .mail-link,
  .footer__content .adress-link {
    font-size: 15px !important;
  }
}
@media screen and (max-width: 600px) {
  .footer__content .mail-link,
  .footer__content .adress-link {
    font-size: 14px !important;
  }
}
.footer__content .comunicators a:link,
.footer__content .comunicators a:visited {
  border: none;
  padding: 0 !important;
  background: transparent !important;
}
.footer__content .comunicators a:link img,
.footer__content .comunicators a:visited img {
  margin: 10px;
  transform: scale(1);
  transition: all 0.5s ease-in-out;
}
.footer__content .comunicators a:link img:hover, .footer__content .comunicators a:link img:active,
.footer__content .comunicators a:visited img:hover,
.footer__content .comunicators a:visited img:active {
  transform: scale(1.3);
}
.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__logo img {
  width: 100px;
}
.footer__copy {
  display: block;
  margin: 0 auto;
}
.footer__copy p {
  padding-bottom: 15px;
  color: var(--color-black);
  text-align: center;
}
.footer__copy a {
  color: var(--color-primary-m);
  margin: 0 auto;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.5s ease-in-out;
}
.footer__copy a:hover {
  color: var(--color-secondary-m);
}

.about {
  grid-column: container-start/container-end;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 100px;
  overflow: hidden;
}
@media screen and (max-width: 600px) {
  .about {
    padding-bottom: 50px;
  }
}
.about h2 {
  margin: 150px 0;
  padding: 20px 40px;
  background-color: var(--color-white-m);
  color: var(--color-primary);
  font-size: 70px;
  text-align: center;
  line-height: 1.2;
}
@media screen and (max-width: 800px) {
  .about h2 {
    margin: 100px 0;
    font-size: 50px;
  }
}
@media screen and (max-width: 600px) {
  .about h2 {
    margin: 80px 0;
    font-size: 36px;
  }
}
@media screen and (max-width: 400px) {
  .about {
    font-size: 28px;
  }
}
.about__box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about__box--container {
  position: relative;
  width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.about__box--container__img {
  position: relative;
  width: 900px;
  height: 800px;
  overflow: hidden;
}
@media screen and (max-width: 800px) {
  .about__box--container__img {
    width: 600px;
    height: 380px;
  }
}
@media screen and (max-width: 600px) {
  .about__box--container__img {
    width: 500px;
    height: 360px;
  }
}
@media screen and (max-width: 400px) {
  .about__box--container__img {
    width: 400px;
    height: 280px;
  }
}
.about__box--container__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__box--container__content {
  position: absolute;
  right: 0;
  margin-top: 600px;
  margin-bottom: 40px;
  padding: 50px;
  color: var(--color-white);
  background: var(--color-primary);
  border-bottom: 6px solid var(--color-secondary-m);
  max-width: 500px;
}
@media screen and (max-width: 800px) {
  .about__box--container__content {
    margin-top: 500px;
    padding: 40px;
    width: 400px;
  }
}
@media screen and (max-width: 600px) {
  .about__box--container__content {
    padding: 30px;
    width: 400px;
  }
}
@media screen and (max-width: 400px) {
  .about__box--container__content {
    padding: 20px;
    width: 300px;
  }
}
.about__box--container__content p {
  font-size: 18px;
  letter-spacing: 1.2px;
  line-height: 1.4;
}
@media screen and (max-width: 800px) {
  .about__box--container__content p {
    font-size: 16px;
  }
}
@media screen and (max-width: 600px) {
  .about__box--container__content p {
    font-size: 15px;
  }
}
@media screen and (max-width: 400px) {
  .about__box--container__content p {
    font-size: 14px;
  }
}
.about__box--container__content .right {
  display: flex;
  justify-content: right;
  margin-top: 10px;
}
.about__box--container__content .right span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
@media screen and (max-width: 800px) {
  .about__box--container__content .right span {
    font-size: 16px;
  }
}
@media screen and (max-width: 600px) {
  .about__box--container__content .right span {
    font-size: 15px;
  }
}
@media screen and (max-width: 400px) {
  .about__box--container__content .right span {
    font-size: 14px;
  }
}
.about__box--container__content .header-contact {
  margin-top: 15px;
  border-top: 1px solid var(--color-white);
}
.about__box--container__content .header-contact .header-contact-item {
  padding: 10px 0px !important;
  text-align: right;
}
.about__box--container__content .header-contact .header-contact-item p {
  color: var(--color-secondary);
  font-weight: bold;
}
.about__box--container__content .header-contact .header-contact-item a {
  color: var(--color-white);
  transition: 0.4s ease-in-out;
}
.about__box--container__content .header-contact .header-contact-item a:hover {
  color: var(--color-secondary);
}
.about img {
  margin-top: 20px;
}
@media screen and (max-width: 800px) {
  .about img {
    margin-top: 150px;
  }
}
@media screen and (max-width: 600px) {
  .about img {
    margin-top: 200px;
  }
}
@media screen and (max-width: 400px) {
  .about img {
    margin-top: 180px;
  }
}

.ab-bg1 {
  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85), rgb(255, 255, 255)), url("../img/mada_oc_ustawa.avif");
}

.ab-bg2 {
  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85), rgb(255, 255, 255)), url("../img/mada_stationery.avif");
}

.ab-bg3 {
  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85), rgb(255, 255, 255)), url("../img/mada_ustawa_oc2.avif");
}

.ab-bg4 {
  background: linear-gradient(to top, var(--color-white), var(--color-white-m), var(--color-white)), url("../img/price/mada_ustawa_sm.avif");
}

.ab-bg5 {
  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85), rgb(255, 255, 255)), url("../img/mada_oc_ustawa.avif");
}

.jarallax {
  position: relative;
  z-index: 0;
}

.jarallax > .jarallax-img {
  position: absolute;
  object-fit: cover;
  /* support for plugin https://github.com/bfred-it/object-fit-images */
  font-family: "object-fit: cover;";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.insur1 {
  grid-column: container-start/container-end;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, var(--color-white), var(--color-white-m), var(--color-white)), url("../img/price/mada_ustawa.avif");
  overflow: hidden;
}
@media screen and (max-width: 600px) {
  .insur1 {
    background: linear-gradient(to top, var(--color-white), var(--color-white-m), var(--color-white)), url("../img/price/mada_ustawa_sm.avif");
  }
}
.insur1 .insur-logo {
  padding-bottom: 60px;
  padding: 70px 0;
  width: 300px;
}
@media screen and (max-width: 800px) {
  .insur1 .insur-logo {
    padding: 50px 0;
    width: 200px;
  }
}
@media screen and (max-width: 600px) {
  .insur1 .insur-logo {
    margin: 0;
    padding: 30px 0;
    width: 150px;
  }
}
@media screen and (max-width: 400px) {
  .insur1 .insur-logo {
    padding: 20px 0;
    width: 120px;
  }
}
.insur1 .boxes-large {
  display: block;
}
@media screen and (max-width: 600px) {
  .insur1 .boxes-large {
    display: none;
  }
}
.insur1 .boxes-large .box {
  position: relative;
  background-color: var(--color-white);
  margin: 50px;
  padding: 40px;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 930px;
  height: 515px;
  border: 2px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 2s ease;
}
@media screen and (max-width: 800px) {
  .insur1 .boxes-large .box {
    width: 720px;
    height: 450px;
    margin: 60px 0;
    border: 2px solid var(--color-primary);
    transition: transform 1s ease;
  }
}
.insur1 .boxes-large .box .box-desc {
  margin: 0 30px;
  padding-bottom: 40px;
}
@media screen and (min-width: 1300px) {
  .insur1 .boxes-large .box .box-desc {
    margin: 0 25px;
    padding-bottom: 35px;
  }
}
@media screen and (max-width: 800px) {
  .insur1 .boxes-large .box .box-desc {
    margin: 0 10px;
    padding-bottom: 25px;
  }
}
.insur1 .boxes-large .box .box-desc h3 {
  color: var(--color-primary);
  font-size: 40px;
}
@media screen and (min-width: 1300px) {
  .insur1 .boxes-large .box .box-desc h3 {
    padding-top: 10px;
    font-size: 30px;
  }
}
@media screen and (max-width: 800px) {
  .insur1 .boxes-large .box .box-desc h3 {
    padding-top: 0px;
    font-size: 24px;
    line-height: 1.2;
  }
}
.insur1 .boxes-large .box .box-desc p {
  margin-bottom: 30px;
  color: var(--color-text);
  font-size: 18px;
}
@media screen and (min-width: 1300px) {
  .insur1 .boxes-large .box .box-desc p {
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 800px) {
  .insur1 .boxes-large .box .box-desc p {
    font-size: 15px;
    margin-bottom: 15px;
  }
}
.insur1 .boxes-large .box .boxImg img {
  width: 290px;
}
@media screen and (min-width: 1300px) {
  .insur1 .boxes-large .box .boxImg img {
    width: 250px;
  }
}
@media screen and (max-width: 800px) {
  .insur1 .boxes-large .box .boxImg img {
    width: 190px;
  }
}
.insur1 .boxes-small {
  display: none;
}
@media screen and (max-width: 600px) {
  .insur1 .boxes-small {
    display: block;
  }
}
.insur1 .boxes-small .box {
  position: relative;
  background-color: var(--color-white);
  padding: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 370px !important;
  height: 370px !important;
  margin: 40px;
  border: 1px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 0.8s ease;
}
@media screen and (max-width: 600px) {
  .insur1 .boxes-small .box {
    padding: 10px;
    width: 350px;
    height: 350px;
  }
}
.insur1 .boxes-small .box .box-desc {
  margin: 0 5px;
  padding-bottom: 25px;
}
@media screen and (max-width: 600px) {
  .insur1 .boxes-small .box .box-desc {
    margin: 0 10px;
    padding-bottom: 10px;
  }
}
.insur1 .boxes-small .box .box-desc h3 {
  margin: 0;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 20px;
  padding-bottom: 15px;
  text-align: center;
  font-family: "Roboto", serif;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.2;
}
@media screen and (max-width: 400px) {
  .insur1 .boxes-small .box .box-desc h3 {
    padding-top: 25px;
    padding-bottom: 10px;
    font-size: 20px;
  }
}
.insur1 .boxes-small .box .box-desc p {
  margin-bottom: 20px;
  margin-left: 5px;
  margin-right: 5px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 1.5;
}
@media screen and (max-width: 400px) {
  .insur1 .boxes-small .box .box-desc p {
    font-size: 14px;
    margin-bottom: 15px;
  }
}
.insur1 .boxes-small .box .boxImg {
  display: flex;
  justify-content: center;
  align-items: center;
}
.insur1 .boxes-small .box .boxImg img {
  height: 300px;
}
@media screen and (min-width: 1300px) {
  .insur1 .boxes-small .box .boxImg img {
    height: 270px;
  }
}
.insur1 .box:nth-of-type(even) {
  transform: translateX(-400%);
}
.insur1 .box.show {
  transform: translateX(0);
}
.insur1 .frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
@media screen and (min-width: 1300px) {
  .insur1 .frame {
    width: 785px;
    height: 540px;
  }
}
@media screen and (max-width: 800px) {
  .insur1 .frame {
    width: 575px;
    height: 540px;
  }
}
@media screen and (max-width: 600px) {
  .insur1 .frame {
    width: 395px;
    height: 395px;
  }
}
@media screen and (max-width: 400px) {
  .insur1 .frame {
    width: 360px;
    height: 360px;
  }
}
.insur1 .locomotive-right {
  position: absolute;
  top: 90%;
  left: 100%;
  width: 70%;
  transform: translate(-100%, -90%);
  z-index: -1;
}
@media screen and (max-width: 800px) {
  .insur1 .locomotive-right {
    width: 90%;
  }
}
@media screen and (max-width: 600px) {
  .insur1 .locomotive-right {
    width: 100%;
  }
}
.insur1 .locomotive-left {
  position: absolute;
  top: 90%;
  left: 5%;
  width: 60%;
  transform: translate(-5%, -90%);
  z-index: -1;
}
@media screen and (max-width: 600px) {
  .insur1 .locomotive-left {
    width: 100%;
  }
}
.insur1 h3 {
  margin: 30px 0;
  font-family: "Roboto", serif;
  font-size: 32px;
  color: var(--color-text);
}

.insur2 {
  grid-column: container-start/container-end;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, var(--color-white), var(--color-white-m), var(--color-white)), url("../img/price/tlo_firmy.avif");
  overflow: hidden;
}
.insur2 .insur-logo {
  padding-bottom: 60px;
  padding: 70px 0;
  width: 300px;
}
@media screen and (max-width: 800px) {
  .insur2 .insur-logo {
    padding: 50px 0;
    width: 200px;
  }
}
@media screen and (max-width: 600px) {
  .insur2 .insur-logo {
    margin: 0;
    padding: 30px 0;
    width: 150px;
  }
}
@media screen and (max-width: 400px) {
  .insur2 .insur-logo {
    padding: 20px 0;
    width: 120px;
  }
}
.insur2 .boxes-large {
  display: block;
}
@media screen and (max-width: 600px) {
  .insur2 .boxes-large {
    display: none;
  }
}
.insur2 .boxes-large .box {
  position: relative;
  background-color: var(--color-white);
  margin: 50px;
  padding: 40px;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 930px;
  height: 515px;
  border: 2px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 2s ease;
}
@media screen and (max-width: 800px) {
  .insur2 .boxes-large .box {
    width: 720px;
    height: 450px;
    margin: 60px 0;
    border: 2px solid var(--color-primary);
    transition: transform 1s ease;
  }
}
.insur2 .boxes-large .box .box-desc {
  margin: 0 30px;
  padding-bottom: 40px;
}
@media screen and (min-width: 1300px) {
  .insur2 .boxes-large .box .box-desc {
    margin: 0 25px;
    padding-bottom: 35px;
  }
}
@media screen and (max-width: 800px) {
  .insur2 .boxes-large .box .box-desc {
    margin: 0 10px;
    padding-bottom: 25px;
  }
}
.insur2 .boxes-large .box .box-desc h3 {
  color: var(--color-primary);
  font-size: 40px;
}
@media screen and (min-width: 1300px) {
  .insur2 .boxes-large .box .box-desc h3 {
    padding-top: 10px;
    font-size: 30px;
  }
}
@media screen and (max-width: 800px) {
  .insur2 .boxes-large .box .box-desc h3 {
    padding-top: 0px;
    font-size: 24px;
    line-height: 1.2;
  }
}
.insur2 .boxes-large .box .box-desc p {
  margin-bottom: 30px;
  color: var(--color-text);
  font-size: 18px;
}
@media screen and (min-width: 1300px) {
  .insur2 .boxes-large .box .box-desc p {
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 800px) {
  .insur2 .boxes-large .box .box-desc p {
    font-size: 15px;
    margin-bottom: 15px;
  }
}
.insur2 .boxes-large .box .boxImg img {
  width: 290px;
}
@media screen and (min-width: 1300px) {
  .insur2 .boxes-large .box .boxImg img {
    width: 250px;
  }
}
@media screen and (max-width: 800px) {
  .insur2 .boxes-large .box .boxImg img {
    width: 190px;
  }
}
.insur2 .boxes-small {
  display: none;
}
@media screen and (max-width: 600px) {
  .insur2 .boxes-small {
    display: block;
  }
}
.insur2 .boxes-small .box {
  position: relative;
  background-color: var(--color-white);
  padding: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px !important;
  height: 430px !important;
  margin: 40px;
  border: 1px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 0.8s ease;
}
@media screen and (max-width: 400px) {
  .insur2 .boxes-small .box {
    padding: 10px;
    width: 320px;
    height: 400px;
  }
}
.insur2 .boxes-small .box .box-desc {
  margin: 0 5px;
  padding-bottom: 25px;
}
@media screen and (max-width: 400px) {
  .insur2 .boxes-small .box .box-desc {
    margin: 0 10px;
    padding-bottom: 20px;
  }
}
.insur2 .boxes-small .box .box-desc h3 {
  margin: 0;
  margin: 0;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 20px;
  padding-bottom: 15px;
  text-align: center;
  font-family: "Roboto", serif;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.2;
}
@media screen and (max-width: 400px) {
  .insur2 .boxes-small .box .box-desc h3 {
    padding-top: 25px;
    padding-bottom: 10px;
    font-size: 20px;
  }
}
.insur2 .boxes-small .box .box-desc p {
  margin-bottom: 20px;
  margin-left: 5px;
  margin-right: 5px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 1.5;
}
@media screen and (max-width: 400px) {
  .insur2 .boxes-small .box .box-desc p {
    font-size: 14px;
    margin-bottom: 15px;
  }
}
.insur2 .boxes-small .box .boxImg {
  display: flex;
  justify-content: center;
  align-items: center;
}
.insur2 .boxes-small .box .boxImg img {
  height: 300px;
}
@media screen and (min-width: 1300px) {
  .insur2 .boxes-small .box .boxImg img {
    height: 270px;
  }
}
.insur2 .box:nth-of-type(even) {
  transform: translateX(-400%);
}
.insur2 .box.show {
  transform: translateX(0);
}
.insur2 h3 {
  margin: 30px 0;
  font-family: "Roboto", serif;
  font-size: 32px;
  color: var(--color-text);
}

.insur3 {
  grid-column: container-start/container-end;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, var(--color-white), var(--color-white-m), var(--color-white)), url("../img/price/tlo_zdrowotne.avif");
  overflow: hidden;
}
.insur3 .insur-logo {
  padding-bottom: 60px;
  padding: 70px 0;
  width: 300px;
}
@media screen and (max-width: 800px) {
  .insur3 .insur-logo {
    padding: 50px 0;
    width: 200px;
  }
}
@media screen and (max-width: 600px) {
  .insur3 .insur-logo {
    margin: 0;
    padding: 30px 0;
    width: 150px;
  }
}
@media screen and (max-width: 400px) {
  .insur3 .insur-logo {
    padding: 20px 0;
    width: 120px;
  }
}
.insur3 .boxes-large {
  display: block;
}
@media screen and (max-width: 600px) {
  .insur3 .boxes-large {
    display: none;
  }
}
.insur3 .boxes-large .box {
  position: relative;
  background-color: var(--color-white);
  margin: 50px;
  padding: 40px;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 930px;
  height: 515px;
  border: 2px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 2s ease;
}
@media screen and (max-width: 800px) {
  .insur3 .boxes-large .box {
    width: 720px;
    height: 450px;
    margin: 60px 0;
    border: 2px solid var(--color-primary);
    transition: transform 1s ease;
  }
}
.insur3 .boxes-large .box .box-desc {
  margin: 0 30px;
  padding-bottom: 40px;
}
@media screen and (min-width: 1300px) {
  .insur3 .boxes-large .box .box-desc {
    margin: 0 25px;
    padding-bottom: 35px;
  }
}
@media screen and (max-width: 800px) {
  .insur3 .boxes-large .box .box-desc {
    margin: 0 10px;
    padding-bottom: 25px;
  }
}
.insur3 .boxes-large .box .box-desc h3 {
  color: var(--color-primary);
  font-size: 40px;
}
@media screen and (min-width: 1300px) {
  .insur3 .boxes-large .box .box-desc h3 {
    padding-top: 10px;
    font-size: 30px;
  }
}
@media screen and (max-width: 800px) {
  .insur3 .boxes-large .box .box-desc h3 {
    padding-top: 0px;
    font-size: 24px;
    line-height: 1.2;
  }
}
.insur3 .boxes-large .box .box-desc p {
  margin-bottom: 30px;
  color: var(--color-text);
  font-size: 18px;
}
@media screen and (min-width: 1300px) {
  .insur3 .boxes-large .box .box-desc p {
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 800px) {
  .insur3 .boxes-large .box .box-desc p {
    font-size: 15px;
    margin-bottom: 15px;
  }
}
.insur3 .boxes-large .box .boxImg img {
  width: 290px;
}
@media screen and (min-width: 1300px) {
  .insur3 .boxes-large .box .boxImg img {
    width: 250px;
  }
}
@media screen and (max-width: 800px) {
  .insur3 .boxes-large .box .boxImg img {
    width: 190px;
  }
}
.insur3 .boxes-small {
  display: none;
}
@media screen and (max-width: 600px) {
  .insur3 .boxes-small {
    display: block;
  }
}
.insur3 .boxes-small .box {
  position: relative;
  background-color: var(--color-white);
  padding: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px !important;
  height: 430px !important;
  margin: 40px;
  border: 1px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 0.8s ease;
}
@media screen and (max-width: 400px) {
  .insur3 .boxes-small .box {
    padding: 10px;
    width: 320px;
    height: 400px;
  }
}
.insur3 .boxes-small .box .box-desc {
  margin: 0 5px;
  padding-bottom: 25px;
}
@media screen and (max-width: 400px) {
  .insur3 .boxes-small .box .box-desc {
    margin: 0 10px;
    padding-bottom: 20px;
  }
}
.insur3 .boxes-small .box .box-desc h3 {
  margin: 0;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 20px;
  padding-bottom: 15px;
  text-align: center;
  font-family: "Roboto", serif;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.2;
}
@media screen and (max-width: 400px) {
  .insur3 .boxes-small .box .box-desc h3 {
    padding-top: 25px;
    padding-bottom: 10px;
    font-size: 20px;
  }
}
.insur3 .boxes-small .box .box-desc p {
  margin-bottom: 20px;
  margin-left: 5px;
  margin-right: 5px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 1.5;
}
@media screen and (max-width: 400px) {
  .insur3 .boxes-small .box .box-desc p {
    font-size: 14px;
    margin-bottom: 15px;
  }
}
.insur3 .boxes-small .box .boxImg {
  display: flex;
  justify-content: center;
  align-items: center;
}
.insur3 .boxes-small .box .boxImg img {
  height: 300px;
}
@media screen and (min-width: 1300px) {
  .insur3 .boxes-small .box .boxImg img {
    height: 270px;
  }
}
.insur3 .box:nth-of-type(even) {
  transform: translateX(-400%);
}
.insur3 .box.show {
  transform: translateX(0);
}
.insur3 h3 {
  margin: 30px 0;
  font-family: "Roboto", serif;
  font-size: 32px;
  color: var(--color-text);
}

.insur4 {
  grid-column: container-start/container-end;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, var(--color-white), var(--color-white-m), var(--color-white)), url("../img/price/mada_ustawa.avif");
  overflow: hidden;
}
@media screen and (max-width: 600px) {
  .insur4 {
    background: linear-gradient(to top, var(--color-white), var(--color-white-m), var(--color-white)), url("../img/price/mada_ustawa_sm.avif");
  }
}
.insur4 .insur-logo {
  padding-bottom: 60px;
  padding: 70px 0;
  width: 300px;
}
@media screen and (max-width: 800px) {
  .insur4 .insur-logo {
    padding: 50px 0;
    width: 200px;
  }
}
@media screen and (max-width: 600px) {
  .insur4 .insur-logo {
    margin: 0;
    padding: 30px 0;
    width: 150px;
  }
}
@media screen and (max-width: 400px) {
  .insur4 .insur-logo {
    padding: 20px 0;
    width: 120px;
  }
}
.insur4 .boxes-large {
  display: block;
}
@media screen and (max-width: 600px) {
  .insur4 .boxes-large {
    display: none;
  }
}
.insur4 .boxes-large .box {
  position: relative;
  background-color: var(--color-white);
  margin: 50px;
  padding: 40px;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 930px;
  height: 515px;
  border: 2px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 2s ease;
}
@media screen and (max-width: 800px) {
  .insur4 .boxes-large .box {
    width: 720px;
    height: 450px;
    margin: 60px 0;
    border: 2px solid var(--color-primary);
    transition: transform 1s ease;
  }
}
.insur4 .boxes-large .box .box-desc {
  margin: 0 30px;
  padding-bottom: 40px;
}
@media screen and (min-width: 1300px) {
  .insur4 .boxes-large .box .box-desc {
    margin: 0 25px;
    padding-bottom: 35px;
  }
}
@media screen and (max-width: 800px) {
  .insur4 .boxes-large .box .box-desc {
    margin: 0 10px;
    padding-bottom: 25px;
  }
}
.insur4 .boxes-large .box .box-desc h3 {
  color: var(--color-primary);
  font-size: 40px;
}
@media screen and (min-width: 1300px) {
  .insur4 .boxes-large .box .box-desc h3 {
    padding-top: 10px;
    font-size: 30px;
  }
}
@media screen and (max-width: 800px) {
  .insur4 .boxes-large .box .box-desc h3 {
    padding-top: 0px;
    font-size: 24px;
    line-height: 1.2;
  }
}
.insur4 .boxes-large .box .box-desc p {
  margin-bottom: 30px;
  color: var(--color-text);
  font-size: 18px;
}
@media screen and (min-width: 1300px) {
  .insur4 .boxes-large .box .box-desc p {
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 800px) {
  .insur4 .boxes-large .box .box-desc p {
    font-size: 15px;
    margin-bottom: 15px;
  }
}
.insur4 .boxes-large .box .boxImg img {
  width: 290px;
}
@media screen and (min-width: 1300px) {
  .insur4 .boxes-large .box .boxImg img {
    width: 250px;
  }
}
@media screen and (max-width: 800px) {
  .insur4 .boxes-large .box .boxImg img {
    width: 190px;
  }
}
.insur4 .boxes-small {
  display: none;
}
@media screen and (max-width: 600px) {
  .insur4 .boxes-small {
    display: block;
  }
}
.insur4 .boxes-small .box {
  position: relative;
  background-color: var(--color-white);
  padding: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px !important;
  height: 430px !important;
  margin: 40px;
  border: 1px solid var(--color-primary);
  transform: translateX(400%);
  transition: transform 0.8s ease;
}
@media screen and (max-width: 400px) {
  .insur4 .boxes-small .box {
    padding: 10px;
    width: 320px;
    height: 0px;
  }
}
.insur4 .boxes-small .box .box-desc {
  margin: 0 5px;
  padding-bottom: 25px;
}
@media screen and (max-width: 400px) {
  .insur4 .boxes-small .box .box-desc {
    margin: 0 10px;
    padding-bottom: 20px;
  }
}
.insur4 .boxes-small .box .box-desc h3 {
  margin: 0;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 20px;
  padding-bottom: 15px;
  text-align: center;
  font-family: "Roboto", serif;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.2;
}
@media screen and (max-width: 400px) {
  .insur4 .boxes-small .box .box-desc h3 {
    padding-top: 25px;
    padding-bottom: 10px;
    font-size: 20px;
  }
}
.insur4 .boxes-small .box .box-desc p {
  margin-bottom: 20px;
  margin-left: 5px;
  margin-right: 5px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 1.5;
}
@media screen and (max-width: 400px) {
  .insur4 .boxes-small .box .box-desc p {
    font-size: 14px;
    margin-bottom: 15px;
  }
}
.insur4 .boxes-small .box .boxImg {
  display: flex;
  justify-content: center;
  align-items: center;
}
.insur4 .boxes-small .box .boxImg img {
  height: 300px;
}
@media screen and (min-width: 1300px) {
  .insur4 .boxes-small .box .boxImg img {
    height: 270px;
  }
}
.insur4 .box:nth-of-type(even) {
  transform: translateX(-400%);
}
.insur4 .box.show {
  transform: translateX(0);
}
.insur4 .frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
@media screen and (min-width: 1300px) {
  .insur4 .frame {
    width: 785px;
    height: 540px;
  }
}
@media screen and (max-width: 800px) {
  .insur4 .frame {
    width: 575px;
    height: 540px;
  }
}
@media screen and (max-width: 600px) {
  .insur4 .frame {
    width: 395px;
    height: 395px;
  }
}
@media screen and (max-width: 400px) {
  .insur4 .frame {
    width: 360px;
    height: 360px;
  }
}
.insur4 .locomotive-right {
  position: absolute;
  top: 90%;
  left: 100%;
  width: 70%;
  transform: translate(-100%, -90%);
  z-index: -1;
}
@media screen and (max-width: 800px) {
  .insur4 .locomotive-right {
    width: 90%;
  }
}
@media screen and (max-width: 600px) {
  .insur4 .locomotive-right {
    width: 100%;
  }
}
.insur4 .locomotive-left {
  position: absolute;
  top: 90%;
  left: 5%;
  width: 60%;
  transform: translate(-5%, -90%);
  z-index: -1;
}
@media screen and (max-width: 600px) {
  .insur4 .locomotive-left {
    width: 100%;
  }
}
.insur4 h3 {
  margin: 30px 0;
  font-family: "Roboto", serif;
  font-size: 32px;
  color: var(--color-text);
}

.serviceslist {
  grid-column: container-start/container-end;
  background: url("../img/services/animacja_bg.avif");
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: animation-background 700s linear infinite;
}
@media screen and (max-width: 800px) {
  .serviceslist {
    padding: 70px 0;
  }
}
@media screen and (max-width: 600px) {
  .serviceslist {
    background: url("../img/services/animacja_sm.avif");
    padding: 40px 0;
  }
}
.serviceslist .serviceslist__container {
  justify-content: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.serviceslist .serviceslist__container .mada-title {
  background-color: var(--color-white);
  color: var(--color-black);
}
.serviceslist .serviceslist_card {
  margin: 50px 0;
  position: relative;
  width: 500px;
  height: 800px;
  background-color: var(--color-white);
  border: 3px solid var(--color-secondary);
}
@media screen and (max-width: 800px) {
  .serviceslist .serviceslist_card {
    width: 400px;
    height: 650px;
  }
}
@media screen and (max-width: 600px) {
  .serviceslist .serviceslist_card {
    width: 340px;
    height: 550px;
    border: 2px solid var(--color-secondary);
  }
}
@media screen and (max-width: 400px) {
  .serviceslist .serviceslist_card {
    width: 320px;
    height: 520px;
  }
}
.serviceslist .serviceslist_card--content {
  position: absolute;
  bottom: 0px;
  width: 80%;
  height: 80px;
  left: 10%;
  text-align: center;
  transition: 0.5s;
  overflow: hidden;
}
.serviceslist .serviceslist_card--content h3 {
  color: var(--color-white);
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 20px;
}
@media screen and (max-width: 800px) {
  .serviceslist .serviceslist_card--content h3 {
    font-size: 26px;
  }
}
@media screen and (max-width: 600px) {
  .serviceslist .serviceslist_card--content h3 {
    font-size: 22px;
  }
}
@media screen and (max-width: 400px) {
  .serviceslist .serviceslist_card--content h3 {
    font-size: 20px;
  }
}
.serviceslist .serviceslist_card--content p {
  color: var(--color-white);
  width: 80%;
  margin: 0px auto;
  padding-bottom: 40px;
  font-size: 20px;
  transition: 0.8s ease-in;
  opacity: 0;
}
@media screen and (max-width: 800px) {
  .serviceslist .serviceslist_card--content p {
    padding-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
  }
}
@media screen and (max-width: 600px) {
  .serviceslist .serviceslist_card--content p {
    padding-bottom: 20px;
    font-size: 15px;
  }
}
@media screen and (max-width: 400px) {
  .serviceslist .serviceslist_card--content p {
    font-size: 14px;
  }
}
.serviceslist .serviceslist_card--content p:nth-of-type(2) {
  transition: 1.8s ease-in;
  opacity: 0;
}
.serviceslist .serviceslist_card--content a {
  padding: 10px 15px;
  display: inline-block;
  margin-top: 10px;
  transition: 2.5s ease-in;
  opacity: 0;
}
@media screen and (max-width: 600px) {
  .serviceslist .serviceslist_card--content a {
    padding: 5px 10px;
    margin-top: 0;
  }
}
.serviceslist .serviceslist_card--content .serviceslist_card--content_soc {
  padding-top: 20px;
}
@media screen and (max-width: 600px) {
  .serviceslist .serviceslist_card--content .serviceslist_card--content_soc {
    padding-top: 10px;
  }
}
.serviceslist .serviceslist_card--content .serviceslist_card--content_soc i {
  font-size: 40px;
  color: var(--color-accent-m);
  transform: scale(1);
  transition: all 0.5s ease-in-out;
}
@media screen and (max-width: 800px) {
  .serviceslist .serviceslist_card--content .serviceslist_card--content_soc i {
    font-size: 30px;
  }
}
@media screen and (max-width: 600px) {
  .serviceslist .serviceslist_card--content .serviceslist_card--content_soc i {
    font-size: 25px;
  }
}
.serviceslist .serviceslist_card--content .serviceslist_card--content_soc i:hover, .serviceslist .serviceslist_card--content .serviceslist_card--content_soc i:active {
  color: var(--color-secondary);
  transform: scale(1.2);
}
.serviceslist .serviceslist_card:hover .serviceslist_card--content {
  height: 100%;
  width: 100%;
  left: 0%;
}
.serviceslist .serviceslist_card:hover p,
.serviceslist .serviceslist_card:hover p:nth-of-type(2),
.serviceslist .serviceslist_card:hover a,
.serviceslist .serviceslist_card--content_soc:hover a {
  opacity: 1;
  transition-delay: 0.5s;
}
.serviceslist .serviceslist_card--imgbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
.serviceslist .serviceslist_card--imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.serviceslist .serviceslist_card:hover img {
  opacity: 0;
}

.services_bg1 {
  background: url("../img/services/madrosc.png");
  background-color: var(--color-secondary);
  background-position: center;
  background-repeat: no-repeat;
}

.services_bg2 {
  background: url("../img/services/ambicja.png");
  background-color: var(--color-secondary);
  background-position: center;
  background-repeat: no-repeat;
}

.services_bg3 {
  background: url("../img/services/dobro.png");
  background-color: var(--color-secondary);
  background-position: center;
  background-repeat: no-repeat;
}

.services_bg4 {
  background: url("../img/services/aktualnosc.png");
  background-color: var(--color-secondary);
  background-position: center;
  background-repeat: no-repeat;
}

@keyframes animation-background {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 5000px -10000px, 0 7500px, 0 5000px, 0 12000000px;
  }
}
.contactentry {
  grid-column: container-start/container-end;
  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.65), rgb(255, 255, 255)), url("../img/contact/mada_google.avif");
  text-align: center;
  padding: 15vh 2vw;
  height: 900px;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 800px) {
  .contactentry {
    height: 700px;
  }
}
@media screen and (max-width: 600px) {
  .contactentry {
    height: 650px;
  }
}
@media screen and (max-width: 400px) {
  .contactentry {
    height: 600px;
  }
}
.contactentry h1 {
  font-family: "Roboto", sans-serif;
  font-size: 42px;
  color: var(--color-primary-m);
  text-transform: uppercase;
  text-align: center;
}
@media screen and (max-width: 800px) {
  .contactentry h1 {
    font-size: 32px !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 600px) {
  .contactentry h1 {
    font-size: 24px !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 400px) {
  .contactentry h1 {
    font-size: 20px !important;
    line-height: 1.2;
  }
}
.contactentry p {
  color: var(--color-grey);
  font-size: 24px !important;
  font-weight: 600;
}
@media screen and (max-width: 800px) {
  .contactentry p {
    font-size: 18px !important;
  }
}
.contactentry .contactentry__loc {
  margin: 0 auto;
  padding: 50px 0;
  width: 50%;
  background-color: var(--color-white-m);
}
@media screen and (max-width: 800px) {
  .contactentry .contactentry__loc {
    width: 85%;
  }
}
@media screen and (max-width: 600px) {
  .contactentry .contactentry__loc {
    width: 95%;
  }
}
.contactentry .contactentry__loc a {
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
}
@media screen and (max-width: 800px) {
  .contactentry .contactentry__loc a {
    font-size: 26px;
  }
}
@media screen and (max-width: 600px) {
  .contactentry .contactentry__loc a {
    font-size: 20px;
  }
}
.contactentry .contactentry__loc span {
  font-weight: 600;
  transition: 1s ease-in-out;
}
.contactentry .contactentry__loc span:hover {
  color: var(--color-secondary);
}
.contactentry .contactentry__loc p {
  color: var(--color-black-m);
}
.contactentry .contactentry__loc p span {
  color: var(--color-black);
  font-size: 24px;
}
@media screen and (max-width: 600px) {
  .contactentry .contactentry__loc p span {
    font-size: 20px;
  }
}
@media screen and (max-width: 600px) {
  .contactentry .contactentry__loc p span {
    font-size: 18px;
  }
}

.qr {
  grid-column: container-start/container-end;
  padding-top: 50px;
  text-align: center;
}
.qr .img-qr {
  width: 150px;
}
@media screen and (max-width: 600px) {
  .qr .img-qr {
    width: 100px;
  }
}

.animation-stop {
  animation: none;
}

.showcase-contact {
  grid-column: container-start/container-end;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  top: 0;
  height: 80vh;
}
.showcase-contact__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 800px) {
  .showcase-contact__content {
    height: 70vh;
  }
}
@media screen and (max-width: 600px) {
  .showcase-contact__content {
    height: 50vh;
  }
}
@media screen and (max-width: 400px) {
  .showcase-contact__content {
    height: 40vh;
  }
}
.showcase-contact__content img {
  margin: 0 auto;
  width: 350px;
}
@media screen and (max-width: 800px) {
  .showcase-contact__content img {
    width: 75%;
  }
}
@media screen and (max-width: 600px) {
  .showcase-contact__content img {
    padding-bottom: 50px;
    width: 90%;
  }
}
@media screen and (max-width: 400px) {
  .showcase-contact__content img {
    padding-bottom: 0px;
  }
}
.showcase-contact__content--title {
  text-align: center;
  font-size: calc(1rem + 1vw);
  color: var(--color-grey);
}
@media screen and (max-width: 800px) {
  .showcase-contact__content--title {
    font-size: 2.7rem !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 600px) {
  .showcase-contact__content--title {
    font-size: 2rem !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 400px) {
  .showcase-contact__content--title {
    padding-bottom: 0 !important;
    font-size: 1.8rem !important;
    line-height: 1.2;
  }
}
.showcase-contact__content--para {
  text-align: center;
  font-size: calc(1rem + 1vw);
  color: var(--color-primary);
  margin-bottom: calc(1rem + 2vw);
}
@media screen and (max-width: 800px) {
  .showcase-contact__content--para {
    margin-top: 20px;
    font-size: 1.3rem !important;
    line-height: 1.2;
  }
}
@media screen and (max-width: 600px) {
  .showcase-contact__content--para {
    text-align: center;
    font-size: 1.2rem !important;
    line-height: 1.2;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 400px) {
  .showcase-contact__content--para {
    font-size: 1rem !important;
    line-height: 1;
  }
}

#cookies {
  display: block;
  z-index: 99999;
  padding: 10px 50px;
  position: fixed;
  bottom: 2%;
  left: 50%;
  transform: translate(-50%, -2%);
  background: var(--color-white);
  text-align: center;
}
@media screen and (max-width: 800px) {
  #cookies {
    width: 95%;
    padding: 10px 20px;
  }
}
@media screen and (max-width: 600px) {
  #cookies {
    padding: 10px;
  }
}
#cookies p {
  color: var(--color-black);
}
#cookies #cookies_alert {
  padding-top: 15px;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 15px;
  line-height: 1.5;
}
@media screen and (max-width: 800px) {
  #cookies #cookies_alert {
    font-size: 14px;
  }
}
@media screen and (max-width: 600px) {
  #cookies #cookies_alert {
    font-size: 13px;
  }
}
#cookies #cookies_info {
  color: var(--color-secondary);
  font-size: 13px;
  padding: 15px;
  transition: 0.5s ease-in-out;
}
@media screen and (max-width: 800px) {
  #cookies #cookies_info {
    font-size: 14px;
  }
}
@media screen and (max-width: 600px) {
  #cookies #cookies_info {
    font-size: 13px;
  }
}
#cookies #cookies_info:hover {
  color: var(--color-primary);
}
#cookies #okbutton {
  position: absolute;
  color: var(--color-primary);
  padding: 5px 12px;
  text-decoration: none;
  font-size: 26px;
  top: -5%;
  right: 0%;
  transition: 0.5s ease-in-out;
}
@media screen and (max-width: 800px) {
  #cookies #okbutton {
    font-size: 24px;
  }
}
@media screen and (max-width: 600px) {
  #cookies #okbutton {
    font-size: 22px;
  }
}
#cookies #okbutton:hover, #cookies #okbutton:visited {
  color: var(--color-secondary);
}

.error {
  grid-column: container-start/container-end;
  height: 100vh;
  background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.65), rgb(255, 255, 255)), url("../img/mada_bg404.avif");
  padding: 0 25px;
  overflow: hidden;
}
.error__container {
  height: 100%;
  position: relative;
  margin: 0 auto;
  padding: 250px 0;
}
@media screen and (max-width: 1100px) {
  .error__container {
    padding: 100px 0;
  }
}
@media screen and (max-width: 1100px) and (max-width: 800px) {
  .error__container {
    padding: 80px 0;
  }
}
@media screen and (max-width: 1100px) and (max-width: 600px) {
  .error__container {
    padding: 150px 0;
  }
}
@media screen and (max-width: 1100px) and (max-width: 400px) {
  .error__container {
    padding: 160px 0;
  }
}
.error__container h1 {
  text-align: center;
  font-size: 500px;
  line-height: 550px;
  color: var(--color-white);
  text-shadow: 2px 2px 2px var(--color-black-m);
}
@media screen and (max-width: 1100px) {
  .error__container h1 {
    font-size: 350px;
    line-height: 400px;
  }
}
@media screen and (max-width: 800px) {
  .error__container h1 {
    font-size: 300px;
    line-height: 350px;
  }
}
@media screen and (max-width: 600px) {
  .error__container h1 {
    font-size: 200px;
    line-height: 250px;
  }
}
@media screen and (max-width: 400px) {
  .error__container h1 {
    font-size: 120px;
    line-height: 160px;
  }
}
.error__container h3 {
  text-align: center;
  color: var(--color-white);
  font-size: 42px;
  text-shadow: 2px 2px 2px var(--color-black);
  z-index: 20;
  line-height: 1.2;
  animation: fadeIn 2s ease-in-out forwards;
}
@media screen and (max-width: 1100px) {
  .error__container h3 {
    top: 17%;
    font-size: 38px;
  }
}
@media screen and (max-width: 800px) {
  .error__container h3 {
    top: 30%;
    font-size: 32px;
  }
}
@media screen and (max-width: 600px) {
  .error__container h3 {
    top: 32%;
    font-size: 24px;
  }
}
@media screen and (max-width: 400px) {
  .error__container h3 {
    top: 32%;
    font-size: 20px;
  }
}
.error__container button {
  position: absolute;
  top: 71%;
  left: 50%;
  transform: translate(-50%, -71%);
  margin: 0 auto;
  text-align: center;
  background: var(--color-secondary);
  border: none;
  padding: 15px 30px;
  transition: 0.5s ease-in-out;
  box-shadow: 2px 2px 2px var(--color-white-m);
}
@media screen and (max-width: 1100px) {
  .error__container button {
    top: 97%;
    transform: translate(-50%, -97%);
  }
}
@media screen and (max-width: 800px) {
  .error__container button {
    top: 95%;
    transform: translate(-50%, -95%);
  }
}
@media screen and (max-width: 600px) {
  .error__container button {
    top: 90%;
    transform: translate(-50%, -90%);
    padding: 10px 15px;
  }
}
.error__container button a {
  color: var(--color-white);
}
.error__container button:hover {
  background: var(--color-primary);
}
.error__container .logo404 {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -62%);
  width: 150px;
  filter: drop-shadow(0 0 4px var(--color-white-m));
  animation: fadeIn 2s ease-in-out forwards;
}
@media screen and (max-width: 1100px) {
  .error__container .logo404 {
    width: 120px;
    top: 88%;
    transform: translate(-50%, -88%);
  }
}
@media screen and (max-width: 800px) {
  .error__container .logo404 {
    width: 100px;
    top: 78%;
    transform: translate(-50%, -78%);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.reserve, .features, .mada, .clients, .footer, .ab-bg1, .ab-bg2, .ab-bg3, .ab-bg4, .insur1, .insur2, .insur3, .insur4, .contactentry, .error {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.doc__heading, .showcase, .features, .mada, .mada__content--quote, .clients, .testimonials, .footer, .insur1, .insur2, .insur3, .insur4, .serviceslist .serviceslist__container .mada-title, .showcase-contact {
  padding: 5vh 4vw;
}

.section-motto, .motto__content--title, .reserve__h2, .title-big, .features, .mada__title, .testimonials__title {
  font-size: calc(1rem + 1vw);
  letter-spacing: 0.2rem;
  line-height: 1.2;
  color: var(--color-white);
}

.serviceslist .serviceslist__container .mada-title {
  font-size: calc(1rem + 1vw);
  letter-spacing: 0.2rem;
  line-height: 1.2;
  color: var(--color-primary);
}

.clients__title {
  font-size: calc(1rem + 1vw);
  letter-spacing: 0.2rem;
  line-height: 1.2;
  color: var(--color-black);
}

.testimonials__content--slider__slide--para {
  font-size: calc(0.7rem + 0.4vw);
  color: var(--color-black);
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.1rem;
  line-height: 1.8;
}

.reserve__content--section__title, .mada__content--quote, .clients__title--sub, .testimonials__content--slider__slide--title {
  font-size: calc(0.7rem + 0.4vw);
  color: var(--color-black);
}

.mada__content--card__specialty, .mada__content--card__name {
  font-size: calc(0.7rem + 0.4vw);
  color: var(--color-white);
}

.scroll {
  position: fixed;
  bottom: 35rem;
  right: 1.5rem;
  height: 4rem;
  width: 4rem;
  background-image: url("../img/up-arrow.svg");
  background-repeat: no-repeat;
  background-color: var(--color-white-m);
  background-size: contain;
  background-position: center;
  padding: 0.5rem;
  border-radius: 50%;
  z-index: 30;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(1, 0, 0, 1);
}

.scroll.active {
  visibility: visible;
  opacity: 1;
  bottom: 2rem;
}

.active-menu-link {
  color: var(--color-primary) !important;
}

.padding {
  grid-column: container-start/container-end;
  background: url("../img/services/animacja_bg.avif");
  margin: 80px 0;
  padding: 250px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: animation-background 700s linear infinite;
}
@media screen and (max-width: 800px) {
  .padding {
    padding: 200px 0;
  }
}
@media screen and (max-width: 600px) {
  .padding {
    background: url("../img/services/animacja_sm.avif");
    padding: 150px 0;
  }
}

.doc {
  grid-column: container-start/container-end;
  overflow: hidden;
  margin: 0 auto;
  padding-bottom: 30px;
  padding-left: 20px;
  z-index: 1;
}
.doc__heading {
  color: var(--color-primary);
  font-size: calc(1rem + 1vw);
  text-transform: uppercase;
  text-align: center;
}
.doc__subheading {
  color: var(--color-secondary);
  font-size: calc(0.7rem + 0.4vw);
  margin-bottom: 20px;
  margin-left: 20px;
}
.doc__document {
  margin-bottom: 15px;
}
.doc__document img {
  width: 70px;
  margin-right: 25px;
  padding-left: 15px;
}
@media screen and (max-width: 800px) {
  .doc__document img {
    width: 60px;
  }
}
@media screen and (max-width: 600px) {
  .doc__document img {
    width: 40px;
  }
}
.doc__document a:link,
.doc__document a:visited {
  font-size: 18px;
  transition: all 0.5s ease-in-out;
}
@media screen and (max-width: 800px) {
  .doc__document a:link,
  .doc__document a:visited {
    font-size: 16px;
  }
}
@media screen and (max-width: 600px) {
  .doc__document a:link,
  .doc__document a:visited {
    font-size: 14px;
  }
}
.doc__document a:link:link:hover, .doc__document a:link:visited:hover,
.doc__document a:visited:link:hover,
.doc__document a:visited:visited:hover {
  color: var(--color-secondary);
}/*# sourceMappingURL=main-style.css.map */