:root {
	--header-gradient: linear-gradient(90deg, #2c4e6c 0%, #3b6c97 100%);
	--color--primary-blue: #003365;
	--color--secondary-blue: #8e98a3;
	--color--primary-yellow: #f0a20b;
	--color--white: #ffffff;
	--color--footer-bg: #2c4e6c;
	--color--footer-text: #ffffff;
	--font-family: 'Titillium regular', Helvetica, Arial, Lucida, sans-serif;
	--font-size-title: 3rem;
	--font-size-content: 1rem;
	--font-size-buttons: 0.875rem;
	--font-size-footer: 0.875rem;
	--footer-height: 3.125em;
	--footer-text-align: center;
	--footer-link-color: #ffffff;
	--footer-link-hover-color: #f0a20b;
	--footer-link-hover-bg: #003365;
	--footer-link-hover-border-color: #f0a20b;
    --footer-padding: 1rem 0;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
	margin: 0;
	font-family: var(--font-family);
}
.header_bg {
	background: var(--header-gradient);
	color: var(--color--white);
	padding: 20px;
	text-align: center;
}
.MARI-SAP-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
}
#pmLogo {
    width: 235px;
    height: 43px;
}
#header {
    order: 1;
    flex-shrink: 0; 
}
#sap_partner {
    order: 2;
    flex-shrink: 0;
}
#sap_partner img {
    width: 73.88px;
    height: 43.266px; 
}

.slide_bar_container {
    position: relative; 
    width: 100%; 
    height: auto; 
    overflow: hidden; 
	padding-bottom: 3rem;
}

#slide_bar_text {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: var(--color--white); 
    font-size: var(--font-size-title); 
    text-align: center; 
    z-index: 1;
}

/* Styling für die Maske */
#slide_bar_png {
	width: 100%;
    object-fit: cover;
    object-position: top left;
    height: 420px;
    mask-image: url('../imagesyui/maske.svg');
    -webkit-mask-image: url('../imagesyui/maske.svg');
    mask-position: center bottom;
    -webkit-mask-position: center bottom;
    mask-size: 100% auto;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
	transition: transform 0.5s ease-in-out;
}

.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
}

#main-right {
    text-align: right;
}

.logos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
	padding-bottom: 3rem;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    background-color: var(--color--white);
    color: var(--color--primary-yellow);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid #f0a20b;
    border-color: #f0a20b;
    transition: all 0.3s ease;
    font-size: 1rem;
	font-weight: bold;
    width: 75%;
    position: relative;
    padding-right: 2rem; 
}

.buttons::after {
    content: "→";
    position: absolute;
    right: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.buttons:hover {
    background-color: var(--color--primary-yellow);
    filter: brightness(110%);
	color: var(--color--white);
}

.buttons:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

#main-container-text-2 {
    margin-top: 2rem;
    color: grey;
    font-size: 1rem;
}

#MARIProject-Logo {
    max-width: 300px;
    height: auto;
}

#SAP-Business-One-Logo {
    max-width: 250px;
    height: auto;
}


.footer_bg {
	background: var(--header-gradient);
	color: var(--color--white);
    padding: var(--footer-padding);
}

.footer_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	font-weight: bold;
    padding: 0 1rem;
}

.footer_text {
    margin: 0;
}

#footer_link {
    color: var(--footer-link-color);
    text-decoration: none;
}


@media (max-width: 767px) {
    #pmLogo {
        width: 195px;
    }
    .main-container {
        flex-direction: column; 
        align-items: stretch;   
        gap: 2rem;
    }
    #main-right {
        text-align: center;
        order: 1;
    }
    #main-left {
        text-align: center;
        order: 2;
    }
    .logos {
        align-items: center; 
    }
    .columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer_container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

}

@media (max-width: 425px) {
    .columns {
        grid-template-columns: 1fr;
    }
}