
.p5s1{

    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 78vh;
    padding-bottom: 2vh;

}

.p5s1c1{
    margin-bottom: .5em;
}
.p5s1c2{
    text-align: center;
    font-size: 2rem;
    width:clamp(80%, 95vw, 30em);;
    margin-bottom: 1em;
}


.p5s1c3{
    display: flex;
    flex-direction: row;
    gap: 5vw;

    justify-content: center;
}


.p5s1c3Element {
    position: relative;
    width: clamp(13em,25vw,20em);
    aspect-ratio: 466/700;
    border-radius: 10px;
    transition: transform 0.4s ease-in;
    transform-style: preserve-3d;
}
.p5s1c3Element img{
    border-radius: 10px;
    height: auto;
    width: 100%;
}

/* This container is needed to position the front and back side */
.p5s1c3ElementInner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border: var(--Color-SMI-Pink) 1px solid;
    background-color: var(--Color-SMI-Dark-Purple);

    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.p5s1c3Element:hover .p5s1c3ElementInner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.p5s1c3ElementBack{
    position: absolute;
    height: 90%;
    width: 90%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: clamp(0.65rem,1.3vw,1rem);
    color: white;
}

/* Style the front side (fallback if image is missing) */
.p5s1c3ElementFront{
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
}







.p5s1c3Name{
    color: white;
    position: absolute;
    text-align: center;
    font-family: Raleway-Heavy, serif;
    font-size: 2rem;
    width: 100%;
    bottom: 10%;
}
.p5s1c3Title{
    width: 100%;
    bottom: 3%;
    text-align: center;
    position: absolute;
    color: white;
    letter-spacing: 0.2em;
}
.p5s2{
    padding-top: 6em;
    position: relative;
    z-index: 10;
}

.p5s2c3{
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: white;
}
.p5s2c3Line{
    display: flex;
    flex-direction: row;
    gap: 1em;
}
.p5s2c3Small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--Color-SMI-Dark-Purple);
    border: var(--Color-SMI-Pink) solid 1px;
    border-radius: 5px;
    width: 30%;
    overflow: hidden;
    max-height: 20em;
}
.p5s2c3Small img {
    width: 100%;
    object-fit: cover;
}


.p5s2c3Big{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--Color-SMI-Dark-Purple);
    border: var(--Color-SMI-Pink) solid 1px;
    border-radius: 5px;
    width: 70%;
    height: 20em;
}
.ImgPerformance{
    height: 9em;
}
.PerformanceText{
    text-align: center;
    margin-bottom: 1em;
    font-size: 2.2rem;
}
.p5s2c3BigText{
    text-align: center;
    font-size: 2rem;
    padding: 0.5em 1em;
}
.p5s2c3BigTextHead{
    font-size: 2.8rem;
    margin-bottom: 0.4em;
    font-family: Raleway-Heavy, serif;
}
.cleanCodeText{
    font-size: 2.2rem;
}
.cleanCodeImg{
    height: 14em;
}
.p5s2c3Keywords{
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.p5s2c3KeywordsRow{
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}
.p5s2c3Keyword{
    display: flex;
    flex-direction: row;
}
.p5s2c3Keyword{
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #1EFF00;
    border-radius: 20px;
    padding: 0.2em 0.5em;
    width: 100%;
    font-size: 1.7rem;
}
.p5s2c3KeywordsHead{
    font-size: 2rem;
    text-align: center;
    margin-top: 1em;
}
.p5s2c3LastHead{
    text-align: center;
    font-size: 1.7rem;
    padding: 0 1em;
    font-family: Raleway-Heavy, serif;
    margin-bottom: 1em;
}
.p5s2c3Button{
    background-color: white;
    animation: safariGlowAnimWhite 4s ease-in-out infinite !important;
}

.p5s2c3Button:after{
    background-color: var(--Color-White);
}
.p5s2c3Button{
    color: var(--Color-SMI-Pruple);
}
.p5s2c3Arbeitsplatz{
    height: 30em;
    object-fit: fill;
}



.p5s3{
    display: flex;
    flex-direction: column;
    font-size: 1.3rem;
    position: relative;
    z-index: 10;
}
.p5s3Right{
    text-align: right;
    width: 30em;
    align-self: flex-end;
}
.p5s3Left{
    text-align: left;
    width: 30em;
    align-self: flex-start;
}
@media screen and (max-width: 1200px) {
    .p5s2Wrap{
        flex-wrap: wrap;
    }
    .p5s2WrapRev{
        flex-wrap: wrap-reverse;
    }
    .p5s2c3Small, .p5s2c3Big{
        width: 100%;
        margin: 0 1em;
        height: unset;

    }
    .p5s2c3Big{
        padding: 2em 0;
    }
    .p5s2Pad{
        padding: 2em 0;
    }

    .p5s2c3Line{
        margin-bottom: 2em;
    }
    .p5s2c3BigTextHead{
        text-align: center;
    }

}
@media only screen and (max-width: 700px) {
    .p5s1{
        height: unset;
    }

    .p5s1c1{
        font-size: 2rem;
        font-variation-settings: "wght" 700;
        font-family: var(--Font-RVW), sans-serif;
        margin-bottom: 0.5em;
    }


    .p5s1c2{
        font-size: 1.2rem;
        font-variation-settings: "wght" 400;
        font-family: var(--Font-RVW), sans-serif;
        margin-bottom: 1em;
    }

    .p5s1c3{
        flex-direction: column;
        align-items: center;
    }
    .p5s1c3Element{
        width: 20em;
    }

    .p5s3Right{
        width: 100%;
    }
    .p5s3Left{
        width: 100%;
    }
    .p5s2c3BigText{
    }
    .p5s2c3Big, .p5s2c3Small{
        margin: unset;
    }
    .p5s1c3ElementBack{
        font-size: 1rem;
    }
}