/***************************************************
GENERAL STRUCTURE
***************************************************/
:root{
    --primary-color: #ffaf00;
    --cta-color: #021745;
	--cta-color1: #156ac8;
	--cta-color2: #021745;
    --shadow: 0px 3px 7px #000000d9;
	--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;
}
main{
    display: flex;
    flex-direction: column;
}
img{
    display: block;
}

.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: none;
    }
    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: url('../img/sfondo.webp');
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
}
#title h1{
    font-size: 50px;
    line-height: 53px;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 3px #ffffff, 0 0 42px #38a3d9, 0 0 32px #38a3d9, 0 0 42px #38a3d9, 0 0 52px #38a3d9, 0 0 71px #38a3d9;
}
#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(--primary-color);
}
#title .box{
    width: 100%;
    max-width: 350px;
    margin: 20px auto 0px;
}

@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;
		margin-top: 180px;
    }
    #title .wrap h1, #title .wrap h2{
        padding-right: 80px;
    }
    #title h1{
        font-size: 60px;
        line-height: 64px;
    }
    #title h1 .txt-scale{
        font-size: 100px;
        line-height: 100px;
    }
    #title h2{
        font-size: 39px;
        line-height: 42px;
    }
    #title .box{
        max-width: 450px;
        margin: 20px 0px;
    }
}
@media (min-width: 1200px) {
    #title .wrap{
        width: 80%;
    }
    #title .wrap.legals{
        width: 60%;
    }
    #title .wrap h1, #title .wrap h2{
        padding-right: 100px;
    }
    #title h1{
        font-size: 65px;
        line-height: 69px;
    }
    #title h1 .txt-scale{
        font-size: 140px;
        line-height: 140px;
    }
    #title h2{
        font-size: 35px;
        line-height: 38px;
    }
}
@media (min-width: 2000px) {
    #title h1{
        font-size: 115px;
        line-height: 119px;
    }
    #title h1 .txt-scale{
        font-size: 170px;
        line-height: 170px;
    }
    #title h2{
        font-size: 50px;
        line-height: 53px;
    }
    #title .box{
        max-width: 690px;
        margin-top: 40px;
    }
}


/***************************************************
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(-65%, 0%);
        z-index: 20;
    }
    .visual img{
        max-width: 451px;
    }
}
@media (min-width: 1200px) {
    .visual{
        max-width: 400px;
        transform: translate(-60%, 0%);
    }
    .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 100px 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;
    background-color: var(--cta-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); */
    transform: scale(1.25);
	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: 300px;
    }
    #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;
    }
}

.redbox {
    display: inline-flex;
    padding: 7px 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    background: #DA291C;
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    line-height: 24px;
    width: fit-content;
    margin: 0 2px;
}

/***************************************************
LEGALS
***************************************************/
.legals{
    font-size: 16px;
    line-height: 18px;
    color: #ffffff;
    margin-top: 30px;
}
.legals ul{
	padding-left: 15px;	
}
.legals a{
    color: #000000;
    font-weight: 700;
}
.legals .rete{
    border-top: solid 1px #ffffff;
	border-bottom: solid 1px #ffffff;
    padding: 5px 0px;
}
.legals .rete strong{
    font-size: 19px;
    font-weight: 700;
}
.legals h5, .legals span{
    font-size: 16px;
}
.legals span{
    font-weight: 700;
}
@media (min-width: 992px) {
    .legals a{
        color: var(--primary-color);
    }
    .legals .rete{
        width: 60%;
    }
    .legals h5, .legals span{
        font-size: 16px;
    }
}
@media (min-width: 2000px) {
    .legals{
        font-size: 18px;
        line-height: 20px;
		text-shadow: var(--shadow);
    }
    .legals .rete strong{
        font-size: 18px;
    }
    .legals h5, .legals span{
        font-size: 18px;
    }
	.redbox {
    padding: 10px 5px;
	}
}



/***************************************************
AGGIUNTE SUCCESSIVE
***************************************************/


.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.3);
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

.attention {
        background-color: var(--cta-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(--cta-color);
          box-shadow: 0 0 5px var(--cta-color);
        }
        50% {
          background-color: var(--cta-color1);
          box-shadow: 0 0 20px var(--cta-color1);
        }
        100% {
          background-color: var(--cta-color2);
          box-shadow: 0 0 5px var(--cta-color2);
        }
      }
      .attention {
        animation: glowing 1300ms infinite;
      }

/***************************************************
AGGIUNTE SUCCESSIVE (Visualizzazione MOBILE)
***************************************************/  
	  
@media (max-width: 992px) {
#title{
    padding: 10px 20px 80px 20px;
}	
#title h1{
   margin-bottom: 5px;
    font-size: 60px;
    line-height: 50px;
	/** padding-left: 20px;
	padding-right: 20px; **/
}

#title .box {
   margin-top: 5px;
   /** background-color: var(--background-hover-text-color); **/
   padding: 10px;
}	

#promo .pricing {
	margin: -50px auto 30px;
    max-width: 300px;
}

.legals ul{
	padding-left: 15px;
	text-align: left;	
}
#title h2{
        font-size: 20px;
        line-height: 23px;
    }
.redbox {
    padding: 2px 5px;
}
}

/***************************************************
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;
}

}