html {
  font-size: 62.5%;
  color: #0250a4;
}

img {
  width: 100%;
}

p {
  font-size: 1.6rem;
  font-family: "Arial", sans-serif;
}

a, a:visited {
  color: #0250a4;
  text-decoration: none;
}

body {
  background: url('https://paolorossi.fantomas-staging.de/wp-content/uploads/2022/12/PMM-PR-BG-min.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.nav {
  position:fixed;
  width:100px;
  z-index: 200;
  display:flex;
  flex-direction:column;
  justify-content: center;
  height: 100vh;
  top:0px;
  right:0px;
  row-gap: 4rem;
}

.navBtn {
  visibility: hidden;
  height: 35px;
  width: 35px;
  background-color: #a9a9a9;
  display: inline-block;
  border-radius: 50%;
  z-index: 200;
}


.nav div[title] {
  position: relative;
  font-size: 4rem;
}

.navBtn::after {
  content: '';
  position: absolute;
  background-image: var(--background);
  background-repeat: no-repeat;
  border-radius: 5%;
  bottom: -5px;
  white-space: nowrap;
  height: 20px;
  font-family: Arial, Helvetica, sans-serif;
  right: 0px;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -ms-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
  width: 0px;
  visibility: hidden;
  z-index: 199;
}

.navBtn:hover::after {
  width: 250px !important;
  visibility: visible;
  padding: 1rem 3rem;
}


.sonne {
  position: fixed;
  z-index: -20;
  top: -40%;
  left: 0%;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background-image: url('../images/Element 45.svg');
  background-repeat: no-repeat;
  background-position: center;
  }

  .sonnenanimation {
    -webkit-animation-name: rotate;
    -webkit-animation-duration:12s;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-timing-function:linear;
    -moz-animation-name: rotate;
    -moz-animation-duration:12s;
    -moz-animation-iteration-count:infinite;
    -moz-animation-timing-function:linear;
  }
  
  @-webkit-keyframes rotate {
    from {-webkit-transform:rotate(0deg);}
    to {  -webkit-transform:rotate(360deg);}
  }
  
  @-moz-keyframes rotate {
    from {-moz-transform:rotate(0deg);}
    to {  -moz-transform:rotate(360deg);}
  }

#cover {
		position: fixed;
		display: block;
		top: 0;
		width: 100vw;
		height: 100vh;
		background:transparent;
		margin: auto;
	}

	#cover_container {
		position: relative;
		width: 100vw !important;
		/* transform: translateX(-50%) !important; */
		/* height: 200vh; */
    overflow: hidden;
		top: 0;
		z-index: 10;
		padding: 0px;
}


html, body {
  padding: 0;
  margin: 0;
  --bar-height: 100px;
  --extra-space: 60px;
}
  
article {
  padding: 2rem;
}

section {}

section.large {
   height: 100vh;
   /* display: none; */
   display: flex;
   flex-direction: column;
}
section.medium {
   height: 60vh;
}
section.small {
   height: 30vh;
}

  
header {
  position: fixed;
 
  display: flex;
  justify-content: center;
  align-items: center;
 
  
  height: var(--bar-height);
  width: 100%;
  top: 0;
  padding: 0;

  background: #8BC34A;
  color: #212121;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.content {
  display: flex;
  height: 100%;
}


.content > div {
  display: flex;
  flex-direction: column;
}

.center {
    position: relative;
    left: -100vw;
    width: 30%;
    height: 80%;
    display: flex;
    flex-direction: column;
}

.slidecenter {
    -webkit-animation: slidecenter 0.5s forwards;
    -webkit-animation-delay: 1.5s;
    animation: slidecenter 0.5s forwards;
    animation-delay: 1.5s;
}



@-webkit-keyframes slidecenter {
    100% { left: calc(50% - 15vw); }
}

@keyframes slidecenter {
    100% { left: calc(50% - 15vw);}
}


.left {
    position: absolute;
    left: -30vw;
    width: 30vw;
    height: 80%;
    order: 1;
    display: flex;
    flex-direction: column;
}

.slideleft {
    -webkit-animation: slideleft 0.5s forwards;
    -webkit-animation-delay: 0.5s;
    animation: slideleft 0.5s forwards;
    animation-delay: 0.5s;
}

.right {
    position: absolute;
    right: -30vw;
    width: 30vw;
    height: 80%;
    display: flex;
    order: 2;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.slideright {
    -webkit-animation: slideright 0.5s forwards;
    -webkit-animation-delay: 0.25s;
    animation: slideright 0.5s forwards;
    animation-delay: 0.25s;
}


.nextButton {
  text-align:center;
  position: relative;
  height: 100vh;
  width:100vw;
}

.nextButton #Ebene_2 {
  position: absolute;
  bottom: 0;
  left: calc( 50% - 50px);
  z-index:50;
  width: 15rem;
  /* transform: scale(1); */
  /* animation: pulse 2s infinite; */
  animation:move 3500ms infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
	}

	70% {
		transform: scale(1);
	}

	100% {
		transform: scale(0.95);
	}
}

.next {
  cursor: pointer;
}


@-webkit-keyframes move{
  from {bottom:5%; opacity: 0;}
  to {bottom:2%; opacity: 1;}
}


@keyframes move{
    from {bottom:5%; opacity: 0;}
    to {bottom:2%; opacity: 1;}
}

.paoloBg {
  background:url('../images/220307_Paolo_Rossi_Logo-min.svg');
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: 20%;
  z-index:-10;
  position: relative;
  width:100%;
  height:100%;
}


.footer {
  visibility: hidden;
  position: fixed;
  /* top: 0; */
  background: lightgrey;
  height: 6rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2rem;
  z-index: 150;
  bottom: 0;
  justify-content: space-around;
}

.footer>div {
  width: 33%;
}

.fcenter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.fright {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 20% !important;
}

.mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1ch;
}

.start {
  justify-content: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1ch;
  flex-wrap: wrap;
}

.end {
  justify-content: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1ch;
  flex-wrap: wrap;
  height:77%;
}

.between {
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1ch;
}

.evenly {
  justify-content: space-evenly;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1ch;
}



.paolo-50 {
  background-image: url('https://paolorossi.fantomas-staging.de/wp-content/uploads/2022/12/Element_50.svg');
  background-repeat: no-repeat;
  background-position: bottom right 5rem;
  background-size: 50vh;
}

#bezugsquellen {
  width:50%;
}

.Pirmasens, .Muenchen {
  cursor: pointer;
}

.bezug {
  visibility: hidden;
  width: 500px;
  height: auto;
  position:absolute;
  bottom:-5px;
  left: -50%;
}

.bezugactive {
  opacity: 1 !important;
  fill: #4150bd !important;
  stroke: #4150BD;
  stroke-dashoffset: 0;
  stroke-dasharray: 0;
  stroke-width: 4;
}

.hidden {
  display: none;
}

.lottiea {
  z-index: 50;
  position: absolute;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  display: inline-grid;
  justify-content: center;
  }



#s1 .center {
  justify-content: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1ch;
  bottom:30%;
}

#s6 .center {
  justify-content: end;
  height: 98%;
}

.startText {

}

@-webkit-keyframes slideright {
  100% { right: 5vw; }
}

@keyframes slideright {
  100% { right: 5vw; }
}

@-webkit-keyframes slideleft {
  100% { left: 5vw; }
}

@keyframes slideleft {
  100% { left: 5vw; }
}

/* modal */

.modal{
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}
.modal__bg{
	background: rgba(0,0,0,0.8);
	height: 100vh;
	position: absolute;
	width: 100%;
}
.modal__content{
	background: #fff;
	left: 50%;
	padding: 15px;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
}

.modal__content .js-modal-close {
	font-size: 13px;
  cursor: pointer
}
.modal__content video {
	width: 100%;
	vertical-align: bottom;
	margin-bottom: 8px;
}

/* modal END */


@media only screen and (max-width:1024px) {

    .modal__content{
      width: 90%;
    }

    .navBtn {
      height: 50px;
      width: 50px;
    }

    .navBtn:hover::after {
      padding: 1.75rem 8rem;
  }

    
  #s1 .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1ch;
    width: 30%;
    bottom:30%;
  }

  #s6 .center {
    justify-content: end;
    height: 98%;
    width: 100%;
    position: initial;
}

  #s6.center img {
    width: 80%;
    margin: 0 auto;
    }

  #bezugsquellen {
    width: 90%;
    justify-content: center;
  }

  #s6 .left {
    top: -30%;
  }

  .bezug {
    left:unset;
    right: 10%;
  }

  .startText {
    width: 200%;
  }

  .lottiea {
    z-index: 50;
    position: absolute;
    width: 100%;
    pointer-events: none;
    overflow: hidden;
    display: inline-grid;
    justify-content: center;
    }



  .paoloBg {
    background:url('../images/220307_Paolo_Rossi_Logo-min.svg');
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: 30%;
    z-index:-10;
    position: relative;
  }
  
  img {
    /* width: 50%; */
  }

  .center {
    order: 3;
    left: -100vw;
  }
  
  .slidecenter {
    -webkit-animation: slidecenter 0.5s forwards;
    -webkit-animation-delay: 1.5s;
    animation: slidecenter 0.5s forwards;
    animation-delay: 1.5s;
  }

  .left {
    /* position: relative; */
    left: -100vw;
    /* width: 100%; */
    /* height: 80%; */
    /* align-self: auto; */
    /* top: 25%; */
  }
  
  .slideleft {
    -webkit-animation: slideleft 0.5s forwards;
    -webkit-animation-delay: 0.5s;
    animation: slideleft 0.5s forwards;
    animation-delay: 0.5s;
  }

  .right {
    right: -100vw;
    width: 100%;
  }


  .slideright, .slideleft, .slidecenter {
    height: 90%;
    /* display: flex; */
    width: 60%;
    flex-direction: column;
  }
  .bezug {
    width: 400px;
  }
}

@media only screen and (max-width: 600px) {

  p {
    font-size: 1rem;
  }

  #s7.slideleft {
      width: 80% !important;
  }

  .paoloBg {
    background-size: 50%;
}

#s1 .center {
  bottom: 30%;
}

#s6 .center {
  width: 100%;
  height: 92%;

}

.navBtn:hover::after {
  padding: 0.50rem 8rem;
}
.navBtn {
  height: 25px;
  width: 25px;
}
.nav {
  width: 40px;
}
.startText {
 margin-top: 0px;
}
.bezug {
  width: 200px;
  bottom: 60px;
}

.fcenter {
  width: 50%;
}

.fleft {
  width: 15%;
}
.nextButton #Ebene_2 {
  width: 10rem;
}
.navBtn:hover::after {
  width: 50px !important;
}

}