@font-face {
  font-family: 'Domine';
  src: url('Domine/Domine-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 700;
}
@font-face {
  font-family: 'Italianno';
  src: url('Italianno/Italianno-Regular.ttf') format('truetype');
  font-weight: 100 700;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0px;
  padding: 0px;
  background-color: #181818;
  background-image: url("asfalt-light.png");
}
.author{
  text-align: center;
}
.second-title{
  font-size: 20px;
}
.section-title-attestati{
  font-size: 2.5rem;
  color: #ffe48c;
}

.section-sub-title{
  font-size: 1rem;
  color: white;
  text-align: center;
  padding: 15px;
}

.section-title{
  font-size: 2.5rem;
  color: white;
  text-align: center;
  padding: 15px;
}

.paint{
  font-family: 'Italianno', serif;
  font-size: 50px;
  text-align: center;
  color: #ffe48c;
  position: relative;
  z-index: 2;
}
.paint p{
  margin: 0px;
}


.containergen{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.first {
  min-height: calc(var(--vh, 1vh) * 100);
  background-image: url('bgimageblack.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  color:white;
  padding: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.minmargin{
  margin: 50px 0px 80px 0px;
}

#first-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ffe48c;
  color: #181818;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

#first-button:hover {
  transform: scale(1.05);
}

.text-title{
  padding: 5px;
  position: relative;
  z-index: 2;
}
.first-text{
  display: flex;
  flex-direction: row;
  min-height: 450px;
  justify-content: space-between;
}
.first-text ul{
  border-radius: 25px;
  position: relative;
  color: white;
  z-index: 2;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 25%;
  padding: 10px;
}

.first-text ul li{
  margin-bottom: 25px;
  font-size: 15px;
}

.first-text ul li svg{
  width: 25px;
}

.first-text ul li span{
  border-bottom: 2px solid #ffe48d;
}

.sticker {
  width: 460px;
  height: 460px;
  position: absolute;
  bottom: 0;
  right: 70px;
  z-index: 1;
}

.second {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

.element-title{
  font-size: 20px;
  color: white;
  text-align: center;
}

.center{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.element {
  display: flex;
  align-items: center;
  background: #f5e8d8;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.7);
  padding: 1.2rem 1.5rem;
  width: 80%;
  min-height: 120px;
  justify-content: center;
}

.element .left {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

.element .left img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.08);
}

.overlap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.overlap img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.08);
}

.right {
  flex: 1;
}

.title-list {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #34495e;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #555;
  font-size: 0.8rem;
}

li {
  margin-bottom: 0.2rem;
}

.column{
  display: flex;
  flex-direction: column;
}

.bonus{
  margin-bottom: 20px;
  font-size: 20px;
}

.content-container {
  position: relative;
  overflow: hidden;
}

.content-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--gradient-bg);
  pointer-events: none;
}
.second > .content-container > div {
  width: auto;
  margin: 0 auto 1.5rem auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #F5E8D8;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
  padding: 1.2rem 1.5rem;
  min-height: 120px;
  transition: box-shadow 0.2s;
}

.content-container.expanded {
  overflow: visible;
}

.content-container.expanded::after {
  display: none;
}



.third{
  height: fit-content;
  width: 100%;
}


.slant-clip {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  text-align: center;
  color: #34495e;
  padding: 40px 20px;
  margin: 40px 0;
  min-height: 400px;
  clip-path: polygon(
    0 30px,
    100% 0,
    100% 100%,
    0 calc(100% - 30px)
  );
  position: relative;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.7);
}



.price{
  font-size: 45px;
  color: #34495e;
  font-family: 'Domine', serif;
  text-align: center;
}
.origprice{
  color: red;
  font-size: 35px;
  margin-top: -5px;
}

.trueprice{
  color: green;
  font-size: 35px;
  margin-top: -5px;
}




.card-container {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 140px;
}

.card {
  background-color: white;
  border-radius: 25px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  width: 80vw;
  max-width: 300px;
}

.card-top-bg {
  border-radius: 25px 25px 0px 0px;
  background-color: #dbc4c0;
  height: 80px;
  position: relative;
}

.card-sticker {
  display: flex;
  flex-direction: row;
  position: relative;
}

.student{
  width: 160px;
  height: 160px;
  position: absolute;
  top: -80px;
  left: -30px;
}
.student-text{
  right: 10%;
  position: absolute;
}

.titolare{
  width: 230px;
  height: 320px;
  position: absolute;
  top: -175px;
  left: 49%;
}
.titolare-text{
  left: 0%;
  position: absolute;
}

.insoddisfatta{
  width: 140px;
  height: 210px;
  position: absolute;
  top: -130px;
  left: -30px;
}
.insoddisfatta-text{
  right: 10%;
  position: absolute;
}

.onicotecnica{
  width: 150px;
  height: 200px;
  position: absolute;
  top: -120px;
  right: -40px;
}
.onicotecnica-text{
  left: 0%;
  position: absolute;
}

.underline{
  border-bottom: 3px solid #dbc4c0;
}

.card-description span:not(.underline){
  background-color: #dbc4c0;
  color:black;
}


.card-body {
  padding: 20px 20px 0px 20px;
}

.card-title {
  padding: 0px 0px 0px 20px;
  font-size: 1em;
  color: #333;
}

.card-description {
  color: #666;
  line-height: 1.6;
}






.fourth{
  background-color: #f5e8d8;
  width: 100%;
}

.fourth .element-title{
  color: black;
}


.circle-card{
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 400px;
  border-radius: 25px;
}

.circle-bg {
  width: 70%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-element{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.circle-element p{
  align-self: flex-end;
  font-size: 60px;
  margin-left: -10px;
  color: black;
}


.circle-text{
  margin: 0 auto;
  width: 90%;
  color: black;
}

.circle-card-title{
  color: black;
  font-size: 15px;
}


.iphone{
  width: 150px;
  height: 150px;
}

.notebook{
  margin-top: 10px;
  width: 130px;
  height: 130px;
  border-radius: 20px;
}

.clock{
  width: 240px;
  height: 240px;
  margin-left: -20px;
  margin-top: -20px;
}

.certificate{
  width: 150px;
  height: 100px; 
  margin-left: -25px;
  border-radius: 20px;
}

.fourth .card-container{
  gap: 50px;
}


.box {
  --size: 25px;
  height: 100px;
  border: 1px solid;
  margin-top: 70px;
}
.box + .box {
  background-repeat: repeat-x;
}
.box.mask {
  mask:
    radial-gradient(var(--size) at 50% var(--size), #000 99%, #0000 101%) calc(50% - 2*var(--size)) 0 / calc(4*var(--size)) 100%,
    radial-gradient(var(--size) at 50% 0px, #0000 99%, #000 101%) 50% var(--size) / calc(4*var(--size)) 100% repeat-x;
  border: none;
}

.fourth .box.mask {
  background-color: #181818;
  background-image: url("asfalt-light.png");
}

.who{
  width: 100%;
}

.who .box.mask {
  background-color: #f5e8d8;
}

.videofunz{
  width:auto;
  height: 450px;
  border-radius: 25px;
  margin-bottom: 50px;
}

.fifth{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.attestati{
  margin-top: -300px;
  list-style: none;
  padding: 0px 0px 70px 0px;
  color: white;
  font-size: 0.9rem;
}
.attestati li{
  width: 200px;
}
.attestati li::before {
  content: "-";
  margin-right: 0.5em;
}

.attestati-img{
  margin-top: -100px;
  width: 380px;
  height: 600px;
}