/* COMMONS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Encode Sans', sans-serif;
  background-color: black;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(pics/header.jpg);
  background-size: cover;
  background-position: top;
}

hr {
  color: #24ff24;
  width: 100%;
  height: 1px;
}

.wrapper {
  padding: 20px 50px;
}

section {
  display: flex;
  flex-direction: row;
  text-align: left;
}

h1 {
  font-size: 50px;
  color: #d9ffd9;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  letter-spacing: 5px;
  position: relative;
  text-shadow: 1px 1px 2px red, 0 0 0.8em #24ff24, 0 0 0.2em blue;
}

h2 {
  font-size: 30px;
  color: #24ff24;
  padding-top: 50px;
  margin-bottom: 20px;
}

p {
  color: #8A8A8A;
  line-height: 2;
  font-size: 18px;
}


/* NAVBAR */
nav {
  height: 60px;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 16px;
  max-width: 100%;
  width: 100%;
  background-color: none;
  margin: 0 auto;
  z-index: 200;
  list-style: none;
  font-weight: 600;
  position: fixed;
  transition: all 0.6s;
}

nav .mobile-navbar {
  display: none;
}

/* Nav Blinking */
nav .blinking {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2e2f2e;
  margin-right: auto;
  top: 0%;
  text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  z-index: 600;
  transition: all 0.6s ease 0s;
}

nav .blinking a {
  color: #2e2f2e;
  text-decoration: none;
}

nav .blinking i {
  padding-right: 10px;
}

nav .blinking:hover {
  animation: blinkingText-shadow 3.2s infinite;
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2e2f2e;
  text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  cursor: pointer;
}

@keyframes blinkingText-shadow {
  0% {
    text-shadow: 0 0 6px #24ff24, 0 0 10px #07501f;
  }

  49% {
    text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  }

  51% {
    text-shadow: 0 0 6px #24ff24, 0 0 10px #07501f;
  }

  54% {
    text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  }

  60% {
    text-shadow: 0 0 4px #24ff24, 0 0 6px #07501f;
  }

  99% {
    text-shadow: 0 0 2px #24ff24, 0 0 4px #07501f;
  }

  100% {
    text-shadow: 0 0 4px #24ff24, 0 0 6px #07501f;
  }
}

/* Nav Links */
nav .navbar li {
  display: inline-block;
  padding-right: 20px;
  transition: all 0.6s;
  font-size: 20px;
}

nav .navbar li a {
  text-decoration: none;
  transition: all 0.6s;
  color: #24ff24;
}

nav .navbar li i {
  padding-right: 5px;
  transition: all 0.6s;
}

nav .navbar li a:hover {
  font-size: 30px;
  color: #07501f;
}

/* NAV SCROLLED */
nav.scrolled {
  height: 60px;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #24ff24;
  margin: 0 auto;
  z-index: 200;
  list-style: none;
  font-weight: 600;
  position: fixed;
  transition: all 0.6s;
}

nav.scrolled .mobile-navbar {
  display: none;
}

/* Nav Scrolled Links */
nav.scrolled .navbar li {
  transition: all 0.6s;
  font-size: 18px;
}

nav.scrolled .navbar li a {
  text-decoration: none;
  transition: all 0.6s;
  color: black;
}

nav.scrolled .navbar li a:hover {
  font-size: 28px;
  color: #2e2f2e;
}

/* SECTIONS */
/* ABOUT & REFRESH BUTTON */
#about {
  background-color: #2e2f2e;
  justify-content: space-between;
}

.box {
  max-width: 1900px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.text-btn {
  display: flex;
  flex-direction: row;
}

.random-img{
  margin: 50px;
  margin-right: 20px;
}

.random-img img{
  width: 100%;
}

.refresh-button {
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  max-width: 40%;
  text-align: center;
  outline: none;
  background-color: #07501f;
  border: none;
  border-radius: 10px;
  box-shadow: 0 9px #8A8A8A;
}

.refresh-button a {
  text-decoration: none;
  color: #8A8A8A;
}

.refresh-button:active {
  background-color: #076024;
  box-shadow: 0 5px #6d6d6d;
  transform: translateY(4px);
}

/* CONTACT */
#contact {
  background-color: #2e2f2e;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.contact ul {
  list-style: none;
  font-size: 22px;
}

.contact ul a {
  text-decoration: none;
  color: #d9ffd9;
  letter-spacing: 1px;
  transition: all 0.4s;
}

.contact ul i {
  font-size: 25px;
  margin: 10px 20px;
  margin-left: 5px;
}

.contact ul a:hover {
  font-size: 25px;
  text-decoration: none;
  color: #24ff24;
  transition: all 0.4s;
}


/* DATENSCHUTZERKLÄRUNG */
.datenschutz{
  margin-top: 60px;
  padding: 100px;
  padding-top: 0;
}

.datenschutz h2{
  font-size: 30px;
}

.datenschutz h3{
  font-size: 22px;
  color: #d9ffd9;
}

.datenschutz p{
  font-size: 18px;
}


/* GAME - Desktop Version Warning */
.desktop-version {
  height: 100vh;
  width: 100%;
  background-color: black;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  position: fixed;
  text-align: center;
}

.desktop-version h2 {
  font-size: 40px;
}

.desktop-version i {
  font-size: 30px;
  margin-right: 10px;
}

.desktop-version button.continue {
  color: black;
  font-size: 30px;
  background-color: #24ff24;
  border: 5px solid #24ff24;
  margin: 10px;
  cursor: pointer;
}

.desktop-version button.back {
  color: black;
  font-size: 25px;
  background-color: #07501f;
  border: 5px solid #07501f;
  margin: 10px;
  cursor: pointer;
}

/* FOOTER */
.pusher {
  height: 870px;
}

footer p {
  font-size: 15px;
  text-align: center;
}

.footerinfo a{
  font-size: 13px;
  color: #6d6d6d;
  text-decoration: none;
  transition: all 0.6s;
}
.footerinfo a:hover{
  color: #24ff24;
  transition: all 0.6s;
}




/* MEDIA QUERIES 1 */
@media(max-width: 1200px) and (min-width: 901px) {

  nav .blinking{
    font-size: 30px;
  }

  nav .navbar li a{
    font-size: 30px;
  }

  nav .navbar li a:hover{
    font-size: 40px;
  }

  span.text{
    display: none;
  }
}

.fragebogen{
  margin-top: 200px;
  margin-left: 50px;
  color: #6d6d6d;
  display: flex;
  flex-direction: column;
  width: 1000px;
  margin: 200px auto;
}

.first,
.second,
.third,
.fourth,
.fifth{
  background-color: #d9ffd9;
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
}

.fragebogen h3{
  margin-bottom: 10px;
  font-size: 22px;
}

.fragebogen p{
  font-size: 18px;
  margin-top: 10px;
}

label{
  font-size: 16px;
}

.fragebogen form textarea{
  font-family:  'Encode Sans', sans-serif;
  padding: 5px;
}

.fragebogen input[type="submit"]{
  margin-top: 20px;
  background: #24ff24;
  border: none;
  height: 50px;
  border-radius: 10px;
  text-transform: uppercase;
  color: #6d6d6d;
  font-weight: 900;
  font-family: 'Encode Sans', sans-serif;
}


/* CARD HOVER EFFECT */
h5{
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  text-align: center;
}

.container{
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  transition: all 0.6s;
  margin: 0 auto;
  padding-top: 100px;
}

.container  p {
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.container  a {
  margin: 15px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #07501f;
  padding: 5px;
  border: 2px solid #07501f;
  border-radius: 2px;
}

.container .card{
  position: relative;
  transition: all 0.6s;
}

.container .card .face{
  width: 200px;
  height: 160px;
  transition: all 0.6s;
}

.container .card .face.face1{
  position: relative;
  background: #2e2f2e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(80px);
  transition: all 0.6s;
  border: 1px solid  #d9ffd9;

}

.container .card:hover .face.face1{
  transform: translateY(0);
  transition: all 0.6s ease 0;
  background-color: #24ff24;
}

.container .card:hover .face.face1 h5{
  color: #8A8A8A;
}

.container .card .face.face2{
  position: relative;
  background: #d9ffd9;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 50px rgba(7, 80, 31, 0.8);
  transition: all 0.6s;
  transform: translateY(-80px);
}

.container .card .face.face2 .content a:hover{
  background: #07501f;
  color: #d9ffd9;
}

.container .card:hover .face.face2{
  transform: translateY(0);
}

.container .card .face.face1 .content{
  opacity: 0.2;
  transition: all 0.6s;
}

.container .card:hover .face.face1 .content{
  opacity: 1;
  cursor: default;
}

h5{
  font-size: 40px;
  color: #24ff24;
  letter-spacing: 10px;
}







/* MEDIA QUERIES */
@media(max-width: 900px) {

  .introduction,
  .about,
  .landung,
  .contact, {
    flex-direction: column;
  }

  h1{
    font-size: 40px;
  }

  .navbar {
    display: none;
  }

  .blinking a {
    font-size: 30px;
  }

  nav .blinking:hover {
    font-size: 30px;
  }

  nav .mobile-navbar {
    display: flex;
    flex-direction: column;
    background-color: #2e2f2e;
    position: fixed;
    top: 0;
    left: 100vh;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    transition: all 0.6s;
  }

  nav.scrolled .mobile-navbar {
    display: flex;
    flex-direction: column;
    background-color: #2e2f2e;
    position: fixed;
    top: 0;
    left: 100vh;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    transition: all 0.6s;
  }

  nav .mobile-navbar.active {
    left: 0;
  }

  nav.scrolled .mobile-navbar.active {
    left: 0;
  }

  nav .mobile-navbar li {
    list-style: none;
  }

  nav .mobile-navbar i {
    font-size: 40px;
    padding-right: 10px;
    margin-bottom: 20px;
  }

  nav .mobile-navbar a {
    font-size: 40px;
    color: #24ff24;
    text-decoration: none;
    transition: all 0.2s;
  }

  nav.scrolled .mobile-navbar a {
    font-size: 40px;
    color: #24ff24;
    text-decoration: none;
    transition: all 0.2s;
  }

  nav .mobile-navbar a:hover {
    font-size: 40px;
    transition: all 0.2s;
  }

  nav.scrolled .mobile-navbar a:hover {
    font-size: 40px;
    transition: all 0.2s;
  }

  /* MENU BUTTON */
  .container-menu {
    height: 50px;
    width: 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: fixed;
    right: 20px;
  }

  .container-menu.active .menu-btn::after {
    transform: rotateZ(45deg) translate(-6px, -12px);
    background: #24ff24;
  }

  .container-menu.active .menu-btn::before {
    transform: rotateZ(-45deg) translate(-12px, 16px);
    background: #24ff24;
  }

  .container-menu.active .menu-btn {
    background: transparent;
  }

  .menu-btn {
    width: 50px;
    height: 10px;
    position: absolute;
    background: #24ff24;
    transition: all .4s;
  }

  .menu-btn::after {
    content: "";
    position: absolute;
    background: #24ff24;
    width: 50px;
    height: 10px;
    top: 16px;
    transition: all .4s;
  }

  .menu-btn::before {
    content: "";
    position: absolute;
    background: #24ff24;
    width: 50px;
    height: 10px;
    bottom: 16px;
    transition: all .4s;
  }

  nav.scrolled .container-menu.active .menu-btn::after {
    transform: rotateZ(45deg) translate(-6px, -12px);
    background: #24ff24;
  }

  nav.scrolled .container-menu.active .menu-btn::before {
    transform: rotateZ(-45deg) translate(-12px, 16px);
    background: #24ff24;
  }

  nav.scrolled .container-menu.active .menu-btn {
    background: transparent;
  }

  nav.scrolled .menu-btn {
    width: 50px;
    height: 10px;
    position: absolute;
    background: black;
    transition: all .4s;
  }

  nav.scrolled .menu-btn::after {
    content: "";
    position: absolute;
    background: black;
    width: 50px;
    height: 10px;
    top: 16px;
    transition: all .4s;
  }

  nav.scrolled .menu-btn::before {
    content: "";
    position: absolute;
    background: black;
    width: 50px;
    height: 10px;
    bottom: 16px;
    transition: all .4s;
  }


  .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .text-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .refresh-button{
    margin:auto;
  }

  .random-img img{
    width: 100%;
  }

  .datenschutz{
    margin-top: 60px;
    padding: 20px;
    padding-top: 0;
  }

  .datenschutz p{
    font-size: 15px;
  }

  p{
    font-size: 15px;
  }


  .contact ul {
    font-size: 20px;
  }


  .contact ul i {
    font-size: 22px;
    margin: 10px 5px;
    margin-left: 5px;
  }
}
