@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

body {
  background: linear-gradient(270deg, #4df5ca, #71b0d2, #a785bf);
    background-size: 600% 600%;

    -webkit-animation: background 10s ease infinite;
    -moz-animation: background 10s ease infinite;
    -o-animation: background 10s ease infinite;
    animation: background 10s ease infinite;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  image-rendering: pixelated;
}

.whole {
  height:50%;
  background-color: black;
  margin:50px;
	padding:10px;
	display: grid;
    box-sizing: border-box;
}


.header {
    position: absolute;
    width: 200px;
    height: 60% !important;
    min-height: 60% !important;
    background-color: black;
    float: left;}

.header > #navbuttons {
  margin:10px;
}

.header > #navbuttons > li > .tablinks {
  	padding:5px;
	margin-bottom:15px;
	margin-left:-20px;
display: block;
  align-items: center;
  height: 100%;
  line-height: 22px;
  font-size: 14pt;
  font-weight: bold;
  text-align: center;
  position: relative;
  white-space: nowrap;
  border-radius: 6px;
  color:black;
  background-color: white;
  box-sizing: border-box;
  
}

.title {
  text-align:left;
}


.tabcontent {
  padding:20px;
  text-align:center;
  background-color:black;
  top:8%;
  width:50%;
  left:30%;
  position:absolute;
  color:white;
 font-size:15px;
   -webkit-animation-name: hvr-hang-sink, hvr-hang;
  animation-name: hvr-hang-sink, hvr-hang;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
   -webkit-animation-duration: .3s, 1.5s;
  animation-duration: .3s, 1.5s;
  -webkit-animation-delay: 0s, .3s;
  animation-delay: 0s, .3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}


.header > #navbuttons > li > button > a {
 text-decoration:none;
 color:black;
}

tabcontent > .projhead {
  position: relative;
  z-index: 4;
   overflow: hidden;
  border-bottom: 2px;
}

 ul {
  list-style:none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-right: 10px;
}



 ul > li > .projtab {
padding: 10px;
  margin-right: 10px;
  display: grid;
  height: 100%;
  width:98%;
  left:32%;
  line-height: 22px;
  font-size: 14pt;
  font-weight: bold;
  text-align: center;
  position: static;
  white-space: nowrap;
  border-radius: 6px;
  color:black;
  background-color: white;
  box-sizing: border-box;
  
}

 ul > li > .projtab > a {
color:black;
text-decoration:none;
  
}

.random {
  zoom:140%;
  position:absolute;
 left:83%;
 top:60%;
 z-index:1;
  -webkit-animation-name: hvr-hang-sink, hvr-hang;
  animation-name: hvr-hang-sink, hvr-hang;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
   -webkit-animation-duration: .3s, 1.5s;
  animation-duration: .3s, 1.5s;
  -webkit-animation-delay: 0s, .3s;
  animation-delay: 0s, .3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}


@-webkit-keyframes background {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes background {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes background {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes background {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}




@-webkit-keyframes hvr-hang {
  0% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  50% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }
  100% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
}
@keyframes hvr-hang {
  0% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  50% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }
  100% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
}
@-webkit-keyframes hvr-hang-sink {
  100% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
}
@keyframes hvr-hang-sink {
  100% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
}

@media (max-width: 600px) {
  
  .whole {
    height:20%;
    display:flex;
  }
  
  .tabcontent {
   left:35%; 
   max-width:50%;
  }
  
  .random {
    zoom:100%;
    left:-4%;
    bottom:-5%;
  }
  .header {
    margin:-10px;
   left:-8%; 
  }
  .header > #navbuttons > li > .tablinks {
    font-size:10px;
    width:70%;
  }
  body {
  background: linear-gradient(270deg, #4df5ca, #71b0d2, #a785bf);
  }
}

