@import url("reset.css");

/*-----------FONTS-----------*/
/* red-hat-display-300 - 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: 'Red Hat Display';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/red-hat-display-v14-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-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: 'Red Hat Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/red-hat-display-v14-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-500 - 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: 'Red Hat Display';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/red-hat-display-v14-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-600 - 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: 'Red Hat Display';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/red-hat-display-v14-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-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: 'Red Hat Display';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/red-hat-display-v14-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-800 - 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: 'Red Hat Display';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/red-hat-display-v14-latin-800.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*-----------FONTGESTALTUNG-----------*/
body {
  font-family: 'Red Hat Display'
}

p {
  font-size: 30px;
  font-weight: 400;
  line-height: 45px;
  margin-bottom: 15px;
}

a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

h1 {
  font-size: 14vw;
  position: absolute;
  z-index: 99;
  top: 50%;
  transform: translate(0%,-50%);
  width: 100%;
  text-align: center;
  font-weight: 500;
}


h2 {
  font-size: 75px;
  font-weight: 400;
  line-height: 95px;
  margin-bottom: 15px;
}

h3 {
  font-size: 230px;
  font-weight: 500;
  margin-bottom: 30px;
}

.button {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  background: #000;
  font-weight: 400;
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 50px;
  transition: 1s ease;
  display: inline-block;
}


/*-----------NAVI-----------*/
.logo {
  position: fixed;
  width: 200px;
  height: auto;
  top: 5%;
  left: 3%;
  z-index: 9999;
}

nav {
  position: fixed;
  width: 100%;
  z-index: 101;
  top: 2%;
  text-align: right;
  padding: 22px 0;
  z-index: 100;
}

nav ul {
  margin-right: 3%;
}

nav ul li {
  display: inline-block;
  margin: 0 0.5%;
  text-transform: lowercase;
}

nav ul li a, .booknow {
  text-decoration: none;
  font-size: 18px;
  color: #2e2e2e;
  font-weight: 400;
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 50px;
  transition: 1s ease;
  display: inline-block;
}

.booknow {
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.booknow:hover{
  background-color: #2e2e2e;
}

nav ul li strong {
  color: #0025a6;
  font-weight: 600;
}

nav ul li a:hover {
  background-color: #000;
  color: #fff;
  transition: 1s ease;
}

.navi {
  display: none;
}

.burger-nav {
  position: fixed;
  right: 3%;
  top: 4%;
  color: #000;
  z-index: 9999;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  font-size: 40px;
  cursor: pointer;
  transition: all .4s ease-in-out;
}

.burger-nav b {
  transition: all .4s ease-in-out;
  float: left;
  margin-left: 0;
  font-family: 'Red Hat Display';
  font-style: normal;
}

.burger-nav-anim {
  top: 2%;
}

.burger-nav-anim b:first-of-type {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.burger-nav-anim b:nth-of-type(2) {
  opacity: 0;
}

.burger-nav-anim b:last-of-type {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-left: -85%;
}

.full-screen-nav {
  position: fixed;
  z-index: 998;
  width: 100%;
  height: 100vh;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: #ffffff96;
  display: table;
  visibility: hidden;
  transition: all .4s ease-in-out;
  opacity: 0;
}

.full-screen-nav ul {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.full-screen-nav ul li a, .full-screen-nav span {
  padding: 20px;
  display: block;
  font-size: 30px;
  transition: all .4s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.fadeIn {
  opacity: 1 !important;
  visibility: visible !important;
}

.fadeUp {
  opacity: 1 !important;
  margin-top: 0 !important;
}

/*-----------SUBNAV-----------*/
.subnav {
  position: fixed;
  bottom: 0;
  color: #fff;
  z-index: 999;
  transition: 0.5s;
  width: 100%;
  text-align: right;
}

.subnav a {
  color: #fff;
  padding: 8px 15px;
  font-size: 14px;
  background-color: #000;
  margin-left: 20px;
  line-height: 23px;
}

.subnav a:nth-of-type(2) {
  margin-right: 5%;
}

.subnav a:hover {
  color: #dfdfdf;
}

/*------------ACCORDION----------*/
.accordion {
  background-color: transparent;
  border-top: 2px solid black;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
  padding: 5px;
  width: 100%;
  text-align: left;
  font-size: 15px;
  transition: 0.4s;
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: transparent;
  overflow: hidden;
}

.flex {
  display: flex;
}

.hover__image {
  opacity: 0;
  position: fixed;
  transform: translateY(calc(-80% - 0px));
  pointer-events: none;
  transition: transform 250ms, opacity 250ms;
}

.hover__image.shown {
  opacity: 1;
  transform: translateY(-80%);
}

#services button {
  font-size: 75px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 15px;
}

/*-----------HEADER-----------*/
header {
  background: url("../images/daylightstudiocologne.webp") no-repeat;
  height: 100vh;
  width: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: left;
  position: relative;
  overflow-x: hidden;
}

header img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 94%;
}

.scroll {
  position: absolute;
  white-space: nowrap;
  margin: 0 2em;
  top: 97vh;
}

.scroll div {
  display: flex;
  gap: 1em;
}

.scroll p {
  font-size: 20px;
  color: black;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 10px;
}

.LeftToRight {
  animation: LeftToRight 60s infinite linear;
}

@keyframes LeftToRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0%);
  }
}

/*-----------AUFBAU-----------*/
html {
  scroll-behavior: smooth;
}

.content {
  display: flex;
  width: 94%;
  margin-left: 3%;
}

.col {
  width: 100%;
}

.col:nth-of-type(2) {
  padding-left: 10%;
}

/*-----------BEREICH1-----------*/
#aboutus {
  background-color: #E7EFFF;
  padding: 120px 0 360px 0;
}

#aboutus .col {
  width: 90%;
}

/*-----------BEREICH2-----------*/
#studio {
  background-color: #E9F2EE;
  padding: 120px 0 50px 0;
}

#studio img {
  width: 90%;
  margin-left: 5%;
}

/*-----------BEREICH3-----------*/
#services {
  background-color: #EFF5FD;
  padding: 120px 0 50px 0;
}

.flex img {
  width: 100%;
  display: none;
}

/*-----------BEREICH4-----------*/
#booknow {
  background-color: #E7EFFF;
  padding: 120px 0 200px 0;
}

#booknow .col {
  width: 90%;
}

#booknow h4{
  font-size: 45px;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 20px;
}

#booknow p strong{
  font-weight: 500;
}

#booknow p span{
  font-size: 16px;
}

/*-----------FOOTER-----------*/
footer {
  padding: 120px 0 30px 0;
  background-color: #F9FFF4;
}

footer p {
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 20px;
}

.kontakte {
  display: flex;
  margin-top: 350px;
  gap: 15rem;
}

.adresse{
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.adresse p:last-of-type{
  margin-bottom: 0;
}

.insta {
  margin-top: 95px;
  font-size: 20px;
}

.insta::before {
  content: url('../images/instagram.svg');
  margin-right: 5px;
}

.map {
  -webkit-background-image: url(../images/daylight-map.svg);
  -webkit-background-position: center;
  -webkit-background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-image: url(../images/daylight-map.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.rechtliches {
  display: flex;
  gap: 1rem;
  margin-top: 20px;
}

.rechtliches p{
  font-size: 14px;
  cursor: pointer;
}

#impressum h2, #datenschutzerklaerung h2, #datenschutzerklaerung h3{
  font-size: 20px;
}

#impressum p, #datenschutzerklaerung p{
  font-size: 16px;
  line-height: 1.6;
}

/*-----------POPUP+STEPSET-----------*/
body.popup__shown {
  overflow-y: hidden;
}

.popups {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition-duration: 250ms;
  transition-timing-function: ease-out;
  pointer-events: none;

  &.show {
    opacity: 1;
    -webkit-backdrop-filter: brightness(1) saturate(0) blur(10px);
    backdrop-filter: brightness(1) saturate(0) blur(10px);
    pointer-events: auto;
  }
}

.popup {
  box-sizing: border-box;
  position: fixed;
  z-index: 999;
  width: 95%;
  max-height: 85%;
  overflow-y: auto;
  background-color: #fff;
  transform: translateX(-50%) translateY(-10px);
  box-shadow: 0px 30px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  left: 50%;
  padding: 2.5rem 1.75rem 1.75rem;
  border-radius: 25px;
  bottom: -85%;
  transition-duration: 250ms;
  pointer-events: none;

  @media screen and (min-width: 900px) {
    width: 95%;
    max-width: 750px;
    bottom: unset !important;
    top: 55%;
    max-height: 80%;
    padding: 3rem;
    transform: translate(-50%, -50%);
  }

  &.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    bottom: 1rem;

    @media screen and (min-width: 900px) {
      top: 50%;
transform: translateX(-50%) translateY(-50%);
    }
  }

  &.full {
    top: 0;
    max-width: unset;
    max-height: unset;
    height: 100%;
    width: 100%;
    border-radius: 0;
    transform: translateX(-50%) translateY(0);
    transition-duration: 350ms;
  }

  .popup__content {
    >strong:first-child {
      color: var(--col-green);
      font-size: 1.5rem;
      display: block;
      margin-bottom: 0.5rem;
    }
  }

  .popup__content__backup {
    display: none;
  }

  .popup__close {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;

    &::before,
    &::after {
      position: absolute;
      content: "";
      width: 100%;
      height: 5px;
      background: #333;
      border-radius: 5px;
      transition-duration: 250ms;
    }

    &::before {
      transform: rotate(-45deg);
    }

    &::after {
      transform: rotate(45deg);
    }
  }

  .popup__navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;

    >* {
      margin: 0;
    }
  }
}

body>.popup__anim {
  position: relative;
  overflow: hidden;
  margin-inline: auto;
  width: 100%;
  top: 0;
  transition-duration: 250ms;

  body.popup__shown & {
    position: relative;
  }
}

/*-----------RESPONSIVE-----------*/
@media screen and (max-width: 1450px) {
  h2 {
    font-size: 65px;
    line-height: 1.3;
  }

  #services button {
    font-size: 65px;
    line-height: 1.3;
  }
}

@media screen and (max-width: 1300px) {
  #kontakt .content {
    flex-direction: column;
  }

  .kontakte {
    margin-top: 50px;
    margin-bottom: 20px;
  }

  #kontakt .col:nth-of-type(2) {
    padding-left: 0;
    height: 500px;
  }

  .hover__image {
    display: none;
  }

  .flex img {
    display: block;
    width: 100%;
    flex-basis: 48%;
    margin-left: 4%;
    margin-bottom: 50px;
  }

  .flex p {
    flex-basis: 48%;
  }
}

@media screen and (max-width: 1250px) {
  h2 {
    font-size: 55px;
    line-height: 75px;
  }

  #services button {
    font-size: 55px;
    line-height: 1.3;
  }
}

@media screen and (max-width: 1000px) {
  #aboutus, #studio, #services, #kontakt {
    padding: 100px 0;
  }

  h2 {
    font-size: 45px;
    line-height: 55px;
  }

  #services button {
    font-size: 45px;
    line-height: 1.3;
  }

  h3 {
    font-size: 200px;
  }

  p {
    font-size: 25px;
    line-height: 35px;
  }

  #aboutus .col {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  nav {
    background: none;
    box-shadow: 0 0 0;
  }

  nav ul {
    display: none;
  }

  .navi {
    display: block;
  }

  h3 {
    font-size: 150px;
  }
}

@media screen and (max-width: 750px) {
  .kontakte {
    gap: 4rem;
  }

  #kontakt .col:nth-of-type(2) {
    height: 350px;
  }
}

@media screen and (max-width: 650px) {
  h2 {
    font-size: 35px;
    line-height: 45px;
  }

  #services button {
    font-size: 35px;
    line-height: 1.3;
  }

  h3 {
    font-size: 120px;
  }

  p {
    font-size: 20px;
    line-height: 30px;
  }

  .flex {
    flex-direction: column;
  }

  .flex img {
    margin-left: 0;
  }
}

@media screen and (max-width: 550px) {
  h2 {
    font-size: 30px;
    line-height: 40px;
  }

  #services button {
    font-size: 30px;
    line-height: 1.3;
  }

  h3 {
    font-size: 90px;
  }

  p {
    font-size: 18px;
    line-height: 25px;
  }

  footer p {
    font-size: 18px;
  }

  a {
    font-size: 18px;
  }

  .kontakte {
    gap: 2rem;
  }
}

@media screen and (max-width: 450px) {
  .kontakte {
    gap: 0rem;
  }
}
