:root {

    --main: #1c0228;
    --second: #872341;
    --third: #BE3144;
    --fourth: #F05941;
    --fifth: #1a0622;
    --text-shadow: #11021a;



    /* toogle button */

    --sz: 1.1vmax;
    --on: #03A9F4;
    --of: #fff0;
    --gr: #666666;
    --tr: all 0.5s ease 0s;
    --lg: var(--of);

    /* clip-path parameters */

    --x: 0;
    --y: 0;
    --r: 0;


}


* {
    box-sizing: border-box;
    cursor: url(cursor.svg)10 10, auto !important;

    /* filter: brightness(1.1) saturate(1); */
}

@media screen and (min-width: 1600px) {
    body {

        transform: scale(1.4);

    }

    .toggle {
        transform: scale(0.75);
    }
}

@media screen and (min-width: 2000px) {
    body {

        transform: scale(1.8);

    }

    .toggle {
        transform: scale(0.55);
    }
}


body {
    position: absolute;
    width: 100%;



    margin: 0px;
    color: var(--fourth);
    font-family: "Kanit", sans-serif;
    background-color: var(--main);

    background: repeating-linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0) 100%);
    background-size: auto 3px;
    background-image: radial-gradient(var(--second), var(--main));
    overflow-x: hidden;
    overflow-y: scroll;




}



.darkMode {
    filter: grayscale(1) brightness(1.5);
}



body>div {
    overflow: hidden;
    width: 100vw;
}

/* CRT noise */
.noise {

    pointer-events: none;
    position: fixed;
    width: 100%;
    min-height: 100%;
    /* another noise example to try */

    /* https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif */

    background-image: url("backgroundNoise.gif");
    background-repeat: repeat-y;
    background-size: cover;
    z-index: 9;
    opacity: 0.02;
}


.noise-overlay {
    pointer-events: none;
    position: fixed;
    width: 100%;
    min-height: 100%;
    background:
        repeating-linear-gradient(0deg,
            /* Vertical stripes */
            rgba(0, 0, 0, 0) 0,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0) 100%),
        repeating-linear-gradient(90deg,
            /* Horizontal stripes */
            rgba(0, 0, 0, 0) 0,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0) 100%);
    background: repeating-linear-gradient(80deg,
            rgba(0, 0, 0, 0) 0,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0) 100%);
    background-size: 2px 2px;
    z-index: 10;
}

/* CRT noise */


/* container :start */
.main-page .container {
    position: relative;
    max-width: 1200px;
    min-height: 100%;
    margin: 0 auto;
    display: grid;
    opacity: 0.7;
    grid-auto-columns: 1fr;
    grid-template-rows: auto 1fr 1fr 1fr 1fr auto;
    grid-template-areas:
        "header header header header header"
        "aside aside main main main"
        "aside aside main main main"
        "aside aside main main main"
        "aside aside main main main"
        "middle middle middle middle middle"

        "footer footer footer footer footer";
    grid-gap: 10px;


    padding: 10px;
    /* width: 100vw; */
}


/* CRT Scanning line from top to bottom */
.container::before {
    content: "";
    pointer-events: none;
    position: fixed;
    z-index: 10;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg,
            transparent 0%,
            rgb(240, 89, 65, 0.2) 2%,
            rgba(240, 89, 65, 0.8) 3%,
            rgba(240, 89, 65, 0.2) 3%,
            transparent 100%);
    background-repeat: no-repeat;
    animation: scan 7.5s linear 0s infinite;
}


@keyframes scan {
    0% {
        background-position: 0 -100vh;
    }

    35%,
    100% {
        background-position: 0 100vh;
    }
}



/* container :end */


/* header :start */

header {
    grid-area: header;

}

nav {

    display: flex;
    justify-content: space-between;
    margin: 0 1rem;
    align-items: center;


}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0px;


}



.head-right {
    margin-left: 0px;
    display: flex;
    gap: 2rem;
}

.nav-bar>li {
    display: flex;

    /* padding: 5px 10px; */
    /* margin: 5px; */
    font-size: 1.5rem;
    font-weight: 400;



}

.nav-bar a {
    text-decoration: none;
    color: var(--fourth);
}

.a-logo {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 4rem;
    display: inline-flex;
    align-items: center;
    /* oder center, je nach Look */
    gap: 0.25rem;


}

.m {

    margin: 0;


}

.t {
    margin: 0;


}

nav>ul {
    padding-left: 0;
}


/*add animation of line increase obove button on hover*/

.head-right a::before {
    content: '';
    display: block;
    height: 0.25rem;
    background-color: var(--fourth);

    position: relative;
    top: 0%;
    width: 0%;
    left: -20%;

    transition: all ease-in-out 250ms;
}

.head-right a:hover::before {
    width: 120%;
}

.head-right a::after {
    content: '';
    display: block;

    background-color: var(--fourth);

    position: relative;
    top: -120%;
    left: -9%;
    height: 0%;
    width: 0.25rem;

    transition: all ease-in-out 250ms;
}

.head-right a:hover::after {
    height: 100%;
}




#hamburger-icon>span {

    width: 100%;
    height: 0.4rem;
    border-radius: 0.2rem;
    background-color: var(--fourth);

    box-shadow: 0.05rem 0.2rem var(--second);

}





/* dont show hamburger menu items incase you increase window width after clicking the hamburger symbol */
@media screen and (min-width: 700px) {
    .navbar-hamburger {
        display: none;
        z-index: -1;
    }

    .hamburger-icon>span {
        display: none;
    }


}

/* Hamburger navbar items drop down */

@keyframes drop {
    0% {
        transform: translateY(-100vh);
        animation-timing-function: ease-in;
    }

    40% {
        transform: translateY(-30vh);
        animation-timing-function: ease-in;
    }

    65% {
        transform: translateY(-20vh);
        animation-timing-function: ease-in;
    }

    82% {
        transform: translateY(-10vh);
        animation-timing-function: ease-in;
    }

    92% {
        transform: translateY(-5vh);
        animation-timing-function: ease-in;
    }

    25%,
    55%,
    75%,
    87%,
    97%,
    100% {
        transform: translateY(0);
        animation-timing-function: ease-out;
    }
}

/* header :end */


/* aside :start */
aside {
    grid-area: aside;
    padding: 0;

}

.inside-aside {


    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 4rem;
}

.inside-aside-top span {
    border-radius: 0.25rem;
    box-shadow: 0 0 20px var(--fourth), 0 0 5px var(--fourth);
}

.inside-aside-bottom>span {
    border-radius: 0.25rem;
    box-shadow: 0 0 20px var(--fourth), 0 0 5px var(--fourth);
}

.inside-aside-top {
    position: relative;

}


/* Toggle :start */
.toggle {

    width: calc(var(--sz) * 4);
    height: calc(var(--sz) * 2);
    display: flex;
    align-items: center;
    justify-content: center;

}



label[for=btn] {
    position: absolute;
    width: calc(var(--sz) * 4);
    height: calc(var(--sz) * 2);
    background: var(--fourth);
    border-radius: var(--sz);
    box-shadow: 0 0 calc(var(--sz) / 50) calc(var(--sz) / 50) #0006, 0 -2px calc(var(--sz) / 10) calc(var(--sz) / 500) #0b0b10, 0 0px calc(var(--sz) / 10) calc(var(--sz) / 50) #b9e1ff88, 0 -2px calc(var(--sz) / 5) calc(var(--sz) / 50) #15182fcc;
}

.thumb {
    position: absolute;
    width: calc(calc(var(--sz) * 2) - calc(var(--sz) / 8));
    height: calc(calc(var(--sz) * 2) - calc(var(--sz) / 8));
    top: calc(calc(var(--sz) / 10) + calc(var(--sz) / -20));
    left: calc(calc(var(--sz) / 10) + calc(var(--sz) / -30));
    background:
        radial-gradient(circle at 48% 50%, var(--third) calc(var(--sz) / 1.05), var(--lg) calc(var(--sz) / 0.99)),
        radial-gradient(circle at 40% 50%, #fff0 calc(var(--sz) / 0.95), var(--lg) calc(var(--sz) / 0.75)),
        linear-gradient(180deg, #283349, #17212f);
    border-radius: var(--sz);
    box-shadow:
        calc(var(--sz) / -50) calc(var(--sz) / 50) calc(var(--sz) / 30) 0 #fff2 inset,
        0 0 calc(var(--sz) / 10) calc(var(--sz) / 50) #000c,
        0 calc(var(--sz) / 3) calc(var(--sz) / 3) 0 #000d;
    /* cursor: pointer; */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

#btn:checked+label .thumb {
    --lg: var(--on);
    transition: var(--tr);
    left: calc(calc(100% - calc(calc(var(--sz) * 2) - calc(var(--sz) / 3))) - calc(calc(var(--sz) / 10) + calc(var(--sz) / 5.75)));

}

.thumb:before {
    content: "";
    position: absolute;
    width: calc(var(--sz) / 0.5);
    height: calc(var(--sz) / 0.5);
    background: radial-gradient(circle at 45% 50%, #fff0 calc(var(--sz) / 1), var(--lg) calc(var(--sz) / 0.95));
    filter: blur(1px);
}

.light {
    position: absolute;
    width: calc(var(--sz) * 1);
    height: calc(var(--sz) / 1.75);
    right: calc(var(--sz) * -2.75);
    display: flex;
    justify-content: center;
    z-index: 1;
    background: #121212;
    position: relative;
    width: calc(var(--sz) / 1.75);
    height: calc(var(--sz) / 1.75);
    border-radius: var(--sz);
    box-shadow:
        0 0px calc(var(--sz) / 50) calc(var(--sz) / 50) #0008,
        0 -4px calc(var(--sz) / 10) calc(var(--sz) / 500) #000,
        0 2px calc(var(--sz) / 10) calc(var(--sz) / 500) #fff8,
        0 0px calc(var(--sz) / 20) calc(var(--sz) / 25) #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}

.light:before {
    content: "";
    transition: var(--tr);
    width: calc(100% - calc(var(--sz) / 15));
    height: calc(100% - calc(var(--sz) / 15));
    position: absolute;
    background: radial-gradient(circle at 50% 32%, #fff5 0 calc(var(--sz) / 20), #000 calc(var(--sz) / 3) calc(var(--sz) / 3));
    border-radius: var(--sz);
    box-shadow:
        0 0 calc(var(--sz) / 3) 0 #003ef520,
        0 0 calc(var(--sz) / 3) calc(var(--sz) / 20) #003ef520 inset;
}

#btn:checked+label+.light:before {
    --lg: var(--on);
    transition: var(--tr);
    box-shadow:
        0 0 calc(var(--sz) / 2.5) 0 var(--lg),
        0 0 calc(var(--sz) / 3) calc(var(--sz) / 20) var(--lg) inset,
        0 calc(var(--sz) / -20) calc(var(--sz) / 10) calc(var(--sz) / 10) #000c inset;
    background: radial-gradient(circle at 50% 32%, #fff 0 calc(var(--sz) / 20), var(--lg) calc(var(--sz) / 3) calc(var(--sz) / 3));
}


/* Toggle :end */


.aside-top-t {
    position: absolute;
    top: -15px;
    left: -30px;
    width: 0px;
    height: 10px;
    background-color: var(--fourth);
    transition: width 0.3s ease-in-out;
}

.aside-top-l {
    position: absolute;
    top: -30px;
    left: -15px;
    width: 10px;
    height: 0px;
    background-color: var(--fourth);
    transition: height 0.3s ease-in-out;
}

.aside-top-r {
    position: absolute;
    bottom: -30px;
    right: -15px;
    width: 10px;
    height: 0px;
    background-color: var(--fourth);
    transition: height 0.3s ease-in-out;
}

.aside-top-b {
    position: absolute;
    bottom: -15px;
    right: -30px;
    width: 0px;
    height: 10px;
    background-color: var(--fourth);
    transition: width 0.3s ease-in-out;
}

.image-container {
    margin: auto;
    width: 300px;
    height: 250px;

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;


}

.image-bottom {
    width: 300px;
    height: 250px;
    position: relative;

    background: var(--bg);
    background-position: 0% 0%;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    z-index: 5;

}



.image-title-container {
    bottom: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 3;
    width: 100%;

}

.image-title {
    width: 100%;
    font-size: 2rem;
    margin: 0;
    align-self: center;
    justify-self: center;
    text-align: center;
}

.image-bottom {
    border-radius: 17px;
}








.inside-aside-bottom {
    margin-top: 2rem;
    max-width: 300px;
    max-height: min-content;
    position: relative;


}

.aside-bottom-about-me {
    /* word-spacing: 0.2rem; */

    position: relative;
    min-height: fit-content;
    color: var(--fourth);
    /* overflow: hidden; */
    font-size: 1.6rem;
    /* line-height: 1.6rem; */
    font-family: "Inter", sans-serif;
    /* font-weight: 600; */
    word-wrap: break-word;

}


/* START wabble text effect */
.inside-aside-bottom p span {
    display: inline-block;
    /* position: relative; */

    transition: transform 0.3s ease-out;
    /* margin: 0 5px; */
}

.wabble-text {

    font-size: 1.1rem;
    line-height: 1.3rem;
    /* font-family: "Inter", sans-serif; */
    font-weight: 600;
    width: 20vw;
}

/* END wabble text effect */

.index {
    font-size: 2rem;
    font-weight: bold;
    background-image: var(--fourth);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.aside-bottom-t {
    position: absolute;
    top: -15px;
    left: -30px;
    width: 0px;
    height: 10px;
    background-color: var(--fourth);
    transition: width 0.3s ease-in-out;
}

.aside-bottom-l {
    position: absolute;
    top: -30px;
    left: -15px;
    width: 10px;
    height: 0px;
    background-color: var(--fourth);
    transition: height 0.3s ease-in-out;
}

.aside-bottom-r {
    position: absolute;
    bottom: -30px;
    right: -15px;
    width: 10px;
    height: 0px;
    background-color: var(--fourth);
    transition: height 0.3s ease-in-out;
}

.aside-bottom-b {
    position: absolute;
    bottom: -15px;
    right: -30px;
    width: 0px;
    height: 10px;
    background-color: var(--fourth);
    transition: width 0.3s ease-in-out;
}

/* aside :end */

main {
    grid-area: main;
    margin-top: 4rem;

    display: flex;
    flex-direction: column;
    align-items: center;

}

.main-top {
    min-height: 200px;
    width: 100%;

}

#top-layer {
    position: relative;

    z-index: 1;

}

#top-layer-content {
    height: 100%;
}



#down-layer {


    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    /* height: 100%; */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    clip-path: circle(var(--r) at var(--x) var(--y));
    transition: clip-path 0.25s ease;
    background-color: var(--fourth);
    color: var(--main);
    /* position: fixed; */
    z-index: 100;
    /* border: 5px solid blue; */
    border-radius: 7px;
    will-change: clip-path;

}



.name {


    text-shadow: 1px 1px 1px var(--second),
        1px 2px 1px var(--second),
        1px 3px 1px var(--second),
        1px 4px 1px var(--second),
        1px 5px 1px var(--second),
        1px 6px 1px var(--second),
        1px 7px 1px var(--second),
        1px 8px 1px var(--second),
        1px 9px 1px var(--second),
        1px 10px 1px var(--second),
        1px 18px 6px var(--text-shadow),
        1px 22px 10px var(--text-shadow),
        1px 25px 35px var(--text-shadow),
        1px 30px 60px var(--text-shadow);

}



.vorname {

    padding: 0;

    margin: 0px;
    text-align: center;

    padding-right: 10rem;
    max-width: fit-content;

    font-family: "Kanit", sans-serif;
    font-weight: 950;
    font-size: 6rem;



}



.nachname {
    padding: 0;

    margin: 0px;
    text-align: center;

    padding-left: 12.15rem;
    max-width: fit-content;
    font-family: "Kanit", sans-serif;
    font-weight: 950;
    font-size: 6rem;
    font-style: normal;

}


.e {

    color: var(--second);
    text-shadow: 1px 1px 1px var(--fourth),
        1px 2px 1px var(--fourth),
        1px 3px 1px var(--fourth),
        1px 4px 1px var(--fourth),
        1px 5px 1px var(--fourth),
        1px 6px 1px var(--fourth),
        1px 7px 1px var(--fourth),
        1px 8px 1px var(--fourth),
        1px 9px 1px var(--fourth),
        1px 10px 1px var(--fourth),
        1px 18px 6px var(--text-shadow),
        1px 22px 10px var(--text-shadow),
        1px 25px 35px var(--text-shadow),
        1px 30px 60px var(--text-shadow);
}

.name-tigrigna {
    position: relative;
    font-family: "Kanit", sans-serif;
    font-weight: 950;
    font-size: 6rem;
}

.name-tigrigna h1 {
    padding: 0;
    margin: 2rem 0 0 0;
}

.nachname-tigrigna {
    position: relative;
    font-family: "Kanit", sans-serif;
    font-weight: 950;
    font-size: 6rem;
}

.nachname-tigrigna h1 {
    padding: 0;
    margin: 2rem 0 0 0;
}

.name-tigrigna svg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.frontEnd {
    display: flex;

}

.hidden {
    padding: 0;

    margin: 0px;
    text-align: center;


    max-width: fit-content;
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-size: 4rem;
    font-style: normal;
    color: var(--second);
    line-height: 4rem;
    text-shadow: 1px 1px 1px var(--fourth),
        1px 2px 1px var(--fourth),
        1px 3px 1px var(--fourth),
        1px 4px 1px var(--fourth),
        1px 5px 1px var(--fourth),
        1px 6px 1px var(--fourth),
        1px 7px 1px var(--fourth),
        1px 8px 1px var(--fourth),
        1px 9px 1px var(--fourth),
        1px 10px 1px var(--fourth),
        1px 18px 6px var(--text-shadow),
        1px 22px 10px var(--text-shadow),
        1px 25px 35px var(--text-shadow),
        1px 30px 60px var(--text-shadow);
}

#down-layer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.jobTitle {
    align-self: center;
}

.backEnd {


    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-self: flex-start;
    color: var(--second);
    text-shadow: 1px 1px 1px var(--fourth),
        1px 2px 1px var(--fourth),
        1px 3px 1px var(--fourth),
        1px 4px 1px var(--fourth),
        1px 5px 1px var(--fourth),
        1px 6px 1px var(--fourth),
        1px 7px 1px var(--fourth),
        1px 8px 1px var(--fourth),
        1px 9px 1px var(--fourth),
        1px 10px 1px var(--fourth),
        1px 18px 6px var(--text-shadow),
        1px 22px 10px var(--text-shadow),
        1px 25px 35px var(--text-shadow),
        1px 30px 60px var(--text-shadow);
}

h1 {
    line-height: 5rem;

}



/* CUBE */

.main-bottom {
    display: flex;

    min-width: 100%;
    justify-content: center;
    align-items: center;
}

#wrapper {
    flex: 2;
    padding-top: 5%;


}




.viewport {
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -ms-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    -webkit-perspective-origin: 50% 200px;
    -moz-perspective-origin: 50% 200px;
    -ms-perspective-origin: 50% 200px;
    -o-perspective-origin: 50% 200px;
    perspective-origin: 50% 200px;
    -webkit-transform: scale(0.8, 0.8);
    -moz-transform: scale(0.8, 0.8);
    -ms-transform: scale(0.8, 0.8);
    -o-transform: scale(0.8, 0.8);
    transform: scale(0.8, 0.8);
    -webkit-box-reflect: below 170px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0%, transparent), to(rgba(250, 250, 250, 0.1)));
    transform: scale(1.5);
}

.cube {
    position: relative;
    margin: 0 auto;
    height: 200px;
    width: 200px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(136deg) rotateY(1122deg);
    -moz-transform: rotateX(136deg) rotateY(1122deg);
    -ms-transform: rotateX(136deg) rotateY(1122deg);
    -o-transform: rotateX(136deg) rotateY(1122deg);
    transform: rotateX(136deg) rotateY(1122deg);
}

.cube>div {
    overflow: hidden;
    position: absolute;
    opacity: 0.9;
    height: 200px;
    width: 200px;
    background-color: var(--fourth);
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
    -ms-touch-callout: none;
    -o-touch-callout: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.cube>div>a>div {
    width: 200px;
    height: 200px;

    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    line-height: 200px;
    font-size: 80px;
    text-align: center;
    color: var(--second);
    -webkit-transition: color 600ms;
    -moz-transition: color 600ms;
    -ms-transition: color 600ms;
    -o-transition: color 600ms;
    transition: color 600ms;


    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-size: 2rem;
    font-style: normal;
    color: var(--second);
    line-height: 2rem;



}

.cube>div>div.cube-image.active {
    color: var(--main);


}



.cube>div:first-child {
    -webkit-transform: rotateX(90deg) translateZ(100px);
    -moz-transform: rotateX(90deg) translateZ(100px);
    -ms-transform: rotateX(90deg) translateZ(100px);
    -o-transform: rotateX(90deg) translateZ(100px);
    transform: rotateX(90deg) translateZ(100px);
    border: 10px solid var(--second);

}

.cube>div:nth-child(2) {
    -webkit-transform: translateZ(100px);
    -moz-transform: translateZ(100px);
    -ms-transform: translateZ(100px);
    -o-transform: translateZ(100px);
    transform: translateZ(100px);
    border: 10px solid var(--second);
}

.cube>div:nth-child(3) {
    -webkit-transform: rotateY(90deg) translateZ(100px);
    -moz-transform: rotateY(90deg) translateZ(100px);
    -ms-transform: rotateY(90deg) translateZ(100px);
    -o-transform: rotateY(90deg) translateZ(100px);
    transform: rotateY(90deg) translateZ(100px);
    border: 10px solid var(--second);
}

.cube>div:nth-child(4) {
    -webkit-transform: rotateY(180deg) translateZ(100px);
    -moz-transform: rotateY(180deg) translateZ(100px);
    -ms-transform: rotateY(180deg) translateZ(100px);
    -o-transform: rotateY(180deg) translateZ(100px);
    transform: rotateY(180deg) translateZ(100px);
    border: 10px solid var(--second);
}

.cube>div:nth-child(5) {
    -webkit-transform: rotateY(-90deg) translateZ(100px);
    -moz-transform: rotateY(-90deg) translateZ(100px);
    -ms-transform: rotateY(-90deg) translateZ(100px);
    -o-transform: rotateY(-90deg) translateZ(100px);
    transform: rotateY(-90deg) translateZ(100px);
    border: 10px solid var(--second);
}

.cube>div:nth-child(6) {
    -webkit-transform: rotateX(-90deg) rotate(180deg) translateZ(100px);
    -moz-transform: rotateX(-90deg) rotate(180deg) translateZ(100px);
    -ms-transform: rotateX(-90deg) rotate(180deg) translateZ(100px);
    -o-transform: rotateX(-90deg) rotate(180deg) translateZ(100px);
    transform: rotateX(-90deg) rotate(180deg) translateZ(100px);
    border: 10px solid var(--second);
}

.side {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
}

.project-name {
    margin: 0;
    padding: 0;
}

.side a {
    text-decoration: none;
}

.ausgewaehlte-projekte {
    position: relative;
    left: -5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
    z-index: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.ausgewaehlte-projekte>h2 {
    margin: 0;
    padding: 0;
    font-size: 2.5rem;
    /* transform: rotate(-90deg); */
}

.ausgewaehlte-projekte>i {
    font-size: 5rem;
}

/* middle */
/* .tools {
    grid-area: middle;
} */

/* Footer */
footer {
    grid-area: footer;
    margin-top: 5rem;
    margin-left: 3rem;
    margin-right: 3rem;
    padding: 0 2rem;


}

.info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;


}

.info-copy {
    display: flex;
    flex-direction: column;

    justify-content: space-between;

}

.info-copy-right {
    align-self: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projects {
    font-size: 1.5rem;
    position: relative;
    z-index: 10;
}


.info-socials {
    display: flex;
    align-self: center;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    min-width: 17rem;
    position: relative;



}

.info-copy-footnote {
    font-size: 1rem;
    line-height: 1rem;

}

.fa-heart {
    margin: 0;
    padding: 0;
    text-shadow: none;
    pointer-events: none;
}

/* test animated coffee */
/* Coffee icon alignment */


.coffee-svg {
    display: inline-block;

    vertical-align: -2px;
    /* sits nicely next to text/icons */
}

/* Steam animation */
.coffee-svg .steam {
    opacity: 0;
    transform: translateY(4px) scale(0.95);
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: steam-rise 3.2s ease-in-out infinite;
}

.coffee-svg .steam.s2 {
    animation-delay: 1.0s;
}

.coffee-svg .steam.s3 {
    animation-delay: 2.0s;
}

@keyframes steam-rise {
    0% {
        opacity: 0;
        transform: translateY(4px) scale(0.95);
    }

    20% {
        opacity: 0.85;
    }

    60% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(-8px) scale(1.15);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .coffee-svg .steam {
        animation: none;
        opacity: .6;
        transform: none;
    }
}

/* test animated coffee */

footer a {
    position: relative;
    height: 100%;
    width: 100%;
    text-align: center;
}






footer i {
    color: var(--fourth);
    font-size: 1.2rem;
    transition: font-size 0.2s ease-in-out;
    padding: 0.5rem;

}

footer i:hover {
    /* background: -webkit-radial-gradient(33% 100% circle, #05f5c4 4%, #0589f5 30%, var(--third) 62%, var(--fifth) 85%, #05f5c4);
    background: radial-gradient(circle at 33% 100%, #05f5c4 4%, #0589f5 30%, var(--third) 62%, var(--fifth) 85%, #05f5c4); */
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: 2rem;
}














@media screen and (max-width: 1050px) {
    .container {
        margin: 0;
        padding: 0;

    }

    .name-tigrigna {
        font-size: 4rem;
    }

    .name-tigrigna h1 {
        margin: 1rem 0 0 0;
    }

    .nachname-tigrigna {
        font-size: 4rem;
    }

    .nachname-tigrigna h1 {
        margin: 1rem 0 0 0;
    }
}

@media screen and (max-width: 900px) {
    .container {


        grid-template-areas: "header" "aside" "main" "middle" "footer";
    }

    .inside-aside {
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .toggle {
        transform: scale(2);
    }

    footer {
        margin: 2rem auto auto auto;
        /* margin: auto; */
        padding: auto;
    }



    .info {
        flex-direction: column-reverse;

        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .info-socials {
        display: flex;
        align-self: center;
        justify-content: space-between;
        align-items: center;


        position: relative;
        min-height: 3rem;
    }

    .info-socials i {
        padding: 0;
    }

}


@media screen and (max-width: 700px) {


    .head-right {
        display: none;
    }

    .hamburger-icon {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        width: 3rem;
        margin: 0;
        border: 1px solid transparent;

    }
}


@media screen and (max-width: 600px) {

    /* #down-layer {
        clip-path: circle(var(--r) at var(--x) var(--y));
        transition: clip-path 0.4s ease;
    } */
    .tools {
        flex-direction: column-reverse;
    }

    .tools-left {
        margin-top: 4rem;
    }


    .toggle {
        position: relative;
        left: -1rem;
        top: 0.5rem;
        transform: scale(1.5);
    }

    .vorname {
        /* font-size: 3rem; */
        padding-right: 0rem;
    }

    .nachname {
        /* font-size: 3rem; */
        padding-left: 0rem;
    }

    .hidden {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    h1 {
        line-height: 3.75rem;

    }



    #top-layer-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    main {
        margin-top: 2rem;

    }

    .viewport {
        transform: scale(1.2);
    }

    .ausgewaehlte-projekte {
        position: relative;
        left: -1rem;

        align-self: flex-end;
    }

    .ausgewaehlte-projekte>h2 {
        margin: 0;
        padding: 0;
        font-size: 1.5rem;

    }

    .ausgewaehlte-projekte>i {
        font-size: 3rem;
    }

    .frontEnd {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .backEnd {
        flex-direction: column;
        align-items: center;
        align-self: center;
        gap: 1rem;
    }


}