/* General */ 
html, body { 
    margin: 0; 
    height: 100%; 
    font-family: 'Roboto', sans-serif; 
    font-weight: 200; 
    scroll-behavior: smooth; 
} 
 
a { 
    font-size: 18px; 
} 
 
hgroup { 
    text-align: center; 
    margin: auto; 
    padding: 0; 
} 
 
p { 
    line-height: 1.6; 
    font-size: 16px; 
} 
 
h1 { 
    font-weight: 300; 
    font-size: 40px; 
} 
 
h2 { 
    font-weight: 200; 
    text-align: center; 
    text-decoration: underline; 
    font-size: 32px; 
    padding-bottom: 30px; 
    text-decoration-thickness: 1px; 
} 
 
hr { 
    width: 80%; 
    border: 1.5px solid white; 
    border-radius: 5px; 
} 
 
 
/* Effects */ 
.mg-logo-header:hover, 
.mg-logo-footer:hover, 
.header-button:hover { 
    transition: transform 0.3s; 
    transform: scale(1.05); 
} 
 
header div nav ul li a:hover { 
    text-decoration: underline; 
} 
 
 
/* Header with nav, logo and CTA */ 
#header { 
    display: flex; 
    height: 90vh; 
    background-image: url(../Images/Website-Background.png);
    /* In Webp the quality wasn't good so I switched back to png */ 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    justify-content: center; 
} 
 
#header .header-CTA { 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    border: 4px solid #1E1E1E; 
    border-top: none; 
    width: 70vw; 
    max-width: 1000px; 
    max-height: 150px; 
    margin-top: 20vh; 
    padding: 80px 10px; 
    z-index: 0; 
} 
 
#header .header-CTA::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 20vw; 
    max-width: 250px; 
    height: 4px; 
    background-color: #1E1E1E; 
} 
 
#header .header-CTA::after { 
    content: ""; 
    position: absolute; 
    top: 0; 
    right: 0; 
    width: 35vw; 
    max-width: 500px; 
    height: 4px; 
    background-color: #1E1E1E; 
} 
 
#header .header-CTA h1 { 
    margin: 0; 
    padding: 0; 
} 
 
#header .header-CTA p { 
    margin: 0; 
    margin-bottom: 20px; 
    padding: 0; 
} 
 
header div nav { 
    margin-left: auto; 
    margin-right: 10vw; 
} 
 
header div nav ul { 
    display: flex; 
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
    align-items: center; 
} 
 
header div nav ul li { 
    margin: 0 20px; 
} 
 
header div nav ul li a { 
    color: white; 
    text-decoration: none; 
} 
 
.mg-logo-header { 
    display: flex; 
    width: 60px; 
    height: auto; 
    margin-left: 3vw; 
    margin-right: 3vw; 
    transition: transform 0.3s; 
    transform: scale(1); 
} 
 
.headerNav { 
    position: fixed; 
    display: flex; 
    overflow: hidden; 
    align-items: center; 
    background-color: #1E1E1E; 
    border-radius: 0 0 30px 30px; 
    padding: 10px 0; 
    z-index: 1; 
} 
 
.header-button { 
    border: 0 solid; 
    padding: 8px 16px; 
    border-radius: 8px; 
    font-size: 12px; 
    font-weight: 600; 
    background-color: #1E1E1E; 
    color: rgb(255, 255, 255); 
    cursor: pointer; 
    text-decoration: none; 
    transition: transform 0.3s; 
    transform: scale(1); 
} 
 
@media (max-width: 410px) { 
    .mg-logo-header { 
        width: 10vw; 
    } 

    header div nav li a { 
        font-size: 4vw; 
    } 
} 
 
@media (max-width: 600px) { 
    .headerNav { 
        border-radius: 0; 
        border-bottom: 3px solid #ffffff; 
        padding-top: 10px; 
        padding-bottom: 10px; 
        padding-left: 30px; 
        width: 100%; 
    } 

    header div nav ul li { 
        margin: 0 10px; 
    } 
} 
 
@media (max-width: 1024px) { 
    #header hgroup { 
        padding: 40px 10px; 
    } 
} 
 
@media (max-width: 1250px) { 
    #header .header-CTA::before { 
        max-width: 150px; 
    } 
} 
 
 
/* Section Projekt Vorgaben */ 
 
#projekt-vorgaben { 
    background-color: #1E1E1E; 
    padding-top: 50px; 
    padding-bottom: 50px; 
    color: white; 
} 
 
#vorgaben-list { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-evenly; 
    margin: 0 5vw; 
    text-align: center; 
    overflow: hidden; 
} 
 
#vorgaben-list div { 
    width: 135px; 
    height: auto; 
    margin-bottom: 25px; 
} 
 
.vorgabenIcons { 
    height: 100px; 
    width: auto; 
} 
 
main section div p { 
    color: white; 
} 
 
 
/* Section Tools */ 
 
#tools { 
    background-image: url(../Images/Background-modern.webp); 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center bottom; 
    min-height: 350px; 
    padding: 120px 15px; 
    place-items: center; 
} 
 
#tools-list { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-areas: "item1 item2 item3"; 
    max-width: 1100px; 
    width: 100%; 
    overflow: hidden; 
} 
 
.tools-icon-item1 { 
    grid-area: item1; 
} 
 
.tools-icon-item2 { 
    grid-area: item2; 
} 
 
.tools-icon-item3 { 
    grid-area: item3; 
} 
 
/* Zentriert Bild und Text innerhalb jeder Grid-Zelle */
#tools-list > div { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
    text-align: center; 
} 
 
#tools img { 
    margin: 20px 0; 
} 
 
#tools p { 
    color: #1E1E1E; 
    margin: 0; 
    text-align: center;
} 
 
#tools h2 { 
    padding: 10px; 
    margin: 0; 
} 
 
.tools-icon { 
    height: 100px; 
    width: auto; 
    display: block;
} 
 
@media (max-width: 450px) { 
    #tools-list { 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: 1fr 1fr; 
        grid-template-areas:  
            "item1 item2" 
            "item3 item3"; 
    } 
 
    .tools-icon-item1 { 
        grid-area: item1; 
    } 
 
    .tools-icon-item2 { 
        grid-area: item2; 
    } 
 
    .tools-icon-item3 { 
        grid-area: item3; 
    } 
} 
 
@media (max-width: 1024px) { 
    #tools { 
        padding: 60px 15px; 
    } 
} 
 
 
/* Section Ziele */ 
 
#projekt-ziele { 
    background-color: #1E1E1E; 
    padding: 100px 30px; 
    color: white; 
    margin: 0; 
} 
 
#projekt-ziele h2,
#projekt-ziele p { 
    padding: 10px; 
    margin: auto; 
} 
 
@media (max-width: 445px) { 
    .break { 
        display: none; 
    } 
} 
 
 
/* Section Kontakt */ 
 
#kontaktiere-mich { 
    background-image: url(../Images/Background-Clouds.webp); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    height: 900px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
} 
 
#contactform { 
    background-color: #1E1E1E; 
    color: white; 
    padding: 50px; 
    border-radius: 20px; 
    max-width: 400px; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); 
    transition: transform 0.3s; 
} 
 
#contactform h2 { 
    margin-bottom: 0; 
    margin-top: 0; 
} 
 
#contactform:hover { 
    transform: translateY(-3px); 
    z-index: 2; 
} 
 
#contactform input[type="text"], 
#contactform input[type="email"], 
#contactform textarea { 
    width: 100%; 
    padding: 15px; 
    margin: 10px 0; 
    background-color: #444; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    font-size: 16px; 
    box-sizing: border-box; 
    transition: border 0.3s; 
} 
 
#contactform input:focus, 
#contactform textarea:focus { 
    outline: none; 
    border: 2px solid #ffffff; 
} 
 
#contactform textarea { 
    height: 150px; 
    resize: vertical; 
} 
 
.submit-button { 
    width: 100%; 
    padding: 15px; 
    background-color: white; 
    color: #1E1E1E; 
    font-size: 18px; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s ease, transform 0.2s; 
} 
 
.submit-button:hover { 
    background-color: #adadad; 
    transform: scale(1.05); 
} 
 
@media (max-width: 768px) { 
    #contactform { 
        margin: 20px 5vw; 
    } 
} 
 
 
/* Section Footer */ 
 
footer { 
    background-color: #1E1E1E; 
    text-align: center; 
    color: white; 
} 
 
footer a { 
    display: inline-block; 
    text-align: center; 
} 
 
.mg-logo-footer { 
    width: 50px; 
    height: auto; 
    margin-top: 25px; 
    transition: transform 0.3s; 
    transform: scale(1); 
} 
 
address { 
    font-style: normal; 
    color: white; 
    font-size: smaller; 
    margin: 15px 0; 
    line-height: 1.4; 
} 
 
footer div p { 
    font-size: x-small; 
    padding-bottom: 25px; 
}