/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('Fonts/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('Fonts/poppins-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('Fonts/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  src: url('Fonts/poppins-v24-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('Fonts/raleway-v26-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/raleway-v26-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-700 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('Fonts/raleway-v26-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/raleway-v26-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('Fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('Fonts/playfair-display-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* Custom properties/variables  */
:root {
  --main-white: #f0f0f0;
  --main-red: #be3144;
  --main-blue: #356aa0;
  --main-gray: #222;
}

* {
  margin: 0;
  padding: 0;
}

/* box-sizing and font sizing */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
}


/* 1200px / 16px = 75em */
@media (max-width: 75em) {
  html  {
    font-size: 60%;
  }
}

/* 980px / 16px = 61.25em */
@media (max-width: 61.25em) {
  html  {
    font-size: 58%;
  }
}

/* 460px / 16px = 28.75em */
@media (max-width: 28.75em) {
  html  {
    font-size: 55%;
  }
}




/* Base styles */

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem; /* 18px */
  font-weight: 400;
  line-height: 1.4;
  color: var(--main-white);
}

h1,
h2 {
  font-family: 'Playfair Display', sans-serif;
  font-weight: 700;
  text-align: center;
}

h1 {
	font-family: 'Playfair Display', serif;
	font-size: 6rem;
}

h2 {
  font-size: 4.2rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--main-white);
}

img {
  display: block;
  width: 100%;
}

p {
  font-size: 4rem;
}


@media (min-width: 100px) {
    h1 {
        font-size: 3rem;
    }
}

@media (min-width: 600px) {
    h1 {
        font-size: 4rem;
    }
}

@media (min-width: 800px) {
    h1 {
        font-size: 5rem;
    }
}

@media (min-width: 1000px) {
    h1 {
        font-size: 6rem;
    }
}


@media (min-width: 100px) {
    h2 {
        font-size: 2rem;
    }
}

@media (min-width: 600px) {
    h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 800px) {
    h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1000px) {
    h2 {
        font-size: 3rem;
    }
}



@media (min-width: 100px) {
    h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 600px) {
    h3 {
        font-size: 1.8rem;
    }
}

@media (min-width: 800px) {
    h3 {
        font-size: 2.2rem;
    }
}

@media (min-width: 1000px) {
    h3 {
        font-size: 2.5rem;
    }
}



@media (min-width: 100px) {
    h4 {
        font-size: 1.3rem;
    }
}

@media (min-width: 600px) {
    h4 {
        font-size: 1.5rem;
    }
}

@media (min-width: 800px) {
    h4 {
        font-size: 2rem;
    }
}

@media (min-width: 1000px) {
    h4 {
        font-size: 2.2rem;
    }
}




@media (min-width: 100px) {
    p {
        font-size: 1.5rem;
    }
}

@media (min-width: 600px) {
    p {
        font-size: 2rem;
    }
}

@media (min-width: 800px) {
    p {
        font-size: 2.5rem;
    }
}

@media (min-width: 1000px) {
    p {
        font-size: 2.5rem;
    }
}

/* navigation */

.header {
  background-color: #fff;
 /* box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);*/
  position: fixed;
  width: 100%;
  z-index: 3;
  line-height: 1;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
  color: #666;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
  color: #000;
}
/*
.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
  color: #666;
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
}*/

#logoheader {
  height: 55px;
  width: auto;
  float: left;
}
/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icons */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 340px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */
/*@media (max-width: 1200px)
{
      .header .logo {
	display: none;
  }
}*/
@media (min-width: 64em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }

}

/* Welcome section */
/*.bg_welcome {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-9deg, #0ebdff 50%, #097faa 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3 {
  animation-duration:5s;
}


@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}

*/

#wave {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  background-color: #233d6a;
  overflow: hidden;
  width: 100%;
  z-index: -1;
}
  #wave::before,
  #wave::after {
    content: "";
    position: absolute;
    left: 50%;
    min-width: 300vw;
    min-height: 300vw;
    background-color: #efeae1;
    animation-name: rotate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    z-index: -1;
    
  }
  
  #wave::before {
    bottom: 50vh;
    border-radius: 43%;
    animation-duration: 14s;
    z-index: -1;
  }
  
  #wave::after {
    bottom: 12vh;
    opacity: .5;
    border-radius: 47%;
    animation-duration: 15s;
    z-index: -1;
  }


@keyframes rotate {
  0% {transform: translate(-50%, 0) rotateZ(0deg);}
  50% {transform: translate(-50%, -2%) rotateZ(180deg);}
  100% {transform: translate(-50%, 0%) rotateZ(360deg);}
}

.welcome-section {
  display: flex;
  flex-direction: column;
  /* Verankert den Inhalt oben */
  justify-content: flex-start; 
  /* Zentriert die Elemente horizontal */
  align-items: center; 
  
  width: 100%;
  /* Erlaubt dem Container zu wachsen, falls der Text länger als der Bildschirm ist */
  min-height: 100vh; 
  
  background: transparent;

  
  /* Deine gewünschte Farbe */
  color: #000; 
  /* Zentriert den Text innerhalb der Zeilen */
  text-align: center;
}

.welcome-section section {
	text-align: center;
	max-width: 1000px;
	padding: 2rem 1rem 0;
}


/* Hiermit erzwingst du den normalen Stil für alle Textelemente */
.welcome-section section, 
.welcome-section p, 
.welcome-section h1, 
.welcome-section h2,
.welcome-section em {
  font-size: 3rem; /* 3rem war eventuell etwas groß für Fließtext */
  font-weight: 400;
  font-style: normal !important; /* !important nur nutzen, wenn es sonst nicht geht */
  text-decoration: none;
}

.welcome-section h1 { font-size: 5rem; font-weight: 700; }
.welcome-section h2 { font-size: 4rem; }
.welcome-section p { font-size: 2rem; font-style: normal; }

.rund {
border-radius: 100%;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
  z-index: 3;
}

/*#Friseur {width: 360px !important;}*/
/* Projects section */

#Portrait {width: 250px !important;
margin: 40px 0 40px;}




.about-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  min-height: 500px;
 background: #0ebdff;
padding: 0;
  color: #fff;
}

#aboutme p {
  font-size: 2rem;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  padding: 0 10% 0
}

/* 1200px / 16px = 75em */
@media (max-width: 75em) {
  #aboutme p  {
    font-size: 3vw;
  }
}

/* 980px / 16px = 61.25em */
@media (max-width: 61.25em) {
  #aboutme p  {
    font-size: 4vw;
  }
}

/* 460px / 16px = 28.75em */
@media (max-width: 28.75em) {
  #aboutme p  {
    font-size: 5vw;
  }
}


.projects-section {
  text-align: center;
  padding: 10rem 2rem;
background: #002a6c; 

}

.projects-section-header {
  max-width: 640px;
  margin: 0 auto 6rem auto;
  border-bottom: 0.2rem solid var(--main-white);
}

@media (max-width: 28.75em) {
  .projects-section-header {
    font-size: 4rem;
  }
}

/* "Automagic" image grid using no media queries */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

@media (max-width: 30.625em) {
  .projects-section {
    padding: 6rem 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  background: var(--main-gray);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}

.code {
  color: var(--main-gray);
  transition: color 0.3s ease-out;
}

.project:hover .code {
  color: #ff7f50;
}

.project-image {
  height: calc(100% - 6.8rem);
  width: 100%;
  object-fit: cover;
}

.project-title {
  font-size: 2rem;
  padding: 2rem 0.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
}

.btn-show-all {
  font-size: 2rem;
  background: var(--main-gray);
  transition: background 0.3s ease-out;
}

.btn-show-all:hover {
  background: var(--main-red);
}

.btn-show-all:hover > i {
  transform: translateX(2px);
}

.btn-show-all > i {
  margin-left: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}



/*Try Outs*/
.portfolio {
  display: flex;
  flex-wrap: wrap;
  width: 60%;
  min-width: 320px;
  list-style: none;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.portfolio h2 {
  flex-basis: 100%;
  text-align: center;
  margin: 50px auto 30px;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
  color: #111;
}
.card {
  width: 33%;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.card .content {
  z-index: 2;
  width: 100%;
  position: absolute;
  bottom: -85px;
  transition: all 0.7s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  box-sizing: border-box;
  min-height: 50px;
  background: rgba(14, 189, 255, 0.8);
}
.card .image {
  z-index: 1;
  height: 100%;
}
.card img {
  height: 100%;
  width: 100%;
  transition: all 0.5s ease;
  transform: scale(1.2);
}

.card:hover .content {
  bottom: 0px;
  color: #fff;
}

.card:hover .image img {
  transform: scale(1);
}

.card .content span:first-child {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.card .content span:last-child {
  font-size: 14px;
  color: #fff;
  text-align: center;
  font-weight: 700;
}


@media screen and (max-width: 768px) {
  .card {
  width: 50%;
  }
  .card .content {
    bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .card {
  width: 100%;
    
  }
  .card:hover .image img{
    transform: none;
  }
  .card img {
    transform: none;
  }
  .projects-section {
    background: white;
  }
  h2.projects-section-header {
    color: #002a6c;
  }
}


/* Opening Hours */ 


.openinghours {
  color: white;
    font-family:'Poppins';
    border-radius:0px;
    margin:0;
  padding: 55px 0 65px;
    /*box-shadow: 0 0 10px black;
    padding:0 10px 0 10px;*/
    overflow: hidden;
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: left;
  background: #0ebdff;
}
.openinghourscontent {
    float:left;
}
.openinghourscontent h2 {
    display:block;
    text-align:left;
    margin-top:.33em;
}


.opening-hours-table tr td:first-child {
    font-weight:bold;
}

.opening-hours-table tr td {
    padding:2px 5px 2px;
}

/* Location section*/
#location {
  background: #002a6c;
}

.locationstatement {
  padding: 20px 0 0;
}

.locationtext
{
 font-weight: 400; 
  font-size: 3rem;
}

.locationwinterhude {
  display: flex;
flex-wrap: wrap;
width: 60%;
min-width: 320px;
list-style: none;
align-items: center;
justify-content: center;
margin: 0 auto;
  
}
.locationimage {
  position: relative;
  width: 70%;
  max-width: 500px;
  margin: 40px 0 40px;  
}


.Karte {
  display: block;
  width: 100%;
  height: auto;
  -webkit-border-radius: 100%;
border-radius: 100%;
}

.overlay {
  position: absolute;
  bottom: 20px;
  color: #000;
  width: 100%;
  text-align: center;
  color: black;
  font-size: 1vw;
 
}

.overlay a{
  color: #002a6c;
}

.overlay a:hover {
  color: #0ebdff;
}


/* If the screen size is 1201px wide or more, set the font-size of <div> to 12pt */
@media screen and (min-width: 1201px) {
  .overlay  {
    font-size: 10pt;
  }
}

/* Contact section */

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  align-items: center;
  text-align: center;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  padding: 0 2rem;
  background: var(--main-gray);
}
.contact-section-header {
	  padding-top: 3rem;
}

.contact-content a:hover,
.contact-content a:focus,
.contact-content a:active  {
	color: #fed500;
}

.contact-section-header > h2 {
  font-size: 4rem;
}

@media (max-width: 28.75em) {
  .contact-section-header > h2 {
    font-size: 4rem;
  }
}

.contact-section-header > p {
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  /*margin-top: 4rem;*/
  flex-wrap: wrap;
  -webkit-transform: perspective(11px) translateZ(10);
  transform: perspective(11px) translateZ(10);
}

.contact-links > p {
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
}

@-webkit-keyframes contact-links {
    50% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    100% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
}

@keyframes contact-links {
    50% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    100% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
}


.contact-links:hover,
.contact-links:focus,
.contact-links:active  {
  cursor:pointer;
    -webkit-animation-name: contact-links;
    animation-name: contact-links;
    -webkit-animation-duration: 0.15s;
    animation-duration: 0.15s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 6;
    animation-iteration-count: 6;
}

.contact-links a:hover {
	color: #fed500;
}

.contact-details {
  font-size: 3rem;
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
}



/*.contact-details:hover {
  transform: translateY(8px);
}
*/

.legal {
  display: flex;
  /* Stapelt die Elemente vertikal */
  flex-direction: column; 
  /* Zentriert die Links horizontal */
  align-items: center; 
  
  width: 100%;
  max-width: 980px;
  margin-top: 4rem;
  /* Erzeugt einen Abstand zwischen Impressum und Datenschutz */
  gap: 1rem; 
}



.legal-details {
  font-size: 2.4rem;
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
}

.legal-details:hover {
  transform: translateY(8px);
}

/* 1200px / 16px = 75em */
@media (max-width: 75em) {
  .contact-section-header p  {
    font-size: 2rem;
  }
  .contact-section-header h2  {
    font-size: 4rem;
  }
}

/* 980px / 16px = 61.25em */
@media (max-width: 61.25em) {
  .contact-section-header p  {
    font-size: 2rem;
  }
  .contact-section-header h2  {
    font-size: 4rem;
  }
}

/* 460px / 16px = 28.75em */
@media (max-width: 28.75em) {
  .contact-section-header p  {
    font-size: 2rem;
  }
  .contact-section-header h2  {
    font-size: 4rem;
  }
}

/* Footer */

footer {
  font-weight: 300;
  display: flex;
  justify-content: space-evenly;
  padding: 2rem;
  background: var(--main-gray);
  border-top: 4px solid #0ebdff;
}

footer p {
  font-size: 1.5vw;
}

footer > p {
  margin: 2rem;
}

footer i {
  vertical-align: middle;
}

@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
    font-size: 1vw;
  }
}


.Impressum {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center; 
  
  width: 100%;
  /* Sorgt dafür, dass die Box bei großen Bildschirmen mittig bleibt */
  max-width: 1000px;
  margin: 0 auto; 
  
  min-height: 100vh; 
  background: transparent;
  
  color: black;
  text-align: center;
  padding: 2rem 1rem 0;
  
  /* Wichtig für mobile Geräte, damit das Padding die Box nicht sprengt */
  box-sizing: border-box; 
}

.Impressum a {
	color:black;
}

.Impressum a:hover {
	color:#fed500;
}



.Datenschutz {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center; 
  
  width: 100%;
  /* Sorgt dafür, dass die Box bei großen Bildschirmen mittig bleibt */
  max-width: 1000px;
  margin: 0 auto; 
  
  min-height: 100vh; 
  background: transparent;
  
  color: black;
  text-align: center;
  padding: 2rem 1rem 0;
  
  /* Wichtig für mobile Geräte, damit das Padding die Box nicht sprengt */
  box-sizing: border-box; 
}

.Datenschutz a {
	color:black;
}

.Datenschutz a:hover {
	color:#fed500;
}

