@font-face {
    font-family : 'Univers Extra Bold';
    src         : url('https://big.show-tangram.de/fonts/Univers-ExtraBlack.woff2') format('woff2'), url('https://big.show-tangram.de/fonts/Univers-ExtraBlack.woff') format('woff');
    font-weight : 900;
    font-style  : normal;
    font-display: swap;
}

@font-face {
    font-family : 'Univers Condensed Bold';
    src         : url('https://big.show-tangram.de/fonts/Univers-CondensedBold.woff2') format('woff2'), url('https://big.show-tangram.de/fonts/Univers-CondensedBold.woff') format('woff');
    font-weight : 900;
    font-style  : normal;
    font-display: swap;
}

@font-face {
    font-family : 'Univers Condensed Bold Italic';
    src         : url('https://big.show-tangram.de/fonts/UniversCondensed-BoldItalic.woff2') format('woff2'), url('https://big.show-tangram.de/fonts/UniversCondensed-BoldItalic.woff') format('woff');
    font-weight : 900;
    font-style  : normal;
    font-display: swap;
}

/* Basis-Styling */
body {
    font-family: "Helvetica Neue", serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-weight: 300;
    
    flex-direction: column;
    
    align-content: center;
    width: 100%;
    
}

#banner {
    
    
    width: 100vw;
    
    margin-left: -10px;
    
    margin-top:-50px;
    margin-bottom: 150px;
    animation-name: slideDown;
    animation-duration: 1.5s; /* Gesamte Animationsdauer (inklusive Wartezeit) */
    animation-delay: 1s; /* Wartezeit vor Beginn der Animation */
    animation-timing-function: ease; /* Easing-Funktion für die Animation (kann nach Bedarf angepasst werden) */
    animation-fill-mode: forwards; /* Bild behält die Endposition nach der Animation bei */
}

@keyframes slideDown {
    0% {
        margin-top: -50px; /* Startposition */
    }
    25% {
        margin-top: -50px; /* Halten Sie die Position 1 Sekunde lang */
    }
    100% {
        margin-top: -850px; /* Endposition */
    }
}



a {
    color: inherit;
}

#brandicons {
    background: #ffd500;
    display: block;
    min-height: 50px;
    margin-left: -10px;
    width: calc(100vw);
    display: inline-flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 20px;
    box-sizing: border-box;
}

#brandicons img {
    max-width: 30%;
    margin: 10px;
    align-self: center;
    height: auto;
    max-height: 40px;
}


#container {
    max-width: 400px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    
    animation: fadeIn 0.5s ease-in-out;
    display: inline-flex;
    justify-content: flex-start;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    
}

#logo {
    width: 50%;
    margin-bottom: 3vh;
}

h1, h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Univers Condensed Bold Italic';
    font-weight: bold;
    font-size: 28px;
    line-height: 1.1;
    text-align: left;
}

.catalogues {
    box-sizing: border-box;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;

}

.catalogues > div {
    width: 45%;
    display: inline-flex;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;

}

.catalogues > div img {
    width: 100%;
}

h2 {
    font-size: 25px;
}

/* Formular-Styling */
form {
    display: flex;
    flex-direction: column;
    
}

form label {
    font-weight: 300;
    font-size: .7rem;
    margin-bottom: 5px;
    color: #555;
    animation: slideInLeft 0.5s ease-in-out;
}

form label span {
    font-size: 1rem;
    font-weight: 500;
}

form label img {
opacity: .5;
}

form label img.active {
    opacity: 1;
    }

    .catalogues input {
        display: none;
    }


form input,
form select {
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
    animation: slideInRight 0.5s ease-in-out;
}

form select {
    appearance: none;
}

form input[type="checkbox"] {
    margin-top: 5px;
}

form input:focus,
form select:focus {
    border-color: #F8D648;
    outline-color: #F8D648;
}

/* Button-Styling */
form input[type="submit"] {
    background-color: #F8D648;
    color: #3A3537;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: slideInUp 0.5s ease-in-out;
    margin-top: 20px;
}

form input[type="submit"]:hover {
    background-color: #F8D648;
}

#typeswitch {
    
    display: inline-flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

p {
    line-height: 130%;
    font-size:1rem;
}

button {
    width: 47%;
    border: none;
    appearance: none;
    padding: 15px 20px;
    background: #e2e2e2;
    color: #3A3537;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    font-weight: 500;
    font-size: 1rem;
}

button.selected {
    background: #F8D648;
    color: #3A3537;
}

/* Animationen */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
