/***************************************************
GENERAL STRUCTURE
***************************************************/
:root{
    --primary-color: #ffaf00;
    --secondary-color: #0b5632;
	--secondary-color1: #094d2d;
	--secondary-color2: #073c23;
	--tertiary-color: #ffffff;
    --shadow: 0px 3px 7px #0000008a;
	--background-hover-link-color: #ffffff;
	--background-hover-text-color: #2d2d2d;
}
*{
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', "normal";
    cursor: default;
	background-color: var(--primary-color);
}
main{
    display: flex;
    flex-direction: column;
}
img{
    display: block;
}
a {
    text-decoration: none;
}
.visible-xs{
    display: block;
}
.hidden-xs{
    display: none;
}
h1, h2, h3, h4, h5{
    margin: 0;
}
/* h1, h2, h3, h4{
    text-shadow: var(--shadow);
} */
@media (min-width: 992px) {
    body {
        background-color: var(--primary-color);
    }
    main{
        flex-direction: row;
        align-items: center;
    }
    .visible-xs{
        display: none;
    }
    .hidden-xs{
        display: block;
    }
}

/***************************************************
TITLE
***************************************************/
#title{
    padding: 50px 20px 30px 20px;
    text-align: center;
    z-index: 20;
    background-image: url('../img/sfondo.webp');
	background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
}
#title .wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#title h1{
    font-size: 70px;
    line-height: 73px;
    color: var(--tertiary-color);
}
#title h1 span{
    color: var(--primary-color);
}
#title h1 .txt-scale{
    font-size: 90px;
    line-height: 90px;
}
#title h2{
    font-size: 40px;
    line-height: 43px;
    color: #ffffff;
    margin-bottom: 30px;
}
#title h2 span{
    color: var(--background-hover-text-color);
}

#title h3 {
    color: var(--tertiary-color);
	margin-bottom: 20px;
}

#title h3 span{
	 font-size: 180%;
	 color: var(--primary-color);
}

#title h4 {
    font-size: 22px;
	color: var(--tertiary-color);
	margin-bottom: 20px;
}

#title h4 span{
	 font-size: 120%;
	 color: var(--background-hover-text-color);
}



#title .box{
    height: 70px;
	display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 30px;
    font-weight: 700;
    color: var(--secondary-color);
}
#title .box p{
    margin: 0px;
    padding: 20px 15px;
}
#title .box span{
    color: #ffffff;
    padding: 20px 15px;
    background-color: var(--secondary-color);
}

@media (min-width: 992px) {
    #title{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-content: center;
        flex-wrap: wrap;
        width: 56vw;
        text-align: left;
        padding: 50px;
    }
    #title .wrap{
        width: 100%;
        margin: 0px;
        align-items: flex-start;
    }
    #title .wrap h1, #title .wrap h2{
        padding-right: 80px;
    }
    #title h1{
        font-size: 60px;
        line-height: 61px;
    }
    #title h1 .txt-scale{
        font-size: 100px;
        line-height: 100px;
    }
    #title h2{
        font-size: 39px;
        line-height: 40px;
    }
	#title h3{
    font-size: 16px;
	}
    #title .box{
        font-size: 29px;
        line-height: 30px;
		height: 45px;
    }
}
@media (min-width: 1200px) {
    #title .wrap{
        width: 80%;
    }
    #title .wrap h1, #title .wrap h2{
        padding-right: 100px;
    }
    #title h1{
        font-size: 65px;
        line-height: 66px;
    }
    #title h1 .txt-scale{
        font-size: 140px;
        line-height: 140px;
    }
    #title h2{
        font-size: 44px;
        line-height: 45px;
    }
	#title h3{
    font-size: 18px;
	}
    #title .box{
        font-size: 34px;
        line-height: 35px;
		height: 50px;
    }
}
@media (min-width: 1600px) {
#title h3{
    font-size: 20px;
	}
}
@media (min-width: 2000px) {
    #title h1{
        font-size: 90px;
        line-height: 91px;
    }
    #title h1 .txt-scale{
        font-size: 170px;
        line-height: 170px;
    }
    #title h2{
        font-size: 80px;
        line-height: 83px;
    }
	#title h3{
    font-size: 24px;
	}
    #title .box{
        font-size: 70px;
        line-height: 73px;
    }
}


/***************************************************
VISUAL
***************************************************/
.visual{
    margin: 30px auto -115px;
    z-index: 10;
}
.visual img{
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .visual img{
        max-width: 300px;
    }
}
@media (min-width: 992px) {
    .visual{
        max-width: 55%;
        margin-top: 0px;
        margin-bottom: 0px;
        position: absolute;
        left: 0;
        transform: translate(-60%, 0%);
        z-index: 20;
    }
    .visual img{
        max-width: 200px;
    }
}
@media (min-width: 1200px) and (min-height: 765px){
    .visual{
        max-width: 500px;
        transform: translate(-60%, 0%);
    }
    .visual img{
        max-width: 300px;
    }
}

@media (min-width: 1200px) and (min-height: 701px){
    .visual img {
        max-width: 300px;
    }
}

@media (min-width: 1200px) and (max-height: 700px){
    .visual img {
        max-width: 300px;
    }
}


@media (min-width: 1300px)and (min-height: 701px){
    .visual img {
        max-width: 400px;
    }
}

@media (min-width: 2000px) {
    .visual{
        max-width: 700px;
    }
    .visual img{
        max-width: 700px;
    }
}


/***************************************************
PROMO
***************************************************/
#promo{
    background-color: var(--primary-color);
    padding: 100px 20px 50px 20px;
    text-align: center;
    color: #ffffff;
    position: relative;
}
#promo .pricing{
    margin: 20px auto 30px;
    width: 100%;
    max-width: 260px;
}
#promo p{
    font-size: 16px;
    line-height: 19px;
}
#promo .btn{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 30px;
    font-weight: 700;
    color:#ffffff;
    border: solid 3px var(--secondary-color1);
    background-color: var(--secondary-color);
    border-radius: 30px;
}
#promo .btn-fixed{
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);;
    width: 100%;
    padding-bottom: 20px;
    z-index: 30;
}
#promo .btn-static{
    opacity: 0;
}
#promo .btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
    #promo .pricing{
        max-width: 410px;
    }
}
@media (min-width: 992px) {
    #promo{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44vw;
        padding: 50px 20px;
    }
    #promo .btn{
        margin-top: 30px;
        transition: all 0.3s ease;
    }
    #promo .btn-fixed{
        display: none;
    }
    #promo .btn-static{
        opacity: 1;
    }
    #promo .pricing{
        max-width: 250px;
    }
    #promo p{
        font-size: 19px;
        line-height: 24px;
    }
}
@media (min-width: 2000px) {
    #promo .pricing{
        max-width: 500px;
    }
    #promo p{
        font-size: 30px;
        line-height: 35px;
    }
    #promo .btn{
        font-size: 40px;
        border-radius: 50px;
    }
}


/***************************************************
LEGALS
***************************************************/
.wrap.legals{
    display: none!important;
}
.legals{
    font-size: 10px;
    line-height: 13px;
    color: var(--tertiary-color);
    margin-top: 30px;
}
.legals a{
    color: var(--primary-color);
    font-weight: 700;
}

.legals ul{
    padding-left: 20px;
    max-width: 70%;
}

.legals .rete{
    border-bottom: solid 2px var(--tertiary-color);
    padding: 5px 0px;
}
.legals .rete strong{
    font-size: 13px;
    font-weight: 700;
}
.legals h5, .legals span{
    font-size: 14px;
}
.legals span{
    font-weight: 700;
}
@media (min-width: 992px) {
    .wrap.legals{
        display: block!important;
    }
    .legals .rete{
        width: 60%;
    }
    .legals h5, .legals span{
        font-size: 12px;
    }
}
@media (min-width: 1200px) {
    .wrap.legals{
        width: 70%;
    }
}
@media (min-width: 2000px) {
    .legals{
        font-size: 14px;
        line-height: 17px;
    }
    .legals .rete strong{
        font-size: 17px;
    }
    .legals h5, .legals span{
        font-size: 16px;
    }
}

/***************************************************
AGGIUNTE SUCCESSIVE (LINK + GLOWING BUTTON)
***************************************************/


.link{
   	font-weight: bold;
	color: var(--primary-color);
	text-decoration: underline;
}

.link:hover{
    text-decoration: none;
	text-shadow: 0 0 white;
    color:var(--background-hover-text-color); 
	background-color:var(--background-hover-link-color);
	/*** font-size:110%;***/
}

a:hover img {
 -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.attention {
        background-color: var(--secondary-color);
        -webkit-border-radius: 60px;
        border-radius: 60px;
        border: none;
        color: #eeeeee;
        cursor: pointer;
        display: inline-block;
        font-family: sans-serif;
        font-size: 20px;
        padding: 5px 15px;
        text-align: center;
        text-decoration: none;
      }
      @keyframes glowing {
        0% {
          background-color: var(--secondary-color);
          box-shadow: 0 0 5px var(--secondary-color);
        }
        50% {
          background-color: var(--secondary-color1);
          box-shadow: 0 0 20px var(--secondary-color1);
        }
        100% {
          background-color: var(--secondary-color2);
          box-shadow: 0 0 5px var(--secondary-color2);
        }
      }
      .attention {
        animation: glowing 1300ms infinite;
      }
	  
/***************************************************
AGGIUNTE SUCCESSIVE (Visualizzazione MOBILE)
***************************************************/  
	  
@media (max-width: 992px) {
#title{
    padding: 10px 20px 70px 20px;
}	
#title h1{
   margin-bottom: 5px;
   font-size: 22px;
   line-height: normal;
   text-shadow: 2px 2px #cc8c00;
   z-index: 10;
}	

#title .box {
   margin-top: 5px;
   padding: 10px;
}
	
#promo{
    padding: 50px 20px 40px 20px;
}

#promo .pricing {
	margin: 5px auto 30px;
}

.legals{
    color: var(--tertiary-color);
}

.legals a{
    color: black;
    font-weight: 700;
}

.legals ul{
	padding-left: 15px;
	text-align: left;
	max-width: 100%;
}


#title .box {
        display: none;
    }

#title h3 {
    display: none;
}

#title h3 span{
	 display: none;
}

}

@media (min-width: 992px) {
#title h4 {
    display: none;
}

#title h4 span{
	 display: none;
}
}


/***************************************************
MODALE OPERATORI
***************************************************/

.linkmvno{
   	color: white;
	text-decoration: underline;
}

.linkmvno:hover{
    text-decoration: none;
	box-shadow: 0 10px 20px rgba(0,0,0,0.2);
	text-shadow: 0 0 white;
    color:var(--background-hover-text-color); 
	background-color:var(--background-hover-link-color);
}

.modalbox .box {
  background-color: rgba(0, 0, 0, 0.7);
  margin: 0 auto;
  min-width: 510px;
  padding: 40px;
  width: 30%;
  margin-top: 100px;
}

.modalbox .title {
  border-bottom: 1px solid #ccc;
  font-size: 22px;
  letter-spacing: 0.1em;
  font-weight: bold;
  margin: 0;
  padding: 0 0 10px;
  text-transform: uppercase;
  color: #fff;
}

.modalbox .content strong {
  font-weight: bold;
  color: var(--primary-color);
}

.modalbox .content strong:hover {
  color:var(--background-hover-text-color);
  background-color: var(--primary-color);
}

.modalbox .content {
  display: block;
  font-size: 18px;
  line-height: 22px;
  padding: 10px 0 0;
  color: #fff;
  letter-spacing: 0.1em;
}

.modalbox .close {
  color: #fff;
  display: block;
  float: right;
  font-size: 26px;
  height: 25px;
  text-decoration: none;
}

.modalbox {
  display: none;
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #333333;
}

.modalbox:target {
  display: block;
  outline: none;
}

.link-modal {
  width: 90%;
  text-align: center;
  margin: 0 auto;
  padding-top: 400px;
  padding-left: 15px;
}

.link-modal a {
  border: 1px solid #fff;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.3em;
  padding: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 992px) {

.modalbox .box {
  min-width: 80%;
}

.modalbox .title {
  font-size: 15px;
}

.modalbox .content {
  font-size: 14px;
  line-height: 16px;
  }

.modalbox .close {
  font-size: 15px;
  height: 17px;
}

.link-modal a {
  font-size: 14px;
}

}

/***************************************************
EVIDENZIATO ROSSO e STRIKETHROUGH
***************************************************/

.strikethrough {
	position: relative;
	&:before {
		content: '';
		position: absolute;
		top: 50%;
		align-items: center;
		background: black;
		width: 150%;
		height: 3px;
		margin-top: -2px;
		transform: rotate(-45deg);
	}
	}

.redbox {
    display: inline-flex;
    padding: 0px 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    background: #FFF;
    color: #DA291C;
    text-align: center;    
    font-family: Roboto;
    line-height: 24px;
    width: fit-content;
    margin: 0 2px;
}

/***************************************************
Buono Amazon
***************************************************/

@media (max-width: 992px) {
#title .buonoamazon {
  position: absolute;
  top: 240px;
  right: -20px;
  z-index: 0;
  transform: rotate(15deg)
}
}

@media (min-width: 992px) {
#title .buonoamazon {
  display: none;
}
}