@font-face {
    font-family: 'darby-sans';
    src: url('fonts/DarbySans-Medium.otf') format('truetype'),
}

@font-face {
    font-family: 'aptos';
    src: url('fonts/Aptos.ttf') format('truetype'),
}


body, html {
    margin: 0;
    padding: 0;
    font-family: 'aptos' !important;
    overflow: hidden;
    width:100vw; 
    height: 100vh;
}


p, a {
    font-family: 'aptos' !important;
    font-size: 1.25rem;
}

h1, h2, h3, h4 {
    font-family: 'darby-sans';
    color: #00205B !important;
}

#startscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFF4E5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in-out;
    z-index: 10;
    cursor: pointer;
    padding: 3rem;
    text-align: center; 
    z-index: 1000;
}

.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

#main-header {
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: #FFF4E5;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#main-header .header-content img:first-child {
    width: 300px; 
    height: auto; 
}

#main-header .header-content img:last-child {
    width: 500px; 
    height: auto;
}

main { 
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.logo-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 10px;
    transition: all 1s ease-in-out;
}

.logo-container img {
    width: 100%;
    max-width: 500px;
    transition: all 1s ease-in-out;
}

.logo-container.active {
    flex-direction: row; 
    justify-content: center;
}

.logo-container.active img:first-child {
    width: 250px;
}

.logo-container.active img:last-child {
    width: 400px;
}

#animation img {
    width: 50px !important;
}


.link-container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Abstand zwischen den Links */
}

.link-container a {
    display: block;
    text-decoration: none;
    background-color: #00205B;
    color: white !important;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}

.link-container a:hover {
    background-color: #0056b3;
}

.arrow-icon {
    width: 2rem;
}

@media (max-width: 1204px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #main-header {
         height: 200px;
    }
       
    .info-text {
        width: 100%;
    }

    .info-links {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    #infoSection {
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: center; /* Falls nötig */
        min-height: auto; /* Sicherstellen, dass genug Platz bleibt */
        width: 100%;
    }

    .link-container a {
        display: flex;
        align-items: center;
        text-align: left; /* Sicherstellen, dass der Text nicht mittig ausgerichtet ist */
        white-space: nowrap; /* Verhindert Zeilenumbrüche im Text */
        width: auto; /* Verhindert unnötige Skalierung */
    }

    .arrow-icon {
        flex-shrink: 0; /* Verhindert das Schrumpfen des Icons */
        width: 25px; /* Größe des Icons anpassen */
        height: auto;
    }

    #partySection {
        margin-top: 100px;
    }
}

@media (max-width: 1000px) {

    main {
        margin-top: 150px !important;
    }

    .info-text {
        margin: 0 !important;
    }

    .link-container {
        display: flex;
        flex-wrap: wrap; /* Zeilenumbruch für bessere Darstellung */
        gap: 1rem;
        justify-content: center;
    }

    .link-container a {
        display: flex;
        align-items: center;
        text-align: left; /* Sicherstellen, dass der Text nicht mittig ausgerichtet ist */
        white-space: nowrap; /* Verhindert Zeilenumbrüche im Text */
        width: auto; /* Verhindert unnötige Skalierung */
    }

    .arrow-icon {
        flex-shrink: 0; /* Verhindert das Schrumpfen des Icons */
        width: 25px; /* Größe des Icons anpassen */
        height: auto;
    }

    .header-content img {
        width: 80%; 
        max-width: 200px;
    }
}

@media (max-width: 768px) {

    main {
        margin-top: 0 !important;
    }

    #startscreen {
        padding: 2rem;
        min-height: 15vh; 
    }

    #animation img {
        width: 30px !important;
    }

    .logo-container.active {
        flex-direction: column;
    }

    .logo-container.activ img:first-child {
        width: 400px; 
        margin-bottom: -55px !important;
        z-index: 1;
    }
    
    .logo-container.active img:last-child {
        width: 500px; 
    }

    #main-header {
        height: 160px;
   }

   #main-header .header-content img:first-child {
        width: 200px; 
        height: auto; 
    }

    #main-header .header-content img:last-child {
        width: 400px; 
        height: auto;
    }

    .header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    #infoSection {
        margin-top: 2rem !important;
        display: flex;
        flex-direction: column;
        align-items:center; 
        min-height: auto; 
        justify-content: unset !important;
        width: 100%;
    }

 
    .info-text {
        width: 100%;
        margin: 2rem 0 0 0 !important;
    }
    
    .info-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .link-container {
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center;
    }

    .link-container a {
        font-size: 1rem;
    }

    .info-text h1 {
        font-size: 1.8rem;
    }

    .info-text p {
        font-size: 1.3rem !important;
    }

    .info-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    .row {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .col-md-4 {
        order: 2; 
        width: 100%;
    }

    .col-md-8 {
        order: 1; 
        width: 100%;
    }

    .col-md-8 img {
        margin-bottom: 15px; 
    }

    #partySection{
        margin-top: 3rem !important; /* Statt 10rem */
    }

    #hotelSection {
        margin-top: 5rem !important; 
        margin-bottom: 0 !important; 
    }

    #bookingSection {
        margin-top: 3rem !important;
    }

    .info-card {
        margin-top: 5rem !important;
    }

    .hotel-card img {
        width: 50%;
        margin-bottom: 2rem;
        display: block;
        border-radius: 10px;
    }

    .hotel-overlay h3 {
        display: block !important; 
        opacity: 1 !important; 
    }
}

#infoSection {
    width: 100vw; 
    max-width: 100%; 
    margin-top: 0 !important; /* Setze auf 0 zum Testen */
    margin-bottom: 100px;
    height: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

#infosection h1, h2, h3, p, a {
    color: #00205B !important;
}

.info-text {
    margin: 5rem 10rem 0 0;
    max-width: 600px;
}


.arrow-icon {
    width: 20px;
    margin-right: 8px;
}

#location-pic {
    border-radius: 10px;
}

#party-selection a {
    color: #00205B !important;
}

#hotelSection {
    margin-top: 10rem;
    margin-bottom: 3rem;
}

#hotelSelection a {
    color: #00205B !important;
}

.hotel-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.hotel-card a {
    color: #00205B !important;
}

.hotel-card img {
    height: 200px; 
    object-fit: cover; 
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.hotel-card:hover img {
    transform: scale(1.1); 
}

.hotel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.hotel-card:hover .hotel-overlay {
    opacity: 1; 
}

.hotel-overlay h3 {
    color: #fff !important;
    font-size: 1.5rem;
    text-align: center;
}

.hotel-link:hover {
    background:  #f72a2a;
    color: white !important;
}

.hotel-link:hover h3{
    color: white !important;
}

#hotelSection .info-hotels {
    margin-top: 40px; 
    font-size: 1.1rem;
    line-height: 1.6;
}

#hotelSection .info-hotels p {
    text-align: center; 
    font-weight: bold; 
}

#hotelSection .info-hotels a {
    color: #007bff;
    text-decoration: none;
}

#hotelSection .info-hotels a:hover {
    text-decoration: underline;
}


#bookingSection {
    margin-top: 10rem;
}

.btn-primary {
    background-color: #00205B !important;
}

footer {
    margin-top: 5vh;
    text-align: center;
    padding: 20px;
    background: #FFF4E5;
}

footer a {
    color: #00205B;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.message-box {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    margin-top: 20px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.error-box {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    margin-top: 20px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.endscreen-container {
    display: block;
}

.hotel-links-container {
    display: none; 
    flex-direction: column; 
    gap: 10px; 
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.hotel-link {
    display: block;
    padding: 12px 20px;
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.1s ease-in-out;
}

.hotel-link:hover {
    background:  #00205B !important;
    color: white !important;
}


.event-item {
    display: flex;
    align-items: center;  
    gap: 15px;           
    padding: 10px 0;     
}

.event-checkbox {
    width: 20px;         
    height: 20px;
    flex-shrink: 0;      
    display: flex;
    align-items: center; 
    justify-content: center;
}

.event-content {
    display: flex;
    align-items: center;  
    gap: 10px;           
    cursor: pointer;     
}

.event-image {
    width: 80px;        
    height: auto;         
    flex-shrink: 0;      
}

.event-text {
    flex: 1;             
    font-size: 16px;
}

.accordion{
    margin-top: 5rem;
}

.accordion-item {
    margin-top: 3rem;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.card-img-top {
    height: 300px; 
    object-fit: cover;
}

.card-body {
    background: #FFF4E5;
    padding: 2rem !important;
}

.image-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 350px;
}

.image-left, .image-right {
    flex: 1;
    overflow: hidden;
    height: 100%;
}

.image-left img, .image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.info-card {
    margin-top: 10rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    text-align: left;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

ul {
    list-style: square;
    padding: 0;
}

ul li {
    font-size: 16px;
    margin-bottom: 10px;
}

ul li a {
    color: rgb(199, 15, 15) !important;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}
