:root {
  --printup: #2274A5;
}
*{
    font-family: Arial, Helvetica, sans-serif;
}

body , html {
  margin: 0;
  height: 100%;
  overflow: hidden;
  position: fixed;
}

main {
  margin: 20px;
  background-color: black;
  color: white;
  height: calc(100vh - 40px);
  width: calc(100vw - 40px);
}

header {
    position: relative;
}

a{
  text-decoration: none;
}
h1 {
  font-size: 100px;
  text-transform: uppercase;
}

h1 span {
  width: 140px;
  height: 20px;
  background-color: var(--printup);
  display: block;
    float: right;
}
h2 span {
  width: 140px;
  height: 20px;
  background-color: var(--printup);
  display: block;
    float: right;
}


P{ font-size: 30px;
}

/*

NAVIGATION BURGER

*/
#navigation-burger {
  position: absolute;
  right: 19px;
  top: 20px;
  border-bottom-left-radius: 100px;
  background-color: white;
  height: 80px;
  width: 100px;
  z-index: 200;
  cursor: pointer;
}

.logoheader {
    position: absolute;
    width: calc(99vw - 254px);
    z-index: 101;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,1);
    padding-bottom: 10px;
    padding-right: 100px;
    padding-left: 100px;
}
.logofooter{
    display: none;
}

.quote h2 {
    text-align: center;
    color: var(--printup);
    font-weight: normal;
}
#navigation-burger-closed {
  position: absolute;
  right: 20px;
  top: 20px;
  border-bottom-left-radius: 100px;
  background-color: white;
  height: 80px;
  width: 100px;
  z-index: 200;
}



.navigation-burger-wrapper {
  position: absolute;
  right: 0px;
  top: 0px;
  cursor: pointer;
}

.navigation-burger-wrapper span {
  display: block;
  background-color: black;
  width: 50px;
  height: 5px;
}

.navigation-burger-wrapper span:nth-child(1) {
  margin-bottom: 10px;
  transition: all 0.2s;
}

.navigation-burger-wrapper span:nth-child(2) {
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.2s;
}

.navigation-burger-wrapper span:nth-child(3) {
  margin-top: 10px;
  transition: all 0.2s;
}

.navigation-burger-open .navigation-burger-wrapper span:nth-child(1) {
  transform: rotate(45deg);
  margin-top: 15px;
  margin-bottom: 0px;
  transition: all 0.2s;
}

.navigation-burger-open .navigation-burger-wrapper span:nth-child(2) {
  display: none;
  background-color: white;
  transition: all 0s;
}

.navigation-burger-open .navigation-burger-wrapper span:nth-child(3) {
  transform: rotate(-45deg);
  margin-top: -5px;
  transition: all 0.2s;
}

.video-navigation-alt{
    display: flex;
    text-align: center;
    justify-content: center;
    padding-top: calc(100vh);
    z-index: 10;
    transition: all 0.8s;
    transition-timing-function: ease-out;
}


/* NAVIGATION BURGER - Animation*/
#info-overlay {
  position: absolute;
  height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.9);
    z-index: 100;
opacity: 1;
}

.info-overlay-closed {
  top: 0;
  left: 100vw;
    height: 100%;
  transition: all 1s;

}
.info-left{
  width: 50%;
  height: 100%;
  display: inline-block;

}
.info-right{
    height: 100%;
    width: 50%;
      display: inline-block;
      vertical-align: top;

}
.info-right p {
  margin-top: 10%;
    margin-b: 10%;
}
.wrapper-right{

  margin-right: 20%;
  margin-bottom: 20%;
        margin-left: 25%

}
.wrapper-left{

  margin-left: 20%;
  margin-bottom: 20%;

}
.printinswitzerland1{
  width: 33.333%;
  display: inline-block;
    vertical-align: middle;
}
.printinswitzerland2{
  width: 33.333%;
  display: inline-block;
    text-align: center;
      vertical-align: middle;
}
.printinswitzerland3{
  width: 33.333%;
  display: inline-block;
  text-align: right;
  vertical-align: middle;
}
.adresse{
      text-align: right;
      width: 50%;
        display: inline-block;
}
.impressum{
      text-align: left;
      width: 50%;
        display: inline-block;
        font-size: 18px;
}
.info-right h1, .info-right h2{
  text-align: right;
}

.info-right h1{
  margin-block-start: 0em;
      margin-block-end: 0em;
}



.info-overlay-open {
  top: 0vh;
  left: 0vw;
  transition: all 1s;
}
#overlayinfo{
margin-top: 24vh;

}
#buildingimg{
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.info-wrapper {
  position: relative;
  height: 100vh;
  margin-top: 25vh;
  width: 20vw;
  margin-left: 20vw;
}

.info-content {
  position: absolute;
  margin: 0;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.info-adress {
  margin-top: 50px;
width: 100%;
justify-content: space-between;
display: flex;
  font-size: 20px;
}
.info-text{
    margin-top: 100px;
      font-size: 20px;
}
.info-impressum {
  text-align: right;
    font-size: 20px;
}


.info-content h1, .info-content h2 {
  text-align: right;
}
.info-content h2{
    font-size: 30px;
}

.info-logos{
    margin-top: 50px;
  display: flex;
  justify-content: space-between;
    margin-bottom: 100px;
}


.info-logos img:nth-child(1){
max-width: 23%;
  cursor: pointer;
}
.info-logos img:nth-child(2){
max-width: 30%;
  cursor: pointer;
}
.info-logos img:nth-child(3){
max-width: 30%;
  cursor: pointer;
}


/*

Loading Screen

*/
.loadingscreen {
  height: 100vh;
  width: 100vw;
  background: white;
  top: 0;
  left: 0;
  position: absolute;
    z-index: 200;
}

.loadingscreen-closed {
  height: 100vh;
  width: 100vw;
  background: white;
  top: 0;
  left: -100vw;
  position: absolute;
  z-index: 15;
  transition: all 0.5s;
}

.loadingscreen-closed-none {
  display: none;
}

.loadingscreen-wrapper {
  position: relative;
  height: 100%;
  width: 100%
}

/*

Video

*/
.video-wrapper{
position: relative;
  height: 0px;
    width: 0px;
}

.video-container{
  z-index: -1;
    position: absolute;
  height: calc(100vh - 40px);
  width: calc(100vw - 40px);
  display: none;
}


.video-container.selected{
    z-index: 1 !important;
  display: block !important;
  opacity: 1 !important
}

.video-navigation-hide {
  display: none;
}
.video-navigation {
  display: flex;
  text-align: center;
  justify-content: center;
  padding-top: calc(100vh - 60px - 200px);
  z-index: 10;
  transition: all 0.8s;
  transition-timing-function: ease-out;
}



.video-navigation-text {
  width: 700px;
  height: 200px;
  transition: all 0.5s;
  z-index: 10;
  position: relative;

}

.video-navigation-text.selected {
  width: 700px;
  height: 200px;
  transition: all 0.5s;
  z-index: 10;
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;

}


.video-navigation-text.selected span {

  background-color: var(--printup);
  transition: all 0.2s;

}
.video-navigation-text.selected h3 {

  color: var(--printup);
  transition: all 0.2s;

}


.video-navigation-text span {
  height: 10px;
  width: 100%;
  background-color: white;
  display: block;
}

.video-navigation-text:nth-child(1) {
    margin-left: 20px;
  margin-right: 10px;
}

.video-navigation-text:nth-child(2) ,.video-navigation-text:nth-child(3) {
  margin-left: 10px;
  margin-right: 10px;
}

.video-navigation-text:nth-child(4) {
  margin-left: 10px;
  margin-right: 20px;
}
.video-navigation-text:hover{


  cursor: pointer;

}


.video-navigation-text h3{
      text-transform: uppercase;
      font-size: 30px;

      position: absolute;
      left: 50%;
top: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
margin-block-start: 0;
    margin-block-end: 0;
    text-align: center;
      margin: 0;

}





.video-logo, .video-logo-white {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-logo {
  z-index: 10;
}

.video-logo-white {
  z-index: 11;
}



.video-logo-white g path, .video-logo-white g rect, .video-logo-white path, .video-logo-white rect {
  opacity: 1;
  fill: white !important;
  position: absolute;
}


.white-logo-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

.white-logo-container {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.myVideo {
object-fit: cover;
  width: 100%;
  height: 100%;
}
#video-overlay{
background-color: black;
height: calc(100vh - 40px);
width: calc(100% - 40px);
position: absolute;

}






.overlay-hide{
  background-color: white;
  height: calc(100% - 40px);
  width: calc(100% - 40px);
  position: absolute;
  top: 100vh;
  left: 20px;
  opacity: 0;
  transition: all 0.8s;
  transition-timing-function: ease-out;
  z-index: 100;
}

.overlay-show{
  background-color: rgba(255, 255, 255, 0.9);
  height: calc(100% - 40px);
  width: calc(100% - 40px);
  position: absolute;
top: 20px;
  opacity: 1;
    transition: all 0.4s;
  transition-timing-function: ease-in;
  z-index: 100;
      overflow: scroll;
}



.opacity-show{
  opacity: 0.5;
  transition: all 0.2s;
  transition-timing-function: ease-out;
  z-index: 50;
}
.opacity-hide{
  opacity: 0;
  transition: all 0.2s;
  transition-timing-function: ease-out;
  z-index: 0;
}




#video-navigation{

}



/* SUBPAGeS */
.overlay-hide .subpages{
    height: 100%;
    transition: all 0.2s;
    transition-timing-function: ease-out;

}

.overlay-show .subpages{

    height: 100%;
    transition: all 0.2s;
    transition-timing-function: ease-out;

}

.overlay-hide .subpage{

  width: 70%;

opacity: 0;
  position: absolute;
  left: 15%;
top: 0%;
transition: all 1s;
transition-timing-function: ease-out;
}

.overlay-show .subpage{

  width: 70%;

opacity: 1;
  position: absolute;
  left: 15%;
top: 10%;
transition: all 1s;
transition-timing-function: ease-out;
}
.subpages h2{
  color: black;
  font-size: 100px;
  text-transform: uppercase;
  text-align: left;
}

.subpages p{
  color: black;
  text-align: left;
  font-size: 30px;
  width: 60%;
margin-left: 0%;

}

.subpages ul{
padding-top: 150px;  color: black;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 2px;
       list-style-type:square;
}


.subpages #subpagewithtitle{
padding-top: 0px;

}




.subpages ul {
  margin: 0;
  columns: 3;
 -webkit-columns: 3;
 -moz-columns: 3;
}
.subpages ul {
  list-style-type: none;
}
.subpages ul > li {
  text-indent: -5px;
}
.subpages ul > li:before {
  content: "-";
  text-indent: -5px;
}


.subpages .myButton {
  margin-top: 50px;
  margin-bottom: 100px;
}
.subpages li{
  padding-top: 10px;
    padding-bottom: 10px;
}

.service-list {
    display: flex;
    width: 100%;
    flex-direction: row;
    height: 100%;
    display: flex;
flex-flow: row wrap;
    justify-content: space-between;
margin-bottom: 30px;
}

.service-element {

    padding: 10px 40px;
  padding-left: 15px;
    background: rgba(255 , 255 , 255 , 0.5);
    margin-bottom: 30px;
    border: solid 1px black;
    width: 25%;
        transition: all 0.5s
}


.service-element-empty {

    padding: 10px 40px;
  padding-left: 15px;
    background: none;
    margin-bottom: 30px;
    border: solid 1px transparent;
    width: 25%;
        transition: all 0.5s
}

.service-element:hover {

    padding: 10px 40px;
  padding-left: 15px;
    background: rgba(255 , 255 , 255 , 1);
    margin-bottom: 30px;
    border: solid 1px black;
    width: 25%;
    transition: all 0.5s
}

.service-element-break {
  flex-basis: 100%;
  width: 0px;
  height: 0px;
  overflow: hidden;
}

.subpages .service-element p {
    color: black;
    text-align: left;
    font-size: 25px;
    width: 100%;
    margin-left: 0%;
    margin-top: 22px;
}


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

 .video-navigation-text.selected {
    width: calc(100% - 20px);
    height: 70px;
    transition: all 0.5s;
    z-index: 10;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
}
.video-navigation {
    display: block;
    text-align: center;
    justify-content: center;
    padding-top: calc(100vh - 300px - 90px);
    z-index: 10;
    transition: all 0.8s;
    transition-timing-function: ease-out;
}
.video-navigation-alt{
    display: block;
}

.video-navigation-text {
    width: calc(100% - 20px);
    height: 70px;
    transition: all 0.5s;
    z-index: 10;
    position: relative;
    margin-bottom: 10px;
    margin-top: 10px;
}
.video-navigation-text span {
    height: 5px;
    width: 100%;
    background-color: white;
    display: block;
}
.video-navigation-text:nth-child(1) {
    margin-left: 10px;
    margin-right: 10px;
}
.info-overlay-open {
    top: 0;
    left: 0;
    transition: all 1s;
}
.video-navigation-text h3{
    font-size: 20px;
	line-height: 25px;
}
.info-wrapper {
    position: relative;
    height: 100vh;
    margin-top: 25vh;
    width: 58vw;
    margin-left: 20vw;
}
.overlay-show .subpage {
    width: 90%;
    opacity: 1;
    position: absolute;
    left: 5%;
    top: 100px;
    transition: all 1s;
    transition-timing-function: ease-out;
}
.subpages h2 {
    color: black;
    font-size: 80px;
    text-transform: uppercase;
    text-align: left;
    margin-block: 0;
}
.subpages p {
    color: black;
    text-align: left;
    font-size: 25px;
    width: 60%;
    margin-left: 0%;
    margin-top: 75px;
}
.subpages ul {
    margin: 0;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    margin-top: 0px;
    padding-top: 50px;
    color: black;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 7px;
}
}

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

.logoheader {
    position: absolute;
    width: 82vw;
    z-index: 101;
    top: 5px;
    left: 5px;
    background: rgba(255,255,255,1);
    padding-bottom: 10px;
    padding-right: 18vw;
    padding-left: 5px;
}

  .overlay-show {
      background-color: white;
      height: calc(100% - 10px);
      width: calc(100% - 10px);
      position: absolute;
      top: 5px;
        left: 5px;
      opacity: 0.8;
      transition: all 0.4s;
      transition-timing-function: ease-in;
      z-index: 100;
  }
  .overlay-hide{
    background-color: white;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    position: absolute;
    top: 100vh;
    left: 5px;
    opacity: 0;
    transition: all 0.8s;
    transition-timing-function: ease-out;
    z-index: 100;
  }
  .info-overlay-open {
      top: 0vh;
      left: 0vw;
      transition: all 1s;
  }

.wrapper-right {
    margin-right: 10%;
    /* margin-bottom: 20%; */
    margin-left: 10%;
}

.video-navigation-text h3 {
    line-height: 22px !important;
}
  .info-wrapper {
      position: relative;
      height: 100vh;
      margin-top: 25vh;
      width: 90vw;
      margin-left: 55vw;
  }

.quote h2{
  text-align: center;
  color: var(--printup);
  font-weight: normal
}
  .subpages h2 {
      color: black;
      font-size: 40px;
      text-transform: uppercase;
      text-align: left;
      margin-block: 0;
  }
  .subpages p {
      color: black;
      text-align: left;
    font-size: 18px;
      width: 60%;
      margin-left: 0%;
      margin-top: 75px;
  }
.subpages ul {
    margin: 0;
    columns: 2;
    -webkit-columns: 1;
    -moz-columns: 1;
    margin-top: 0px;
    padding-top: 50px;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.video-navigation-text.selected {
   width: calc(100% - 20px);
   height: 60px;
   transition: all 0.5s;
   z-index: 10;
   position: relative;
   background-color: rgba(255, 255, 255, 0.8);
   transition: all 0.2s;
}
.video-navigation {
    display: block;
    text-align: center;
    justify-content: center;
    padding-top: calc(90vh - 240px - 90px);
    z-index: 10;
    transition: all 0.8s;
    transition-timing-function: ease-out;
}

.video-navigation-alt {
  display: block;
  text-align: center;
  justify-content: center;
  padding-top: calc(100vh);
  z-index: 10;
  transition: all 0.8s;
  transition-timing-function: ease-out;
}

.video-navigation-text {
   width: calc(100% - 20px);
   height: 60px;
   transition: all 0.5s;
   z-index: 10;
   position: relative;
   margin-bottom: 10px;
   margin-top: 10px;
}
.video-navigation-text span {
   height: 5px;
   width: 100%;
   background-color: white;
   display: block;
}
.video-navigation-text h3{

      font-size: 20px;


}

h2 span {
    width: 70px;
    height: 10px;
    background-color: var(--printup);
    display: block;
    float: right;
}


.myButton {
margin-bottom: 50px;
}

main {
  margin: 5px;
  background-color: black;
  color: white;
  height: calc(100vh - 10px);
  width: calc(100vw - 10px);

}

#video-overlay {
    background-color: black;
    height: calc(100vh - 10px);
    width: calc(100% - 10px);
    position: absolute;
}

.video-container {
    z-index: -1;
    position: absolute;
    height: calc(100vh - 10px);
    width: calc(100vw - 10px);
    display: none;
}


#navigation-burger {
  position: absolute;
  right: 5px;
  top: 5px;
  border-bottom-left-radius: 100px;
  background-color: white;
  height: 80px;
  width: 100px;
  z-index: 200;
  cursor: pointer;
}

#navigation-burger-closed {
  position: absolute;
  right: 5px;
  top: 5px;
  border-bottom-left-radius: 100px;
  background-color: white;
  height: 80px;
  width: 100px;
  z-index: 200;
}

.navigation-burger-wrapper {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
h1 {
    font-size: 50px;
    text-transform: uppercase;
}
h1 span {
    width: 86px;
    height: 12px;
    background-color: var(--printup);
    display: block;
    float: right;
}

.info-text {
    margin-top: 43px;
    font-size: 18px;
}
.info-adress {
    margin-top: 50px;
    width: 100%;
    justify-content: space-between;
    display: flex;
    font-size: 18px;
}

.info-content h2 {
    font-size: 25px;
}

#info-overlay {
opacity: 1;
}


}


.myButton {
	border-radius:5px;
	display:inline-block;
	cursor:pointer;
	color:#2274A5;
	font-size:20px;
	font-weight:bold;
	text-decoration:underline;

  transition: all 0.2s;
}
.myButton:hover {
  	text-decoration:none;
  transition: all 0.2s;

}
.myButton:active {
	position:relative;
	top:1px;
  transition: all 0.2s;
}
.subpages p.subtitle{
  color: black;
  text-align: left;
  font-size: 22px;
  width: 100%;
  margin-left: 0%;
  margin-top: 10px;margin-block-start: 3em;
    margin-block-end: 0em;
    margin-bottom: 15px;
}


@media screen and (max-width: 1000px) {
.service-list{
  display: flex;
}
.service-element {
    padding: 10px 40px;
    padding-left: 15px;
    background: rgba(255 , 255 , 255 , 0.5);
    margin-bottom: 30px;
    border: solid 1px black;
    width: 40%;
    transition: all 0.5s;
}
.service-element-break{
  display: none;
}
}

@media screen and (max-width: 700px) {
.service-list{
  display: block;
}
.info-left{
  display: none;
}
.info-right{
  width: 100% ;
}
.service-element {
    padding: 10px 40px;
    padding-left: 15px;
    background: rgba(255 , 255 , 255 , 0.5);
    margin-bottom: 30px;
    border: solid 1px black;
    width: calc(100% - 50px);
    transition: all 0.5s;
}
.service-element:hover{
    width: calc(100% - 50px);
}
.wrapper-right {
    margin-right: 10%;
    margin-bottom: 20vh;
    margin-left: 10%;
}

.quote h2 {
    font-size: 0.8em;
}

.service-element-break{
  display: none;
}
.logoheader{
  display: none;
}
.logofooter {
  display: block;

    width: calc(99vw - 254px);
    padding-bottom: 10px;
    width: 100%
}
#overlayinfo{
      margin-top: 13vh;

}
#info-overlay{
      overflow: auto;
      position: absolute;
height: calc(100vh - 10px);
width: calc(100vw - 10px);
margin-left: 5px;
margin-top: 5px;
background: rgba(255,255,255,0.9);
z-index: 100;
}
.logofooter a{
width: 100%;
background: white;
height: 100%;
display: block;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
border: solid 1px black;
}
h1 {
    font-size: 35px
  }


 .info-right h2{
   display: block;
   font-size: 30px;
   margin-block-start: 0em;
   margin-block-end: 0.5em;
   margin-inline-start: 0px;
   margin-inline-end: 0px;
   font-weight: bold;
}
  }
h1 span {
    width: 52px;
    height: 7px;
    background-color: var(--printup);
    display: block;
    float: right;
}
p{font-size: 19px !important;
}


}




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


#info-overlay {
    position: absolute;
    height: 100vw;
    width: 100vw;
    background: rgba(255,255,255,0.9);
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    z-index: 100;
    opacity: 0.9;
}
.info-overlay-open {
    top: 0vw;
    left: 0vw;
    transition: all 1s;
}

.info-wrapper {
    position: relative;
    height: 100vh;
  margin-top: 0;
    width: 90vw;
    margin-left: 5vw;
}
.info-content {
    width: 90vw;
}
.info-logos {
  display: none;
}

.myButton {
display: none;
}

}
h3 {
  line-height:40px;
}
}

html,
body {
  font-family: 'Droid Serif', serif;
}

h1 {
  font-size: 60px;
  text-align: center;
}

.content-slider {


  margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.slider {
  height: 110px;
  width: 680px;
  overflow: visible;
  position: relative;
}

.mask {
  overflow: hidden;
  height: 100%;
  text-align: center;
}

.slider ul {
  margin: 0;
  padding: 0;
  position: relative;
}

.slider li {
  position: absolute;
  list-style: none;
  width: 100%
}

.slider .quote {
  font-size: 40px;
  font-style: italic;
}

.slider .source {
  font-size: 20px;
  text-align: right;
}

.slider li.anim1 {
  animation: cycle 9s linear infinite;
}

.slider li.anim2 {
  animation: cycle2 9s linear infinite;
}

.slider li.anim3 {
  animation: cycle3 9s linear infinite;
}

.slider li.anim4 {
  animation: cycle4 9s linear infinite;
}

.slider li.anim5 {
  animation: cycle5 9s linear infinite;
}

.slider:hover li {
  animation-play-state: paused;
}

@keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  50% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}



@media screen and (max-width: 600px){
.subpages p {
    color: black;
    text-align: left;
    font-size: 18px;
    width: 100%;
    margin-left: 0%;
    margin-top: 75px;
}
}
