/* General Styles */
* {
    text-decoration: none !important;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #fff;
    color: #333;
}



.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 1.5%;
}

/* Logo */
.logo {
    max-width: 600px;
    margin-bottom: 10px;
}

/* Nur bei Landscape:  anpassen */
@media (orientation: landscape) and (max-width: 1024px) {
.logo {
        max-width: 400px;
    margin-bottom: 10px;
        }
}


/* Heading */
h1 {
    color: #af1917;
    font-size: 2vw;
    margin-bottom: 20px;
}

/* Nur bei Landscape:  anpassen */
@media (orientation: landscape) and (max-width: 1024px) {
    h1 {
        color: #af1917;
        font-size: 3.5vw;
        margin-bottom: 15px;
        }
}

.subheading {
    font-size: 1.5vw;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Nur bei Landscape:  anpassen */
@media (orientation: landscape) and (max-width: 1024px) {
    .subheading {
        font-size: 2.7vw;
    margin-bottom: 10px;
    line-height: 1.2;

    }
}

.enjoy {
    font-size: 2.1vw;
    font-weight: bold;
    margin-bottom: 40px;
    color: #b1a28b;
}

/* Button */
.start-button {
    background-color: #af1917;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 2vw;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    display: inline-block; /* Ensure the button scales properly */
}

.start-button:hover {
    transform: scale(1.1);
}

/* Footer Badge */
/* .badge {
    margin-top: 40px;
    font-size: 14px;
    color: #7b7b7b;
    border: 1px solid #dcdcdc;
    padding: 10px;
    display: inline-block;
    border-radius: 50%;
    line-height: 1.4;
    width: 100px;
    height: 100px;
    text-align: center;
} */

.badge img {
    width: 10%;
    min-width: 200px;
    position: absolute;
    top:70vh;
    right:5vw;
}

/* Nur bei Landscape: Position anpassen */
@media (orientation: landscape) and (max-width: 1024px) {
    .badge img {
        width: 5%;
        min-width: 120px;
        top: 2vh;  /* Beispiel: etwas höher */
        right: 2vw; /* Beispiel: weiter nach links */

    }
}

.badge strong {
    display: block;
    color: #af1917;
    font-size: 14px;
    font-weight: bold;
}

/* Building Section */
.building-container {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 5.5%;
}

.building {
    text-align: center;
    margin-right: 9.5%;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    display: inline-block; /* Ensure the button scales properly */
}

.building:hover {
    transform: scale(1.1);
}

.building a p {
    color: #b1a28b !important;
    font-weight: bold;
    font-size: 1.1vw;
}





.building-image {
    max-width: 300px;
    margin-bottom: 10px;
}

/* MaRa Section */
.mara-section {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    display: inline-block; /* Ensure the button scales properly */
}

.mara-section:hover {
    transform: scale(1.1);
}

.mara-section .badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    background-color: #e6e6e6;
    font-weight: bold;
}

.mara-section h2 {
    color: #b71c1c;
    font-size: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
        text-align: center;
    }

    .logo {
        max-width: 80%;
        margin-bottom: 20px;
        margin-top: 20px;
    }

        /* Nur bei Landscape: Position anpassen */
@media (orientation: landscape) and (max-width: 1024px) {
    .logo {
        max-width: 60%;
        margin-bottom: 20px;
        margin-top: 20px;

    }
}

    h1 {
        font-size: 1.8em; /* Adjust heading size for smaller screens */
    }

    .subheading {
        font-size: 1.2em; /* Adjust subheading size for smaller screens */
    }

    .container {
        padding: 10px; /* Reduce padding on smaller screens */
    }

    .badge img {
        width: 7%;
        min-width: 70px;
        position: absolute;
        top:0;
        right:0;
    }

    .enjoy {
        font-size: 6.1vw;
        font-weight: bold;
        margin-bottom: 20px;
        color: #b1a28b;
    }

    .start-button {
        background-color: #af1917;
        color: white;
        border: none;
        padding: 15px 30px;
        font-size: 5vw;
        cursor: pointer;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    /* Auswahl Page */
    .building-container {
        display: block;
        margin-left: 0;
        margin-top: 20px;
    }

    .building a p {
        color: #b1a28b !important;
        font-weight: bold;
        font-size: 4.1vw;
    }

    /* Nur bei Landscape: Position anpassen */
@media (orientation: landscape) and (max-width: 1024px) {
    .building a p {
        color: #b1a28b !important;
        font-weight: bold;
        font-size: 2.5vw;

    }
}

/* Nur bei Landscape: Position anpassen */
@media (orientation: portrait) and (max-width: 1024px) {
    .building a p {
        color: #b1a28b !important;
        font-weight: bold;
        font-size: 5.5vw;

    }
}



    .building {
        text-align: center;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .mara-section a img {
        margin-top: 40px;
    }


    .mara-section a img {
        max-width: 80%;
    }

}   