@charset "UTF-8";
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Stack Sans Headline", sans-serif;
  background: #fff;
  color: #000;
}

.container {
  max-width: 1316px;
  margin: 0 auto;
  padding: 0 10px;
  scroll-margin-top: 100px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
@media screen and (max-width: 1200px) {
  .hero {
    flex-direction: column;
  }
}
.hero__left {
  width: 100%;
  position: relative;
  display: flex;
  gap: 24px;
}
@media screen and (max-width: 1200px) {
  .hero__left {
    flex-direction: column;
  }
}
.hero__title {
  margin-bottom: 50px;
}
.hero__right {
  width: 100%;
  position: relative;
}
@media screen and (max-width: 1200px) {
  .hero__right img {
    width: 100%;
    height: auto;
  }
}

.ranking {
  border-radius: 48px 48px 0 0;
  background: #EFF4F7;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 1201px) {
  .ranking {
    padding: 60px 110px;
  }
}
.ranking__top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
@media screen and (max-width: 1200px) {
  .ranking__top {
    flex-direction: column;
  }
}
.ranking__left {
  width: 100%;
  max-width: 86px;
  position: relative;
  display: flex;
  gap: 24px;
}
@media screen and (max-width: 1200px) {
  .ranking__left {
    flex-direction: column;
  }
}
@media screen and (max-width: 1200px) {
  .ranking__left img {
    width: 100%;
    height: auto;
  }
}
@media screen and (min-width: 1201px) {
  .ranking__left::before {
    content: "";
    border-radius: 20px;
    background: var(--kolor-6, #C8DAE1);
    width: 2px;
    position: absolute;
    height: 198px;
    display: block;
    left: 50%;
    top: 96px;
    z-index: 999999;
  }
  .ranking__left::after {
    content: "";
    border-radius: 20px;
    background: #04C644;
    width: 2px;
    position: absolute;
    height: 120px;
    display: block;
    left: 50%;
    top: 294px;
    z-index: 999999;
  }
}
.ranking__right {
  width: 100%;
  position: relative;
}
.ranking__content h1 {
  margin-bottom: 40px;
}
.ranking__content h2 {
  margin-bottom: 20px;
}
.ranking__content h2:nth-child(3) {
  margin-bottom: 50px;
  font-size: 24px;
  font-weight: 300;
}
.ranking__contentText {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.ranking__list--icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 1200px) {
  .ranking__list--icon {
    flex-direction: column;
  }
}
.ranking__list--icon::before {
  height: 20px;
  position: relative;
  width: 20px;
  display: block;
}
.ranking__listHeader {
  display: grid;
  grid-template-columns: 10% 1fr 18% 1fr;
  grid-template-rows: auto;
  grid-gap: 5px;
  align-items: start;
  padding: 20px 0;
  background: #fff;
  color: #000;
  font-weight: 700;
  border-bottom: 1px solid #C8DAE1;
  text-align: center;
}
@media screen and (min-width: 767px) {
  .ranking__listHeader {
    grid-template-columns: 86px 1fr 255px 220px;
    grid-template-rows: unset;
    grid-gap: 0px;
    align-items: center;
  }
}
.ranking__listItem {
  display: grid;
  grid-template-columns: 10% 1fr 18% 1fr;
  grid-template-rows: auto;
  grid-gap: 5px;
  align-items: center;
  padding: 20px 0;
  text-align: center;
  background: #fff;
  transition: background 0.2s;
}
@media screen and (min-width: 767px) {
  .ranking__listItem {
    grid-template-columns: 86px 1fr 255px 220px;
    grid-template-rows: unset;
    grid-gap: 0;
  }
}
.ranking__listItem:hover {
  background: #E5EDF2;
}
.ranking__listItem:nth-child(odd) {
  background: #EFF4F7;
}
.ranking__listItem:nth-child(odd):hover {
  background: #E5EDF2;
}
.ranking__listItem--stars {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .ranking__listItem--stars {
    flex-direction: column;
    gap: 5px;
  }
  .ranking__listItem--stars span {
    display: none;
  }
}
.ranking__listNr {
  height: 20px;
}
.ranking__listCompany::before {
  content: url(../images/list-icon-2.svg);
}
.ranking__listRank::before {
  content: url(../images/list-icon-3.svg);
}
.ranking__listWebsite::before {
  content: url(../images/list-icon-4.svg);
}
.ranking__details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media screen and (max-width: 1200px) {
  .ranking__details {
    gap: 30px;
  }
}
.ranking__detailsItem {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  animation: fadeIn 0.3s ease;
}
@media screen and (max-width: 1200px) {
  .ranking__detailsItem {
    padding: 20px;
  }
}
.ranking__detailsWrap {
  display: flex;
  width: 100%;
  gap: 24px;
}
@media screen and (max-width: 1200px) {
  .ranking__detailsWrap {
    flex-direction: column;
  }
}
.ranking__detailsLeft {
  width: 100%;
  max-width: 86px;
  position: relative;
}
.ranking__detailsRight {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ranking__detailsHeading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
@media screen and (max-width: 1200px) {
  .ranking__detailsHeading {
    flex-direction: column;
    gap: 20px;
  }
}
.ranking__detailsHeadingTitle {
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.ranking__detailsHeadingRating {
  border-radius: 8px;
  background: #EFF4F7;
  padding: 10px 20px;
  width: 100%;
  max-width: 344px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 1200px) {
  .ranking__detailsHeadingRating {
    justify-content: flex-start;
  }
}
.ranking__detailsHeadingRating .starsText {
  font-size: 13px;
  font-weight: 700;
  line-height: 160%;
}
.ranking__detailsHeadingRating .starsWrap {
  font-weight: 700;
}
.ranking__detailsHeadingRating .stars {
  vertical-align: middle;
  margin-right: 10px;
}
.ranking__detailsHeadingRating::before {
  content: "";
  background-image: url("../images/rating.svg");
  position: relative;
  width: 40px;
  height: 40px;
  display: block;
  background-repeat: no-repeat;
}
.ranking__detailsBoxesItems {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  row-gap: 10px;
}
.ranking__detailsBoxesItem {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 8px;
  background: #EFF4F7;
  padding: 10px 20px;
  width: 100%;
  height: 60px;
  flex: 0 0 calc(50% - 5px);
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItem {
    flex: 0 0 48%;
    gap: 10px;
    height: auto;
    flex-direction: column;
    display: flex;
    text-align: center;
    justify-content: center;
  }
}
.ranking__detailsBoxesItem span {
  padding-left: 60px;
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItem span {
    padding-left: 0px;
    padding-top: 0px;
  }
}
.ranking__detailsBoxesItemGoogle::before {
  content: "";
  background-image: url("../images/g.svg");
  position: absolute;
  width: 40px;
  height: 40px;
  display: block;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItemGoogle::before {
    position: relative;
  }
}
.ranking__detailsBoxesItemWebsite::before {
  content: "";
  background-image: url("../images/www.svg");
  position: absolute;
  width: 40px;
  height: 40px;
  display: block;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItemWebsite::before {
    position: relative;
  }
}
.ranking__detailsBoxesItemGoogle2::before {
  content: "";
  background-image: url("../images/star.svg");
  position: absolute;
  width: 40px;
  height: 40px;
  display: block;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItemGoogle2::before {
    position: relative;
  }
}
.ranking__detailsBoxesItemReviews::before {
  content: "";
  background-image: url("../images/reviews.svg");
  position: absolute;
  width: 40px;
  height: 40px;
  display: block;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItemReviews::before {
    position: relative;
  }
}
.ranking__detailsBoxesItemOpening::before {
  content: "";
  background-image: url("../images/opening.svg");
  position: absolute;
  width: 40px;
  height: 40px;
  display: block;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItemOpening::before {
    position: relative;
  }
}
.ranking__detailsBoxesItemPhone::before {
  content: "";
  background-image: url("../images/phone.svg");
  position: absolute;
  width: 40px;
  height: 40px;
  display: block;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .ranking__detailsBoxesItemPhone::before {
    position: relative;
  }
}
.ranking__detailsReviews {
  display: block;
  border-radius: 8px;
  border: 1px solid #C8DAE1;
  padding: 20px;
}
.ranking__detailsIframeTop {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 8px 8px 0 0;
  background: #EFF4F7;
}
.ranking__detailsIframeHeading {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
iframe {
  border-radius: 0 0 8px 8px;
  width: 100%;
  height: 300px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#showContent {
  transition: opacity 0.3s ease;
}

#showContent.faded {
  opacity: 0.3; /* odsłabienie treści */
}

.button {
  display: inline-block;
  padding: 10px 10px;
  border-radius: 8px;
  color: #04C644;
  text-decoration: none;
  transition: 0.2s;
  background: #04C644;
  border-width: 0;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
}
@media screen and (min-width: 1201px) {
  .button {
    padding: 10px 20px;
  }
}
.button:hover {
  background: #000;
  color: #fff;
}

.buttonLink {
  display: inline-block;
  padding: 10px 10px;
  border-radius: 8px;
  color: #04C644;
  text-decoration: none;
  transition: 0.2s;
  background: #04C644;
  border-width: 0;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
}
@media screen and (min-width: 1201px) {
  .buttonLink {
    padding: 10px 20px;
  }
}
.buttonLink:hover {
  background: #000;
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin: 0;
}

h1 {
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
}

h2 {
  font-size: 32px;
  font-weight: 300;
  line-height: normal;
}

h3 {
  font-size: 24px;
  font-weight: 300;
  line-height: normal;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.title {
  font-size: 32px;
  font-weight: 300;
  line-height: normal;
}

strong {
  font-weight: 700;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #000;
  font-family: "Stack Sans Headline", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 160%;
}

ul {
  margin-top: 30px;
  margin-bottom: 0;
}

a {
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 160%;
  text-decoration: none;
  color: #000;
  transition: 0.2s;
}
a:hover {
  color: #04C644;
}

header {
  padding: 10px 0 0;
}
@media screen and (max-width: 1200px) {
  header {
    padding: 10px 0;
  }
}
header .header__container {
  max-width: 1296px;
  margin: 0 auto;
}
@media screen and (max-width: 1200px) {
  header .header__container {
    padding: 0 10px;
  }
}
header .header__left {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 767px) {
  header .header__left {
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: row;
  }
}
@media screen and (max-width: 767px) {
  header .header__left img {
    max-width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  header .header__left img:nth-child(1) {
    width: 170px;
  }
}

footer {
  text-align: center;
}

.footer {
  background: #EFF4F7;
  border-top: 1px solid #C8DAE1;
  padding: 40px 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 160%;
  color: #ACB8BD;
}
@media screen and (max-width: 1200px) {
  .footer {
    padding: 40px 20px;
    flex-direction: column;
    gap: 20px;
  }
}