/*
Theme Name: Teatr Bliski
Author: Agata Rojewska
Version: 1.1
Description: Szablon dla Teatr Bliski
*/

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

html,
body {
    height: 100%;
}

html {
    --black-color: #0d0d0d;
    --white-color: #fff;
    --green-color: #38593a;
    --light-pink: #dca0b4;
    --dark-pink: #c23265;
    --bg-sensitive: #fef7f2;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    overflow: auto;
}

body {
    font-family: "Montserrat", serif;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 60px !important;
}

.bg-pink {
    background: #f4a261;
}

.bg-light-pink {
    background: #ffffff;
}

.bg-sensitive {
    background-color: #fef7f2;
}

.text-green {
    color: #f4a261;
}

.btn-green {
    background-color: #f4a261;
    color: var(--white-color);
    font-weight: bold;
    padding: 0.8em 1.6em;
    font-size: 1.1rem;
    border: 4px solid #f4a261;
    transition: background-color 0.3s, color 0.3s;
}

.btn-green:hover {
    background-color: transparent;
    color: #f4a261;
}

.img-brand {
    width: 230px;
}

.img-logo {
    max-width: 250px;
}

a.contact-header {
    text-decoration: none;
    color: var(--green-color);
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.navbar-toggler {
    border-radius: 0;
}

.navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-nav .active {
    font-weight: bold;
}

.menu ul li {
    padding: .5rem;
    list-style-type: none;
}

.menu ul li a:hover {
    text-decoration: underline;
    color: var(--green-color);
}


.menu ul li a {
    text-decoration: none;
    color: var(--black-color);
    list-style-type: none;
}

.img-aboutus {
    max-width: 300px;
}

main {
    flex: 1;
    background-color: var(--white-color);
}

footer {
    margin-top: auto;
}

.active {
    display: block;
}

.icon {
    transition: transform 0.3s ease;
}

.rotated {
    transform: rotate(180deg);
}

.contact {
    height: 400px;
}

.contact-number {
    text-decoration: none;
    font-size: 2rem;
    color: #0d0d0d;
    font-weight: bold;
}

.contact-number span {
    color: #f3a261;
    display: block;
}


.shows-img {
    width: 250px !important;
}

.workshops-icon {
    font-size: 2rem;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}


@media (min-width: 576px) {
    .shows-icon-text {
        font-size: 1.3rem;
    }
}


@media (min-width: 768px) {
    .accordion-btn {
        font-size: 1.3rem;
    }

    .contact-number {

        font-size: 2.3rem;
    }

    .contact-number span {

        display: inline;
    }

    .img-logo {
        max-width: 350px;
    }

    .shows-box {
        background-color: #fef7f2;
    }

    .box-workshops {
        font-size: 1.2rem;
    }

    .workshops-icon {
        font-size: 2.5rem;
    }

    .aboutus-text {
        font-size: 1.2rem;
    }

    .img-aboutus {
        max-width: 600px;
    }
}

@media (min-width: 361px) {
    .site-title {
        font-size: 70px !important;
    }
}

@media (min-width: 768px) {
    .site-title {
        font-size: 110px !important;
    }
}

@media (min-width: 992px) {
    .site-title {
        font-size: 80px !important;
    }
}

@media (min-width: 992px) {
    .menu ul {
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .site-title {
        font-size: 110px !important;
    }
}

/* Wyrównanie tekstu */
.has-text-align-left {
    text-align: left;
}

.has-text-align-right {
    text-align: right;
}

.has-text-align-center {
    text-align: center;
}

.has-text-align-justify {
    text-align: justify;
}

/* Kolory tła i tekstu */
.has-background {
    background-color: inherit; /* Możesz dostosować wg potrzeb */
}

.has-text-color {
    color: inherit; /* Możesz dostosować wg potrzeb */
}

.has-primary-color {
    color: var(--green-color); /* Przykładowy kolor */
}

.has-primary-background-color {
    background-color: var(--light-pink); /* Przykładowy kolor */
}

/* Rozmiar tekstu */
.has-small-font-size {
    font-size: 0.8rem;
}

.has-medium-font-size {
    font-size: 1rem;
}

.has-large-font-size {
    font-size: 1.25rem;
}

.has-huge-font-size {
    font-size: 1.5rem;
}

/* Stylizacja bloków */
.wp-block-image {
    margin: 0 auto;
    max-width: 100%;
}

.wp-block-quote {
    border-left: 4px solid var(--dark-pink);
    margin: 0 0 1em;
    padding: 0.5em 1em;
    font-style: italic;
    background-color: var(--bg-sensitive);
}

.wp-block-cover {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.wp-block-button .wp-block-button__link {
    background-color: var(--green-color);
    color: var(--white-color);
    padding: .5em 1em;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: var(--dark-pink);
}

/* Stylizacja list */
.wp-block-list {
    list-style-position: inside;
    padding-left: 1.5em;
}

.wp-block-list__item {
    margin-bottom: 0.5em;
}

.post-thumbnail {
    float: left; /* Pozwala tekstowi owijać się wokół obrazka */
    margin-right: 15px; /* Odstęp między obrazkiem a tekstem */
}

.post-excerpt {
    overflow: hidden; /* Zapobiega problemom z float, jeśli tekst jest dłuższy */
}


/* Domyślne style WP dla edytora WYSIWYG */

.wp-block-image a {
    display: inline-block;
}

.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

@media (prefers-reduced-motion: no-preference) {
    .wp-block-image img.hide {
        visibility: hidden;
    }

    .wp-block-image img.show {
        animation: show-content-image .4s;
    }
}

.wp-block-image[style*=border-radius] img, .wp-block-image[style*=border-radius] > a {
    border-radius: inherit;
}

.wp-block-image.has-custom-border img {
    box-sizing: border-box;
}

.wp-block-image.aligncenter {
    text-align: center;
}

.wp-block-image.alignfull a, .wp-block-image.alignwide a {
    width: 100%;
}

.wp-block-image.alignfull img, .wp-block-image.alignwide img {
    height: auto;
    width: 100%;
}

.wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright, .wp-block-image.aligncenter, .wp-block-image.alignleft, .wp-block-image.alignright {
    display: table;
}

.wp-block-image .aligncenter > figcaption, .wp-block-image .alignleft > figcaption, .wp-block-image .alignright > figcaption, .wp-block-image.aligncenter > figcaption, .wp-block-image.alignleft > figcaption, .wp-block-image.alignright > figcaption {
    caption-side: bottom;
    display: table-caption;
}

.wp-block-image .alignleft {
    float: left;
    margin: .5em 1em .5em 0;
}

.wp-block-image .alignright {
    float: right;
    margin: .5em 0 .5em 1em;
}

.wp-block-image .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image :where(figcaption) {
    margin-bottom: 1em;
    margin-top: .5em;
}

.wp-block-image.is-style-circle-mask img {
    border-radius: 9999px;
}

@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none) {
    .wp-block-image.is-style-circle-mask img {
        border-radius: 0;
        -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
        mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
        mask-mode: alpha;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
    }
}

:root :where(.wp-block-image.is-style-rounded img,.wp-block-image .is-style-rounded img) {
    border-radius: 9999px;
}

.wp-block-image figure {
    margin: 0;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    flex: 0 0 auto;
    margin: 0 5px;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .carousel-slide {
        width: calc(100% - 10px);
    }
}

@media (min-width: 769px) {
    .carousel-slide {
        width: calc(33.33% - 10px);
    }
}

.image-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.image-container a {
    margin: 10px;
    flex: 1 1 calc(33.333% - 20px);
}

@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
    }

    .image-container a {
        flex: 1 1 100%;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@media (max-width: 768px) {
    #shows {
        background-color: #fef7f2;
    }
}

.social-links-mobile {
    margin-left: auto !important;
    padding-right: 20px;
}

.social-link{
    text-decoration: none;
    color: #000000;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 2.2rem;
}