body {
    margin: 0;
    overflow-x: hidden;
    background: salmon;
}

header {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;

}

.box1 {
    width: 60vw;
    height: 20%;
    left:-0;
    bottom:0;
    position: absolute;
    background: blue;
    border: 1vw solid black;
    animation: animate-box1 1.5s forwards;
    z-index: 4;
}
@keyframes animate-boxl {
    100% {
        left:0;
    }
}


.lippe {
    width: 38vw;
    height: 25%;
    left:-1vw;
    top: -1vw;
    position: absolute;
    background: rgb(99, 31, 31);
    border: 1vw solid black;
}
.lippe::after {
    content: '';
    width: 38vw;
    height: 100%;
    left:-1vw;
    top: 100%;
    position: absolute;
    background: rgb(99, 31, 31);
    border: 1vw solid black;
}

.box2 {
    width: 38vw;
    height: 20%;
    left:110vw;
    bottom: 0;
    position: absolute;
    background: red;
    border: 1vw solid black;
    animation: animate-box2 1.5s forwards;
    z-index: 1;
}
@keyframes animate-box2 {
    100% {
        left:59vw;
    }
}


.box3 {
    width: 38vw;
    height: 74vh;
    left:-100vw;
    top: 0;
    position: absolute;
    background: red;
    border: 1vw solid black;
    animation: animate-box3 1.5s forwards;
    z-index: -1;
}
@keyframes animate-box3 {
    100% {
        left:0;
    }

}

.box4 {
    width: 58vw;
    height: 74vh;
    right:-100vw;
    top: 0;
    position: absolute;
    background: yellow;
    border: 1vw solid black;
    animation: animate-box4 1.5s forwards;
    z-index: -1;
}
@keyframes animate-box4 {
    100% {
        right:1vw;
    }
}

.tasse {
    width: 25vw;
    height: 25vw;
    right:10vw;
    top: 10vh;
    position: absolute;
    background: white;
    border: 1vw solid black;
    z-index: 2;
}

.tasse::before {
    content: '';
    position: absolute;
    width:20%;
    height: 25%;
    top:25%;
    left: -7vw;
    background: white;
    border: 1vw solid black;
    border-right: 1vw solid white;
    z-index: 1;
}

.tasse::after {
    content: '';
    position: absolute;
    width:10%;
    height: 10%;
    top:33%;
    left: -5vw;
    background: yellow;
    border: 1vw solid black;
    z-index: 3;
    
}

.augeLinks{
    width: 18vw;
    height: 50vh;
    top:-100vh;
    left:20vw;
    background: rgb(9, 94, 9);
    border: 1vw solid black;
    position: absolute;
    animation: animate-augelinks 1.5s forwards;
    animation-delay: 1s;
    z-index: 2;
}
@keyframes animate-augelinks {
    100% {
        top:0;
    }
}

.augeRechts {
    width: 15vw;
    height: 21vh;
    top:52.5vh;
    left:110vw;
    background: rgb(9, 94, 9);
    border: 1vw solid black;
    position: absolute;
    animation: animate-augerechts 1.5s forwards;
    animation-delay: 2s;
    z-index: 2;
}
@keyframes animate-augerechts {
    100% {
        left:39vw;
    }
}

.nase {
    width: 12vw;
    height: 21vh;
    left:-100vw;
    /*left:26vw;*/
    top: 52.5vh;
    position: absolute;
    background:rgb(9, 94, 9);
    border: 1vw solid black;
    animation: animate-nase 2s forwards;
    animation-delay: 1s;
    z-index: 2;
}
@keyframes animate-nase {
    100% {
        left:26vw;
    }

}
/*
.augeRechts::before {
    content: '';
    width: 15vw;
    height: 3vh;
    top:-1vw;
    left:-1vw;
    background: rgb(9, 94, 9);
    border: 1vw solid black;
    position: absolute;
    z-index: 2;
    transition: all 1s;
}

.augeRechts::after {
    content: '';
    width: 15vw;
    height: 3vh;
    bottom:-1vw;
    left:-1vw;
    background: rgb(9, 94, 9);
    border: 1vw solid black;
    position: absolute;
    z-index: 2;
    transition: all 1s;
}
*/
/*
.augeRechts:hover::before {
    transform: translateY(20px);
}
.augeRechts:hover::after {

}
*/
.pupilleRechts {
    width: inherit;
    height: 5vw;
    top:15%;
    left:0;
    background: black;
    border-top: 1vw solid black;
    border-bottom: 1vw solid black;
    position: absolute;
    z-index: 1;
    transition: all 1s;
}


.pupilleRechts::before {
    content: '';
    width: 70%;
    height: 5vw;
    top:0;
    right: 0;
    background: white;
    position: absolute;
    transition: all 1s;
    z-index: 2;
}

.pupilleRechts:hover,
.pupilleRechts:hover::before {
    height: 0;
}

.pupille {
    width: inherit;
    height: 15vw;
    top:15%;
    left: -1vw;
    background: black;
    border: 1vw solid black;
    position: absolute;
    z-index: 1;
}

.pupille::before {
    content: '';
    width: 70%;
    height: 15vw;
    top:-1vw;
    right: -1vw;
    background: white;
    border: 1vw solid black;
    position: absolute;
    z-index: 2;
}


section {
    margin: 0;
    width: 100vw;
    height: 100vh;
    position: relative;
    display:flex;
    align-items: center;
    justify-content: space-around;
    font-family: Bahnschrift;

}



.flip-card {
    width: 40vw;
    height: 15vh;
    position: absolute;
    background: black;
    border: 1vw solid black;
    perspective: 1000px
  }
  
#xing {
    bottom: 34vh;
    right: 1vw;
}
#linkedin {
    right: 1vw;
    bottom: 0;
}
#github{
    bottom: 17vh;
    right:  1vw;
}
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }

  .flip-card:hover .flip-card-inner {
    transform: rotateX(180deg);
  }
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Style the back side */
  .flip-card-back {
    background-color: black;
    color: white;
    transform: rotateX(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
  }

#pink {
    background: #ffa3b0;
  }
#beige {
    background: #f6e49c;
}

a{
    padding: 20px;
    text-decoration: none;
    color: white;
}

.dekosteine {
}
.boxgelb {
    width: 97.5vw;
    height: 97vh;
    right:1vw;
    top: -.5vw;
    position: absolute;
    background: #9b5a3c;
    border: 1vw solid black;
    z-index: -2;
}

.boxschwarz {
    width: 46vh;
    height: 46vh;
    background: black;
    border: 1vw solid black;
    bottom: 51vh;
    right: 42vw;
    position: absolute;
}



.boxschwarz2 {
    width: 20vw;
    height: 15vh;
    right: 1vw;
    bottom: 51vh;
    position: absolute;
    background: black;
    border: 1vw solid black;
}

.boxschwarz3 {
    width: 33vw;
    height: 48vh;
    background: black;
    border: 1vw solid black;
    bottom: 0;
    left: 0;
    position: absolute; 
}