@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Raleway:wght@400;700;800&display=swap');
@font-face{
    font-family: "Hometown";
    src: url("Hometown.ttf") format("truetype");
}
main {
    height: 100vh;
}
.background{
    background-size: cover;
    height: 100vh;
}
.background-neutro{
    background-image: url("../media/background/neutro.png");
}

.bot-itinerario{
    background-image: url('../media/ui/bot_arancione.png');
    background-size: cover;
    height: 71px;
    width: 415px;
    color:#fff;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    margin:10px 0;
    padding-top:12px;
    font-size:30px;
    text-decoration: none;
}

.bot-itinerario:hover{
    background-image: url('../media/ui/bot_verde.png');
    color:#fff;
    text-decoration: none;
}

.bot-ok{
    position:absolute;
    bottom: 80px;
    right:80px;
    z-index:100;
    width:100px;
    height:100px;
}

.bot-ok img{
    width:100%
}

.testi-laterale{
	width: 400px;
    height: auto;
    position:absolute;
    top: 234px;
    left: 100px;
}
.box-big-titolo{
    font-size: 30px;
    line-height: 31px;
    font-family: 'Raleway', sans-serif;
	font-weight:700;
	margin-bottom:20px;
}

.box-titolo{
    font-size: 38px;
	font-weight:800;
    font-family: 'Raleway', sans-serif;
	line-height: 37px;
	margin-bottom:20px;
	max-height:200px;
}
.box-sottotitolo{
    font-size: 25px;
	font-weight:800;
	line-height: 28px;
    font-family: 'Raleway', sans-serif;
	max-height:100px
}

/** GALLERY **/
#gallery{
    position:absolute;
    top: 30%;
    left: 40%;
    width: 600px;
    height: 350px;
}
#slider {
    position: relative;
    overflow: hidden;
    margin: 20px auto 0 auto;

}

#slider ul {
    position: relative;
    margin: 0;
    padding: 0;
    height: 350px;
    list-style: none;
}

#slider ul li {
    position: relative;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 400px;
    height: 450px;
    text-align: center;
}
#slider ul li img{
    height: 100%;
    opacity:0.5;
}

#slider ul li div{
    border-radius:50%;
    border:12px solid #d86e16;
    height: 80%;
    width: 90%;
    overflow: hidden;
    margin:0 auto;
    background:#d86e16;
}

#slider .imgSelected{
    opacity:1;
}

#slider ul li span{
    font-size: 50px;
    color: #fff;
    font-family: 'Hometown', sans-serif;
}


a.control_prev, a.control_next {
    position: absolute;
    top: 45%;
    z-index: 999;
    display: block;
    width: auto;
    height: auto;
    opacity: 0.8;
    cursor: pointer;
}

a.control_prev:hover, a.control_next:hover {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
}

a.control_prev {
    border-radius: 0 2px 2px 0;

}

a.control_next {
    right: 0;
    border-radius: 2px 0 0 2px;
}

.slider_option {
    position: relative;
    margin: 10px auto;
    width: 160px;
    font-size: 18px;
}

/** QUIZ **/
.box-quiz{
    position:absolute;
    top:25%;
    left:40%;
    width:620px;
    height: 500px;
}

.bot-quiz{
    background-image: url('../media/ui/bot_arancione.png');
    background-size: cover;
    height: 107px;
    width: 622px;
    margin-bottom:20px;
    cursor: pointer;
    overflow:hidden;
}

.bot-quiz.selected{
    background-image: url('../media/ui/bot_verde.png');
    background-size: cover;
    height: 107px;
    width: 622px;
    margin-bottom:20px;
    cursor: pointer;
    overflow:hidden;
}

.bot-quiz .answer{
    float: right;
    color:#fff;
    display: flex;
    margin:10px 0;
    padding:12px 25px 12px 0px;
    font-size:20px;
    line-height: 23px;
    text-decoration: none;
    width:520px;
    height: 88px;
    overflow:hidden;
    font-family: 'Raleway', sans-serif;
	font-weight:700;
    align-items: center;
}


.bot-quiz-speak.container{
    width:520px;
    float:left;
}
.bot-quiz .answer-voce{
    float: right;
    color:#fff;
    display: flex;
    margin:10px 0;
    padding:12px 25px 12px 0px;
    font-size:20px;
    line-height: 23px;
    text-decoration: none;
    width:380px;
    height: 88px;
    overflow:hidden;
    font-family: 'Raleway', sans-serif;
	font-weight:700;
    align-items: center;


}

.bot-quiz .letter{
    float: left;
    color:#fff;
    display: inline-block;
    cursor: pointer;
    margin:10px 0;
    padding-top:12px;
    font-size:40px;
    text-decoration: none;
    width:100px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
	font-weight:700

}

.audio-btn{
    background-image: url("../media/ui/ico-microfono-off.png");
    width:70px;
    height: 70px;
    background-size: cover;
    float:right;
    margin-top:19px;
    margin-right:20px;
}
.audio-btn.clicked{
    background-image: url("../media/ui/ico-microfono-on.png");
}

/** VERO/FALSO **/
.box-vf{
    position: absolute;
    top: 30%;
    left: 40%;
    width: 620px;
    height: 500px;
}

.vf-item{
    float: left;
    width:140px;
    height: 220px;
    text-align: center;
    margin: 0 20px;
    cursor: pointer;
    color: #fff;
	font-weight:700;
    font-family: 'Raleway', sans-serif;
    line-height: 20px;
}

.vf-item div{
    height: 140px;
    width: 140px;
    border-radius:50%;
    border: 10px solid #fff;
    overflow: hidden;
    background: #d86e16;
}

.vf-item div img {
    height: 100%;
    opacity: 0.5;
}

.vf-item .selected{
    opacity: 1;
}

/** PUZZLE **/
.box-puzzle{
    position: absolute;
    top: 30%;
    left: 40%;
    width:600px;
    height: 400px;
}

/** QUIZ FOTO **/
.box-titolo-foto{
    width: 350px;
    height: 60px;
    overflow:hidden;
    font-size: 20px;
    position:absolute;
    top: 200px;
    left: 100px;
	font-weight:700;
    font-family: 'Raleway', sans-serif;
}
.box-sottotitolo-foto{
    width: 350px;
    height: 80px;
    overflow:hidden;
    font-size: 25px;
    position:absolute;
    top: 280px;
    left: 100px;
	font-weight:400;
    font-family: 'Raleway', sans-serif;
}

.box-foto{
    width: 260px;
    height: 260px;
    position:absolute;
    top:540px;
    left:100px;
    border-radius: 50%;
    border:10px solid #d86e16;
    overflow: hidden;

}
.box-foto img{
    width:100%;
}

/**QUIZ CARTE**/
.box-carte {
    position:absolute;
    top:20%;
    left:35%;
    width:750px;
    height: 640px;
}
.box-carte .card-grid{
    width:231px; height: 300px; display:inline-block; margin:5px
}
.box-carte .card-grid .front{
    background-image: url("../media/ui/carta-fronte.png");
    background-size: cover;
}
.box-carte .card-grid .back{
    background-image: url("../media/ui/carta-retro.png");
    background-size: cover;
    color:#5a5a5a;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    padding:30px 20px 30px 20px;
    overflow: hidden;
    font-size: 20px;
	font-weight:700;
}
.box-carte .card-grid .back.selected{
    background-image: url("../media/ui/carta-retro-selected.png")!important;
}

/**
QUIZ STORIA
 */

.box-titolo-storia{
    width: 300px;
    height: 280px;
    overflow:hidden;
    font-size: 20px;
    position:absolute;
    top: 240px;
    left: 320px;
    color:#402005;
    font-family: 'Raleway', sans-serif;
	font-weight:400

}

.box-titolo-storia::first-letter {
    font-size: 200%;
	font-family:'Indie Flower', cursive;
}

.box-sottotitolo-storia{
    width: 450px;
    height: 100px;
    overflow:hidden;
    font-size: 30px;
    line-height: 28px;
    font-weight: bold;
    position:absolute;
    top: 22%;
    left: 50%;
    font-family: 'Raleway', sans-serif;
	font-weight:700

}

.box-quiz-storia{
    position:absolute;
    top:35%;
    left:50%;
    width:420px;
    height: 500px;

}

.bot-quiz-storia{
    background-image: url('../media/ui/bot_arancione.png');
    background-size: cover;
    height: 77px;
    width: 450px;
    margin-bottom:20px;
    cursor: pointer;
    overflow:hidden;

}

.bot-quiz-storia.selected{
    background-image: url('../media/ui/bot_verde.png');
    background-size: cover;
    height: 77px;
    width: 450px;
    margin-bottom:20px;
    cursor: pointer;
    overflow:hidden;

}

.bot-quiz-storia .answer{
    float: right;
    color:#fff;
    display: inline-block;
    margin:10px 0;
    padding-top:4px;
	padding-right:15px;
    line-height: 23px;
    font-size:20px;
    text-decoration: none;
    width:350px;
    height: 50px;
    overflow:hidden;
    font-family: 'Raleway', sans-serif;
	font-weight:700


}

.bot-quiz-storia .letter{
    float: left;
    color:#fff;
    display: inline-block;
    cursor: pointer;
    margin:10px 0;
    font-size:40px;
    text-decoration: none;
    width:100px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
	font-weight:700

}

.bot-voce{
     background-image: url("../media/ui/ico-microfono-off.png");
     width:70px;
     height: 70px;
     position: absolute;
     top:50%;
     left:40%;
     background-size: cover;
 }
.bot-voce.clicked{
    background-image: url("../media/ui/ico-microfono-on.png");
}

/**BIVIO**/
.box-carte-bivio {
    position:absolute;
    top:30%;
    left:35%;
    width:750px;
    height: 400px;
}
.box-carte-bivio .card-grid{
    width:310px;
    height: 400px;
    float: left;
    margin:5px
}
.box-carte-bivio .card-grid .front{
    background-image: url("../media/ui/carta-fronte.png");
    background-size: cover;
}
.box-carte-bivio .card-grid .back div{
    color:#ffffff;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    font-size: 18px;
	font-weight:400;
	line-height:20px;
	padding:15px;
}
.box-carte-bivio .card-grid .back img{
    width: 100%;
    border:10px solid #d7861f;
    border-radius: 50px;
}
.box-carte-bivio .card-grid .back img.selected{
    border: 10px solid #1c7430;
    border-radius: 50px;
}

/**
IMPREVISTI
 */

.box-titolo-imp{
    width: 520px;
    height: 180px;
    overflow:hidden;
    font-size: 30px;
    position:absolute;
    top: 200px;
    left: 580px;
    font-family: 'Raleway', sans-serif;
	font-weight:700;

}

.box-sottotitolo-imp{
    width: 650px;
    height: 180px;
    overflow:hidden;
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
    position:absolute;
    top: 400px;
    left: 500px;
    font-family: 'Raleway', sans-serif;
	font-weight:400

}

/**ITINERARI**/
.box-carte-itinerario {
    position:absolute;
    top:385px;
    left:470px;
    width:630px;
    height: 380px;
}
.box-carte-itinerario .card-grid{
    width:289px;
    height: 380px;
    float: left;
    margin-right:25px
}
.box-carte-itinerario .card-grid .front{
    background-image: url("../media/ui/carta-fronte.png");
    background-size: cover;
}
.box-carte-itinerario .card-grid .back{

}
.box-carte-itinerario .card-grid .back img{
    width: 100%;

}



/**PROGRESS BAR**/
.box-timer{
    position:absolute;
    top:11%;
    right:200px;
    width:350px;
    height: 25px;
}
.goal-progress {
    height: 25px;
    padding-top:0;
    margin:0;
    border-radius:10px;
    overflow: hidden;
	background-image:url(../media/ui/sf_time_bar.png)
}

#time {
    float: left;
    line-height: 20px;
    margin-left: 20px;
	padding-top:2px;
    color: #fff;
	padding-right:15px;
	font-size: 20px;
    /*mix-blend-mode: difference;*/
}

.goal-time-container {
    height: 26px;
    padding:0;
    margin:0;
}

#goal-time {
	background-image:url(../media/ui/sf_time_progress.png);
    height: 25px;
    width: 100%;
    padding:0 1px;
}

/** COUNDOWN**/
.count-overlay{
    /*background: #000;*/
    /*opacity: 0.8;*/
    width: 100%;
    height: 100vh;
    position:absolute;
    z-index:1000;
    /*text-align: center;*/
    /*color:#fff;*/
    /*font-size: 70px;*/
    /*padding-top:25%;*/
    display: none;
}

.ragno{
    position:absolute;
    z-index:50;
    right:0px;
    top:0;
}

#ragno_stato{
    height: 100vh;
}

#ragno_zampa{
	cursor: pointer
}

/** VERO/FALSO **/
.box-fn{
    position: absolute;
    top: 50%;
    left: 15%;
    width: 1100px;
    height: 370px;
}

.fn-item{
    float: left;
    width:140px;
    height: 200px;
    text-align: center;
    margin: 0 20px;
    cursor: pointer;
    color: #fff;
	font-weight:700;
    font-family: 'Raleway', sans-serif;
    line-height: 20px;
}

.fn-item div{
    height: 140px;
    width: 140px;
    border-radius:50%;
    overflow: hidden;
}

.fn-item div img {
    height: 100%;
}

.fn-item .selected{
    border: 10px solid #db8733;
}

