/* --- SCROLL BEHAVIOR --- */
.scroll-auto {
    scroll-behavior: auto !important;
}
.scroll-smooth {
    scroll-behavior: smooth !important;
}

/* --- BODY & BACKGROUND --- */
body {
    background-color: var(--bs-body-color);
    background-image: url('/static/images/muromattoniNeroChiaroBg.png');
    background-attachment: fixed;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}
.header-section {
    background-color: rgb(85, 25, 0);
    box-shadow: 0 0.5rem 0.5rem rgb(0, 0, 0, 0.2);
}

/* --- FLASH MESSAGES --- */
.flash-smooth {
    left: -400px;
    margin-left: 1rem;
    transition: left 0.4s cubic-bezier(.4,1.5,.6,1);
    will-change: left;
}
.flash-smooth-end {
    left: 0;
}

/* --- PANELS --- */
.panel {
    padding-bottom: 10rem;
    margin-top: 90vh;
    z-index: 500;
    height: auto;
    background: linear-gradient(to right, rgb(85, 22, 0, 0.7), rgb(85, 22, 0, 0.98), rgb(85, 22, 0, 0.7));
    border-radius: 0.5rem;
}
.subpanel {
    z-index: 600;
    padding: 2rem;
    background: rgb(0, 0, 0, 0.4);
    border-radius: 0.5rem;
}

/* --- CAROUSEL --- */
#performances-carousel img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
#performances-carousel .carousel-inner {
    border-end-end-radius: 4rem;
    border-start-start-radius: 4rem;
    box-shadow: 1rem 1rem 1rem rgb(0, 0, 0, 0.8);
}
.carousel-indicator-bullet {
    border-radius: 50%/50% !important;
    height: 10px !important;
    width: 10px !important;
    transition: width .6s ease, height .6s ease, border-radius .6s ease !important;
    will-change: width, height, border-radius;
}
.carousel-indicators .active {
    border-radius: 10px/40px !important;
    width: 30px !important;
}
.carousel-performer-name {
    font-family: "Rowdies", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 3rem;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.99);
}
.carousel-caption {
    left: 8%;
    right: 8%;
}
.carousel-performer-date-time {
    font-family: "Rowdies", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 2rem;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.99);
}
.carousel-performer-description {
    text-align: left;
    background-color: var(--bs-body-color);
    padding: 1rem;
    border-end-end-radius: 1rem;
    border-start-start-radius: 1rem;
    box-shadow: 1rem 1rem 1rem rgb(0, 0, 0, 0.9);
}

/* --- NAVBAR --- */
#home-navbar-flex {
    width: 100%;
    flex-direction: row;
    justify-content: end;
}
#nav-logo-image {
    height: 3rem;
    width: auto;
    padding-left: 4rem;
}
.performances-nav .dropdown-menu {
    width: auto;
    min-width: 10rem;
}

/* --- LABELS & BUTTONS --- */
.black-impact-text {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 200;
    color: black;
    font-size: 3rem
}
.text-shadow {
    text-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.3);
}

.label1 {
    font-family: 'Rowdies', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
.label-dark {
    color: black;
    text-decoration: none;
}
.button-label-only {
    background-color: var(--bs-light);
    border: none;
    cursor: pointer;
    width: auto;
    min-width: 10rem;
    color: black;
}
.button-label-only-light {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    color: black;
}
.button-label-only-light:hover {
    background-color: rgba(0, 0, 0, 0.2);
}
.button-label-only-light:active {
    background-color: rgba(0, 0, 0, 0.5);
}
.link-label-only-light {
    display: block;
    width: 100%;
    background: none;
    color: black;
    text-decoration: none;
}
.link-label-only-light:hover {
    background-color: rgba(0, 0, 0, 0.2);
}
.link-label-only-light:active {
    background-color: rgba(0, 0, 0, 0.5);
}
.mybutton {
    background-color: rgb(81, 31, 12);
    color: white;
}
.mybutton:hover {
    background-color: rgb(85, 25, 0);
    color: white;
}

/* --- USER IMAGE & DROPDOWN --- */
.user-image-button {
    background: none;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    width: auto;
}
.user-image {
    width: 30px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}
.user-dropdown-menu {
    background-color: var(--bs-light);
}

/* Card, Add-card, Unpublished-card: struttura e hover */
.card,
.add-card,
.unpublished-card {
    height: 100%;
    min-height: 22rem;
    width: 100%;
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
}
.add-card {
    background-color: #ffffff;
    min-height: 20rem;
}
.card:hover,
.add-card:hover,
.unpublished-card:hover {
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.6);
}

/* Card image */
.fixed-card-image {
    aspect-ratio: 16/9;
    object-fit: cover;
}
.card-img-middle {
    align-self: center;
    width: 15%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

/* Card overlay/hover panel */
.card-hover-panel {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: none;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.4s ease;
}
.card-hover-panel:hover {
    opacity: 1;
}

/* Card content */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-title {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.card-text {
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Card highlight for unpublished/add */
.add-card::after,
.unpublished-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 212, 95, 0.2);
    border-radius: 1%;
    pointer-events: none;
}

/* --- TICKET --- */
.ticket-image {
    width: 100%;
}
#div-ticket-content {
    position: relative;
}
.name-label {
    position: absolute;
    left: 49%;
    top: 52%;
    z-index: 700;
    color: black;
    text-align: center;
    translate: -50%;
}
.ticket-type {
    position: absolute;
    left: 50%;
    top: 69%;
    z-index: 700;
    color: black;
    text-align: center;
    translate: -50%;
}
.ticket-days {
    position: absolute;
    left: 50%;
    top: 74%;
    z-index: 700;
    color: black;
    text-align: center;
    translate: -50%;
}
.ticket-purchase-date {
    position: absolute;
    left: 29%;
    top: 29%;
    z-index: 700;
    color: black;
    text-align: center;
    translate: -50%;
    font-size: 0.6rem;
    font-weight: bold;
}

/* --- VARIE --- */

.mb-10 {
    margin-bottom: 10rem;
}

#now-on-stage-panel {
    position: absolute;
    top: 15%;
    right: 10%;
    padding: 1rem;
    background: rgba(34, 40, 49, 0.92);
    border-radius: 24px;
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.5);
}
#background-logo-container {
    position: fixed;
    width: 100%;
    margin-top: 15%;
}

.performance-youtube-video{
    border: 4px solid #444;
}

/* * {
    border: 1px solid red !important;
} */