@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
src: url('../fonts/Inter-Regular.ttf') format('truetype');
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 1px;
    height: 1px;

}
::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: cadetblue;
}



html{
     height: 100%;
    width: 100vw;
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    filter: invert(0%) hue-rotate(0deg);
    transition: all 1s ease 0s;
}
html::selection {
    background: transparent;
  } 

h1{
    font-family: 'Inter';
    font-size: 50px;
    color: cadetblue;
    text-align: center;
    margin-top: 0px;
    transition: all 3s;
    font-size: min(50px, 10vw);
 
}



a{
    font-family: 'Courier New', Courier, monospace;
    color: cadetblue;
    text-decoration: underline;
    font-weight: bold;
    transition: 0.3s;
}



a:hover{
    color: #EDABA4;
}
h2{
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
    color: #000;
    text-align: center;
    margin-top: 20px;
    transition: opacity 3s;
    font-size: min(30px, 10vw);
}


h3{
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
    color: #000;
    text-align: left;
    margin-top: 20px;
    transition: opacity 3s;
    font-size: min(20px, 8vw);
}
#front h1, #front h2{
    opacity: 0;
}

.side{
    transition: opacity 1.5s;
}

#cursor, #cursor1 {
    width: 10px;
    height: 100%;
    border-left: 10px solid;
    animation: fader  1s infinite;
    color: #fff;
}

@keyframes fader {
    0% {
        color: #000;
    }
    50% {
        color: #fff;
    }
    100% {
        color: #000;
    }
    
}
.cubus{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: rotateY(0deg) translate(50%, -50%);
    transform-style: preserve-3d;
    transition: 0.5s;
    z-index: -1;
    
}


.side{
    width:90vw;
    height:75vh;
    background: #ffffff;
    /* backdrop-filter: blur(8px); */
    position: fixed;
    transform: translate(0%, -50%);
    left: 0px;
    top: -5vh;
    /* transform-style: preserve-3d; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    /* overflow-x: hidden; */
z-index: -1;

}
.mesh{
border: #000 dashed 1px;
background-color: #ffffffaa;
/* backdrop-filter: blur(5px); */
}

#panelContainer{
    overflow-y: auto;
    display: flex;
    width: 70vw;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: stretch;
    align-items: center;
    height: 100vh;
    padding: 20px;
    flex-direction: row;
}

#contactContainer{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.contact1{
    padding: 10px;
    max-width: 400px;
}
.contact1 h1, .contact1 h2{
    text-align: left;
} 


.contact2{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.contact2 div{
    margin: 5px;

}
#contactRight{
    display:none;
}

#profilbild{
    width: 0%;
    max-width: 300px;
    border-radius: 100%;
    box-shadow: 3px 3px 5px #000;
    transition: all 2s;
    display:inline-block;
    transform: translateZ(10px);
}

#profilbild:hover{
    box-shadow: 3px 3px 50px #000;
    transform: scale(1.2);

}

.invert{
 filter:   invert(100%) hue-rotate(180deg);
}
.panels{
    width: 250px;
    height: 125px;
    border-radius: 15px;
    border: solid 0.1px #000;
    background-color: #ffffffaa;
    margin:5px;
    transition: all 0.3s;
    overflow: hidden;
    cursor: pointer;

}

.panels:hover{
    transform: scale(1.2);
    background-color: #ffffffaa;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.panels h1{
    font-size: 13px;
    text-align:left;
    margin: 5px;
}
.panels h2{
    font-size: 12px;
    text-align:left;
    margin: 5px;
}

.panels p{
    font-size: 11px;
    margin: 5px;
    text-align:justify;
    font-family: Arial;
    word-break: break-word;
    hyphens: auto;
}

p{
    font-size: 15px;
    margin: 5px;
    text-align:justify;
    font-family: Arial;
    word-break: break-word;
    hyphens: auto;
}



#left{
    transform: rotateY(90deg) translateZ(0vw) translate(-50%, -50%);
   
}

#right{
    transform: rotateY(90deg) translate(-50%, -50%) translateZ(-90vw) rotateY(180deg);
    right: 0px;

}

#top{
    display: none;
}

#bottom{
    display: none;
}

#back{
    transform: rotateY(0deg) translate(-50%, -50%)  translateZ(0vw) rotateY(180deg); 
    overflow: auto;
    touch-action: pan-y;
}


#front{
    transform: rotateY(180deg) translate(50%, -50%) translateZ(-90vw) rotateY(180deg);
        
}


/* Navigation */

#navigation {
    position: fixed;
    bottom: 0px;
    width: 80vw;
    left: 10vw;
    height: 55px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #fff;
    border-radius: 15px 15px 0px 0px;
    border: solid 0.1px #000;
    border-bottom: #fff;
    /* box-shadow: 1px 1px 5px #000; */
    animation: slideUp 1s ease-in;
    z-index: 9999999;
    touch-action:none;
    transition: all 1s;
    transform: translateZ(100vw);
    opacity: 1;
    
  

}

#navigationInfo {
    position: fixed;
    bottom: 55px;
    left: 0px;
    width: 100vw;
    height: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    color: #000;
    text-align: center;
}

.buttons{
animation: fadein 1.5s ease-in;
cursor: pointer;
transition: all 0.5s;
padding: 10px;
opacity: 1;
transform: translateZ(100vw);
line-height: 11px;



}

.buttons:hover{
    background-color: #5f9ea0aa;
    border-radius: 100%;
}

.button{
    animation: fadein 1s ease-in;
cursor: pointer;
transition: all 0.5s;
opacity: 1;
padding: 5px;
margin-top: 10px;
border-radius: 15px;
border: solid #5f9ea0aa;
display: inline-block;
}


.button:hover{
background-color:  #5f9ea0aa;
border: solid #000;
}



.active{
    background-color: #EDABA4;
    border-radius: 100%;
}

.active:hover{
    background-color: #EDABA4;
    border-radius: 100%;
}

@keyframes fadein {
    0% {opacity: 0;}
    50% {opacity: 0;}
    100% {opacity: 1;}
}
    


@keyframes slideUp {
    0% {height: 0px;
    }
    100% {height: 55px;

    }
}

#box{
    position: fixed;
    left: 20px;
    top: 20px;
padding: 10px;
    z-index: -1;
}

#darkmode{
    position: fixed;
    right: 20px;
    top: 20px;
padding: 10px;
    z-index: -1;
}

.bubble{
    width:150px;
    height:150px;
    border-radius: 15px;
    background-position: center;
    background-size: cover;
    filter: invert(0%) hue-rotate(0deg) !important;
}

#js{
    background-image: url(../bilder/js.png)
}

#html{
    background-image: url(../bilder/html.png)
}

#css{
    background-image: url(../bilder/css.png)
}



@keyframes mask-play {
    0% {
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
        transform: scale(0.8);
    
      }
    
      100% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
        transform: scale(1);
    
      }
  
  }




  @-webkit-keyframes mask-play {
    0% {
      -webkit-mask-position: 0% 0;
      mask-position: 0% 0;
      transform: scale(0.8);
  
    }
  

 
    100% {
      -webkit-mask-position: 100% 0;
      mask-position: 100% 0;
      transform: scale(1);
  
    }
  }


  @keyframes mask-play-back {
    0% {
    
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
        transform: scale(1);
    
      }
    
      100% {
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
        transform: scale(0.8);
    
      }
  
  }




  @-webkit-keyframes mask-play-back {
    0% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
        transform: scale(1);

  
    }
  

 
    100% {
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
        transform: scale(0.8);
  
    }
  }



  .img{
    width: 90vw;
    margin: 0 auto;
    object-fit: cover;
    position: absolute;
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
    -webkit-mask-image: url(../bilder/timelinesplash-min.png);
    mask-image: url(../bilder/timelinesplash-min.png);
    -webkit-mask-size: 4400% 100%;
    mask-size: 4400% 100%;
    opacity: 1;
    -webkit-animation: mask-play 3s steps(43) forwards;
    animation: mask-play 2s steps(43) forwards;
    animation-delay: 2s;
    background-image: url(../bilder/Kofel2-min.png);
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    animation-play-state: running;
    left: auto;
    height: 75vh;
    z-index: -1;
    margin-left: -10px;
    transition: 1s;
  }

  .portfolio1{
    animation-delay: 0s;
    background-image: url(../bilder/portfolio1.jpg);
    -webkit-mask-image: url(../bilder/transition001.png);
    mask-image: url(../bilder/transition001.png);
    display: none;
  }

  #front h1{
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
  }

  #front h2{
    /* text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; */
    background-color: #5f9ea0cc;
    padding: 5px;
    color: #fff;
  }