@import url('https://fonts.googleapis.com/css2?family=Kulim+Park:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600;1,700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* transition: all 0.8s; */
  scroll-behavior: smooth;
}
html {
  min-height:100%; /* make sure it is at least as tall as the viewport */
  position: relative;
}

body {
  width: 100vw;
  /* min-width: 100vw; */
  min-height: 100vh;
  overflow-x: hidden;
  font: 400 1.3em/1.6em "Kulim Park", sans-serif;
  /* background: linear-gradient(54deg, rgba(250,250,0,0.6) 0%,rgba(150,250,50,0.6) 20%, rgba(100,100,250,0.6) 40%, rgba(200,100,200,0.6) 60%, rgba(250,50,50,0.6) 80%, rgba(255,150,0,0.6) 100%); */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='0' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ff8000'/%3E%3Cstop offset='1' stop-color='%23ff8000' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='1200' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%2300ff19'/%3E%3Cstop offset='1' stop-color='%2300ff19' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='600' cy='0' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%239900ff'/%3E%3Cstop offset='1' stop-color='%239900ff' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='d' cx='600' cy='800' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffff00'/%3E%3Cstop offset='1' stop-color='%23ffff00' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='e' cx='0' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23FF0000'/%3E%3Cstop offset='1' stop-color='%23FF0000' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='f' cx='1200' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%230CF'/%3E%3Cstop offset='1' stop-color='%230CF' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Crect fill='url(%23b)' width='1200' height='800'/%3E%3Crect fill='url(%23c)' width='1200' height='800'/%3E%3Crect fill='url(%23d)' width='1200' height='800'/%3E%3Crect fill='url(%23e)' width='1200' height='800'/%3E%3Crect fill='url(%23f)' width='1200' height='800'/%3E%3C/svg%3E");
  background-size:cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  transition: all ease-in-out 0.5s;
}

h2 {
  text-align: center;
  font-weight: lighter;
}

h3 {
  font-weight: normal;
}

p.p-text {
  width: 92vw;
  margin: 0.5vh 2vw;
}

a {
  text-decoration: none;
  font-size: 1em;
  color: #fff;
}

a:hover {
  color: #000;
}

nav#mainnav {
  width: 100%;
  max-width: 100%;
  height: 5vh;
  margin: 2vh 0 0 0;
  border-radius: 1vw 1vw 0 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

nav#p-nav {
  display: none;
}

div#burger {
  display: none;
}

div#burger-menu {
  display: none;
}

img.burger-icon {
  display: none;
}

img#logo {
  height: 7vh;
  width: auto;
  margin-left: 2vw;
  /* animation: endlessSpin 120s infinite linear; */
}

/* @keyframes endlessSpin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  };
} */

nav#mainnav {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div#div-theme-changer {
  position: relative;
  left: 5vw;
  bottom: 10vh;
}

.action-buttons,
button#theme-changer {
  padding: 5px 10px;
  border-radius: 6px;
  margin-right: 2vw;
}

header {
  min-width: 96vw;
  max-width: 96vw;
  height: 25vh;
  margin: 2vh 2vw 2vh 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-family: 'Verdana', sans-serif;
  font-weight: normal;
  font-size: 5vh;
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
  margin: 2vh 0;
  padding: 5vh;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px #fff;
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

span#credo {
  font-weight: 600;
  text-align: center;
  width: 100%;
  display: inline-block;
}

main {
  min-width: 96vw;
  min-height: 63vh;
  margin: 2vh 2vw 0 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

main#video-main {
  flex-direction: column;
}
article {
width: 90vw;
margin: 3vh 2vw;
}

article#skills {
  width: 56rem;
}

article#skills h3 {
  font-size: 1.2em;
  margin-bottom: 0;
  }
article#skills h4 {
  font-size: 1.1em;
  }

#skills li {
  list-style: none;
  margin-left: 1em;
}

div#development,
div#multimedia,
div#work {
  width: 56rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

div#programs {
  width: 56rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}
  
div#skills-development,
div#development-environment,
div#skills-multimedia,
div#programs-graphics,
div#programs-multimedia,
div#work-team,
div#work-flow-tools,
div#work-flow {
  width: 26rem;
  margin: 1rem;
  padding: 1rem;
  border-radius: 1vw;
  border-top: dotted 0.3px #fff;
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 122, 0, 0.075);
}

article#article-kontakt {
  width: 88vw;
  min-height: 63vh;
  border-radius: 1vw;
  border-top: dotted 0.3px #fff;
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 122, 0, 0.075);
}

div#frameholder {
  border-radius: 1vw;
}

#kontaktframe {
  min-height: 100vh;
  border: none;
  border-radius: 1vw;
}

hr {
  margin: 1vh 0;
  border-top: dotted 0.3px #fff;
  border-left: dotted 0.3px #fff;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
}

img#img-jh  {
  height: 28vh;
  width: auto;
  margin: 0 3vh 0 0;
  border-radius: 0.5vw;
  border-top: dotted 0.3px #fff;
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

aside {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer {
  width: 100vw;
}

div.footer {
  width: 96vw;
  height: 3vh;
  max-width: 96vw;
  max-height: 3vh;
  margin: 1vh 2vw;
  padding: 0.5vh 2vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Verdana, Geneva, sans-serif;
	font-size: 0.6em;
  color: #fff;
}

.legals {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 2vw;
}

div#web-development,
div#references,
div#still-images,
div#effect-images {
  width: 96vw;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}

div#memory,
div#vapecalc,
div#unitconverter,
div#html-table,
div#tasklist,
div#sport-boehm,
div#foto-1,
div#foto-5,
div#picture-1 {
  width: 44vw;
  height: 38.5vh;
  margin: 1vh 1vw 1vh 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
div#tictactoe,
div#slider-left,
div#elektro-wigo,
div#foto-2,
div#foto-6,
div#picture-2,
div#codeDecode,
div#codeDecodePHP {
  width: 44vw;
  height: 38.5vh;
  margin: 1vh 2vw 1vh 1vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
div#z-zahl,
div#it-tomann,
div#stafftraining,
div#foto-3,
div#foto-7,
div#picture-3 {
  width: 44vw;
  height: 38.5vh;
  margin: 1vh 1vw 1vh 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
div#my-lightbox,
div#jumping-circles,
div#covid19-dashboard,
div#foto-4,
div#foto-8,
div#picture-4 {
  width: 44vw;
  height: 38.5vh;
  margin: 1vh 2vw 1vh 1vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.card-left {
  width: 30%;
  height: 100%;
  border-right: dotted 1px #fff;
  border-radius: 1vw 0 0 1vw;
  margin-bottom: 2vh;
}

.card-left-slider {
  width: 30%;
  height: 100%;
  border-radius: 1vw 0 0 1vw;
  margin-bottom: 2vh;
}

.card-left h3 {
  margin-top: 0.5vh;
  font-size: 2vh;
  text-align: center;
}

.card-left p {
  margin: 0.5vh;
  font-size: 1.5vh;
  text-align: left;
}

.card-right {
  width: 70%;
  height: 100%;
  border-radius: 0 1vw 1vw 0;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 1vw 1vw 0;
  overflow: hidden;
  }

iframe#viewer-js {
  width: 90vw;
  height: 600px;
  border: none;
  border-radius: 0 1vw 1vw 0;
  overflow: hidden;
}

ul#viewer-ul {
  margin: 0;
  padding: 0;
}

div#card-right-memory {
  background-image: url('../img/content/card_memory.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

div#card-right-tictactoe {
  background-image: url('../img/content/card_tictactoe.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-zzahl {
  background-image: url('../img/content/card_z_zahl.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-vapecalc {
  background-image: url('../img/content/card_vapecalc.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-unitconverter {
  background-image: url('../img/content/card_unitconverter.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-image-slider,
div#card-right-image-slider2,
div#card-right-image-slider3  {
  background-image: url('../img/content/card_slider.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-html-table {
  background-image: url('../img/content/card_table.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-sport-boehm {
  background-image: url('../img/content/card_sport_boehm.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-elektro-wigo {
  background-image: url('../img/content/card_elektro_wigo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-it-tomann {
  background-image: url('../img/content/card_it_tomann.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-covid19-dashboard {
  background-image: url('../img/content/card_covid19.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-stafftraining {
  background-image: url('../img/content/card_stafftraining.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-jumping-circles {
  background-image: url('../img/content/card_sortme.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-tasklist {
  background-image: url('../img/content/card_tasklist.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#card-right-codeDecode {
  background-image: url('../img/content/card_codeDecode.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
div#card-right-codeDecodePHP {
  background-image: url('../img/content/card_encodeDecodePHP.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
div#card-right-my-lightbox {
  background-image: url('../img/content/card_lightbox.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

div#movie,
div#movie2 {
  width: 92vw;
  height: 58vh;
  margin: 2vh 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

div#image-slider {
  width: 92vw;
  /* height: 58vh; */
  margin: 2vh 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

div#audio {
  width: 92vw;
  height: auto;
  margin: 2vh 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

#card-right-my-lightbox:hover,
#card-right-sport-boehm:hover,
#card-right-elektro-wigo:hover,
#card-right-it-tomann:hover,
#card-right-covid19-dashboard:hover,
#card-right-stafftraining:hover,
#card-right-zzahl:hover,
#card-right-vapecalc:hover,
#card-right-unitconverter:hover,
#card-right-image-slider:hover,
#card-right-html-table:hover,
#card-right-codeDecode:hover,
#card-right-codeDecodePHP:hover,
#card-right-tasklist:hover,
#card-right-jumping-circles:hover {
  cursor: pointer;
}

div#movie-left,
div#movie-left2,
div#movie-left3,
div#audio-left {
  margin: 2vh 1vw;
}

div#movie-left h3,
div#movie-left2 h3,
div#movie-left3 h3 {
  margin-top: 4vh;
  text-align: center;
  font-size: 1.2rem;
}

div#audio-left h3 {
  margin-top: 2vh;
  text-align: center;
  font-size: 1.2rem;
}

div#movie-left p,
div#movie-left2 p,
div#movie-left3 p,
div#audio-left p {
  margin-top: 1vh;
  margin-right: 1vw;
  text-align: left;
  font-size: 1rem;
}

div#movie-right,
div#movie-right2,
div#movie-right3,
div#audio-right {
display: flex;
justify-content: center;
align-items: center;
}

video#start-into-the-day,
video#wasserpark {
  width: 90%;
  height: auto;
  max-height: 90%;
}

div.card-right audio {
  width: 90%;
}

span.impressum-strong {
  display: block;
  margin: 0.5vh 0 0 0;
  font-weight: bold;
}

span.impressum-text {
  display: block;
  margin: 0.5vh 0 0 0;
  font-weight: 400;
}

input {
  border: none;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  border-radius: 0px;
}

div.boxes,
div.boxes-output,
div.colorfield {
  border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

/* ----- Lightbox preset, img Tags class="images" für Bilder die documentQueryAll durchlaufen ----- */
img.images {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.lightbox {
	width: 100vw;
	height: 100vh;	
	background-color: rgba(0, 0, 0, 0.965);
	
	display: none;
	justify-content: center;
	align-items: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
}

.close-button {
  font-size: 2em;
  color: #fff;
	position: fixed;
	top: 15px;
	right: 15px;
	margin: 10px;
  box-shadow: 5px 5px 5px #000;
  padding: 0 10px;
  border-top: dotted 1px rgba(255, 255, 255, 0.8);
  border-left: dotted 1px rgba(255, 255, 255, 0.8);
  border-right: dotted 1px rgba(0, 0, 0, 0.8);
  border-bottom: dotted 1px rgba(0, 0, 0, 0.8);
  border-radius: 5px;
	z-index: 1001;
}

.close-button:hover {
  cursor: pointer;
}

#backwards {
  position: fixed;
  bottom: 49vh;
  left: 2vw;
  cursor: pointer;
	z-index: 1001;
}

#forwards {
  position: fixed;
  bottom: 49vh;
  right: 2vw;
  cursor: pointer;
	z-index: 1001;
}

img.controls {
  height: 3vh;
  width: auto;
}

.stop-scrolling {
  overflow: hidden;
}

#play-button,
#pause-button {
  position: fixed;
  left: 48vw;
  bottom: 2vh;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
	z-index: 10;
}

#pause-button {
  display: none;
}

/* ====================  From Index  ==================== */

div#welcome {
  min-width: 60vw;
  max-width: 90vw;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

div#title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

article#article-about-me {
  width: 55rem;
}

h1#universe {
  text-align: left;
  font-size: 1.3em;
}

h2#jh-h2 {
  text-align: left;
  font-size: 1.2em;
  margin-bottom: 0;
}

h3#universe {
  font-size:1.4rem;
}

#article-about-me h3 {
  font-size: 1.1em;
}

#x-age {
  color:rgba(50,50, 255, 1);
  font-weight: 500;
}

span#credo {
  font-weight: 600;
  text-align: center;
  width: 100%;
  display: inline-block;
}

div#hover-text {
  display: inline;
  padding: 0 1vw 0 0;
}

div#welcome button#my-btn {
  display: inline;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.001);
  padding: 0 2vh;
  border-top: dotted 0.3px #fff;
  border-left: dotted 0.3px #fff;
  border-right: dotted 0.3px rgba(0, 0, 0, 0.5);
  border-bottom: dotted 0.3px rgba(0, 0, 0, 0.5);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  vertical-align: bottom;
  line-height: initial;
}

div#welcome button#my-btn:active {
  border-top: dotted 0.3px rgba(0, 0, 0, 0.5);
  border-left: dotted 0.3px rgba(0, 0, 0, 0.5);
  border-right: dotted 0.3px #fff;
  border-bottom: dotted 0.3px #fff;
  box-shadow: none;
}

#more {
  display: none;
}

main#index-main {
  width: 96vw;
  max-width: 96vw;
  min-height: 92vh;
  margin: 1vh 2vw;
  padding: 3vh 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-top: dotted 0.3px rgba(255, 255, 255, 1);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

main#presentation-main {
  width: 96vw;
  max-width: 96vw;
  min-height: 92vh;
  margin: 1vh 2vw;
  padding: 3vh 2vw;
  background-color: rgba(255, 122, 0, 0.075);
  border-radius: 1vw;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  border-top: dotted 0.3px rgba(255, 255, 255, 1);
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

section {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
}

div.nav-button {
  text-align: center;
  width: 25vh;
  max-width: 25vh;
  height: 25vh;
  max-height: 25vh;
  border-radius: 50px;
  margin: 3vh;

  border-top: dotted 0.3px #fff;
  border-left: dotted 0.3px #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);

  transform: all 1.0s;
}

div.nav-button img {
  width: 25vw;
  max-width: 25vh;
  height: 25vw;
  max-height: 25vh;
  border-radius: 50px;
}

.legals {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 2vw;
}

figure img {
  opacity: 1;
  /* display: block; */
  height: auto;
  transition: 0.1s ease;
  backface-visibility: hidden;
}

.nav-button:hover .image {
  opacity: 1;
}

.text {
  font-size: 2em;
}

.black {
  color: #000;
}

.white {
  color: #fff;
}

/* div#rect-area1 {
  background-image: url(../img/content/btn_fireface.png);
}
div#rect-area2 {
  background-image: url(../img/content/btn_code.png);
}
div#rect-area3 {
  background-image: url(../img/content/btn_3dmodelling.jpg);
}
div#rect-area4 {
  background-image: url(../img/content/btn_reference.jpg);
}
div#rect-area5 {
  background-image: url(../img/content/btn_camera.jpg);
}
div#rect-area6 {
  background-image: url(../img/content/btn_effect_images.jpg);
}
div#rect-area7 {
  background-image: url(../img/content/btn_clapper.jpg);
}
div#rect-area8 {
  background-image: url(../img/content/btn_theory.jpg);
}

.rect-area {
  display:none;
  width: 25vh;
  height: 25vh;
  background-size: cover;
  border-radius: 50px;
  margin: 3vh;
  cursor: pointer;
} */

/* .svg-area {
  width: 25vh;
  height: 25vh;
  stroke-dasharray: calc(1vh/3.14152785);
  stroke-dashoffset: 3600;
  animation: stroke 600s linear forwards;
}

@keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
} */

/* --------------------------------------------- */
/* --------------- Media Queries --------------- */
/* --------------------------------------------- */

/* @media (orientation: portrait) { */
@media (max-width: 1060px) {

  nav#mainnav {
    display: none;
  }

  nav#p-nav {
    min-width: 280px;
    background: rgba(5, 5, 5, 0.95);
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    /* width: 100vw; */
    /* min-height: 100%; */
    padding-top: 4vh;
  }
  h1 {
    line-height: 2.5rem;
  }
  div#burger {
    background-color: rgba(55, 55, 55, 0.7);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: absolute;
    top: 2vh;
    right: 1vw;
    z-index: 5;
}

  div#burger-menu {
    position: absolute;
    top: 0vh;
/*     right: 1vw; */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

  img.burger-icon {
    display: inline-block;
    position: absolute;
    top: 2vh;
    right: 1vw;
    width: 5vh;
    height: 5vh;
    border-radius: 1vw;
    }

  h2 {
    font-size: 4vw;
  }

  main {
    min-width: 84vw;
    height: auto;
    min-height: auto;    
    align-items: center;
  }

  div#web-development,
  div#references,
  div#still-images,
  div#effect-images {
    width: 80vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  div#codeDecode,
  div#codeDecodePHP,
  div#my-lightbox,
  div#memory,
  div#sport-boehm,
  div#foto-1,
  div#picture-1,
  div#tictactoe,
  div#elektro-wigo,
  div#foto-2,
  div#picture-2,
  div#z-zahl,
  div#it-tomann,
  div#foto-3,
  div#picture-3,
  div#html-table,
  div#covid19-dashboard,
  div#stafftraining,
  div#foto-4,
  div#picture-4,
  div#foto-5,
  div#foto-6,
  div#foto-7,
  div#foto-8,
  div#jumping-circles,
  div#tasklist,
  div#vapecalc,
  div#unitconverter,
  div#slider-left
  {
    width: 80vw;
    height: 40vh;
    margin: 1vh 2vw 1vh 2vw;
    background-color: rgba(255, 122, 0, 0.075);
    border-radius: 1vw;
    border-top: dotted 0.3px rgba(255, 255, 255, 0.5);
    border-left: dotted 0.3px #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    padding: 0;
  }

  .card-left {
    width: 80vw;
    height: 5em;
    border-right: none;
    border-bottom: dotted 1px #fff;
    border-radius: 1vw 1vw 0 0;
  }

  .card-right {
    width: 80vw;
    height: 80%;
    border-radius: 0 0 1vw 1vw;
  }

  iframe {
    width: 100%;
    height: 100%;
    border-radius: 0 1vw 1vw 0;
    }

  div#movie,
  div#movie2,
  div#audio {
    flex-direction: column;
  }

  div#movie-left,
  div#movie-left2,
  div#movie-left3,
  div#audio-left {
    margin: 1vh 1vh;
    height: 35%;
  }

  div#movie-left h3,
  div#movie-left2 h3,
  div#movie-left3 h3,
  div#audio-left h3 {
    margin-top: 2vh;
  }

  div#movie-left p,
  div#movie-left2 p,
  div#movie-left3 p,
  div#audio-left p {
  margin-left: 2vw;
  }

  video#start-into-the-day,
  video#wasserpark {
    height: auto;
    width: 80vw;
    max-width: 80vw;
  }

  div.footer {
    min-height: 6vh;
    margin: 2vh 2vw;
    padding: 0.5vh 2vw;
  }
  
  footer {
    min-height: 6vh;
    margin: 2vh 2vw;
  }

  .legals {
    min-height: 6vh;
    flex-direction: column;
  }

  .legals p {
    text-align: center;
  }

  footer div,
  footer p {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  p.seperator {
    display: none;
  }

  .lightbox img {
    max-width: 100vw;
    max-height: 90vh;
  }

  .close-button {
    right: 1.5vh;
    font-size: 4vh;
    margin: 0.3vh;
    padding: 0.5vh 0.5vh;
  }

  article#skills {
    width: 80vw;
  }
  
  article#skills p {
    padding: 0 1vw;
  }

  div#development,
  div#multimedia,
  div#programs, 
  div#work {
    width: 80vw;
    min-width: 80vw;
    max-width: 80vw;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  div#skills-development,
  div#development-environment,
  div#skills-multimedia,
  div#programs-graphics,
  div#programs-multimedia,
  div#work-team,
  div#work-flow,
  div#work-flow-tools {
    width: 80vw;
  }

}

/* From Index */
/* @media (orientation: portrait) { */
@media (max-width: 1200px) {
  
  body {
    padding-top: 1vh;
  }

  div#welcome {
    /* width: 80vw; */
    min-height: 150px;
  }
  

  div#title {
    flex-direction: column;
    margin-bottom: 2.5vh;
    margin-left: 2.5vw;
  }

  h3#universe {
    font-size: 1.5em;
  }

  h3#jh-h3 {
    font-size: 1.2em;
  }

  div#hover-text {
    padding: 0 5vw;
    font-size: 1.5rem;
  }    

  main {
    margin-top: 1vh;
  }

  section {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(1, 1fr);
  }

  div.nav-button {
    width: 50vw;
    height: 50vw;
    margin: 2vh;    
  }

  div.nav-button img {
    width: 25vh;
    height: 25vh;
  }

  footer div,
  footer p {
    text-align: center;
}

  p.seperator {
    display: none;
}

  .legals {
    flex-direction: column;
  }

  .legals p {
    text-align: center;
}

  .text {
    font-size: 1em;
  }

  .rect-area {
    width: 25vh;
    height: 25vh;
    margin: 2vh;
  }

  /* .svg-area {
    width: 25vh;
    height: 25vh;
  } */

  article#article-about-me {
    width: 80vw;
  }

}