@import url('./media-queries.css');
@import url('./configurate.css');

*{
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

header{
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav{
    display: flex;
    gap: 15px;
}

.burgerMenuElement {
    width: 40px;
    height: 5px;
    background-color: var(--quinary-color);
    margin: 10px;
    transition: all 0.4s ease-in-out;
}

/* Burger Menü Basis */
.burgerMenu {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    z-index: 1101;
    display: none;
}

.burgerMenu:hover {
    transform: rotate(4deg);
}

/* Animation für das Burger-Menü */
.burgerMenu.active .burgerMenuElement:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
    background-color: var(--secondary-color);
}

.burgerMenu.active .burgerMenuElement:nth-child(2) {
    opacity: 0;
}

.burgerMenu.active .burgerMenuElement:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
    background-color: var(--secondary-color);
}

/* Off-Canvas Menü */
.offCanvas {
    z-index: 1100;
    position: fixed;
    top: 0;
    left: 120vw;
    height: 100vh;
    width: 100%;
    transition: left 0.3s ease-in-out;
    display: none;
    box-shadow: 0px 0px 7px var(--primary-color);
    backdrop-filter: blur(10px); /* Unschärfe des Hintergrunds */
    background-color: #5f5f5fbb;
    
}

.offCanvas div{
    position: relative;
    height: 100%;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offCanvas div nav{
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offCanvas.open {
    left: 0vw;
}

    
.spacer{
    height: 6vh;
    width: 100%;
}



.navContainer{
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.wrapper{
    max-width: 1440px;
    margin: 0 auto;
    padding: 25px 20px;
}

header{
    box-shadow: 0px 0px 7px var(--primary-color);
}

.heroSection{
    position: relative;
    background-image: url('../img/background-img-grey.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mobileLogo{
    display: none;
}

footer{
    background-color: #7e7e7e;
}

.flexBoxContainer{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0px;
    flex-wrap: wrap;
}

.fullHeightSection{
    min-height: 100vh;
    width: 100%;
}

.meSection{
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sectionTitle{
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}

.titleContainer{
    display: grid;
    justify-content: center;
}

.myProjectSection .wrapper .flexBoxContainer{
    margin-top: 50px;
    justify-content: center;
    gap: 70px;
}

.card{
    background-color: var(--tertiary-color);
    height: 50%;
    width: 50%;
    min-height: 280px;
    min-width: 280px;
    border-radius: 10px;
}

.cardInnerContainer{
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cardContainer{
    display: grid;
    gap: 15px;
    flex-wrap: wrap;
}

.textInnerContainer{
    max-width: 500px;
}



