/* LAYOUT */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", sans-serif;
}

body {
  background-color: #9e44ff25;
}

.shadow {
  display: grid;
    grid-template-columns: auto 760px auto;
    grid-template-rows: auto auto auto;  
}

main {
    grid-column: 2/3;
    grid-row: 1/2;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 30px;
    background-color: white;

}

h1{
    color: #9e44ff;
    margin-bottom: 40px;
    margin-top: 480px;
}


/* HOVER _____________________________________________________________*/



h1, h2, h4{
  display: inline-block;
  position: relative;
  color: #9e44ff;
}

h1::after, h2::after, h4::after{
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #9e44ff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

h1:hover::after, h2:hover::after, h4:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ______________________________*/

.menu > li > a {
  display: inline-block;
  position: relative;
  color: white;
}

.menu > li > a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.menu > li > a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* CLASSES _____________________________________________________________*/

h2 {
    font-size: 40px;
    color: #9e44ff;
    margin-top: 40px;
    margin-bottom: 30px;
}

h4 {
    font-size: 20px;
    color: #9e44ff;
    margin-bottom: 10px;
}

a {
  color: white;
  text-decoration: none;
}

h3 > a {
  color: #9e44ff;
  text-decoration: none;
}

p > a {
  color: #9e44ff;
  text-decoration: none;
}

.box-full {
    background-color: #9e44ff25;
    color: black;
    padding: 15px;
    border-radius: 15px;
    margin-top: 30px;
}

.box-full:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.logo > a >img{
    height: 40px;
    padding-top: 5px;
}

iframe {
    width: 700px;
    height: 400px;
    margin-bottom: 70px;
}

.skills {
    margin-top: 10px;
    margin-bottom: 20px;
}

.neunzig, .achtzig, .siebzig, .sechzig, .fünfzig, .vierzig {
    background-color: #dcdcdc;
    color: white;
    border-radius: 25px;
    height: 31px;
}

.neunzig>p:hover, .achtzig>p:hover, .siebzig>p:hover, .sechzig>p:hover, .fünfzig>p:hover, .vierzig>p:hover {
    /*padding: 2px;
    position: relative;
    top: 3px;
    left: 3px;
    transition-delay: 0.2s;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.neunzig > p {
    background-color: #9e44ff;
    width: 90%;
    border-radius: 25px;
    padding: 5px;
}

.achtzig > p {
    background-color: #9e44ff;
    width: 80%;
    border-radius: 25px;
    padding: 5px;
}

.siebzig > p {
    background-color: #9e44ff;
    width: 70%;
    border-radius: 25px;
    padding: 5px;
}

.sechzig > p {
    background-color: #9e44ff;
    width: 60%;
    border-radius: 25px;
    padding: 5px;
}

.fünfzig > p {
    background-color: #9e44ff;
    width: 50%;
    border-radius: 25px;
    padding: 5px;
}

.vierzig > p {
    background-color: #9e44ff;
    width: 40%;
    border-radius: 25px;
    padding: 5px;
}


/* NAVIGATION _____________________________________________________________*/


.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #9e44ff;
  background: #9e44ff;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #FFF;
  height: 70px;
  padding: 1em;
  grid-row: 1/2;
  grid-column: 1/4;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.portfolio-box {
  display: grid;
  grid-template-columns: 345px 345px;
  grid-template-rows: auto auto auto auto;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.box {
  width: 345px;
}

.box > a > img {
  width: 345px;
} 

.box > a > img:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.workbooks {
  display: flex;
  justify-content: space-between;
}

.workbook h3 {
  display: flex;
  justify-content: center;
}

.workbook > a > img {
  width: 128px;
}

.bewerbungsdossier {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.dossier {
  display: flex;
  flex-direction: column;
}

.dossier > a {
  display: flex;
  justify-content: center;
}

.dossier > h3 {
  margin-bottom: 10px;
}




/* RESPONSIVE _____________________________________________________________*/

@media (max-width: 740px) {
  .menu-button-container {
    display: flex;
  }

  body {
    display: block !important;
  }

  .shadow {
    display: block !important;
  }

  main, .footer-content {
    margin: 0 10px;

  }

  main {
    box-shadow: none;
  }

  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  iframe {
    width: 100%;
  }

  .portfolio-box {
    grid-template-columns: auto;
  }

  .box {
    width: 100%;

  }

  .box > a > img {
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .workbooks {
    display: flex;
    flex-direction: column;
  }

  .workbook > a {
    display: flex;
    justify-content: center;
  }

}

/* CONTENT _____________________________________________________________*/

.title {
    font-size: 30px;
    margin-top: 30px;
    background-image: url(img/Persona_Platformentwickler.png);
    background-size: 700px;
    background-repeat: no-repeat;
    object-fit: cover;
    background-position: center;
}



/* FOOTER _____________________________________________________________*/




footer {
    height: 200px;
    width: 100%;
    background-color: #9e44ff;
    grid-row: 2/3;
    grid-column: 1/4;
}

.footer {
    display: grid;
    grid-template-columns: auto 700px auto;
    grid-template-rows: auto;
}

.footer-content {
    display: grid;
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 50px;
    width: 100px;
}

/* IMPRESSUM _____________________________________________________________*/

.impressumhome a {
  color: black;
  font-family: "IBM Plex Sans", sans-serif;
  text-decoration: none;
  padding-left: 30px;
}

.impressumhome a:hover {
  color: #9e44ff;
}

.titel img {
  height: 90px;
  margin-top: 50px;
}

.titel {
  display: flex;
  justify-content: center;
}

.impressumtext p {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.impressumtext {
  padding-top: 100px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

/* TEST */

.test:hover {

}