/* 
* Fonts
*/

/* open-sans-regular - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/open-sans-v40-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* merriweather-regular - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/merriweather-v30-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  
/* merriweather-700 - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/merriweather-v30-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* 
* Global Styles
*/

:root {
    --primary-color: #FF8400;
    --primary-color-hover: #994f00;
    --color-white: #ffffff;
    --bg-color: linear-gradient(180deg, #000000 0%, var(--menu-bg-color) 50%, #666666 100%);
    --menu-bg-color: #303030;
    --box-shadow-color: rgba(255, 132, 0, 1);
    --slides-per-view: 1;

    @media (min-width: 700px) {
        --slides-per-view: 2;
    }

    @media (min-width: 1200px) {
        --slides-per-view: 3;
    }
}

.logo {
    max-width: 150px;

    @media (min-width: 1200px) {
        max-width: 200px;
    }
}

.social-image {
    max-width: 15px;
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(5%) saturate(2%) hue-rotate(292deg) brightness(103%) contrast(100%);
}

a {
    color: var(--color-white);
    text-decoration: underline;
}

h1, 
h2,
h3,
h4,
h5,
h6 {
    margin: 20px 0 30px 0;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    letter-spacing: 2px;
    box-sizing: border-box;
}

.container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-color); 
    min-height: 100vh;
    color:var(--color-white);
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
}

div,
nav,
p {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

.form-info {
    text-align: center;
    font-size: 24px;
    margin-top: 50px;
    margin-bottom: 0;
}

/* 
* Header
*/
.header {
    width: 100%;
}

.header .header-box1-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header .header-box1-inner .imagus-phonus {
    width: auto;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(11%) hue-rotate(217deg) brightness(105%) contrast(104%);
    margin-right: 5px;
}

.header .header-box2 {
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0px 0px 15px 0px var(--box-shadow-color);
}

.header .header-box2-inner {
    display:flex;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;

    @media (min-width: 1200px) {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.header .menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--menu-bg-color);
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    transition: right 0.2s ease-in-out;
    
    @media (min-width: 1200px) {
        position: static;
        width: auto;
        height: auto;
        align-items: center;
        margin-left: auto;
        background-color: transparent;
        z-index: 0;
        flex-direction: row;
        padding: 0;
    }
}

.header .menu-wrapper-opened {
    right: 0;
}

.header .close-icon-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;

    @media (min-width: 1200px) {
        display: none;
    }
}

.header .close-icon {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.header .close-icon .line-1,
.header .close-icon .line-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
}

.header .close-icon .line-1 {
    transform: translate(-50%, -50%) rotate(45deg);
}

.header .close-icon .line-2 {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.header .main-nav {
    margin: 40px 0 0 0;

    @media (min-width: 1200px) {
        margin: 0;
    }
}

.header .header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    
    @media (min-width: 1200px) {
        display: flex;
        gap: 10px;
        margin-right: 10px;
    }
}

.header .header-menu-el a {
    display: block;
    text-decoration: none;
    font-size: 20px;
    padding: 10px 0;
    transition: color 0.2s ease-in-out;
}

.header .header-menu-el a:hover {
    color: var(--primary-color);
}

.header .admin-button,
.header .login-button {
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 20px;
    margin: 20px 0 0 0;
    cursor: pointer;
    text-decoration: none;

    @media (min-width: 1200px) {
        margin: 0 0 0 10px;
    }
}

.header .admin-button {
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    transition: background-color 0.2s ease-in-out;
}

.header .admin-button:hover {
    background-color: var(--color-white);
}

.header .login-button {
    background-color: var(--primary-color);
    color: var(--color-white);
    border: none;
    transition: background-color 0.2s ease-in-out;
}

.header .login-button:hover {
    background-color: var(--primary-color-hover);
}

.header .admin-button .user-image,
.header .login-button .user-image {
    width: auto;
    height: 20px;
    margin-right: 5px;
}

.header .admin-button .user-image {
    filter: brightness(0) saturate(100%) invert(47%) sepia(100%) saturate(925%) hue-rotate(359deg) brightness(101%) contrast(106%);
}

.header .login-button .user-image {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(11%) hue-rotate(217deg) brightness(105%) contrast(104%);
}

.header .hamburger-menu {
    margin-left: 20px;
    width: 50px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;
    margin-left: auto;
    cursor: pointer;

    @media (min-width: 1200px) {
        display: none;
    }
}

.header .hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
}


/* 
* Slider
*/

/* Slider CSS begins here */

.slideshow-container {
    margin-top: 100px;
    margin-bottom: 100px;
}

.slideshow-container .slider-wrap {
    display: flex;
    position: relative;
    padding-left: 45px;
    padding-right: 45px;
}

.slideshow-container .slider-main { 
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.slideshow-container .slides-wrapper {
    display: flex;
    position: relative;
    left: 0;
    height: 100%;
    transition: left 0.2s ease-in-out;
}

.slideshow-container .slider-main .item {
    width: 100%;
    display: inline-block;
    background: transparent;
    position: relative;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    text-decoration: none;

    @media (min-width: 700px) {
        width: 50%;
    }

    @media (min-width: 1200px) {
        width: 33.33%;
    }
}

.slideshow-container .item .image-container {
    display: flex;
    justify-content: center;
}

.slideshow-container .item .movie-mini-image {
    border-radius: 15px;
}

.slideshow-container .item .title-container {
    text-align: center;
    font-size: 18px;
}

.slideshow-container .btn-area .slider-button {
    position: absolute;
    top: calc(50% - 20px);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    padding: 3px 0 0 0;
    border: none;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;

    @media (min-width: 700px) {
        width: 50px;
        height: 50px;
    }
}

.slideshow-container .btn-area .slider-button-left {
    left: 0;
    transform: rotate(90deg);
}

.slideshow-container .btn-area .slider-button-right {
    right: 0;
    transform: rotate(-90deg);
}

.slideshow-container .btn-area .slider-button img {
    width: 80%;
    height: auto;
}

.slideshow-container .btn-area .slider-button:hover {
    background-color: var(--primary-color-hover);
}


/* Slider CSS ends here */

/* 
* Moviebox Container
*/
.moviestyle-container .category-section {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 80px;
    gap: 20px;

    @media (min-width: 700px) {
        max-width: 900px;
        gap: 30px;
    }

    @media (min-width: 1200px) {
        max-width: 100%;
    }
}

.moviebox-container {
    display: block;
    width: calc(50% - 10px);
    text-decoration: none;
    transition: transform 0.2s ease-in-out;

    @media (min-width: 500px) {
        width: 200px;
    }
}

.moviebox-container:hover {
    transform: scale(1.1);
}

.moviestyle-container .heading-moviebox {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
}

.moviebox-container .image-container {
    width: 100%;
    display: inline-block;
    background: #e4e4e4;
    position: relative;
    border: 2px dashed;
    flex-shrink: 0;
    margin-bottom: 15px;
    border-radius: 15px;
    border: 2px solid var(--color-white);
    overflow: hidden;
    aspect-ratio: 200 / 290;
}

.moviebox-container .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moviebox-container .title-container {
    text-align: center;
    font-size: 18px;
    margin: 0;
}


/* 
* Footer
*/

.footer {
    border-top: 1px solid var(--primary-color);
    box-shadow: 0px 0px 15px 0px var(--box-shadow-color);
    margin-top: auto;
}

.footer-top {
    display: flex;
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 30px 0;

    @media (min-width: 1200px) {
        grid-template-columns: repeat(5, auto);
    }
}

.footer-top .footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: span 2;

    @media (min-width: 1200px)  {
        grid-column: span 1;
    }
}

.footer-top .footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-top .footer-list-element {
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-top .footer-list-element a {
    transition: color 0.2s;
}

.footer-top .footer-list-element a:hover {
    color: var(--primary-color);
}

.footer-socials .footer-list-element a {
    display: flex;
    align-items: center;
}

.footer-apps .footer-list-element img {
    width: 120px;
}

.footer-bottom {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid var(--color-white);

    @media (min-width: 1200px)  {
        display: flex;
        justify-content: space-between;
    }
}

.footer-bottom .footer-menu-list {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    
    @media (min-width: 500px) {
        display: flex;
    }

    @media (min-width: 1200px) {
        margin: 0;
    }
}

.footer-bottom .footer-menu-element {
   margin-bottom: 10px;

   @media (min-width: 500px) {
        margin-bottom: 0;
        margin-right: 15px;
   }
}

.footer-bottom .footer-menu-element a {
    transition: color 0.2s ease-in-out;
}

.footer-bottom .footer-menu-element a:hover {
    color: var(--primary-color);
}

.footer-bottom p {
    margin: 0;
}

/* https://www.figma.com/file/Uk6HVqiPz0A6UXiqtRK7ln/Cinema?node-id=0-1&mode=dev */


/* 
* Styles for: movies.php
*/

.sec-main {
    display: flex;
}

.sec-main .movie-infobox {
    display: block;
}

.sec-main .movie-container {
    padding-top: 120px;
    padding-bottom: 120px;
}

.sec-main .movie-image {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 0 0 20px 0;
}

.sec-main .movie-image img {
    border-radius: 15px;
}

.sec-main .movie-title {
    text-align: center;
    font-size: 34px;
}

.sec-main .movie-descriptin,
.sec-main .movie-actors,
.sec-main .movie-speaking-type {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}


/* 
* Styles for: login.php
*/

.login-main-box {
    margin-top: 60px;
    margin-bottom: 60px;

    @media (min-width: 500px) {
        margin-top: 120px;
        margin-bottom: 120px;
    }
}

.login-main-box .login-box-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.login-main-box .login-box-inner .login-form-container {
    width: 500px;
    max-width: 100%;
    padding: 60px 30px;
    border-style: double;
    border-color: var(--primary-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 5px;
}

.login-main-box .login-box-inner form {
    width: 100%;
}

.login-main-box .login-box-inner label {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 5px;
}

.login-main-box .login-box-inner input[type="text"] {
    width: 100%;
    font-size: 18px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.login-main-box .login-box-inner input[type="text"]:focus-visible {
    outline: 1px solid var(--color-white);
    outline-offset: 2px;
}

.login-main-box .login-box-inner input[type="password"] {
    width: 100%;
    font-size: 18px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.login-main-box .login-box-inner input[type="password"]:focus-visible {
    outline: 1px solid var(--color-white);
    outline-offset: 2px;
}

.login-main-box .login-box-inner .submit-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--color-white);
    border: none;
    margin-left: auto;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.login-main-box .login-box-inner .submit-button:hover {
    background-color: var(--primary-color-hover);
}

.register-box-addition {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.register-box-addition a {
    font-size: 18px;
    transition: color 0.2s ease-in-out;
}

.register-box-addition a:hover {
    font-size: 18px;
    color: var(--primary-color);
}


/* 
* Styles for: repertuar.php
* Styles for: cennik.php
*/

.info-page-section {
    margin-top: 50px;
    margin-bottom: 50px;
    overflow: auto;
}

.info-page-section .info-page-section-title {
    text-align: center;
}

.info-page-section .table {
    width: fit-content;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
}

.info-page-section .table .thead > div,
.info-page-section .table .tbody > div {
    display: flex;
    justify-content: space-between;
}

.info-page-section .table .thead div span,
.info-page-section .table .tbody div span {
    display: inline-block;
    width: 150px;
    padding: 15px;
}

.pricing .table .thead div span:first-child,
.pricing .table .tbody div span:first-child {
    @media (min-width: 700px) {
        width: 350px;
    }
}

.info-page-section .table .thead {
    background-color: var(--primary-color);
}

.info-page-section .table .thead div span {
    text-align: left;
}

/* 
* Styles for: promocje.php
* Styles for: nowosci.php
*/

.text-page-section {
    margin-top: 50px;
    margin-bottom: 50px;

    @media (min-width: 500px) {
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

.text-page-section .article-heading {
    font-size: 34px;
    text-align: center;
    margin-bottom: 50px;
}

.text-page-section .promotion,
.text-page-section .news {
    font-size: 34px;
    text-align: center;
    margin-bottom: 50px;
}

.text-page-section .promotion h3,
.text-page-section .news h3 {
    font-size: 24px;
    text-align: center;
}

.text-page-section .promotion p,
.text-page-section .news p {
    font-size: 18px;
    text-align: center;
}

/* for extra cookies page */

.cookies {
    font-size: 34px;
    text-align: center;
    margin-bottom: 50px;
    align-content: center;
    align-items: center;
    align-self: center;
}

.cookies-css-ex1 {
    width: 50px;
    height: 50px;
    margin-left: 650px;
    background-color: var(--primary-color);
}
.cookies-css-ex2 {
    width: 50px;
    height: 50px;
    margin-left: 650px;
    background-color: var(--color-white);
}

.cookies-css-ex3 {
    width: 50px;
    height: 50px;
    margin-left: 650px;
    background-color: var(--box-shadow-color);
}

.cookies-css-ex4 {
    width: 50px;
    height: 50px;
    margin-left: 650px;
    background-color: #000000;
}

.cookies-css-ex5 {
    width: 50px;
    height: 50px;
    margin-left: 650px;
    background-color: #666666;
}

.cookies-fonts-ex1 {
    font-family: 'Open Sans';
}

.cookies-fonts-ex2 {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
}

.cookies-fonts-ex3 {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
}


/* make sure to include entire alphabet per each font
