/*
Theme Name: Janik Jungbluth
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.3.2
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: janikjungbluth
Tags: 
*/

/* DEFAULT SETTINGS */

* {
  box-sizing: border-box;
  padding: 1px;
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* HEADER-MENU */

.headermenu {
  margin-right: 30px;
}

.is-menu-open {
  background-color: #000 !important;
  color: #fff !important;
}

/* LOGO */

#jj-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 500px;
}

.svg-1 {
  fill: rgba(255, 255, 255, 0%);
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-dasharray: 2160;
  stroke-dashoffset: 2160;
  animation: dash 3s linear forwards;
  animation-delay: 0.3s;
}

.svg-2 {
  fill: rgba(255, 255, 255, 0%);
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: dash-two 4s linear forwards;
  animation-delay: 0.6s;
}

@keyframes dash {
  0% {
    stroke-dashoffset: 2160;
    fill: rgba(255, 255, 255, 0%);
  }
  50% {
    stroke-dashoffset: 0;
    fill: rgba(255, 255, 255, 0%);
  }
  100% {
    stroke-dashoffset: 0;
    fill: rgba(255, 255, 255, 100%);
  }
}

@keyframes dash-two {
  0% {
    stroke-dashoffset: 600;
    fill: rgba(255, 255, 255, 0%);
  }
  50% {
    stroke-dashoffset: 300;
    fill: rgba(255, 255, 255, 0%);
  }
  100% {
    stroke-dashoffset: 0;
    fill: rgba(255, 255, 255, 100%);
  }
}

.svg-2 {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
}

/* TEXT BELOW LOGO */

.descriptionText {
  width: 80%;
  margin: 0 auto;
}

/* GRID */

.latestProjects img {
  opacity: 0.8;
  transition: all 0.5s;
}

.latestProjects img:hover {
  opacity: 1;
  transition: all 0.5s;
}

.latestProjects .wp-block-latest-posts__post-title {
  display: flex;
  justify-content: center;

  text-decoration: none;

  position: relative;
}

.gridTitle a {
  text-decoration: none;
}

/* TAGS */

.projectTags a {
  text-decoration: none;
  font-weight: 300;
  font-size: 12px;
  cursor: default;
  pointer-events: none;
}

/* FRONTPAGE PARTNER & REFERENZEN */

.frontpageLogos div {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* POST IMAGE */

.wppostIMAGE {
  width: 500px;
}


/* TRAUMSAND POST */

.traumsandLogos div {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CAMPUSWG POST */

.instaColumns div {
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */

.insta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.insta span {
  margin-left: 5px;
  color: #84ffff;
  text-decoration: none;
  padding-top: 4px;
}

/* MEDIA QUERRYS */

@media only screen and (max-width: 1200px) {

  /* LOGO */

  #jj-logo {
    width: unset;
    max-width: 500px;
  }

}

@media only screen and (max-width: 992px) {

  /* POST IMAGE */

  .wppostIMAGE {
    max-width: 280px;
  }

}

@media only screen and (max-width: 786px) {

  /* TEXT BELOW LOGO */
  
  .descriptionText {
    width: 90%;
  }
}

@media only screen and (max-width: 781px) {

  /* HEADER-MENU */

  .headermenu {
    position: relative;
    top: -37px;
  }
}

@media only screen and (max-width: 599px) {

  /* HEADER-MENU */

  .headermenu {
    position: relative;
    top: -70px;
  }

  .wp-block-navigation__responsive-close {
    margin-top: 50px;
  }

  .wp-block-navigation__container {
    position: relative;
    top: 50px;
  }

  .custom-logo {
    position: relative;
    left: -10px;
  }

  /* GALLERY SMARTPHONE */

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

  .galleryTwo {
    display: flex;
    gap: 5px !important;;
  }

  .galleryOne figure {
    width: 100% !important;
  }

  /* FOOTER */

  .footerMenu {
    position: relative;
    top: 0px;
  }
}