@font-face {
    font-family: "Source Sans 3";
    src: url ("../schriften/Source_Sans_3/SourceSans3-VariableFont_wght.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Source Sans 3", sans-serif;
    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    position: relative;

    background-image: url("../bilder/Wohnpark Alterlaa, Vienna.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


body::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(255, 255, 255, 0.01);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

head{
    margin:0px;
    padding:0px;
    border:0px;
}

header {
    background-color: lightgreen;
    margin: 0px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;       
}

h1 {
    color: white;
    font-weight: 1000;
    font-style: oblique;

    text-shadow:
        3px 3px 0px #7b2cbf,
        6px 6px 0px #22a447,
        9px 9px 0px #ff9800;
}

nav ul{
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background-color: rebeccapurple;
    border-radius: 15px;
    
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.75s ease;

}

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

main {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
}

/* ------ Classes ------ */

.logo-title {
    display: flex;
    align-items: center;
    flex: 20px;
}

.current {
    text-decoration: underline;
    padding: 0px;
}

.logo {
    width: 100px;
    height: auto;
}

.important {
    font-weight: bold;
}

.menu-button {
    display:none;
}

.button {
    color: white;
    background-color: orange;
    padding: 5px;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration:none;
}

.button:hover {
    color: orange;
    background-color: white;
    padding: 5px;
    border-radius: 15px;
    border: 1px;
    border-style: solid;
    border-color: orange;
}

.more-button {
    background-color: orange;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 15px;
    cursor: pointer;
    font-family: inherit;
}

.more-button:hover {
    color: orange;
    background-color: white;
    padding: 5px;
    border-radius: 15px;
    border: 1px;
    border-style: solid;
    border-color: orange;
}

.more-text {
    display: none;
}

.infos {
    display: flex;
    gap: 30px;
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
}

.infos img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.about-us {
    flex: 1;
}

.event-infos {
    display: flex;
    gap: 30px;
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    flex-direction:row-reverse;
}

.event-infos img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.about-event {
    flex: 1;
    text-align: right;
}

.kontaktformular {
    display: flex;
    gap: 30px;
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
}

.kontaktformular img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.about-contact {
    flex: 1;
}

.klubraum {
    display: flex;
    gap: 30px;
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    flex-direction:row-reverse;
}

.klubraum img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.about-klubraum {
    flex: 1;
    text-align: right;
}

.wirfreuenuns {
    display: flex;
    justify-content: center;
    color: white;
    font-size: larger;
    margin: 20px;
}

.ueber-uns {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: 30px;
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
}

.ueber-uns img {
    width: 1000px;
    height: 600px;
    object-fit: cover;
}

.angebote {
    display: flex;
    gap: 30px;
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
}

.angebote img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.mehr-angebote {
    display: flex;
    gap: 30px;
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    flex-direction:row-reverse;
}

.mehr-angebote img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.kinderturnen {
    flex: 1;
}

.kinderschwimmen {
    flex: 1;
    text-align: right;
}

.babytreff {
    flex: 1;
}

.spieltreff {
    flex: 1;
    text-align: right;
}

.saisonale-events {
    flex: 1;
}

footer {
    color: white;
    background-color: rebeccapurple;
    padding: 1em 20px;

    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;
}

/* ------ Responsive layout ------ */

@media (max-width: 900px) {

    header {
        flex-wrap: wrap;
    }

    h1 {
        text-align: center;
        font-size: 1.4rem;
    }

    nav {
        width: 100%;
        display: none;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    main {
        padding: 0 15px;
    }

    footer {
        color: white;
        background-color: rebeccapurple;
        padding: 20px 5vw;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* ------ Classes ------ */

    .logo {
        width: 55px;
        height: auto;
    }

    .menu-button {
        display: block;
        background: none;
        border: none;
        color: rebeccapurple;
        font-size: 2rem;
        cursor: pointer;
    }

    .infos {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .infos img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }

    .event-infos {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .event-infos img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }

    .kontaktformular {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .kontaktformular img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }

    .klubraum {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }
    
    .klubraum img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }
    
    .about-klubraum {
        flex: 1;
        text-align: center;
    }

    .wirfreuenuns {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .wirfreuenuns img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }

    .ueber-uns {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .ueber-uns img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }
    
    .angebote {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .angebote img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }

    .mehr-angebote {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .mehr-angebote img {
        width: 100%; 
        height: auto; 
        max-height: 250px; 
        object-fit: cover; 
        border-radius: 10px;
    }

    .about-event {
        text-align: center;
    }

    .kinderschwimmen {
        text-align: center;
    }

    .spieltreff {
        text-align: center;
    }

}
