@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
    100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
}


body {
    font-family: Arial, sans-serif;
    background-color: #f0e8d1;
    margin: 0;
    padding: 20px;
    color: #1f2c34;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('grunge-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.poster {
    width: 100%;
    max-width: 600px;
    background-color: transparent;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-out;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    animation: slideUp 1s ease-out forwards;
}

.header:before, .header:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 25%;
    height: 2px;
    background-color: #1f2c34;
}

.header:before {
    left: 0;
}

.header:after {
    right: 0;
}

.tour-title {
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: bold;
    display: inline-block;
    padding: 0 20px;
}

.artist-photo {
    width: 100%;
    height: auto;
    background-position: center;
    background-size: cover;
    margin: 20px 0;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-out;
    transition: transform 0.3s ease;
}
.artist-photo:hover {
        transform: scale(1.02);
    }

.artist-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: inline-block;   
}

footer .logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: inline-block;    
}

.artist-name {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    font-family: 'Gothic', Arial, sans-serif;
    margin: 30px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.artist-name img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.tour-dates {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    margin: 30px 0;
}

.tour-dates > div:nth-child(3n+1) { animation-delay: 0.3s; }
        .tour-dates > div:nth-child(3n+2) { animation-delay: 0.5s; }
        .tour-dates > div:nth-child(3n+3) { animation-delay: 0.7s; }

.date, .city, .venue {
    padding: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}



.date {
    font-weight: bold;
}

.ticket-btn {
            padding: 8px 10px;
            background-color: #1f2c34;
            color: #fff;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            text-align: center;
        }
  .ticket-btn:hover {
            background-color: #3d4a53;
            transform: scale(1.05);
        }

.ticket-btn a,
.ticket-btn .btn {
    color:#fff;
    display: inline-block;
    text-decoration: none;
    font-weight:bold;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #1f2c34;
    animation: fadeIn 2.5s ease-out;
}

footer .nav a {
    color:#000;
    font-weight: normal;
    text-decoration: none;
    font-size:12px;
    display: inline-block;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

footer .nav a:hover {
    font-weight: bold
}

.logo {
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s ease;
}
   .logo:hover {
            transform: scale(1.1);
        }


footer .nav a:hover {
            color: #000;
            letter-spacing: 1px;
        }








.tour-date-block {
    border: 0px solid #ccc;
    margin-bottom: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.tour-date-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1; /* nimmt Platz links ein */
    padding-right: 0px;
}

.tour-date-block:hover {
    background: #f7f7f7;
}

.ticket-btn a.btn {
    padding: 6px 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}






@media (max-width: 768px) {
    
    .header:before, .header:after {
        max-width: 4%
    }
    
    .poster {
        padding: 0;
        width: 100%;
        box-shadow: none;
    }

     .tour-dates {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .tour-date-block {
        display: flex;
        border-bottom: 2px solid #3d4a5359;
        padding: 15px;
        margin-bottom: 5px;
        flex-direction: column;
        align-content: flex-start;
        text-align: left;
    }

    .date {
        grid-area: date;
        font-size: 21px;
    }

    .city {
        grid-area: city;
        text-align: left;
        font-size: 21px;
        font-weight: bold
    }

    .venue {
        grid-area: venue;
        margin: 5px 0;
    }

    .ticket-btn {
        grid-area: button;
        width: 90%;
        padding: 10px 5%;
        margin-top: 10px;
    }

    .footer {
        padding: 20px 10px;
    }
}