
/*Copyright 2018 The Pacifico Project Authors (https://github.com/googlefonts/Pacifico)
This Font Software is licensed under the SIL Open Font License, Version 1.1.*/
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
.pacifico-regular {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

/*Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
This Font Software is licensed under the SIL Open Font License, Version 1.1 .*/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-content: center;

}
header {
  background: url(../pics/mountain-range-night.jpg) no-repeat;
  padding-top: 60%;
  background-size: cover;
  font-family: "Pacifico";
}
header img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60.0%;
}
header h1 {
  position: fixed;
  top: 3rem;
  right: 2rem;
  font-size: 4.5vw;
  color: #FFD700;
  /*
  background: linear-gradient(to bottom, #191970, transparent);
    color: transparent;
    background-clip: text;
  */
  line-height: .8;
  margin-top: 0;
  text-align: center;
}
header h1 span {
  display: block;
  /*font-size: 7.25vw;*/
  font-size: 7.10vw;
}
main {
  background: #002626;
  /*background: linear-gradient(to bottom, #FFD700, black);*/
  position: relative;
  /*border: 1px solid #fff;*/
  font-family: "Lato";
  font-size: 1.2rem;
  padding: 2rem 25%;
  line-height: 1.6;
}
@media all and (max-width: 400px) {
  main { padding: 2rem; }
}

h2 {
  font-size: 4.5vw;
  color: #FFD700;
  font-family: 'Pacifico';
  margin: auto;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  /*color: #FFD700;*/
  color: #FFD700;
  font-family: "Lato";
  margin: auto;
}

main p {
  text-align: center;
}

p {
  font-family: "Lato";
  text-align: center;
  color: white;
}

footer {
  text-align: center;
  padding: 25px;
  background: #664229;
}

footer p{
  color: white;
}

footer a {
  color: #FFD700;
}

footer a:visited {
  color: #FFD700;
}

footer a:hover {
  color: white;
}

footer a:active {
  color: white;
}



/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/


:root {
  --color-primary: #002626;
  --color-secondary: #F0F7EE;
  --duration: 1s;
  --nav-duration: calc(var(--duration) / 4);
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --space: 1rem;
  --font-primary: "Lato";
  --font-heading: "Pacifico";
  --font-size: 1.125rem;
  --line-height: 1.5;
}




main-navigation-toggle h1 {
  margin-bottom: calc(var(--space) * 3);
  font-family: var(--font-heading);
  font-size: calc(var(--font-size) + 6vmin);
  line-height: calc(var(--line-height) / 1.25);
}

.main-navigation-toggle {
  position: fixed;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;

  + label {
    position: fixed;
    top: calc(var(--space) * 1.5);
    right: calc(var(--space) * 2);
    cursor: pointer;
    z-index: 2;
  }
}

.icon--menu-toggle {
  --size: calc(1rem + 4vmin);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  stroke-width: 6;
}

.icon-group {
  transform: translateX(0);
  transition: transform var(--nav-duration) var(--ease);
}

.icon--menu {
  /* stroke: var(--color-primary);*/
  stroke: white;
}

.icon--close {
  stroke: var(--color-secondary);
  transform: translateX(-100%);
}

.main-navigation {
  background-color: var(--primary-color);
  opacity: 0.99;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  transition: transform var(--nav-duration);
  z-index: 1;

  &:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    transform-origin: 0 50%;
    z-index: -1;
  }

  ul {
    font-size: 8vmin;
    font-family: var(--font-heading);
    width: 100%;
  }

  li {
    --border-size: 1vmin;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    &:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: var(--border-size);
      background-color: var(--color-secondary);
      transform-origin: 0 50%;
      transform: translateX(-100%) skew(15deg);
    }
  }

  a {
    display: inline-block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-secondary);
    line-height: 1.48;
    text-decoration: none;
    user-select: none;
    padding: var(--space) calc(var(--space) * 2) calc(var(--space) + var(--border-size) / 2);
    transform: translateY(100%);
  }
}

.main-content {
  margin: 6rem auto;
  max-width: 70ch;
  padding: 0 calc(var(--space) * 2);
  transform: translateX(0);
  transition: transform calc(var(--nav-duration) * 2) var(--ease);

  > * + * {
    margin-top: calc(var(--space) * var(--line-height));
  }
}

.main-navigation-toggle:checked {
  ~ label .icon--menu-toggle {
    .icon-group {
      transform: translateX(100%);
    }
  }

  ~ .main-content {
    transform: translateX(10%);
  }

  ~ .main-navigation {
    transition-duration: 0s;
    transform: translateX(0);

    &:after {
      animation: nav-bg var(--nav-duration) var(--ease) forwards;
    }

    li:after {
      animation: nav-line var(--duration) var(--ease) forwards;
    }

    a {
      animation: link-appear calc(var(--duration) * 1.5) var(--ease) forwards;
    }

    @for $i from 1 through 4 {
      li:nth-child(#{$i}) {
        &:after, a {
          animation-delay: calc((var(--duration) / 2) * #{$i} * 0.125);
        }
      }
    }
  }
}

@keyframes nav-bg {
  from { transform: translateX(-100%) skewX(-15deg) }
  to { transform: translateX(0) }
}

@keyframes nav-line {
  0%   { transform: scaleX(0); transform-origin: 0 50%; }
  35%  { transform: scaleX(1.001); transform-origin: 0 50%; }
  65%  { transform: scaleX(1.001); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

@keyframes link-appear {
  0%, 25%   { transform: translateY(100%); }
  50%, 100% { transform: translateY(0); }
}


/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/


div.project-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.project-gallery-item {
  margin: 10px;
  width: calc(25% - 20px);
}



div.project-gallery-item img {
  width: 100%;
  height: auto;
}

div.project-gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

@media only screen and (max-width: 1280px) {
  div.project-gallery-item {
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 1280px) {
  div.project-gallery-item {
    width: calc(100% - 20px);
  }
}


/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------------------------*/





/*button {
  margin: 20px;
}*/
.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 0px;
  padding: 10px 25px;
  font-family: "Lato";
  font-weight: 150;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   /*box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);*/
  outline: none;
}
/* 5 blue */

.btn-5 {
  width: 130px;
  height: 40px;
  line-height: 42px;
  padding: 0;
  border: none;
  background: rgb(255,27,0);
background: linear-gradient(0deg, black 0%, black 100%);
}
.btn-5:hover {
  color: #0077D6;
  background: black;
   box-shadow:none;
}
.btn-5:before,
.btn-5:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #0077D6;
  /*box-shadow:
   -1px -1px 5px 0px #fff,
   7px 7px 20px 0px #0003,
   4px 4px 5px 0px #0002;*/
  transition:400ms ease all;
}
.btn-5:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.btn-5:hover:before,
.btn-5:hover:after{
  width:100%;
  transition:800ms ease all;
}

/* 6 orange */

.btn-6 {
  width: 130px;
  height: 40px;
  line-height: 42px;
  padding: 0;
  border: none;
  background: rgb(255,27,0);
background: linear-gradient(0deg, black 0%, black 100%);
}
.btn-6:hover {
  color: #FF5C00;
  background: black;
   box-shadow:none;
}
.btn-6:before,
.btn-6:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #FF5C00;
  /*box-shadow:
   -1px -1px 5px 0px #fff,
   7px 7px 20px 0px #0003,
   4px 4px 5px 0px #0002;*/
  transition:400ms ease all;
}
.btn-6:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.btn-6:hover:before,
.btn-6:hover:after{
  width:100%;
  transition:800ms ease all;
}

/* 6 green */

.btn-7 {
  width: 130px;
  height: 40px;
  line-height: 42px;
  padding: 0;
  border: none;
  background: rgb(255,27,0);
  background: linear-gradient(0deg, black 0%, black 100%);
}
.btn-7:hover {
  color: #00FF41;
  background: black;
   box-shadow:none;
}
.btn-7:before,
.btn-7:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #00FF41;
  /*box-shadow:
   -1px -1px 5px 0px #fff,
   7px 7px 20px 0px #0003,
   4px 4px 5px 0px #0002;*/
  transition:400ms ease all;
}
.btn-7:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.btn-7:hover:before,
.btn-7:hover:after{
  width:100%;
  transition:800ms ease all;
}




/*--------------------------------------------------------*/
/*--------------------------------------------------------*/
/*--------------------------------------------------------*/
/*--------------------------------------------------------*/
/*--------------------- ZPP-GALLERIE ---------------------*/

#ZPP {
  margin-top:150px;
}

h4 {
  font-size: 1.7rem;
  /*color: #FFD700;*/
  color: #FFD700;
  font-family: "Pacifico";
  margin-bottom:10px;
  font-weight: normal;
}

.gallery-card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
  transition: 0.3s;
  background-color: #664229;
  /* border-radius: 5px; *//* 5px rounded corners */
  margin-top: 30px;
}

/* On mouse-over, add a deeper shadow */
.gallery-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0,0.5);
}

/* Add some padding inside the card container */
.gallery-container {
  padding: 2px 16px;
}
/* Add rounded corners to the top left and the top right corner of the image */
.gallery-card img {
  /*border-radius: 5px 5px 0 0;*/
}

.gallery-card p {
  font-family: "Lato";
  text-align:justify;
  color: white;
}



#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #FFD700; /* Set a background color */
  color: #002626; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: white;
  } /* Add a dark-grey background on hover */




  .info-box {
    transition: 0.3s;
    background-color: #664229;
    width: auto;
  }


  .info-box summary {
    /* border: 1px solid #664229;*/
    text-align: center;
    font-size: 1.5rem;
    color: #FFD700;
    font-family: "Pacifico";
    cursor: pointer;
    inline-block:flex;

  }


  .info-box[open] summary {
    font-family: "Pacifico";
    margin-bottom: 5px;
  }

summary:first-of-type {
    list-style-type: none;
}

  .info-content {
  }
