
/* defaults */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* background-color: black; */
}

@font-face {
  font-family: CircularMono;
  src: url(../fonts/CircularXXMono-Regular.otf);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  /* transition: ease-in-out ;
  transition-duration: 1s;
  opacity: 100%; */
  max-width: 100%;
  max-height: 100%;
}

/* img:hover {
  opacity: 0%;
} */



::selection {
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
}

::-moz-selection {
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
}



ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

a :hover {
  z-index: 10000000;
}







.rinvio{
  position: fixed;
  width: 100%;
  background-color: white;
  font-family: CircularMono;
  padding-top: 5px;
  font-size: .6em;
  color: black;
}
.text {
  width: calc(100% / 3);
  font-family: CircularMono;
  padding-top: 5px;
  padding-left: 5px;
  left: 10%;
  font-size: .6em;
  color: white;
}

.container {
  background-color: red;
  scroll-snap-type: both mandatory;	
	display: flex;
	-webkit-overflow-scrolling: touch;
	overflow-x: scroll;
  overflow-y: scroll;
  /* background-image: linear-gradient(red, black);} */
}
section {
  border-right: 1px solid white;
	padding: 1rem;
	min-width: 100vw;
	height: 100vh;
	scroll-snap-align: start;
	text-align: center;
	position: relative;
}

.hidden {
  display: none;
}

/* */
.main {
  width: 50%;
}

.container2 {
  flex-wrap: wrap;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
}
.container3 {
  background-color: black;
  flex-wrap: wrap;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
}



.quarter {
  scroll-snap-align: start;
  width: 25vw;
  height: 25vh;
  background-color: rgb(0, 0, 0);
  /* border: 1px solid white; */
}
.quarter p {
  /* border-top: 1px solid rgb(255, 255, 255) ; */
  padding-top: 3.4vh;
  padding-left: 5px;
  font-family: CircularMono;
  text-align: left;
  font-size: 6em;
  line-height: .6em;
  color: rgb(255, 0, 0);
}

.quarter h1 {
  padding-left: 5px;
  font-family: CircularMono;
  text-align: left;
  font-size: .6em;
  color: rgb(255, 0, 0);
}
.quarter h2 {
  padding-left: 5px;
  font-family: CircularMono;
  text-align: left;
  font-size: 3em;
  color: rgb(255, 0, 0);
}
.quarter h3 {
  margin-top: 25px;
  padding-left: 5px;
  font-family: CircularMono;
  text-align: left;
  font-size: .6em;
  color: rgb(255, 0, 0);
}

.p75 {
  scroll-snap-align: start;
  width: 75%;
  height: 25vh;
  /* background-color: rgb(255, 0, 0); */
}
.p75 p {
  /* border-top: 1px solid rgb(255, 255, 255) ; */
  padding-top: 25px;
  padding-left: 5px;
  font-family: CircularMono;
  text-align: left;
  font-size: .6em;
  color: rgb(255, 255, 255);
}

.numbers2 {
  transition: ease-in-out 1s;
  scroll-snap-align: start;
  width: 100vw;
  height: 50vh;
  background-color: rgb(0, 0, 0);
}
.numbers2 h2 {
  padding-top: 5px;
  padding-left: 5px;
  font-family: CircularMono;
  text-align: center;
  font-size: 1.2em;
  color: rgb(255, 0, 0);
}
.numbers {
  transition: ease-in-out 1s;
  scroll-snap-align: start;
  width: 25vw;
  height: 25vh;
  background-color: rgb(0, 0, 0);
}
.numbers a span {
  height: 50vh;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  position:absolute; 
  display:none; 
  z-index:99;

}

.numbers a:hover span {
  width: 100vw;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  opacity: 1;
  display:block;
}


.numbers:hover {
  animation: shake 0.5s; 
  animation-iteration-count: infinite; 
  background-color: rgb(0, 0, 0);
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.numbers p {
  padding-top: 20%;
  padding-left: 5px;
  font-family: CircularMono;
  text-align: center;
  font-size: 3em;
  color: rgb(255, 0, 0);
}

.numbers3 {
  transition: ease-in-out 1s;
  scroll-snap-align: start;
  width: 25vw;
  height: 25vh;
  background-color: rgb(0, 0, 0);
}
.numbers3 a span {
  height: 50vh;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  position:absolute; 
  display:none; 
  z-index:99;
  left:50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);

}

.numbers3 a:hover span {
  width: 100vw;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  opacity: 1;
  display:block;
}


.numbers3:hover {
  animation-iteration-count: infinite; 
  background-color: rgb(0, 0, 0);
}

.numbers3 p {
  padding-top: 20%;
  padding-left: 5px;
  font-family: CircularMono;
  text-align: center;
  font-size: 3em;
  color: rgb(255, 0, 0);
}



.textcenter {
  width: 100%;
  height: 40vh;
  background-color: black;
  transition: ease-in-out .2s;
}

/* .textcenter:hover {

transform: scale(1.5);
  } */

.textcenter p {
  font-family: CircularMono;
  padding-top: 5px;
  padding-left: 5px;
  left: 10%;
  font-size: .6em;
  color: white;
}

.parallax-1 {
  position: fixed;
  top: 0;
  left: calc(1 * 100% / 3);
  width: calc(100% / 3);
}

.parallax-2 {
  position: fixed;
  bottom: 0;
  left: calc(2 * 100% / 3);
  width: calc(100% / 3);
  background-color: black;
}

.normal {
  background-color: red;
}

.second {
  display: flex;
  width: 100%;
}

.half {
  flex-wrap: wrap;
  width: 50%;
  height: 800px;
  background-color: red;
}








*{cursor:none;}
#crosshair-h{
    width:100%;
    height:1px;
    margin-top:-1px;
}
#crosshair-v{
    height:100%;
    width:1px;
    margin-left:-1px;
}
.hair{    
    position:fixed;
    background-color:rgb(255, 255, 255);
    pointer-events:none;
}


@media only screen

and (max-width: 768px) {
  .quarter p {
    /* border-top: 1px solid rgb(255, 255, 255) ; */
    padding-top: 3.4vh;
    padding-left: 5px;
    font-family: CircularMono;
    text-align: left;
    font-size: 3em;
    line-height: .6em;
    color: rgb(255, 0, 0);
    }

    .quarter h2 {
      padding-left: 5px;
      font-family: CircularMono;
      text-align: left;
      font-size: 2em;
      color: rgb(255, 0, 0);
    }

    .numbers p {
      padding-top: 20%;
      padding-left: 5px;
      font-family: CircularMono;
      text-align: center;
      font-size: 3em;
      color: rgb(255, 0, 0);
    }

  }