body {
    margin: 0;
    font-family: "minion-pro", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #ffffff;
}

p {
    color: #285474;
}

p a {
    color: #285474;
    text-decoration: underline;
    margin: 1em 0;
}

section {
    padding: 2rem 1rem 3rem 1em;
    text-align: center;
}

h1 {
    font-family: "finalsix", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #c4a647;
    margin: 2rem 0;
}

h2 {
    font-family: "finalsix", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #c4a647;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

h3 {
    font-family: "finalsix", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #285474;
    margin: 0;
    text-transform: uppercase;
    padding: 0;
}

input[type="radio"] {
  vertical-align: middle;
}


.middle-content {
    max-width: 650px;
    margin: 0 auto;
}

.hero {
    background-color: #285474;
    color: white;
    padding: 4rem 2rem 1rem 2rem;
    text-align: center;
    position: relative;
}

.media {
    max-width: 400px;
    width: 50%;
    height: auto;
}

.mitteilung-label {
    margin-top: 2.2rem;
}

.svg-stack {
    position: relative;
    margin: 0 auto;
    max-width: 450px;
    width: 90%;              
    aspect-ratio: 1 / 1;      
    overflow: hidden;
}

.svg-stack .layer {
    position: absolute;
    inset: 0;             
    width: 100%;
    height: 100%;
    object-fit: contain;      
    display: block;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 7rem;
    padding: 2rem;
    font-size: 4rem;
    color: #c4a647;
    text-align: center;
}

.countdown_2 {
    display: flex;
    justify-content: center;
    gap: 7rem;
    margin: 1.5rem;
}

.countdown p {
    display: block;
    font-size: 0.8rem;
    color: black;
    margin: 0.2rem 0 0 0;
}


.lightgrey {
    background-color: #e9edf1;
}

.white {
    background-color: #ffffff;
}

.lightyellow {
    background-color: #f8f5e5;
}

footer {
  text-align: center;
  background-color: #285474;
  padding: 1rem;
}


footer p {
    color: white;
    margin: 0;
}

footer a {
    text-decoration: none;
    color: white;
}

.choices {
    display: flex;
    align-items: center;
}

input {
    accent-color: #285474;
}

input[type="radio"], input[type="checkbox"] {
    margin: 0 0.5rem;
}


.attendance-choice {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.name-fields {
  display: flex;
  text-align: left;
  margin-top: 1.5rem;
}

.name-fields div {
  flex: 1;
}

input[type="text"] {
  width: 97%;
  padding: 0.75rem;
  background: #e9edf1;
  border: 0;
}

.name-fields input[type="text"] {
  width: 90%;
}

.name-fields label {
  font-size: 0.85rem;
  margin-top: 0.25rem;
  color: #333;
}

.add-person {
    display: block;
    width: 100%;
    padding: 0.6rem;
    border: 0.5px solid #285474;
    cursor: pointer;
    background-color: #285474;
    color: white;
    margin: 0.5rem 0;
    transition: 0.2s;
}

.add-person:hover {
    background-color: white;
    color: #285474;
}

.remove-person {
    display: none;
    width: 100%;
    padding: 0.6rem;
    border: 0.5px solid #285474;
    cursor: pointer;
    background-color: white;
    color: #285474;
    margin: 0.5rem 0;
    transition: 0.2s;
}

.remove-person:hover {
    background-color: #285474;
    color: white;
}

.food-note {
  text-align: center;
  margin: 2rem auto 1rem;
  max-width: 600px;
  font-size: 1rem;
}

.food-options {
  display: flex;
  margin: 1rem 0;
  gap: 2rem;
}

.choices p {
    margin: 0;
}


.easyhr {
    border: none;  
    border-top: 1px solid #c4a647; 
}

.submit-button {
    display: block;
    margin: 2rem auto;
    padding: 0.75rem 2rem;
    background-color: #c4a647;
    color: white;
    font-family: "finalsix", sans-serif;
    border: 0.5px solid #c4a647;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.submit-button:hover {
    color: #c4a647;
    background-color: white;
    
}

.faq {
    padding: 0.5em 0;
}

.faq-item {
    border: 0.5px solid #285474;
    margin-bottom: 0.5rem;
    text-align: left;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    text-transform: none;
}

.faq-question h3:hover {
    text-decoration: underline;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 20px;
    color: #285474;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.5s ease, 
    padding 0.7s ease;
    color: #285474;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1rem 1rem 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: #c4a647;
    transform: translateX(-50%);
    z-index: 0;
}

.persons-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.persons-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.persons-content {
    width: 35%;
    padding: 1rem 0;
    z-index: 1;
}

.persons-right {
    text-align: left;
    padding-left: 1rem;
}

.persons-icon {
    background: white;
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
}

.persons-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.persons-content p {
    margin: 0;
    color: black;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content {
    width: 38%;
    padding: 1rem 0;
    z-index: 1;
}

.timeline-left {
    text-align: right;
    padding-right: 4rem;
}

.timeline-right {
    text-align: left;
    padding-left: 4rem;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
}

.timeline-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.timeline-content p {
    margin: 0;
    color: black;
}

.timeline-content a {
    color: black;
}

.popup_container {
    padding: 1.5rem;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    max-width: 300px;
    background-color: #fefefe;
    margin: 5% auto 0 auto;
    width: 80%;
}

.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

.animate2 {
    animation: fadeInJJ 5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInJJ {
  0%   { opacity: 0.05; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

@media (max-width: 768px) {
    .timeline-content {
        font-size: 70%;
    }
    
    .countdown_inner {
        width: 50%;
    }
    .countdown2 {
        gap: 0;
    }
    .countdown {
        display: block;
    }
    
    .name-fields {
        display: block;
    }
    
    .name-fields input[type="text"] {
        width: 95%;
    }
    input[type="text"] {
        width: 95%;
    }
    
    .food-options {
        gap: 0;
    }
    
    .attendance-choice {
        display: block;
        gap: 0;
    }
}