/*----------------------------------

Made by Schwizer Design GmbH
Say hello @ schwizerdesign.ch

Titel: Kathrina Looser
Autor: Schwizer Design GmbH
Version 1.0

-----------------------------------*/

* {
  box-sizing: border-box;
}

:root {
    --main: #FF321B;
    --fontsmall: 14px;
    --fontnormal: 16px;
    --fonttitle: 40px;
    --fontbig: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    padding: 0;
}

body.noscroll {
  overflow: hidden;
}

/*----------------------------------
    Font
-----------------------------------*/

h1, h2, h3, p, li, a, button, div, figcaption {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 1px;
    color: var(--main);
    margin: 0;
    padding: 0;
}

h1 {
  font-size: var(--fonttitle);
}

p, .page-desc a {
  font-size: var(--fontnormal);
  font-weight: 500;
}

strong {
  font-weight: 600;
}


/*----------------------------------
    svg
-----------------------------------*/


.st0, .st1, .st2, .st3, .st4, .st5 {
  fill: #ff321b;
}
.st0 {
  opacity: .1;
}
.st1 {
  opacity: .3;
}
.st2 {
  opacity: .5;
}
.st3 {
  opacity: .7;
}
.st4 {
  opacity: .9;
}

@keyframes pulse-0 {
  0% { opacity: 0.1; }
  50% { opacity: 0; }
  100% { opacity: 0.1; }
}

@keyframes pulse-1 {
  0% { opacity: 0.3; }
  50% { opacity: 0.1; }
  100% { opacity: 0.3; }
}
@keyframes pulse-2 {
  0% { opacity: 0.5; }
  50% { opacity: 0.3; }
  100% { opacity: 0.5; }
}
@keyframes pulse-3 {
  0% { opacity: 0.7; }
  50% { opacity: 0.5; }
  100% { opacity: 0.7; }
}
@keyframes pulse-4 {
  0% { opacity: 0.9; }
  50% { opacity: 0.7; }
  100% { opacity: 0.9; }
}

.st0 {
  animation: pulse-0 3s ease-in-out infinite;
}
.st1 {
  animation: pulse-1 3.1s ease-in-out infinite;
}
.st2 {
  animation: pulse-2 3.2s ease-in-out infinite;
}
.st3 {
  animation: pulse-3 3.3s ease-in-out infinite;
}
.st4 {
  animation: pulse-4 3.4s ease-in-out infinite;
}

/*----------------------------------
    intro
-----------------------------------*/

.intro-container{
  display: flex;
  width: 100%;
  height: 80vh;
}

.intro-container.portfolio{
  height: 20px;
}


.intro-svg {
  width: 250px;
  position: fixed;
  left: calc(50vw - 125px);
  top: calc(50vh - 125px);
  z-index: 100;
  pointer-events: none;
}

.intro {
  position: fixed;
  text-transform: uppercase;
  top: 30px;
  left: 60px;
  font-size: 5vw;
  width: calc(100% - 120px);
  text-align: center;
}

/*----------------------------------
    Page
-----------------------------------*/

.pages {
  margin: 35px 55px;
}

.page-title {
  margin-bottom: 150px;
}

.page-title.audio {
  margin-bottom: 0px;
}

.page-desc {
  display: flex;
  width: 100%;
  gap: 55px;
  margin-bottom: 55px;
}

.page-desc div {
  flex: 1;
  padding-right: 20%;
}

.page-section {
  width: 100%;
  padding: 0 20px 20px 20px;
  display: flex;
}

.page-section.gap {
  gap: 20px;
}

.page-img {
  width: 100%;
}

.page-img.autosize {
  width: auto;
}

.page-img img {
  width: 100%;
}

.page-caption {
  margin-top: 6px;
  font-size: 12px;
}

.page-caption a {
  color: var(--main);
  text-decoration: none;
}

.page-caption a:hover {
  text-decoration: underline;
}

.page-video {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 2000 / 1340;
  object-fit: cover;
  background: #fff;
}

picture {
  display: flex;
}

/* page logo */

.logo svg {
  position: fixed;
  z-index: 110;
  top: 30px;
  right: 55px;
  width: 80px;
}

/*----------------------------------
    Projekte
-----------------------------------*/

.project-section {
  position: relative;
}

.project-desc {
  position: absolute;
  bottom: 55px;
  left: 55px;
  width: calc(100% - 110px);
}

.project-desc h1 {
  color: white;
}

.project-img {
  padding: 20px;
  padding-top: 0;
  background-color: white;
}

.project-img img {
  width: 100%;
}

.project-section .link {
  text-decoration: underline;
}

/* next project */

.next-project {
  margin: 55px;
}
.next-project a {
  font-size: var(--fonttitle);
  color: var(--main);
  text-decoration: none;
  text-transform: uppercase;
  transition: filter 0.4s ease-in-out;
}

.next-project a:hover {
  filter: blur(10px);
}


/*----------------------------------
    Audio
-----------------------------------*/

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid{ grid-template-columns: 1fr; }
}

.card {
  padding: 30px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.media{
  margin:0;
}
.media img{
  display:block;
  width:100%;
  object-fit: cover;
}

.media figcaption{
  margin-top: 15px;
}

audio{
  width:100%;
  border-radius: 20px;
  margin: 10px 0 30px; 
}


/*----------------------------------
    Navigation
-----------------------------------*/

.header-bar {
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px;
  z-index: 112;
}

.button-menu {
  background-color: var(--main);
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: filter 0.4s ease-in-out;
}

.button-menu div{
  color: white;
  padding: 10px 20px 10px 20px;
}

.button-menu:hover{
  filter: blur(10px);
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100vh;
    background: var(--main);
    display: flex;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 111;
}

.side-menu.open {
  right: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin-left: 20px;
}

.side-menu ul li {
  margin: 0px;
}

.side-menu ul li a {
  position: relative;
  text-decoration: none;
  color: white;
  font-size: var(--fontbig);
  text-transform: uppercase;
  filter: blur(0);
  transition: filter 0.4s ease-in-out;
}

.side-menu ul li a:hover {
  filter: blur(20px);
}


/*----------------------------------
    Footer
-----------------------------------*/

.footer-wrapper {
    background-color: var(--main);
    position: relative;
    padding: 55px;
    z-index: 120;
}

.footer-wrapper a span {
    font-size: var(--fonttitle);
    line-height: 1;
    color: white;
    padding-right: 10px;
}

.footer-col a, .footer-bottom a {
  text-underline-offset: 5px;
}

.footer-bottom {
  padding: 220px 0 0;
  display: flex;
  justify-content: space-between;
  color: white;
}

.footer-bottom div, 
.footer-bottom a {
  color: white;
  font-size: var(--fontsmall);
}

.footer-wrapper span {
  transition: filter 0.2s ease-in-out;
}

.footer-wrapper span:hover {
  filter: blur(10px);
}


/*----------------------------------
    Datenschutz
-----------------------------------*/

.datenschutz {
  margin: 55px;
  width: 50%;
}

.datenschutz h1 {
  font-size: var(--fonttitle);
  padding-bottom: 40px;
}

.datenschutz h2 {
  font-size: var(--fontnormal);
  padding-bottom: 10px;
  padding-top: 50px;
  border-bottom: var(--main) 1px solid;
}

.datenschutz p,
.datenschutz a,
.datenschutz li {
  padding-top: 20px;
  font-size: var(--fontsmall);
  font-weight: 500;
}



/*----------------------------------
    Cookiebanner
-----------------------------------*/

#cookiebanner {
    position: fixed;
    bottom: -300px;
    right: 30px;
    border-radius: 10px;
    width: 350px;
    background-color: var(--main);
    padding: 15px;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.2, 0.8, 0.3, 2);
}

#cookiebanner p {
    color: white;
    margin: 0;
}

#cookiebanner.visible {
    bottom: 30px;
}

button {
    font-size: var(--fontnormal);
    text-decoration: none; 
}

#declineBtn, #acceptBtn {
   cursor: pointer;
    border-radius: 30px;
    margin-top: 20px;
    transition: opacity 0.3s ease-in-out; 
}

#declineBtn {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--main); 
    color: var(--main);
    opacity: 0.5;
}

#acceptBtn {
    border: 1px solid var(--main); 
    background-color: white;
    padding: 10px 40px;
    color: var(--main);
    margin-right: 5px;
    background-size: 100% ;
    
}

#acceptBtn:hover,
#declineBtn:hover
 {
  opacity: 0.5;
}


/*----------------------------------
    Responsiv
-----------------------------------*/

@media only screen and (max-width: 900px) {
  /* root */
    :root {
    --fonttitle: 28px;
    --fontbig: 50px;
  }

   /* intro */
  .intro {
  left: 30px;
  font-size: 8vw;
  width: calc(100% - 60px);
  }

  /* base */
  .page-section, .page-desc {flex-direction: column;}
  .page-video.mobile {height: 75vh;}
  .footer-bottom {flex-direction: column;}
  .datenschutz {width: 80%;}
  .side-menu {align-items: flex-start;}
  .intro-container.portfolio svg {display: none;}
  .pages {margin: 150px 20px 50px;}
  .next-project {margin: 50px 20px;}
  .footer-wrapper {padding: 20px 20px;}
  
  /* piucture */
  .project-img picture {align-items: center;justify-content: flex-start;overflow: hidden;}
  .project-img img {width: 200%;}
  .project-desc { bottom: 35px; left: 40px; width: calc(100% - 80px);}
  
  /* transition */
  .next-project a:hover,
  .button-menu:hover,
  .side-menu ul li a:hover,
  .footer-wrapper span:hover {
    filter: none;
  }

  /* audio */
  .card {padding: 20px;}

    /* cookies */
    #cookiebanner {
        right: 15px;
        border-radius: 10px;
        width: calc(100% - 30px);
        box-sizing: border-box;
    }

  #cookiebanner.visible {
    bottom: 60px;
  }
}
