/*
Theme Name: Holi Theme
Author: Samuel Mettenmeyer
Description: WordPress-Theme for the Holi Music Festival
Version: 1.0
*/

/* Mobil: Admin-Bar ausblenden */
@media (max-width: 480px) {
	#wpadminbar{
		display: none;
	}
	html {
		margin: 0!important;
	}
}

/* Sicherstellen, dass keine Elemente über den Viewport hinausragen */
* {
    box-sizing: border-box;
    max-width: 100vw;
}

/* Überschriften*/
body{
	font-family: var(--main-font, Arial), sans-serif !important;
	margin: 0px;
}
.elementor-widget-text-editor {
    font-family: var(--main-font, Arial), sans-serif !important;
}
h1{
	font-family: var(--heading-font, Arial), sans-serif !important;
}
h2{
	font-family: var(--main-font, Arial), sans-serif !important;
}
.elementor-widget-button .elementor-button {
  	font-family: var(--main-font, Arial), sans-serif !important;
}

/* Header-Settings */
.site-header {
    /*position: fixed;*/
	position: absolute;
    top: 0;
	left: 0;
	width: 100%;
    z-index: 1000;
	background-color: rgba(255, 255, 255, 0/*.8*/); /* Transparenter Hintergrund: 0 ist komplett transparent, 1 ist komplett undurchsichtig */
    padding: 20px 20px;
}
.header-container{
	display:grid;
	gap: 0.5em;
	grid-template-columns: 1fr 3fr;	
	width: 100%;
}
.logo-wrapper{
    display: flex;
    justify-content: flex-start; /* Links ausrichten */
    align-items: center; /* Optional: Vertikal zentrieren */
	padding-top: 75px;
	padding-left: 25px;
}
@media (max-width: 768px) {
	.logo-wrapper {
		padding-top: 25px;
	}
}
@media (max-width: 480px) {
	.logo-wrapper{
		padding-top: 15px;
		padding-left: 0px;
	}
}
.menu-icons{
	position: fixed;
	z-index: 1100;
    top: 10px; /* Abstand von oben */
    right: 25px; /* Abstand von rechts */
    display: flex;
    justify-content: flex-end; /* Rechts ausrichten */
    align-items: center; /* Optional: Vertikal zentrieren */
	padding-top: 75px;
	padding-right: 25px;
}
@media (max-width: 768px) {
	.menu-icons {
		padding-top: 35px;		
	}
}
@media (max-width: 480px) {
    .menu-icons {
		padding-top: 25px;
        padding-right: 0px;
    }
}

/* Logo-Styling */
.logo-wrapper img {
    height: 200px;
    width: auto;
}
@media (max-width: 1024px) {
    .logo-wrapper img {
        height: 150px; /* Verkleinerung für Tablets */
    }
}
@media (max-width: 768px) {
    .logo-wrapper img {
        height: 100px; /* Verkleinerung für kleinere Tablets */
    }
}
@media (max-width: 480px) {
    .logo-wrapper img {
        height: 100px; /* Verkleinerung für Smartphones */
    }
}

/* Header-Button */
/* Container für den Button */
.ticket-button-container {
    display: inline-flex;
    align-items: center;
}

/* Button-Styling */
/* Pulsierende Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); } /* Leicht größer */
    100% { transform: scale(1); }
}
.ticket-button {
	animation: pulse 1.5s infinite ease-in-out; /* Animation läuft unendlich */
    display: flex;
    align-items: center;
    gap: 20px; /* Standardabstand zwischen Icon & Text */
    padding: 10px 0px 10px 13px; /* Exaktes Padding: Links leicht mehr Platz */
    background-color: #61CE70;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    transition: width 0.3s ease-in-out, padding-right 0.3s ease-in-out, gap 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 70px; /* Standardbreite war 220 */
    min-width: 70px;
    justify-content: flex-start; /* Icon bleibt links */
}
@media (max-width: 480px){
	.ticket-button {
		width: 70px;
		min-width: 70px;
	}
}

/* Hover-Effekt: Button wird breiter */
.ticket-button:hover {
    /*width: 230px;*/ /* Button wird breiter */
    /*gap: 30px;*/ /* Der Abstand zwischen Icon und Text vergrößert sich */
    /*padding-right: 0px;*/ /* Mehr Platz nach rechts */
}

/* Klick-Effekt */
.ticket-button:active {
    transform: scale(0.95);
}

/* Icon-Container */
.ticket-button-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #61CE70;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
    margin-left: -2px; /* Feinjustierung für exakte Ausrichtung wie beim Mainmenu */
}
@media (max-width: 480px){
	.ticket-button-icon-container {
		background: #61CE70;
	}
}

/* Das Icon */
.ticket-button-icon {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease-in-out;
    padding: 5px;
}

/* Label-Text */
.ticket-button-label {
	display: none;
    font-size: 25px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    transition: transform 0.3s ease-in-out;
}
@media (max-width: 480px) {
	.ticket-button-label {
		display: none;
	}
}
/* Hover-Effekt: Abstand verändert sich, aber Text bleibt exakt */
.ticket-button:hover .ticket-button-label {
    transform: translateX(0); /* Kein Verschieben des Textes */
}

/* Falls du eine "aktive" Animation haben willst */
.ticket-button.active .ticket-button-icon-container {
    transform: rotate(360deg);
}

@media (max-width: 480px) {
	.privacyButton {
		left: auto !important;
  		right: 24px!important;
  		top: 125px!important;
	}
}

/* Grundlayout für das Menü */
#mainmenu {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    z-index: 1000;
    text-align: center;
	margin-bottom: 70px;
}
@media (max-width: 768px) {
	#mainmenu {
		margin-bottom: 50px;
	}
}
@media (max-width: 480px) {
	#mainmenu {
		margin-bottom: 70px;
	}
}
/* Menü-Container */
.resp-menu {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 45px;
    /*padding: 15px 20px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; 
    position: fixed;
    bottom: 0;
    left: 50%;
	transform: translate(-50%, 0); /* Start außerhalb des sichtbaren Bereichs */
    width: 100%;
    max-width: 200px; /* Standardgröße */
}

/* Wenn die Maus über das Menü fährt */
.resp-menu:hover {
    max-width: 215px; /* Menü wird breiter */
}

/* Menü wird angezeigt */
.resp-menu.open {
    transform: translate(-50%, 0); /* Menü fährt bündig hoch */
	padding-bottom: 25px;
	max-width: 215px;
	opacity: 1; 
}

/* Menü-Items */
.mod-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.resp-menu.open .mod-menu {
    display: flex;
}

@keyframes jump {
    0% { transform: translateY(20px); opacity: 0; } /* Startet weiter unten */
    50% { transform: translateY(-5px); opacity: 1; } /* Springt leicht nach oben */
    100% { transform: translateY(0); opacity: 1; } /* Setzt sich sanft auf die Endposition */
}
@keyframes jump-reverse {
    0% { transform: translateY(0); opacity: 1; } /* Startposition */
    50% { transform: translateY(-5px); opacity: 1; } /* Springt leicht nach oben */
    100% { transform: translateY(20px); opacity: 0; } /* Fällt nach unten & wird unsichtbar */
}

.resp-menu.open .mod-menu::before {
    content: ""; /* Stellt sicher, dass das Pseudo-Element existiert */
    display: block;
    height: 10px; /* Platzhalter für den Sprungeffekt */
    animation: jump 0.5s cubic-bezier(.37, .08, .25, 1.29) forwards;
}

.resp-menu.open .mod-menu li {
    animation: jump 0.6s cubic-bezier(.37, .08, .25, 1.29) forwards;
    opacity: 0; /* Startet unsichtbar */
    animation-delay: 0.1s; /* Kleiner Delay für sanftes Auftauchen */
}

.resp-menu:not(.open) .mod-menu li {
    animation: jump-reverse 0.4s cubic-bezier(.37, .08, .25, 1.29) forwards;
    opacity: 1; /* Startet sichtbar */
}

/* Verzögerung pro Menü-Item für einen Stufen-Effekt */
.resp-menu.open .mod-menu li:nth-child(2) {
    animation-delay: 0.2s;
}
.resp-menu.open .mod-menu li:nth-child(3) {
    animation-delay: 0.3s;
}
.resp-menu.open .mod-menu li:nth-child(4) {
    animation-delay: 0.4s;
}
.resp-menu.open .mod-menu li:nth-child(5) {
    animation-delay: 0.5s;
}
.resp-menu:not(.open) .mod-menu li:nth-child(2) {
    animation-delay: 0.1s;
}
.resp-menu:not(.open) .mod-menu li:nth-child(3) {
    animation-delay: 0.2s;
}
.resp-menu:not(.open) .mod-menu li:nth-child(4) {
    animation-delay: 0.3s;
}
.resp-menu:not(.open) .mod-menu li:nth-child(5) {
    animation-delay: 0.4s;
}

/* Standard-Styling für die Menü-Items */
.mod-menu li {
    list-style: none;
    padding: 10px 0px;
    border-radius: 45px;
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out; /* Sanfte Animation */
	text-align: center;
    width: 175px; /* Menü-Items werden breiter */
    max-width: 100%; /* Falls das Menü schmaler wird */
	position: relative; /* Stellt sicher, dass das Kind-Element sich ausdehnen kann */
}

/* Hover-Effekt für die Menü-Items (erweitert den Bereich nach außen) */
.mod-menu li:hover {
    background-color: #FF1969;
}

/* Menü-Links */
.mod-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
	display: block; /* Macht den Link blockfüllend */
    width: 100%; /* Dehnt ihn über die ganze Breite des li-Elements */
    height: 100%; /* Dehnt ihn über die ganze Höhe des li-Elements */
    text-align: center;
}

/* Button zum Öffnen des Menüs */
#toggle-main-menu {
    background: none;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
    display: flex; /* Flexbox aktivieren */
    flex-direction: row; /* Elemente nebeneinander anordnen */
    align-items: center; /* Vertikal zentrieren */
    padding: 10px;
    gap: 25px; /* Abstand zwischen den Elementen */
}
#toggle-main-menu .label {
    text-transform: uppercase;
	font-weight: bold;
}

/* Menü-Button Animation */
/* Menü-Icon mit Kreis-Hintergrund */
.menu-ball {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 50px; /* Größe des Kreises */
    height: 50px; /* Größe des Kreises */
    border-radius: 50%; /* Macht es rund */
    background: #FF1969/*rgba(255, 255, 255, 0.2)*/; /* Leicht transparenter Hintergrund */
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
	margin-left: -30px;
}

/* Hover-Effekt für den Kreis */
#toggle-main-menu:hover .menu-ball {
    /*background: rgba(255, 255, 255, 0.4);*/ /* Hintergrund wird heller */
    transform: translateX(-8px); /* Verschiebt das Icon um 10px nach links */
    transition: transform 0.3s ease-in-out; /* Sanfte Animation */
	gap: 6px; /* Erhöht den Abstand zwischen den Linien */
}

/* Linien innerhalb des Kreises */
.menu-ball .line {
    width: 25px;
    height: 3px;
    background: white;
    transition: transform 0.3s ease-in-out;
}
#toggle-main-menu:hover .menu-ball .line:nth-child(3) {
    transform: translateY(0px); 
}
/* Animation für Button */
#toggle-main-menu.open .menu-ball .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#toggle-main-menu.open .menu-ball .line:nth-child(2) {
    opacity: 0;
}
#toggle-main-menu.open .menu-ball .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Footer-Styling */
.site-footer{
	min-height: 100vh;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.footer-widgets {
    display: flex;
    flex-direction: column;
    align-items: center;
	padding-top: 75px;
}
h1.wp-block-heading{
	text-align: center;
	font-size: 50px;
  	font-weight: 800;
  	text-transform: uppercase;
  	color: #FFFFFF;
	margin: 0;
}
@media (max-width: 480px) {
	h1.wp-block-heading{
		font-size: 35px;
		line-height: 1;
		padding-bottom: 25px;
	}
}
h2.wp-block-heading{
	text-align: center;
  	font-weight: 800;
  	text-transform: uppercase;
  	color: #FFFFFF;
	margin: 0;
}
@media (max-width: 480px) {
	h2.wp-block-heading{
		font-size: 20px;
		padding-bottom: 5px;
	}
}

.footer-widget img {
    width: 175px;
    height: auto;
    display: block;
}

.footer-top {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.footer-bottom {
    display: flex;
    /*justify-content: space-between;*/
	flex-direction: column;
    align-items: center;
    text-align: center;	
    width: 100%;
    padding: 0px 0;
}
.footer-left, .footer-right {
    flex: none;
    text-align: center;
    padding: 0px 0;
}
.footer-left{
	margin-bottom: 75px;
}
@media (max-width: 480px) {
	.footer-left{
		margin-bottom: 100px;
	}	
}
.footer-menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;	
    gap: 25px;
	font-family: var(--menu-font, Arial), sans-serif;
	font-size: 20px;	
}
@media (max-width: 480px) {
    .footer-menu {
        flex-direction: column;
        align-items: center; /* Zentriert die Items */
        gap: 10px; /* Abstand zwischen den Items */
		font-size: 15px;
    }
}

.footer-menu li {
    display: inline;
}

.footer-menu a {
    text-decoration: none;
    color: #fff;
}
/* Copyright */
.footer-right {
	font-size: 20px;
}
@media (max-width: 480px) {
	.footer-right {
		font-size: 15px;
	}	
}

/* Home */

/* Lineup-Sektion */
@media (max-width: 480px) {
    .lineup-container {
        display: flex;
        flex-direction: column-reverse!important; /* Kehrt die Reihenfolge um */
    }
}
@media (max-width: 768px) {
    .lineup-container {
        display: flex;
        flex-direction: column-reverse!important; /* Kehrt die Reihenfolge um */
    }
}

/* Artists */
.artists-widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Drei Spalten */
    gap: 30px; /* Abstand zwischen den Items */
}
.artists-widget-item {
    text-align: center; /* Zentriert den Inhalt */
    background: #a02fff; /* Optional: Hintergrundfarbe */
    padding: 10px; /* Optional: Innenabstand */
    border: 1px solid #a02fff; /* Optional: Rahmen */
    border-radius: 45px; /* Optional: Abgerundete Ecken */
	position: relative; /* Notwendig für absolute Positionierung des Overlays */
    overflow: hidden; /* Verhindert, dass das Overlay über das Bild hinausgeht */
}
/*
div.artists-widget-item:nth-child(1){
	margin-right: 100px;
	margin-bottom: 100px;
}
div.artists-widget-item:nth-child(2){
	margin-left: 100px;
	margin-bottom: 100px;	
}
div.artists-widget-item:nth-child(3){
	margin-right: 100px;
	margin-bottom: 100px;
}
div.artists-widget-item:nth-child(4){
	margin-left: 50px;
}
div.artists-widget-item:nth-child(5){
	margin-right: 100px;
}
div.artists-widget-item:nth-child(6){
	margin-left: 50px;
}
*/
.artists-widget-item img {
    max-width: 100%; /* Bild passt sich an die Breite an */
    height: auto;
    border-radius: 45px 45px 0 0!important; /* Optional: Abgerundete Ecken für Bilder */
}

/* Text-Overlay über dem Bild */
.artist-image-container {
    position: relative; /* Setzt den Container für das Overlay */
    display: inline-block;
    width: 100%;
}

.artist-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    padding: 15px;
    width: 80%; /* Breite anpassen */
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px; /* Leichte Abrundung für das Overlay */
	z-index: 5;
}

.artist-text-overlay p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.artists-widget-item h3 a {
	color: #ffffff;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
	display: block;
}

.artist-genre {
    font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
    color: #fff;
}

@media (max-width: 768px) {
    .artists-widget-grid {
        grid-template-columns: repeat(2, 1fr); /* Zwei Spalten für Tablets */
		gap: 30px;
    }
	/*
	div.artists-widget-item:nth-child(1){
		margin-right: 0px;
		margin-bottom: 0px;
	}
	div.artists-widget-item:nth-child(2){
		margin-left: 0px;
		margin-bottom: 0px;		
	}
	div.artists-widget-item:nth-child(3){
		margin-right: 0px;
		margin-bottom: 0px;
	}
	div.artists-widget-item:nth-child(4){
		margin-left: 0px;
		margin-bottom: 0px;		
	}
	div.artists-widget-item:nth-child(5){
		margin-right: 0px;
	}
	div.artists-widget-item:nth-child(6){
		margin-left: 0px;
	}
	*/
}

@media (max-width: 480px) {
    .artists-widget-grid {
        grid-template-columns: 1fr; /* Eine Spalte für Smartphones */
		gap: 30px;
    }
	/*
	div.artists-widget-item:nth-child(1){
		margin-right: 0px;
		margin-bottom: 0px;
	}
	div.artists-widget-item:nth-child(2){
		margin-left: 0px;
		margin-bottom: 0px;		
	}
	div.artists-widget-item:nth-child(3){
		margin-right: 0px;
		margin-bottom: 0px;
	}
	div.artists-widget-item:nth-child(4){
		margin-left: 0px;
		margin-bottom: 0px;		
	}
	div.artists-widget-item:nth-child(5){
		margin-right: 0px;
	}
	div.artists-widget-item:nth-child(6){
		margin-left: 0px;
	}		*/
	.artist-text-overlay {
        font-size: 14px; /* Kleinere Schrift für Mobile */
        padding: 10px;
    }
}

/* Text-Loop */
.infinity-loop-text {
    white-space: nowrap;
    display: inline-block;
    position: absolute;
	will-change: transform;
}

.infinity-loop-text-container {
	background-color: transparent; 
    overflow: hidden;
    position: relative;
    width: 100%; /* Passe die Breite nach Bedarf an */
    height: 50px; /* Höhe anpassen */
    display: flex;
    align-items: center;
}

/* Datenschutz */

.list-header-title{
	color: #fff;
}