@font-face {
    font-family: "bauhaus";
    src: url("../fonts/bauhaus/BauhausBold.woff") format("truetype");}

@font-face {
    font-family: "lato";
    src: url("../fonts/lato/Lato-Regular.woff") format("truetype");}


#bg {
  position: fixed; 
  top: 0; 
  left: 0; 
  min-width: 100%;
  min-height: 100%;
    max-width: 100%;
    
}

head {
    width: 100%;
}
body { 
width: 99%;}

p {
    font-family: lato;
    font-size: 1vw;
    margin-top: 2%;
    color: white;
    cursor: pointer;
      z-index: 1;
    text-align: center;
    display: inline-flex;
}

#astrid {
    height: 87%;
    width: auto;
    position: absolute;
    left: 55%;
    top: 12%;
}


#logo {
    position: fixed;
    width: 6.5%;
    padding: 0.3%;
    left: 2%;
}


.titoli {
    color: #ffffff;
    text-align: center;
    position: absolute;
    left: 6%;
    top: 12%;
}
h1 {
    font-family: bauhaus;
    font-size: 2vw;
}
h2 {
    font-family: bauhaus;
    font-size: 1.2vw;
    margin-top: -10%;
}
h3 {
       font-family: bauhaus;
    font-size: 1vw;
    color: #fff;
    position: fixed;
    margin-left: 2.4%;
    margin-top: -1.3%;
    letter-spacing: 1px;
    
    
}

.rectangle {
    position: absolute;
    background-color: transparent;
    border: 2px solid #fff;
    margin-left: 22.8%;
    margin-top: 8.85%;
    padding-bottom: 33.5%;
}

.coins {
    position: fixed;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 10px;
    top: 11%;
    left: 65%;  
    height: 3.5%;
    width: 7%;
}

#moneta {
    margin-top: -4px;

}



/* SOUND */

#track {
    visibility: hidden;
}

#soundon {
    position: absolute;
  background-image: url(../img/soundon.png);
  background-size: cover;
 width: 3vw;
  height: 3vw;
  cursor: pointer;
    top: 35%;
    left: 15%;
}

#soundoff {
    position: absolute;
  background-image: url(../img/soundoff.png);
     background-size: cover;
  width: 3vw;
  height: 3vw;
  cursor: pointer;
   top: 35%;
    left: 15%;
}


.volume-slider {
    position: absolute;
     height:2%;
  width:10%;
    top: 45%;
    left: 10.8%;
     position:relative;
    transform: rotate(270deg);
    border-radius: 5px;
}



/* SLIDER */

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
     background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, transparent 50%, transparent 100%);
     outline: none;
  transition: background 450ms ease-in;
  -webkit-appearance: none;
    
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 20px;
  cursor: pointer;
  background: transparent;
  border-radius: 5px;
  border: 3px solid #ffffff;
}
input[type=range]::-webkit-slider-thumb {
  height: 25px;
  width: 16px;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5.5px;
    border: 1px solid #505050;
}




/* NAV BAR */

.icons {
    position: fixed;
     display: inline-block;
    left: 85%;
    width: 9%;
    height: 5%;
    
}

#msg {
    padding: 5% 8%;
        max-width: 14%;
  height: auto;
}
#bell {
    padding: 5% 8%;
    max-width: 14%;
  height: auto;
}
#profile {
    padding: 5% 8%;
        max-width: 14%;
  height: auto;
}


.topnav {
    font-family: bauhaus;
    width: 40%;
    height: 5%;
  overflow: hidden;
    position: fixed;
    left: 30%;
     z-index: 1;
    display: inline-flex;
}

.topnav a {
  float: left;
  color: #ffffff;
  text-align: center;
  padding: 4%;
    padding-top: 0.5em;
  text-decoration: none;
  font-size: 1vw;
}

.topnav a:hover {
  color: black;
}




/* EPISODIO */


.episodio {
    position: absolute;
}

#one {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#two {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#three {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;

}

#four {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#five {
 display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#six {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seven {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#eight {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#nine {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#ten {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#eleven {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twelve {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirteen {
 display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourteen {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fifteen {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixteen {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventeen {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#eighteen {
 display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#nineteen {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twenty {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentyone {
 display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentytwo {
 display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentythree {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentyfour {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentyfive {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentysix {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentyseven {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentyeight {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#twentynine {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirty {
  display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtyone {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtytwo {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtythree {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtyfour {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtyfive {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtysix {
   display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtyseven {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtyeight {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#thirtynine {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourty {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtyone {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtytwo {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtythree {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtyfour {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtyfive {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtysix {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtyseven {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtyeight {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fourtynine {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fifty {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftyone {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftytwo {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftythree {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftyfour {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftyfive {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftysix {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftyseven {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftyeight {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#fiftynine {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixty {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtyone {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtytwo {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtythree {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtyfour {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtyfive {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtysix {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtyseven {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtyeight {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#sixtynine {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventy {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventyone {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventytwo {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventythree {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventyfour {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventyfive {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventysix {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventyseven {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventyeight {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}

#seventynine {
    display: none;
    margin-left: 23%;
    margin-top: 9%;
    width: 52.5%;
    height: auto;
}






/* TESTI */

.testi {
    position: absolute;
    margin-top: -4.5%; 
    margin-left: 25%;
    width: 48%;
    height: 7%;
    text-align: center;
}

#text1 {position: relative;}
#text2 {display: none; position: relative}
#text3 {display: none; position: relative}
#text4 {display: none; position: relative}
#text5 {display: none; position: relative}
#text6 {display: none; position: relative}
#text7 {display: none; position: relative}
#text8 {display: none; position: relative}
#text9 {display: none; position: relative}
#text10 {display: none; position: relative}
#text11 {display: none; position: relative}
#text12 {display: none; position: relative}
#text13 {display: none; position: relative}
#text14 {display: none; position: relative}
#text15 {display: none; position: relative; margin-top: 4px}
#text16 {display: none; position: relative}
#text17 {display: none; position: relative}
#text18 {display: none; position: relative}
#text19 {display: none; position: relative;  margin-top: 4px}
#text20 {display: none; position: relative}
#text21 {display: none; position: relative}
#text22 {display: none; position: relative}
#text23 {display: none; position: relative;  margin-top: 4px}
#text24 {display: none; position: relative}
#text25 {display: none; position: relative}
#text26 {display: none; position: relative;  margin-top: 4px}
#text27 {display: none; position: relative;  margin-top: 4px}
#text28 {display: none; position: relative}
#text29 {display: none; position: relative;  margin-top: 4px}
#text30 {display: none; position: relative}
#text31 {display: none; position: relative;  margin-top: 0px; line-height: 1.5}
#text32 {display: none; position: relative}
#text33 {display: none; position: relative}
#text34 {display: none; position: relative}
#text35 {display: none; position: relative}
#text36 {display: none; position: relative}
#text37 {display: none; position: relative}
#text38 {display: none; position: relative}
#text39 {display: none; position: relative;  margin-top: 4px}
#text40 {display: none; position: relative;  margin-top: 4px}
#text41 {display: none; position: relative}
#text42 {display: none; position: relative}
#text43 {display: none; position: relative}
#text44 {display: none; position: relative}
#text45 {display: none; position: relative;  margin-top: 1px}
#text46 {display: none; position: relative;  margin-top: 1px}
#text47 {display: none; position: relative;  margin-top: 1px}
#text48 {display: none; position: relative;  margin-top: 1px}
#text49 {display: none; position: relative}
#text50 {display: none; position: relative}
#text51 {display: none; position: relative}
#text52 {display: none; position: relative}
#text53 {display: none; position: relative}
#text54 {display: none; position: relative}
#text55 {display: none; position: relative;  margin-top: 4px}
#text56 {display: none; position: relative}
#text57 {display: none; position: relative;  margin-top: 4px}
#text58 {display: none; position: relative}
#text59 {display: none; position: relative}
#text60 {display: none; position: relative}
#text61 {display: none; position: relative}
#text62 {display: none; position: relative}
#text63 {display: none; position: relative}
#text64 {display: none; position: relative}
#text65 {display: none; position: relative}
#text66 {display: none; position: relative}
#text67 {display: none; position: relative}
#text68 {display: none; position: relative}
#text69 {display: none; position: relative}
#text70 {display: none; position: relative}
#text71 {display: none; position: relative}
#text72 {display: none; position: relative}
#text73 {display: none; position: relative;  margin-top: 0px; line-height: 1.5}
#text74 {display: none; position: relative;  margin-top: 4px}
#text75 {display: none; position: relative;  margin-top: 4px}
#text76 {display: none; position: relative;  margin-top: 4px}
#text77 {display: none; position: relative;  margin-top: 4px}
#text78 {display: none; position: relative}
#text79 {display: none; position: relative}



/*PRELOADER*/


.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.loadgif {
	position: fixed;
	left: 0px;
	top: 0px;
	  min-width: 100%;
  min-height: 100%;
    max-width: 100%;
	z-index: 9999;
	background: url(../img/preloader.gif) no-repeat;
    background-size: 100%; 
    
}


/* RESPONSIVE */


/*TELEFONI*/
@media only screen and (max-width: 480px) {
    
    
    
     .loadgif {
	position: fixed;
	left: 0px;
	top: 0px;
	  min-width: 100%;
  min-height: 100%;
    max-width: 100%;
	z-index: 9999;
	background: url(../img/preloader.gif) center no-repeat;
    
}
    
    
   #bg {
  object-fit: cover;
        object-position:left}  
        
    #logo {
    position: fixed;
    width: 22.5%;
    padding: 0.3%;
    left: 38.5%;
        top: 1.6%;
}
        
        .icons {
            display: none;
        }
        
        .topnav {
             content:url(../img/icons/menu.png);
                 width: 4vw;
                height: auto;
            left: 90%;
            top: 1.5%;
        }
        
        .episodio {
            transform: scale(1.47);
            top: 10%;
        }
        .rectangle {
            transform: scale(1.45);
            top: 10.6%;
            left: 0%;
        }
        
        #astrid {
            height: 45%;
            width: auto;
            top: 45%;
            left: 17%;
        }
        
        .titoli {
            top: 60%;
            left: 27%;
            transform: scale(2)
        }
        
        .coins {
            left: 25%;
            top: 66%;
            width: 15%;
            height: 2%
        }
        
        h3 {
            transform: scale(2);
            top: 67.5%;
            left: 30%;
        }
        
        

#soundon {
 width: 7vw;
  height: 7vw;
    top: 55%;
    left: 53%;
}

#soundoff {
    width: 7vw;
  height: 7vw;
    top: 55%;
    left: 53%;
}


.volume-slider {
   width: 30vw;
  height: 1vw;
    top: 62%;
    left: 38%;
}

        
}

/*TABLET*/
@media only screen and (min-width: 481px) and (max-width: 1024px) {
    
     .loadgif {
	position: fixed;
	left: 0px;
	top: 0px;
	  min-width: 100%;
  min-height: 100%;
    max-width: 100%;
	z-index: 9999;
	background: url(../img/preloader.gif) center no-repeat;
    
}
        
     #bg {
  object-fit: cover;
        object-position:left}  
        
    #logo {
    position: fixed;
    width: 16.5%;
    padding: 0.3%;
    left: 42%;
}
        
        .icons {
            display: none;
        }
        
        .topnav {
             content:url(../img/icons/menu.png);
                 width: 4vw;
                height: auto;
            left: 90%;
            top: 1.5%;
        }
        
        .episodio {
            transform: scale(1.5);
            top: 10%;
        }
        .rectangle {
            transform: scale(1.49);
            top: 11.3%;
            left: 0%;
        }
        
        #astrid {
            height: 42%;
            width: auto;
            top: 55%;
            left: 38%;
        }
        
        .titoli {
            top: 60%;
            left: 27%;
            transform: scale(2)
        }
        
        .coins {
            left: 25%;
            top: 68%;
            width: 15%;
            height: 3%
        }
        
        h3 {
            transform: scale(2);
            top: 70.5%;
            left: 30%;
        }
        
        

#soundon {
 width: 5vw;
  height: 5vw;
    top: 60%;
    left: 60%;
}

#soundoff {
    width: 5vw;
  height: 5vw;
    top: 60%;
    left: 60%;
}


.volume-slider {
   width: 20vw;
  height: 3vw;
    top: 67%;
    left: 52%;
}

        
}
    
/*PC PICCOLI*/
@media only screen and (min-width: 1025px) and (max-width: 1300px) {
    
    .loadgif {
	position: fixed;
	left: 0px;
	top: 0px;
	  min-width: 100%;
  min-height: 100%;
    max-width: 100%;
	z-index: 9999;
	background: url(../img/preloader.gif) center no-repeat;
    
}
    
}
    
/*PC GRANDI*/

@media only screen and (min-width: 1700px) {
    
    .volume-slider {
    left: 11.2%;
}

    h3 {
    margin-top: -1.5%;
}
    
    
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.loadgif {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../img/preloader2.gif) center no-repeat #121212;
}

}
