@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

/*#region GENERAL*/

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  /*background-color: #1e2460;*/
  color:#C0C0C0;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
}

.container {
  width: 50%;
  height: 100%;
  min-width: 600px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
/*  background-image: url("../Bilder/Wolke.jpg");*/
  background-size: auto;
  background-repeat: repeat-y;
    z-index: 1;
}
nav{
  position:relative;
  display: block;
}

#menuToggle
{
/*display: block;*/
  position: absolute;
  top: 50px;
  left: 50px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: tomato;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;

  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}



header {
  font-size: 30px;
  margin: 20px auto;
  width: fit-content;
}
a{
  color:inherit;
  text-decoration: none;
}

section {
  margin-bottom: 80px;
}

h1 {
  text-align: center;
  color: #00FFFF;
  margin: 0;
}

h2{
  border-width: 8px;
  border-color: #6B5966;
  border-radius: 20px;
  padding: 1px;
  color: #00FFFF;
}

h3{
  margin-top: 5vh;
}

table{
  text-align: center;
  border-radius: 25px;
  width: 100%;
  height: auto;
}

th {
  border-color:  #00FFFF;
  border-style: dashed;
}
td {
  border-color:  #00FFFF;
  border-style: dashed;
  margin-left: auto;

}

/*#endregion GENERAL*/

/*#region INDEX*/

#mainHeadline{
  font-size: 12px;
  color: #00FF60;
}

.homeTitle {
  border: 5px double #008688;
  border-radius: 100px;
  padding: 1em;
}

.homeTitle:hover{
  text-shadow: 0 -3px;
  letter-spacing: 40px;
  font-style: oblique;
}

.homeTitle:hover h1 {
  color: #Dda0dd;
}

#Portrait {
  width: 20em;
  min-width: 400px;
  margin: 0 0 0 auto;
  display: block;
}

footer{
  height: 40px;
  width: auto;
  background: #Dda0dd;
  text-decoration: none;
  font-weight: bolder;
  text-align: center;
  color: #ff69b4;
  margin-bottom: 2vh;
  padding: 1vh;
}

/*#endregion INDEX*/

/*#region WORK*/

.imgGallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  width: 100%;
}

.workImg {
  object-fit: cover;
  margin: 10px;
  width: 40%;
  transition: 1s;
}
 .workImg:hover{
   filter: grayscale(100%);
   transform: scale(1.1);
 }


/*#endregion WORK*/

/*region DIARY*/

span{
  font-weight: bold;
}

#bilder {
  display:flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  margin: 20px auto;
  width: 100%;
}

.bilder-item {
width: 100%
}

.fontSize {
  font-size: 40px;
}

.lineHeight {
  line-height: 120%;
}

.hexCode {
  color: #ff0000;
}

.rgb {
  color:rgb(173,216,230);
}

.rgbTrans {
  color:rgba(123,104,238, 0.2);
}

.hsl {
  color: hsl(350, 100%, 88%);
}

.antiquewhite {
  color: antiquewhite;
}

.box {
  padding: 20px;
  border-style: dotted;
  border-color: rgb(173, 216, 230);
}

.pseudo {
  text-decoration:none;
  color: #00FFFF;
}

.pseudo:hover {
  font-style: oblique;
  color: #ff69b4;
}

#box{
  height: 100px;
  padding: 20px;
  border-style:double;
  border-color: rgb(173,216,230);
}
.boxhidden{
  overflow: hidden;
}

.boxscroll{
  overflow: scroll;
}

.boxauto{
  overflow: auto;
}

#infobox{
  padding:20px;
  margin:20px;
  border-style:double;
  border-color: rgb(173,216,230);
}
.infobox{
  float: left;
}

.infobox2{
  float:right;
}

#navBeispiel{
  padding: 10px;
  text-align: center;
  background-color: #ff69b4;
}


.grid-box{
  display:grid;
  grid-gap:20px;
  grid-template-rows: repeat(3, 50px);
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
  "header header header"
  "sidebar sidebar sidebar"
  "footer footer footer"
}

.box-1{
  background: #ff69b4;
  grid-area:header;
  }

.box-2{
   background:#ff69b4;
   grid-area:content;
    }

  .box-3{
    background:#eeee;
  grid-area: footer;
  }
/*#endregion DIARY*/

/*#region NDU*/
#Uni{
  display:block;
  width: 100%;
  min-width: 20px;
  margin: 0 auto;

}

iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 315px;
  border: none;
}
/*#endregion NDU*/

/*#region RESPONSIVE */

@media only screen and (max-width: 600px) {
  .container {
    min-width: 100%;
  }

  #Portrait {
    min-width: 100%;
    width: 100%;
    float: none;
  }

  .workImg {
    min-width: 50%;


  }
}

/*#region GAME DESIGN */

/*#endregion RESPONSIVE*/
