/*

           ((,    (                     
     .(.   (((  (((.                    
      ((((       .                      
             (     (((((                
    (((((    (((((                     
         ,(  ,((((((((,                 
        (((   (((   .(((((*             
         ,     ((,       ((((((         
               ,((           *(((((     
                (((       ,(((((((((,   
                (((.   (   *(((         
                 ((( (((((   ((((       
                 ,((((( /(((   (((.     
                  (((.    (((/((((,     
                   *        (((.        

 .
 . DESIGN & CODE by: www.simon3fus.ch
 . for PESCARINO
 .     

*/

/********************************************************
     Colors
*********************************************************/
:root {
  --red: #b81014;
  --red-dark: #460607;
  --black-light: #2a2a2a;
  --black-medium: #161616;
  --black-dark: #070707;
  --white: #ffffff;
  --grey-light: #f1f1f1;
  --grey-medium: #d1d1d1;
  --grey-dark: #acacac;
}

/********************************************************
       scrollbar
  *********************************************************/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--white);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--grey-dark);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--black-light);
}

/********************************************************
       selektionsfarbe
  *********************************************************/

::selection {
  background: var(--red);
  color: var(--white);
}
::-moz-selection {
  background: var(--red);
  color: var(--white);
}

/********************************************************
       Typo
  *********************************************************/

h1,
h2,
h3,
h4,
p,
a {
  font-family: "Barlow", sans-serif;
  color: var(--black-dark);
}

h1 {
  font-size: 60px;
  font-weight: 700;
}

h2 {
  font-size: 35px;
  font-weight: 400;
}

h3 {
  font-size: 28px;
  font-weight: 400;
}

h4 {
  font-size: 20px;
  font-weight: 700;
}

h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black-light);
}

h6 {
  font-size: 15px;
  font-weight: 400;
  color: var(--black-light);
}

p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1px;
}

a {
  color: var(--red);
  text-decoration-line: none;
}
a:hover {
  color: var(--red);
}

/********************************************************
       Global
  ********************************************************/

body {
  background-color: var(--white);
  position: relative;
}

/********************************************************
       Header
  ********************************************************/

header {
  position: absolute;
  z-index: 999;
  position: fixed;
  height: 80px;
  width: 100%;
  top: 0;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  filter: drop-shadow(0px -10px 6px var(--black-medium));
}

.logo img {
  width: 150px;
}

/*  Mobile Nav ausblenden  */
#menuToggle {
  display: none;
}

.nav {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
}

.nav p {
  font-size: 15px;
}

.nav:hover {
  text-decoration: underline;
}

/*  MediaQuery für Nav Mobile  */
@media only screen and (max-width: 800px) {
  .nav-desktop {
    display: none;
  }

  .logo img {
    width: 120px;
  }

  #menuToggle {
    display: absolute;
    display: block;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
  }

  #menuToggle input {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: -10px;
    right: -5px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
  }

  /** hamburger **/
  #menuToggle #span-nav {
    display: block;
    width: 30px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    right: 0px;
    background: var(--black-dark);

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }

  #menuToggle #span-nav:first-child {
    transform-origin: 0% 0%;
  }

  #menuToggle #span-nav:nth-last-child(2) {
    transform-origin: 0% 100%;
  }

  /* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
  #menuToggle input:checked ~ #span-nav {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 0px);
    background: var(--black-light);
  }

  /*
 * hide the middle one
 */
  #menuToggle input:checked ~ #span-nav:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  /*
 * last one should go the other direction
 */

  #menuToggle input:checked ~ #span-nav:nth-last-child(2) {
    transform: rotate(-45deg) translate(-2px, 3px);
  }

  #menu {
    position: absolute;
    width: 100vw;
    height: 350px;
    right: -30px;

    margin-top: -100px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: -100vw;

    padding: 50px;
    padding-top: 125px;
    text-align: center;

    background: var(--grey-light);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(0, -100%);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }

  #menu li {
    padding: 30px 0;
    font-size: 22px;
    color: var(--black-light);
  }

  /*
 * slide it in
 */
  #menuToggle input:checked ~ ul {
    transform: none;
  }

  /* end 800px*/
}

/********************************************************
       Hero (home)
  ********************************************************/
.hero {
  height: 100vh;
  max-width: 2500px;
  margin: auto;
  overflow: auto;
  padding-left: 10%;
  padding-right: 20px;
  overflow: hidden;
  position: relative;
}

.hero-text {
  margin-top: 10%;
  max-width: 600px;
}

.hero-img {
  position: absolute;
  z-index: -1;
  width: 60%;
  right: 0;
  top: 0;
  height: 100%;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#slideshow > div {
  position: absolute;
  width: 100%;
  height: 100%;
}

/********************************************************
       About
  ********************************************************/
.about {
  display: flex;
  padding-left: 100px;
  padding-right: 0;
}

.about-text {
  width: 50%;
  padding-top: 80px;
  padding-right: 20px;
  position: relative;
}

.about-text p {
  max-width: 550px;
}

.about-bild {
  width: 50%;
  height: 100vh;
  right: 0;
  position: absolute;
  position: fixed;
}

.about-bild img {
  width: 100%;
  height: 100%;
  padding-left: 50px;
  object-fit: cover;
}

.unterschrift {
  position: absolute;
  top: 150px;
  width: 50%;
  opacity: 1;
  mix-blend-mode: color-burn;
}
.unterschrift-mobile {
  display: none;
}

/*

@media only screen and (max-width: 1300px) {
  .unterschrift {
    left: auto;
    right: 0;
    bottom: -70px;
  }
}

@media only screen and (min-width: 1420px) {
  .about-bild {
    width: 50%;
    margin-right: 10%;
  }

  .unterschrift {
    bottom: 15px;
    left: -250px;
    width: 50%;
  }
}

*/

/********************************************************
       Kontakt
  ********************************************************/

/* Kontakt */

.kontakt-wrapper {
  height: 100vh;
  width: 100%;
  display: flex;
}

.kontakt {
  width: 50%;
  padding-top: 80px;
  padding-left: 100px;
}

#daten p {
  margin-bottom: 0px;
  margin-top: 0px;
}

#daten h5 {
  margin-bottom: 0px;
  margin-top: 30px;
}

#daten a p {
  color: var(--red);
}

#daten a p:hover {
  color: var(--black-dark);
}

#daten {
  position: relative;
}

/* Socials */

#socials {
  background-color: var(--grey-light);
  position: relative;
}

#icons {
  display: inline-block;
  margin-right: 50px;
}

#icons a {
  fill: var(--red);
  transition: 0.2s;
}

#icons a:hover {
  fill: var(--black-dark);
  box-shadow: 0px 0px 30px 0px rgba(194, 121, 122, 0.3);
}

/* Maps */

#maps {
  overflow: hidden;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 200px;
  width: 50%;
}

#mapstext {
  padding-left: 100px;
  padding-top: 10px;
  position: absolute;
  z-index: 5;
}

#maps:hover > img {
  width: 110%;
  height: 110%;
  transform: translateX(-50px);
}

#mapstext h5,
h6 {
  margin-bottom: 0px;
  margin-top: 4px;
}

#maps img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  cursor: pointer;
}

/********************************************************
       Buttons
  ********************************************************/
.btn {
  background-color: var(--red);
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 20px;
  border: none;
  text-align: center;
  color: var(--white);
  font-weight: 700;
  display: inline-block;
  box-shadow: 0px 0px 30px 2px rgba(194, 121, 122, 0.35);
  transition: linear 0.2s;
}

.btn:hover {
  background-color: var(--black-medium);
  color: var(--white);
}

/******************************************************************************************************
       Media Queries
  *****************************************************************************************************/

@media only screen and (max-width: 800px) {
  h1 {
    font-size: 30px;
    font-weight: 700;
  }

  h2 {
    font-size: 25px;
    font-weight: 400;
  }

  h3 {
    font-size: 20px;
    font-weight: 400;
  }

  h4 {
    font-size: 18px;
    font-weight: 700;
  }

  p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 1px;
  }

  .hero {
    margin-top: 60px;
    margin-bottom: 150px;
    height: 100%;
    width: 100%;
    overflow: auto;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    position: relative;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 330px;
  }

  .hero-img {
    position: absolute;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
  }

  .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about {
    display: block;
    margin-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .about-text {
    width: 100%;
    height: auto;
    padding-top: 20px;
    margin-top: 0;
    position: relative;
  }

  .unterschrift {
    display: none;
  }

  .unterschrift-mobile {
    display: inherit;
    width: 75%;
    opacity: 0.7;
  }

  .about-bild {
    position: relative;
    width: 100vw;
    height: 50%;
    margin-left: -20px;
    margin-top: 80px;
  }

  .about-bild img {
    height: 100%;
    width: 100%;
    padding-left: 0px;
    object-fit: cover;
  }

  .kontakt-wrapper {
    display: block;
    margin-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .kontakt {
    width: 100%;
    height: 350px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 20px;
    margin-top: 0;
  }

  #socials {
    height: 300px;
    width: 100vw;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
  }

  #daten {
    margin-top: 10%;
  }

  #maps {
    width: 100vw;
    position: relative;
    margin-left: -20px;
  }

  #mapstext {
    padding-left: 20px;
    padding-top: 40px;
  }
} /* end 800px*/

/******************************************************************************************************
       Animationen
  *****************************************************************************************************/
