html, body, section {
  max-width: 100%;
  max-height: 100vh;
  position: relative;
  margin: 0;
  cursor: default;
  font-family: 'Raleway', sans-serif;
  scroll-behavior: initial;
}
html, body {
    overflow-x: hidden; 
}

* {
  box-sizing: border-box;
}



/* HEADER */
header{
  top: 0px;
  width: 100vw;
  height: 10vh;
  position: fixed;
  overflow: auto;
  z-index: 1;
}

/* SECTION */
section {
  max-width: 100vw;
  height: 100vh;
  position: relative;
}


.navbar {
  background-color: yellow;
  width: 100%;
  height: 10vh;
}
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
}
.navbar a:hover {
  color: black;
}
.navbar h2{
  text-align: center;
  padding-top: 2vh;
  color: black;
}
.theme-switch-wrapper {
    display: flex;
}
.button {
  display: inline-block;
  position: relative;
  width: 5vw;
  height: 5vh;
  margin-right: auto;
  margin-left: auto;
  margin-top: 2vh;
  background-color: black;
  text-align: center;
  text-decoration: none;
  border-radius: 6vh;
  cursor: pointer;
}


.slider {
  width: 5vw;
  height: 5vh;
  border-radius: 6vh;
  background-color: black;
  position: absolute;
}


.sectionwelcome h2 {
  margin-left: 30vw;
  margin-top: 15vw;
  height: auto;
  font-size: 2.5vw;
  position:sticky;

}


.intox-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    animation: cligno 0.7s infinite;
    background-position: center center;
}

@keyframes cligno {
    0%{
        opacity: 0%;
    }

    40%{
        opacity: 100%;
    }

    50%{
        opacity: 100%;
    }

    60%{
        opacity: 0%;
    }
    
    100%{
        opacity: 0%;
    }
}

.undertitle h1{
  width: 70vw;
  text-align: center;
  font-family: arial black;
  font-size: 15vh;
  margin-left: 15vw;
  margin-top: 20vw;
}
.bigtitle h1{
  width: 40vw;
  text-align: center;
  font-family: arial black;
  font-size: 6vh;
  margin-left: 30vw;
}
.bigtitle3 h1{
  width: 40vw;
  text-align: center;
  font-family: arial black;
  font-size: 6vh;
  margin-left: 30vw;
}
.bigtitle2 h1{
  width: 80vw;
  text-align: center;
  font-family: arial black;
  font-size: 6vh;
  margin-top: 25vh;
  margin-left: 10vw;
}

.bigtitletip h1{
  width: 40vw;
  text-align: center;
  font-family: arial black;
  font-size: 6vh;
  margin-left: 30vw;
}

.animated-text{
	  font-family: arial black;
  	color: black;
  	position: absolute;
  	top: 0vh;
  	left: 50vw;
    width: 135vh;
  	transform: translate(-50%,-50%);
  	background: yellow;
  	padding: 0 10vh;
  	height: 10vh;
  	overflow: hidden;
}

.tel {
    margin-top: 15vh;
    margin-left: auto;
    text-align: center;

}

#tel-black {
    margin-top: 15vh;
    margin-left: 20vh;
    text-align: center;

}
.line1{
  text-transform: uppercase;
  text-align: center;
  font-size: 20vh;
  line-height: 10vh;

}

.line1:first-child{
  animation: anim 12s infinite;
}

@keyframes anim {
  0%{
    margin-top: 0;
  }
  14%{
    margin-top: -78px;
  }
  28%{
    margin-top: -155px;
  }
  42%{
    margin-top: -233px;

  }

  54%{
   	margin-top: -310px;

  }

	68%{
    margin-top: -233px;

  }
  81%{
    margin-top: -155px;
  }
  92%{
    margin-top: -78px;
  }
  100%{
    margin-top: 0;
  }
}

.desc {
  position: relative;
  width: 50vw;
  font-size: 2.5vh;
  text-align: center;
  margin-left: 25vw;
  top: 5vw; 
}


#positionparagraph1{
  margin-top: 35vh;
}
#positionparagraph2{
  margin-top: 5vh;
}


.planet{
margin-left: 36vw;
}



.wrap{
	width: 1100px;
	margin: 50px auto;
	display: flex;
	justify-content: center;
}

.card-wrap{
	margin: 10px;
	perspective: 800;
}

.card{
	width: 300px;
	height: 350px;
	position: relative;
	transform-style: preserve-3d;
	transition: .7s ease;
}

.recto, .verso{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	backface-visibility: hidden;
  box-shadow: 0px 10px 15px -5px rgba(0,0,0,0.65);
}

.recto{
	width: 100%;
	text-align: center;
	align-items: center;
	background: #fffa00;
	color: black;
	padding: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.verso{
	transform: rotateY(180deg);
	padding: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-top: auto;
	margin-bottom: auto;
	color: black;
  font-family: 'Raleway', sans-serif;
  background: red;
}

.card-wrap:hover .card{
	transform: rotateY(180deg);
}

.card1{
	background-image: url(img/cosumemore.png);
	background-size: cover;
}

.card2{
	background-image: url(img/cosumeless.png);
	background-size: cover;
}

.card3{
	background-image: url(img/cosumeless.png);
	background-size: cover;
}

.card4{
	background-image: url(img/cosumemore.png);
	background-size: cover;
}

.first {
 left: 20vh;
}

#slideshow-white {
  margin: 50vh auto;
}

#slideshow-white > div {
  position: absolute;
  top: 50vh;
  right: 10vh;
  left:10vh;
}

#slideshow-black {
  margin: 50vh auto;
}

#slideshow-black > div {
  position: absolute;
  top: 50vh;
  right: 10vh;
  left:10vh;
}

#gifsearch-white {
   width: 60vw;
  height: auto;
  margin-left: 20vw;
  margin-top: 170vh;
 }

 #gifsearch-black {
  width: 60vw;
  height: auto;
  margin-left: 20vw;
  margin-top: 170vh;
 }

#info{
  margin-top: 15vh;
}



*, :before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  --i: var(--wide, 1);
  --j: calc(1 - var(--i));
  --k: calc(1 - var(--narr, 0));
  height: 100%;

  font: 400 1em/ 1.25 trebuchet ms, arial, sans-serif;
}
@media (max-width: 44.25rem) {
  html {
    --wide: 0 ;
  }
}
@media (max-width: 350px) {
  html {
    --narr: 1 ;
  }
}
@media (max-width: 240px) {
  html {
    font-size: 0.75em;
  }
}

article {
  --p: var(--parity, 0);
  --q: calc(1 - var(--p));
  --s: calc(1 - 1*var(--p));
  display: grid;
  grid-template: calc(var(--i)*6.375rem + var(--j)*4.5rem) calc(var(--i)*6.5rem + var(--j)*2rem) minmax(0, auto)/ calc(var(--i)*calc(var(--q)*47rem + var(--p)*14.375rem) + var(--j)*100%) calc(var(--i)*calc(var(--q)*14.375rem + var(--p)*42rem));
  grid-gap: 0 calc(var(--i)*-2rem);
  grid-auto-flow: column dense;
  margin: calc(var(--i)*2.375rem + var(--j)*0em) auto;
  border: solid calc(var(--i)*0.1875rem) transparent;
  padding: calc(var(--i)*0.75rem + var(--j)*2vw) calc(var(--i)*6rem + var(--j)*2vw);
  width: calc(var(--i)*72.25rem + var(--j)*100%);
  border-radius: calc(var(--i)*9.125rem);
  background: linear-gradient(calc(var(--s)*90deg), yellow, yellow) padding-box;
  counter-increment: idx;


}
article:nth-child(2n) {
  --parity: 1 ;
}

h5 {
  grid-column: calc(1 + var(--i)*var(--q));
  grid-row: 1/span calc(1 + 2*var(--i));
  margin: calc(var(--i)*-2.25rem) 0;
  border: solid calc(var(--i)*0.1875rem) transparent;
  padding: calc(var(--i)*2.25rem) calc(var(--i)*2.25rem);
  border-radius: calc(var(--i)*calc(var(--q)*50%)) calc(var(--i)*calc(var(--p)*50%));
  box-shadow: inherit;
  background: linear-gradient(calc(var(--s)*45deg), white, white) padding-box;
  font-size: 8rem;
  text-align: center;
  color: black;
  top: 8vh;
}

h6 {
		color: black;
  	padding-left: calc(var(--k)*2.5em);
    font-size: 2vh;
    margin-top: -4vh;
}

h4 {
  font-size: 4.5vh;
  font-family: Arial Black; 
}
.line2 {
      position: relative;
      top: 10vh;
      width: 12vw;
      margin: 15vh auto;

      border-right: 3px solid rgba(255, 255, 255, 0.75);
      font-size: 20vh;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
}


#anim-typewriter {
      animation: typewriter 4s steps(40) 0.5s 1 normal both,
      blinkTextCursor 500ms steps(40) infinite normal;
}

@keyframes typewriter {
      from {
            width: 0;
      }
      to {
            width: 100%;
      }
}

@keyframes blinkTextCursor {
      from {
            border-right-color: rgba(255, 255, 255, 0.75);
      }
      to {
            border-right-color: transparent;
      }
}

/* SWITCH TO BLACK
to SHOW or UNSHOW an ELEMENT (like a text), use INVISIBLE and VISIBLE with a call TOGGLECLASS in a SCRIPT.
 */

.invisible{
  opacity: 0;
  display: none;
}
.visible{
  opacity: 1;
  display: block;
}
.black{
  background-color: black;
}
.white{
  color: white;
}

/* Rash style */
.planet {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.planet svg text {
    font-size: 6vh;
}


@media all and (min-width: 1440px){
     .undertitle h1 { 
        font-size: 12vh; 
     }
      .bigtitle h1 { 
        font-size: 5vh; 
       }
      .bigtitle h1 { 
        font-size: 5vh; 
  }

        .bigtitletip h1 { 
        font-size: 7vh; 
  }
  .line2 { 
    font-size: 20vh; 
  }

  .line1 {
    font-size: 10vh;
  }
}
@media all and (min-width: 1680px){
    h4 {
      font-size: 4vh;
    }
    h6 {
      font-size: 2vh;
  }
}
@media all and (min-width: 1920px){
    h4 {
      font-size: 3vh;
    }
    h6{ 
      font-size: 1.6vh;
    }
}

@media all and (max-width: 1024px){
    .wrap {
      width: 98%;
        margin-left: auto; 
        margin-right: auto; 
    }
    .bigtitle2 h1 {
        font-size: 50px; 
    }
    #gifsearch-white{
        width: 90%; 
        margin-left: auto; 
        margin-right: auto; 
        text-align: center; 
    }

     #gifsearch-black{
        width: 90%; 
        margin-left: auto; 
        margin-right: auto; 
        text-align: center; 
    }
   article  h4 {
    font-size: 30px;
    width: 90%;
    margin: 10px auto;
    text-align: center; 
  }
 
  article h5{
      
    padding: 20px;
    background: transparent;
  }
  article h6 {
      
    margin: 10px auto;
    text-align: center;
    font-size: 18px;
    padding-left: 0;
    padding-right: 0;
    
    width: 90%;
  }
  article {
    margin-top: 30px; 
    padding-bottom: 30px;
    display: block; 
    position: relative;
    width: 95%;
    border-radius: 50px;

  }
    img, video, audio, iframe, input{
        max-width: 100%; 
    }
    .bigtitle h1 {
      width: 0vw;
      text-align: center;
      font-family: arial black;
      font-size: 35px;
      margin-left: auto;
      margin-right: auto;
      padding-top: 50px;
  }
    .undertitle h1 { 
        font-size: 75px;
        margin-left: auto;
        margin-top: 30vh;
        margin-right: auto;
    }
    .desc {
      position: relative;
      width: 80%;
      font-size: 2.5vh;
      text-align: center;
      margin-left: auto;
      top: 0;
      margin-right: auto;
      padding-top: 150px !important;
  }
  .animated-text { 
      position: absolute;
      top: 0;
      left: 50%;
      width: 100%;
      transform: translate(-50%,-50%); 
      padding: 0 50px;
      height: 100px;
      overflow: hidden;
  }
  .bigtitle h1 , .bigtitle3 h1{ 
    width: 90%;
    font-size: 40px; 
    margin-left: auto; 
    margin-right: auto; 
  }
  .line2 {
      font-size: 90px;
  }
  .bigtitle2 h1 {
      font-size: 30px;
  }
  .bigtitle h1, .bigtitle3 h1 { 
    font-size: 30px;
  }
  .line2 {
      font-size: 50px;
  }
  .line2 { 
      padding-top: 100px;
      padding-bottom: 80px;
  }
}

@media all and (max-width: 767px){ 
  .intox-2 {
      position: relative; 
  }
  .line1 { 
      font-size: 100px; 
  }
  section { 
      height: initial; 
      max-height: initial;
  }
  .undertitle h1{
      font-size: 40px; 
    padding-top: 100px; 
    padding-bottom: 100px;
}

#slideshow-white{
  margin-top: 100px; 
  margin-bottom: 100px; 
   
}
  }
   
  section{
      clear: both; 
  }
  .recto {
      flex-wrap: wrap; 
  }
  .wrap {
      
      flex-wrap: wrap; 
  }
  .desc {
      font-size: 18px; 
  }
  section:after{
      content:''; 
      display: block; 
      clear: both; 
  }
  #positionparagraph1 {
      margin-top: 100px;
  }
  .line1 {
      font-size: 30px;
  }
  .line2 { 
    top: 400px; 
  }
}

@media all and (max-width: 500px){  
.undertitle h1 {
    font-size: 32px; 
}
  article h4 {
      font-size: 25px; 
  }
  article h6 { 
      font-size: 16px; 
  }
  #planet-black svg { 
    max-width: 300px;
  }
  .undertitle h1 {
      font-size: 28px;
  }
}