@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Arial', sans-serif;
    text-align: center;
    background-color: rgb(249, 250, 251);
    background-size: 100% 20px;
    width: 100%;
    height:100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: space-evenly;
}
#abishirts-body {
    background: linear-gradient(to bottom, rgb(0, 0, 0), rgb(49, 51, 51));
}
.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    background: white;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    padding-right: 0.5rem;
}
.abi-text {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    font-style: italic;
    color: rgba(93, 206, 255, 0.8);
}
#abiball-abi-text {
    color: rgba(251, 0, 255, 0.8);
}
.navbar nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    padding-right: 5rem;
}
.navbar nav li {
    margin: 3;
}
.navbar nav a {
    text-decoration: none;
    color: rgb(50, 50, 50);
    font-size: 1rem;
    font-weight: 300;
    transition: color 0.3s ease-in-out, transform 0.3s;
}
.navbar nav a:hover {
    color: rgb(0, 179, 255);
    transform: scale(1.1);
}
nav ul {
        padding: 0.5rem;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        align-content: space-evenly;
    }
nav li {
    margin: 0 0.9375rem;
}
nav a {
    text-decoration: none;
    color: rgb(255, 255, 255); 
    font-weight: bold;
    font-size: 2rem;
    transition: color 0.3s ease-in-out, transform 0.3s;
}
nav a:hover {
    color: rgb(0, 179, 255);
    transform: scale(1.1);
}
header{
    max-width: 100%;
    width: 100%;
    background-image: url('images/abi-header1.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    padding-top: 15rem;
    padding-bottom: 15rem;
    text-align: left;
}
#abishirts-header{
    color: white;
    background-image: url('images/shirts-header.jpg');
}
#abiball-header{
    background-image: url('images/abi-header1.png'); 
}
#sponsoren-header{
    background-image: url('images/sponsorenlauf.jpg'); 
}
#sommerfest-header{
    background-image: url('images/sommerfest-header.png'); 
}
#contact-header{
    max-width: 100%;
    width: 100%;
    background: rgb(249, 250, 251);
    text-align: center;
    padding: 2rem;
    padding-top: 5rem;
}
#contact-h1{
    color: rgb(0, 0, 0);
    text-shadow: none;
}
#impressum-header{
    max-width: 90%;
    width: 90%;
    background: rgb(249, 250, 251);
    text-align: left;
    padding: 1rem;
    padding-top: 5rem;
}
#impressum-h1{
    color: rgb(0, 0, 0);
    text-shadow: none;
}
.abiball-content{
    width:50%;
    max-width: 50%;
    display: flex;   
    align-items: center;
    justify-content: center;  
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
    background-color: rgb(255, 255, 255); 
    border-radius: 10px;
}
.abiball-content::after, .abiball-content::before{
    content:"";
    position:absolute;
    height: 100%;
    width: 100%;
    background-image:conic-gradient(rgb(251, 0, 255),rgb(251, 0, 255));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding:3px;
    border-radius: 10px;
}
.abiball-content::before{
    filter: blur(0.8rem);
    opacity: 0.5;
}
.abiball-text{
    padding: 3rem;
    text-align: center;
    line-height: 1.5rem;
    font-size: 1rem;
    color: rgb(0, 0, 0);
    width: 90%;
    word-wrap: break-word;
    overflow-wrap: break-word;  
}
h1{
    font-size: 5.5rem;
    font-weight: bold;
    color: rgb(255, 255, 255); 
    text-shadow: 0.375rem 0.375rem 0.5rem rgba(0, 0, 0, 1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding:0.5rem
}
#countdown {
    display: flex;
    justify-content: left;
    gap: 20px;
}

.time-box {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0.375rem 0.375rem 0.5rem rgba(0, 0, 0, 1);
    padding: 0.5rem;
    border-radius: 10px;
    min-width: 100px;
}

.time-box span {
    display: block;
    font-size: 3rem;
    font-weight: bold;
}

.time-box p {
    margin-top: 5px;
    font-size: 1.2rem;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;                  
    max-width: 100%;
    width: 100%;
    padding: 1.25rem;
}
.main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;                 
    max-width: 100%;
    width: 100%;
    padding: 1.25rem;
}
#abiball-main{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;                  
    max-width: 100%;
    width: 100%;
    padding: 1.25rem;
}
.fotobuch {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  height: 100vh; /* Optional, je nach Layout */
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

.seite {
  flex: 0 0 100vw; /* Jede Seite ist genau Bildschirmbreite */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
  height: 100vh; /* Optional, damit die Seite komplett die Höhe füllt */
}

.seite img {
  max-width: 90%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.menu-section {
    position: relative;
    background-color: #fdfdfd;
    border-radius: 20px;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #000000;
    width: 90%;
    margin-bottom: 40px;
}

.menu-section::before,
.menu-section::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-image: conic-gradient(rgb(251, 0, 255), rgb(251, 0, 255));
    padding: 3px;
    translate: -50% -50%;
    z-index: -1;
}

.menu-section::before {
    filter: blur(0.8rem);
    opacity: 0.5;
}

.menu-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.menu-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-column {
  flex: 1;
  min-width: 30%;
  max-width: 30%;
  text-align: left;
}

.menu-column h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
    padding-left: 12px;
}

.menu-text {
    margin-bottom: 0 px;       
    line-height: 1.3;          
    font-size: 1rem;
    font-weight: bold;
    position: relative;
    padding-left: 12px;
}
.menu-text-low {
    margin-bottom: 22px;       
    line-height: 1.6;          
    font-size: 0.7rem;
    position: relative;
    padding-left: 12px;
    font-weight: 500;
}

#abishirts-main{
    background: linear-gradient(to bottom, rgb(0, 0, 0) 5%, rgb(49, 51, 51))
}
.abiball-main {
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content:space-around;                 
    max-width: 40%;
    width: 40%;
    padding: 1.25rem;
    gap: 3rem;
}
.content {
    width:40%;
    max-width: 40%;
    display: flex;         
    align-items: center;
    justify-content: center;  
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
    background-color: #f3faff; 
    border-radius: 10px;
}
@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.content::after, .content::before{
    content:"";
    position:absolute;
    height: 100%;
    width: 100%;
    background-image:conic-gradient(from var(--angle),rgb(0, 179, 255),rgb(255, 255, 255));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding:3px;
    border-radius: 10px;
    animation: 30s spin linear infinite;
}
.content::before{
    filter: blur(0.8rem);
    opacity: 0.5;
}
@keyframes spin{
    from{
        --angle:0deg
    }
    to{
        --angle:360deg;
    }
}
.box{
    width: 50%;
    display: flex;
    flex-direction: column;           
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;      
}

.text {
    padding: 1rem;
    text-align: left;
    line-height: 2rem;
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
    width: 90%;
    word-wrap: break-word;
    overflow-wrap: break-word;            
}
.centered{
    max-width: 70%;
    text-align: center;
    line-height: 1.5rem;
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-bottom: 0.625rem;
}

.image {
    width: 40%;                  
    overflow: hidden;
    min-width: 50px;
    max-width: 600px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.image:hover {
    transform: translateY(+5px);
    transform: scale(1.5);
    animation: glow 10s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 2.5rem rgb(0, 179, 255); }
    50% { box-shadow: 0 0 4rem rgb(137, 220, 255); }
    100% { box-shadow: 0 0 2.5rem rgb(255, 255, 255); }
}
/* FOOTER */
footer {
    width: 100%;
    background: #111;
    padding: 1rem;
    text-align: center;
    color: white;
    margin-top: 2rem;
    box-shadow: 0px -0.2rem 1rem rgb(0, 179, 255);
}
#abiball-footer{
    box-shadow: 0px -0.2rem 1rem rgb(251, 0, 255);
}
#abiball-footer nav a:hover {
    color: rgb(251, 0, 255);
    transform: scale(1.1);
}
#abiball-footer .social-icons a:hover {
    color: rgb(251, 0, 255);
    transform: scale(1.2);
}
#abiball-h3{
    text-shadow: 0.2rem 0.2rem 0.3rem rgb(251, 0, 255);
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
}

.footer-section {
    margin: 1rem;
    text-align: center;
    max-width: 50%;
    line-height: 1.5rem;
}

.footer-section h3 {
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    text-shadow: 0.2rem 0.2rem 0.3rem rgb(0, 179, 255);
}
.footer a{
    color: white;
    transition: color 0.3s ease-in-out, transform 0.3s;
    text-decoration: none;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    color: white;
    font-size: 2rem;
    margin: 0 0.8rem;
    transition: color 0.3s ease-in-out, transform 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: rgb(0, 179, 255);
    transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 0.1rem solid #444;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1rem;
}

.footer-bottom p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.footer-bottom ul li {
    display: inline;
    margin: 0 1rem;
}

.footer-bottom ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}

.footer-bottom ul li a:hover {
    color: rgb(0, 179, 255);
}

/* Kontaktbereich */
.abiball-contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(251, 0, 255);
}
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0, 179, 255);
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form h3 {
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.contact-form label {
    color: rgb(0, 0, 0);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-align: left;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(64, 64, 67, 0.1);
    color: rgb(0, 0, 0);
    font-size: 1rem;
}

.contact-form button {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: rgb(77, 201, 255);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

@keyframes glow-button {
    0% { box-shadow: 0 0 1rem rgb(0, 179, 255); }
    50% { box-shadow: 0 0 2rem rgb(0, 179, 255); }
    100% { box-shadow: 0 0 1rem rgba(0, 179, 255, 0.708); }
}

.contact-form button:hover {
    animation: glow-button 10s infinite alternate;;
    background: rgb(0, 179, 255);
}
#kuchen-button {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: rgb(73, 47, 2);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
@keyframes glow-kuchen-button {
    0% { box-shadow: 0 0 1rem rgb(84, 55, 4); }
    50% { box-shadow: 0 0 2rem rgb(73, 47, 2); }
    100% { box-shadow: 0 0 1rem rgba(64, 41, 2, 0.708); }
}
#kuchen-button:hover {
    animation: glow-kuchen-button 10s infinite alternate;;
    background: rgb(73, 47, 2);
}
#abiball-button {
    background: rgb(251, 0, 255);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

@keyframes abiball-glow-button {
    0% { box-shadow: 0 0 1rem rgb(251, 0, 255); }
    50% { box-shadow: 0 0 2rem rgb(251, 0, 255); }
    100% { box-shadow: 0 0 1rem rgba(251, 0, 255, 0.708); }
}

#abiball-contact-form button:hover {
    animation: abiball-glow-button 10s infinite alternate;;
    background: rgb(251, 0, 255);
}
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0);
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.notification.success {
    color: #4CAF50;
}

.notification.error {
    color: #f44336;
}

.fade-out {
    opacity: 0;
}
.gofundme-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: #00b964;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.gofundme-button:hover {
    background-color: #00914e;
}

@media (max-width: 1024px) {
    body{
        overflow-x: hidden!important;
    }
    .navbar {
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0.5rem;
        z-index: 0;
    }
    .navbar nav ul {
        flex-direction: row;
        padding-right: 0;
    }
    .navbar nav a{
        font-size: 0.7rem;
    }
    .box{
        width:99%;
        max-width: 100%;
    }
    .abi-text {
        font-size: 1.8rem;
    }
    header {
        padding: 6rem 1rem;
    }
    .abiball-content{
        width: 100%;
        padding: 1rem;
        flex-direction: row;
    }
    .time-box {
        font-size: 0.9rem;
        min-width: 50px;
    }
    
    .time-box span {
        font-size: 2rem;
        font-weight: bold;
    }
    
    .time-box p {
        margin-top: 5px;
        font-size: 0.9rem;
    }
    .abiball-text{
        padding: 1rem;
        width: 90%;
    }
    #abiball-main{
        flex-direction: column-reverse;
    }
    .abiball-contact-container{
        width: 100%;
        max-width: 100%;
        padding: 2%;
        margin: 2%;
    }
    .abiball-content {
        width: 90% !important;
        max-width: 90% !important;
        flex-direction: column;
        padding: 1rem !important;
    }

    /* Abiball main auf 90% und Spalten werden zu einer Spalte */
    .abiball-main {
        max-width: 90% !important;
        width: 90% !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 1rem !important;
    }

    /* Fotobuch Seiten volle Breite statt 100% mit Padding */
     .fotobuch {
    height: auto; /* Höhe flexibel, je nach Inhalt */
    }
    
    .seite {
        flex: 0 0 100vw; /* bleibt gleich: jede Seite 100% der Viewport-Breite */
        padding: 1rem; /* etwas weniger Padding für mehr Platz */
        height: auto; /* Höhe anpassen */
    }

    .seite img {
        max-width: 100%;  /* Bild soll immer innerhalb der Seite bleiben */
        max-height: 50vh; /* Bild nicht zu hoch, halb Bildschirmhöhe */
        object-fit: contain;
    }

    .seite p {
        font-size: 1rem; /* Textgröße anpassen */
    }

    /* Speisekarte - Menu Section auf volle Breite */
    .menu-section {
        width: 95% !important;
        padding: 20px 10px !important;
    }

    /* Menu Grid Spalten stapeln */
    .menu-grid {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .menu-column {
        max-width: 100% !important;
        min-width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
    }

    .menu-column h3 {
        font-size: 1.6rem !important;
    }
    .main{
        flex-direction: column;
    }
    h1 {
        font-size: 2.5rem;
    }
    .content {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        max-width: 100%;
        align-items: flex-start;
        justify-content: center;
    }
    .footer-section h3 {
        justify-content: left;
    }
    .footer a{
        justify-content: center;
    }
    #footer-text{
        text-align: center;
    }
    .social-icons {
        display: flex;
        justify-content: center;
    }
    .image:hover {
        transform: translateY(+50px);
        transform: scale(2);
        z-index: 10;
    }
    .text{
        font-size: 1.2rem;
        width: 100%;
        padding: 2%;
        margin: 2%;
    }
    .contact-container{
        width: 100%;
    }
}
