/* =======================
   VERSIONE MOBILE (DEFAULT)
   ======================= */

body {
  font-family: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

@supports (-webkit-touch-callout: none) {
  body {
    opacity: 100% !important;
  }
}

@font-face {
  font-family: "Simon Lovely";
  src: url('fonts/simon_lovely.otf') format('opentype');
}

@font-face {
  font-family: "Segoe UI Semibold";
  src: url('fonts/segoe_ui_semibold.ttf') format('truetype');
}

/* COMBOBOX CUSTOM */
.select-wrap {
  position: relative;
  display: block;
  margin: 25px 25px 10px 25px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.select-wrap select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  background: #fff;
  color: #727272;
  padding: 20px 42px 20px 15px;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  font-family: "Segoe UI Semibold";
  font-size: 16px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.select-wrap select:focus {
  outline: none;
  border-color: #6aa0ff;
  box-shadow: 0 0 0 3px rgba(106,160,255,0.15);
}

.select-wrap .select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
  font-size: 18px;
}

/* CALL TO ACTION */
.cbtn {
  display: flex;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(to bottom, #ffec00, #fdc806);
  box-shadow: 0 -2px 0px #fdc806;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  color: #4f1e00;
  text-decoration: none;
  margin: 10px auto;
  margin-bottom: 30px;
  width: max-content;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cbtn>i {
  margin: auto 5px auto 0;
}

.section_title {
  font-family: "Simon Lovely";
  font-size: 46px;
  color: #ED5051;
  text-align: center;
  margin: 20px auto;
  width: 100%;
  display: block;
}

.section_paragraph {
  text-align: center;
  margin: 10px auto;
  padding: 0 5vw;
  max-width: 450px;
}

.text_white { color: white; }
.text_dark { color: rgb(91, 91, 91); }
  
/* SECTION0 */
.section0_background {
  width: 100%;
  display: block;
  height: 100vw;
  background-image: url("../media/section0.jpg");
  background-size: cover;
  background-position: right center;
}

.section0_logo {
  position: absolute;
  width: 45vw;
  max-width: 220px;
  top: 30vw;
  left: 27vw;
  transform: translateX(-50%);
}

.section0_action {
  position: absolute;
  top: 55vw;
  left: 28vw;
  transform: translateX(-50%);
}

/* SECTION 1 */
.section1_image {
  width: 65vw;
  max-width: 300px;
  margin: auto;
  display: block;
}

/* SECTION 2 */
.section2 {
  background: url(../media/wood_texture.jpg);
  background-size: cover;
  background-repeat: repeat-y;
  margin-top: 30px;
}

.section2_clouds_top {
  width: calc(100% + 5px);
  transform: translateY(-10px);
  display: block;
}

.section2_book_right {
  width: 80vw;
  display: block;
}

.section2_book_left {
  width: 85vw;
  margin-left: auto;
  display: block;
}

.section2_action {
  padding: 5px 30px;
  margin-top: 60px;
}

.section2_clouds_bottom {
  width: calc(100% + 5px);
  margin-top: 30px;
  transform: translateY(10px);
  display: block;
}

/* SECTION 3 */
.section3_image {
  width: 85vw;
  max-width: 400px;
  margin: auto;
  display: block;
}

.section3_gift_container {
  margin: 100px auto 30px auto;
  border: 3px dashed #D68E15;
  border-radius: 30px;
  max-width: min(650px, 90vw);
}

.section3_gift_image {
  width: 100px;
  margin: auto;
  margin-top: -70px;
  display: block;
}

.section3_gift_title {
  text-align: center;
  color: #97671C;
  font-size: 25px;
  display: block;
}

.section3_gift_paragraph {
  font-size: 20px;
  margin: 30px;
  max-width: unset;
}

.section4 {
  background: #7161B0;
  padding: 30px 0;
}

.section4_iframe {
  display: block;
  width: 90vw;
  max-width: 750px;
  height: calc(min(90vw, 750px));
  border: none;
  margin: auto;
  overflow: hidden;
}

/* SECTION 5 */
	.section5_title{
	margin-top: 50px;
	color: #7161b0;
	}
.section5_gallery {
  margin-top: 50px !important;
  flex-grow: 1;
  max-width: 850px;
}

.section5_box {
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  margin: 50px 10px;
}

.section5_total {
  display: flex;
  margin: 0 0 10px 30px;
}

.section5_total_integer { font-size: 38px; margin-bottom: -6px; }
.section5_total_decimal,
.section5_total_currency { font-size: 16px; margin-top: auto; }

.section5_info { margin: 0 30px; }
.section5_info_line { color: rgb(91,91,91); }
.section5_info_line>i { color: green; }

.section5_action {
  padding: 15px 40px;
  margin-top: 30px;
}

/* FOOTER */
.footer {
  background: #3a3a3a;
}

.footer_paragraph {
  padding: 30px 0;
  text-align: center;
  color: white;
  font-size: 14px;
}

.footer_paragraph > a { color: white; }
.footer_title {
  display: block;
  font-size: 22px;
  margin-top: 15px;
}
















/* =======================
   VERSIONE DESKTOP
   ======================= */
@media screen and (min-width: 1130px) {
  *{}
  
  .section_title {font-size: 60px;}
  .section_paragraph {max-width: 750px;font-size: 18px;}

  .cbtn {
    padding: 20px 40px;
    font-size: 18px;
  }

  /* SECTION0 */
  .section0_background {
    max-height: 800px;
    background-image: url("../media/section0-desktop.jpg");
  }

  .section0_logo {
    width: 40vw;
    max-width: 450px;
    top: min(30vw, 160px);
    left: 27vw;
  }

  .section0_action {
    top: min(55vw, 420px);
    left: 28vw;
  }

  /* SECTION 1 */
  .section1_image {
    width: 65vw;
    max-width: 550px;
    transform: translateX(-300px);
  }

  .section1_title {
    transform: translate(300px, -260px);
  }

  .section1_paragraph { margin-top: -100px; }

  /* SECTION 2 */
  .section2_title {
    position: absolute;
    right: 25vw;
    margin-top: 50px;
    transform: translateX(50%);
  }

  .section2_paragraph {
    position: absolute;
    right: 25vw;
    margin-top: 300px;
    transform: translateX(50%);
  }

  .section2_book_right {
    width: 80vw;
    max-width: 650px;
  }
  
  .section2_subtitle{ position: absolute; left: 30vw; margin-top: 100px; margin-bottom: 0px; transform: translateX(-50%); }

  .section2_book_left {
    max-width: 650px;
    margin-top: -200px;
  }

  .section2_action {
    position: absolute;
    padding: 10px 50px;
    margin-top: -300px;
    left: 30vw;
    transform: translateX(-50%);
  }

  /* SECTION 3 */
  
  .section3_title {
    display: block;
    position: relative;
    margin-top: -40px;
    z-index: 999;
  }
  
  .section3_gift_paragraph {
    max-width: unset;
  }

  /* SECTION 4 */
  .section4_iframe {
    width: 90vw;
    max-width: 750px;
    height: calc(min(90vw, 750px));
  }
  
  .section5_content{
	display: inline-flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	}
	.section5_title{
	}
	.section5_box {
		padding: 20px;
	}

	.section5_total{
		margin:30px;
	}
.section5_total_integer {font-size: 42px;}
.section5_total_decimal,
.section5_total_currency {font-size: 18px;margin-top: auto;}
	.section5_info_line {
		font-size: 16px;
	}
.section5_gallery {
	margin-bottom:100px;
}
	.section5_action{
		
    margin: 30px 0;
	}
  .image-gallery img {
	  max-width: 600px !important;
	 }

	
.select-wrap select {font-size: 16px;}

  /* FOOTER */
  .footer_paragraph {
    font-size: 15px;
    line-height: 1.6em;
  }
.footer_title {
  font-size: 32px;
	margin-top:30px;
	margin-bottom:10px;
}
}




















