/* ------ large and medium devices (dekstops and laptops, 992px and up) -----*/
@media (min-width: 992px) {
  html {
    font-size: 0.52vw;
  }

  .container {
    max-width: 172rem;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  html {
    font-size: 50%;
  }

  .container {
    padding: 0;
  }

  .container-fluid,
  .menu_container {
    width: 720px;
  }

  /* ========= Main Content Area ========= */
  .hero-slide-inner {
    left: 8.5rem;
    bottom: 10rem;
  }

  .hero-area .swiper-pagination {
    left: 8.5rem;
    bottom: 7rem;
  }

  .kino-area .row {
    --bs-gutter-y: 2.5rem;
  }

  main {
    overflow: hidden;
  }

  .kino-list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .services-area .row {
    --bs-gutter-y: 4rem;
  }

  .section-bottom {
    margin: 8rem auto 0 auto;
    height: 12rem;
  }

  main {
    overflow: hidden;
  }

  .kino-list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .services-area .row {
    --bs-gutter-y: 4rem;
  }

  .section-bottom {
    margin: 8rem auto 0 auto;
  }

  .program-inner {
    flex-direction: column-reverse;
    gap: 6rem;
    padding: 8rem 0 0;
  }

  .program-img-wrap {
    transform: scale(0.85);
    margin-bottom: -4rem;
  }

  .animate-hand {
    animation: bottom-to-top 3s infinite ease-in-out;
  }

  @keyframes bottom-to-top {
    0% {
      transform: translateY(-7rem) translateX(-6.5rem) rotate(-90deg);
    }

    20% {
      transform: translateY(-7rem) translateX(-6.5rem) rotate(-90deg);
    }

    50% {
      transform: translateY(-25rem) translateX(-6.5rem) rotate(-90deg);
    }

    70% {
      transform: translateY(-25rem) translateX(-6.5rem) rotate(-90deg);
    }

    100% {
      transform: translateY(-7rem) translateX(-6.5rem) rotate(-90deg);
    }
  }

  .title_120 {
    font-size: 8rem;
    line-height: 1.15;
  }

  .blog-star {
    width: 22rem;
    left: -3rem;
  }

  .card-flex .card-link {
    max-width: 22rem;
  }

  .gy-60 {
    --bs-gutter-y: 4rem;
  }

  .vhs-content-wrapper {
    padding-right: 0;
    flex-direction: column;
    gap: 8rem;
  }

  .content.vhs-content {
    max-width: 90%;
    text-align: center;
    margin: 0 auto;
  }

  .vacume-img {
    max-width: 28rem;
    margin: 0 auto 0;
  }

  .pb_80 {
    padding-bottom: 5rem;
  }

  .section-bottom .title_30 {
    font-size: 2.6rem;
  }

  .section-bottom-img {
    width: 22rem;
  }

  .services-area-two {
    padding: 20rem 0 22rem;
  }

  .zatos-left {
    padding: 12rem 0 12rem 0;
  }

  .zatos-content {
    flex-direction: column;
    gap: 15rem;
    padding-left: 0;
  }

  .zatos-right {
    width: 100%;
  }

  .zatos-img {
    margin-left: auto;
    transform: scale(0.85);
    margin-bottom: -4rem;
  }

  .zatos-area {
    padding-bottom: 10rem;
  }

  .nasze-row {
    flex-direction: column;
    align-items: center !important;
  }

  .nasze-content {
    max-width: 100%;
    padding: 5rem 0;
    text-align: center;
  }

  .nasze-row1 .nasze-content,
  .nasze-row2 .nasze-content,
  .nasze-row3 .nasze-content {
    padding: 5rem 0;
  }

  .nasze-img {
    max-width: 50rem;
  }

  .nasze-title-box {
    max-width: 100%;
    padding: 10rem 0 8rem 0;
    text-align: center;
  }

  .nasze-row2 {
    padding: 10rem 0 10rem;
  }

  .nasze-row {
    flex-direction: column;
    align-items: center !important;
  }

  .nasze-content {
    max-width: 100%;
    padding: 5rem 0;
    text-align: center;
  }

  .nasze-row1 .nasze-content,
  .nasze-row2 .nasze-content,
  .nasze-row3 .nasze-content {
    padding: 5rem 0;
  }

  .nasze-img {
    max-width: 50rem;
  }

  .nasze-title-box {
    max-width: 100%;
    padding: 10rem 0 8rem 0;
    text-align: center;
  }

  .nasze-row2 {
    padding: 10rem 0 10rem;
  }

  .newsletter-left {
    padding-left: 0;
    text-align: center;
    margin: 0 auto;
  }

  .newsletter-left .title_120 {
    padding-left: 0;
    padding-bottom: 2.5rem;
  }

  .newsletter-content-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 5rem;
  }

  .newsletter-animation {
    margin: 0 auto;
  }

  .newsletter-right {
    width: 100%;
  }

  .newsletter-input {
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
  }

  .newsletter-area {
    padding: 8rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 7.5rem;
    padding: 6rem 8.5rem;
  }

  .footer-title {
    padding-bottom: 2rem;
    margin-bottom: 4rem;
  }

  /* ================== site_header ================== */
  .nav-left {
    gap: 6rem;
    width: 100%;
    justify-content: space-between;
  }

  .site_header nav {
    padding: 0 4rem;
  }

  /* ================== kino-area ================== */
  .kino-area {
    padding: 10rem 0 10rem 0;
  }

  .title_140 {
    font-size: 10rem;
  }

  .kino-icon {
    top: 3rem;
    width: 28rem;
    right: -2rem;
    transform: rotate(15deg);
  }

  .footer-col2 .footer-title {
    margin-bottom: 2.5rem;
  }

  /* ================= Megamenu One ================ */
  .menu-nav {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .search-tags {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.6rem 1.5rem;
    margin-bottom: 6.5rem;
  }

  .menu-bottom {
    grid-template-columns: 1fr 22rem;
  }

  .menu-nav-top {
    padding: 0;
    gap: 6rem;
  }

  /* ================= dark-overlay =================== */
  .megamenu-two-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .menu-two-box1 {
    margin-top: 4rem;
  }

  .dark-overlay .search-tags {
    gap: 1.5rem;
    margin-bottom: 6.5rem;
  }

  .menu-arrow-blocks-list {
    margin-top: 8.5rem;
  }

  .dark-overlay .menu-nav-top > .menu-nav-top {
    border: 0;
  }

  /* mobile-items */
  .mobile-items .language-select-dropdown li.active {
    color: #fff;
  }

  .mobile-items .language-select-dropdown li {
    font-size: 1.5rem;
  }

  .mobile-items .header-btn {
    font-size: 1.5rem;
    width: fit-content;
    padding: 0 2rem;
  }
}

/* ------ Medium devices (tablets, 768px and up) -----*/
@media (min-width: 768px) {
  /* ================ card-flex start ================ */
  .card-flex {
    display: flex;
    flex-direction: row;
  }

  .card-flex .card-info {
    padding: 11.5rem 2.7rem 2.9rem 2.7rem;
    display: grid;
    align-content: space-between;
  }

  .card-flex .card-img {
    width: 28rem;
    height: 30rem;
  }

  .card-flex:before {
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    height: 100%;
    width: 3rem;
    border-radius: 1.6rem;
    border-left: 0;
    border-top: 0.3rem solid var(--light);
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
  }

  .card-flex .icon-right {
    top: 2.6rem;
    right: 2.6rem;
  }

  /* ================ card-flex end ================ */

  .newsletter-animation {
    max-width: 61.2rem;
  }
}

/*----- sm devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  /* ============ default styles ============ */
  html {
    font-size: 55%;
  }

  .primary_menu,
  .container-fluid,
  .menu_container {
    width: 540px;
  }

  :root {
    --menuHeight: 8rem;
  }

  /* ================ hero-area ================ */
  .hero-slide-inner {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    width: 90%;
  }

  .hero-slide-inner svg {
    width: 12rem;
    margin: 0 auto;
  }

  .hero-area .swiper-pagination {
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }

  .hero-slide-inner h6 {
    padding: 0.8rem 0 1.2rem;
  }

  .hero-img {
    height: 50rem;
  }

  .tytuly-32 {
    font-size: 2.8rem;
    line-height: 1.3;
  }

  .title_140 {
    font-size: 7rem;
  }

  .kino-icon {
    top: 2rem;
    width: 25rem;
    z-index: 1;
    right: -7rem;
    transform: rotate(12deg);
  }

  .kino-list {
    grid-template-columns: 1fr 1fr;
    margin-top: 4rem;
  }

  .title_140 {
    font-size: 7rem;
  }

  .kino-icon {
    top: 2rem;
    width: 25rem;
    z-index: 1;
    right: -7rem;
    transform: rotate(12deg);
  }

  .kino-list {
    grid-template-columns: 1fr 1fr;
    margin-top: 4rem;
  }

  .program-img-wrap {
    transform: scale(0.5);
    margin-bottom: -13rem;
    margin-top: -11rem;
  }

  .title_30 {
    font-size: 2.4rem;
  }

  .title_74 {
    font-size: 4.8rem;
  }

  .program-content .title_74 {
    font-size: 4rem;
  }

  .program-content {
    text-align: center;
  }

  .program-content .title_30 {
    font-size: 2.2rem;
  }

  .program-inner {
    padding: 6rem 0 0;
  }

  .services-area {
    padding-bottom: 10rem;
  }

  .service-header {
    margin-bottom: 8rem;
  }

  .blog-star {
    width: 12rem;
    left: -2rem;
  }

  .title_120 {
    font-size: 5rem;
  }

  .service-header .title_120 {
    font-size: 4.4rem;
  }

  .card-flex .card-link {
    max-width: 24rem;
  }

  .services-area-two {
    padding: 10rem 0 20rem;
  }

  .service-header {
    margin-bottom: 8rem;
  }

  .blog-star {
    width: 12rem;
    left: -2rem;
  }

  .title_120 {
    font-size: 5rem;
  }

  .service-header .title_120 {
    font-size: 4.4rem;
  }

  .card-flex .card-link {
    max-width: 24rem;
  }

  .services-area-two {
    padding: 10rem 0 20rem;
  }

  .face-animation {
    width: 85rem;
    transform: scale(0.5);
    margin: 0 auto;
    margin-top: -18rem;
  }

  .vhs-images {
    display: grid;
    justify-content: center;
  }

  .vhs-content-wrapper {
    align-items: center !important;
  }

  .vacume-img {
    max-width: 22rem;
    margin-top: -15rem;
  }

  .title_60 {
    font-size: 3.6rem;
  }

  .vhs-content .title_60 {
    font-size: 3rem;
  }

  .pb_80 {
    padding-bottom: 3rem;
  }

  .title_70 {
    font-size: 4.2rem;
  }

  .zatos-left p {
    font-size: 2.2rem;
  }

  .zatos-img {
    transform: scale(0.48) translateX(-9rem);
    margin-bottom: -13rem;
    margin-top: -38rem;
  }

  .zatos-left {
    text-align: center;
  }

  .zatos-left .title_70 {
    font-size: 3.2rem;
  }

  .nasze-img {
    max-width: 32rem;
  }

  .title_48 {
    font-size: 3.6rem;
  }

  .nasze-row2 {
    padding: 6rem 0 6rem;
  }

  .nasze-area {
    padding-bottom: 10rem;
  }

  .nasze-title-box {
    padding: 12rem 0 8rem 0;
  }

  .newsletter-left .title_30 {
    max-width: 37.5rem;
    margin: 0 auto 3rem;
    font-size: 2.2rem;
  }

  .newsletter-input input {
    width: 100%;
  }

  .newsletter-input {
    width: 90%;
    margin: 0 auto;
  }

  .newsletter-left .title_120 {
    font-size: 4.4rem;
  }

  .newsletter-content-wrap {
    gap: 3rem;
  }

  .newsletter-left .title_30 {
    max-width: 37.5rem;
    margin: 0 auto 3rem;
    font-size: 2.2rem;
  }

  .newsletter-input input {
    width: 100%;
  }

  .newsletter-input {
    width: 90%;
    margin: 0 auto;
  }

  .newsletter-left .title_120 {
    font-size: 4.4rem;
  }

  .newsletter-content-wrap {
    gap: 3rem;
  }

  .footer-content {
    gap: 5rem;
    padding: 5rem 2.5rem;
  }

  .footer-logos {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    justify-content: flex-start !important;
  }

  .footer-logo1 {
    width: 11rem;
  }

  .footer-logo2 {
    width: 10rem;
  }

  .footer-logo3 {
    width: 10rem;
  }

  .footer-logo4 {
    width: 12rem;
  }

  .footer-logo5 {
    width: 8rem;
  }

  .footer-title h4 {
    white-space: normal;
  }

  .footer-col3 ul li a {
    width: 4rem;
    height: 4rem;
  }

  .footer-col2 .footer-title {
    margin-bottom: 3.5rem;
  }

  .tiktok {
    width: 2rem;
  }

  .instagram {
    width: 2rem;
  }

  /* site_header */
  .site_header nav {
    padding: 0 2.5rem;
  }

  .nav-left {
    gap: 4rem;
    width: 100%;
    justify-content: space-between;
  }

  .logo img {
    width: 18rem;
  }

  /* =============== progress-wrap =============== */
  .progress-wrap {
    height: 5rem;
    width: 5rem;
  }

  .arrow_top {
    width: 2.4rem;
  }

  /* ================== kino-area ================== */
  .kino-area {
    padding: 6rem 0 10rem 0;
  }

  /* ================== newsletter-right ================== */
  .newsletter-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .newsletter-animation {
    max-width: auto;
    width: 61.2rem;
    transform: scale(0.65);
    flex: 0 0 auto;
    position: relative;
    margin-left: 1rem;
    margin-bottom: -10rem;
    margin-top: -11rem;
  }

  /* ============ Megamenu one =============== */
  .menu-nav {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .search-tags {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1rem;
    margin-bottom: 6.5rem;
  }

  .menu-bottom {
    display: flex;
    flex-direction: column-reverse;
    gap: 6rem;
  }

  .nav-col h4,
  .search-section h4,
  .media-section h4,
  .language-section h4,
  .menu-overlay h4 {
    margin-bottom: 2rem;
  }

  .language-section {
    margin-top: 6rem;
  }

  .search-section h4 {
    width: 100%;
  }

  .menu-nav-top {
    padding: 0;
    gap: 6rem;
    justify-content: space-between;
  }

  .search-form button {
    width: 12rem;
  }

  .search-form button svg {
    width: 12rem;
    height: 1.2rem;
  }

  .search-form input {
    border-bottom: 0.1rem solid #f6f7f2;
    padding-right: 14rem;
  }

  /* ============ Dark Overlay =============== */
  .card.v3 {
    min-height: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .card-three-list {
    display: flex;
    flex-direction: column;
  }

  .card.v3 .card-info h4 {
    padding: 2rem 0;
  }

  .card.v3 .card-info {
    padding: 2rem;
  }

  .card.v3 .card-img {
    height: 25rem;
    width: 100%;
  }

  .dark-overlay .search-tags {
    grid-template-columns: 1fr 1fr;
  }

  .dark-overlay .menu-nav-top > .menu-nav-top {
    padding-left: 0;
    border: 0;
  }

  .hamburger-btn {
    gap: 0.6rem;
    width: 3.5rem;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.32vw;
  }

  /* menu */
  .primary_menu,
  .container-fluid {
    width: calc(100%);
  }

  .container {
    padding: 0 2rem;
  }

  .hero-slide-inner h6 {
    font-size: 2.4rem;
  }

  /* ============ Megamenu one =============== */
  .menu-nav {
    grid-template-columns: 1fr 1fr;
  }

  .search-tags .btn {
    min-width: 100%;
  }

  .nav-col h4,
  .search-section h4,
  .media-section h4,
  .language-section h4,
  .menu-overlay h4 {
    font-size: 1.6rem;
    text-align: left;
  }
}
