header {
  background-color: var(--secondary);
}

.header-wrapper {
  display: flex;
  align-items: center;
  gap: 70px;
  min-height: 60vh;
}

.header-text {
  flex-basis: 50%;
}

.header-text h2 {
  font-size: 4.2rem;
  font-weight: 700;
}

.header-text .btn-primary-link {
  margin-top: 25px;
  font-size: 2.4rem;
}

.header-image-wrapper {
  flex-basis: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.about-image-wrapper {
  flex-basis: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-text {
  flex-basis: 60%;
}

.about-text p {
  font-size: 1.8rem;
}

.about-link {
  margin: 25px 0 0 auto;
}

#jakwygracwybory {
  /* background-color: var(--secondary); */
}

#jakwygracwybory h2 {
  margin-bottom: 50px;
}

.how-to-win-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}

.how-to-win-wrapper p {
  flex-basis: 27%;
  padding: 15px;
  border-radius: 20px;
  border: 2px solid var(--primary);
}

.how-to-win-wrapper .strong {
  font-weight: 700;
}

.list-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.webinar-list {
  list-style: none;
  margin-bottom: 40px;
}

.webinar-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.yt-video-iframe {
  width: 800px;
  margin: 0 auto;
  display: block;
  height: 500px;
}

.arrow-right {
  flex-basis: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#darmowywebinar {
  background-color: var(--secondary);
}

#oferta {
  /* background-color: var(--secondary); */
}

.single-webinar {
  border: 2px solid var(--primary);
  padding: 15px;
  border-radius: 30px;
  display: flex;
  gap: 50px;
  margin-bottom: 30px;
}

.webinar-photo-wrapper-right {
  display: none;
}

.single-webinar__left {
  flex-basis: 40%;
}

.single-webinar__right {
  flex-basis: 60%;
}

.webinar-reference-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

.webinar-reference-item__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 30px;
}

.webinar-reference-item__bottom {
  font-size: 18px;
  font-weight: 700;
}

.webinar-reference-item__content {
  font-size: 18px;
}

footer {
  background-color: var(--secondary);
}

.single-webinar-text-before-name {
  border-bottom: 2px solid var(--primary);
  width: fit-content;
  margin-bottom: 10px;
}

.single-webinar-desc-title {
  margin: 25px 0 10px 0;
}

.single-webinar-desc {
  margin-bottom: 20px;
}

.single-webinar-time {
  font-style: italic;
  font-size: 14px;
}

.single-webinar-link {
  margin:0 0 0 auto;
}

.single-webinar-price {
  text-align: right;
  margin-bottom: 15px;
  margin-top: 30px;
  font-size: 18px;
}

.offer-info {
  margin: 25px 0;
  font-size: 12px;
  font-style: italic;
}

.arrow-right.hide-desktop {
  display: none;
}

.invoice-info {
  margin-bottom: 20px;
}

#webinarReferencje {
  background-color: var(--secondary);
}

@media (max-width: 992px) {
  .yt-video-iframe {
    width: 100%;
  }

  .single-webinar__right {
    flex-basis: 100%;
  }

  .how-to-win-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .how-to-win-wrapper p {
    flex-basis: 100%;
    padding: 10px;
  }

  .arrow-right img{
    transform: rotate(90deg);
  }

  .arrow-right.hide-desktop {
    display: flex;
  }

  .webinar-photo-wrapper-right {
    display: block;
    margin: 30px 0;
  }

  .webinar-photo-wrapper-right img {
    /* max-height: 200px; */
    width: 100%;
  }

  .single-webinar__left {
    display: none;
  }
}

@media (max-width: 768px) {
  .yt-video-iframe {
    height: 300px;
  }

  .header-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .header-text h2 {
    font-size: 3.2rem;
  }

  .about-wrapper {
    flex-direction: column;
    gap:30px;
  }



  #jakwygracwybory h2 {
    margin-bottom: 25px;
  }
}