/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* CUSTOM CODE CONCORSO GATTI */

/* 1. Carica fisicamente il file del font */
@font-face {
  font-family: "elicit";
  src: url("assets/elicit-script.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Definizione della variabile */
  --cg-red: #e7120e;
  --cg-yellow: #ffd702;
  --cg-blu: rgb(30, 45, 117);
  --cg-viola: #833E88;
  --main-font: "houschka-rounded", sans-serif;
  --title-font: "elicit", sans-serif;
}
header {
  background-color: var(--cg-red); /* Utilizzo della variabile */
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  .logo-container {
    padding: 10px 0;
  @media (min-width: 768px) {
    padding: 18px 0;
  }
    .logo {
      max-width: 90px;
      margin: 0 auto;
      display: block;
  @media (min-width: 768px) {
      max-width: 120px;
  }
    }
  }
}
body {
    font-family: var(--main-font);
  main {
    padding: 0 20px;

    h1 {
      font-family: var(--title-font);
      color: var(--cg-red);
      text-align: center;
      margin-bottom: 20px;
      font-size: 46px;
  @media (min-width: 768px) {
      font-size: 82px;
  }
    }
    .cg-hero {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      h2 {
        color: #fff;
        font-family: var(--main-font);
        font-size: 28px;
        padding: 10px 30px;
        border-radius: 35px;
        margin-bottom: -30px;
        background-color: var(--cg-red);
        z-index: 1;
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
font-weight: 500;
text-transform: uppercase;
span{
    font-weight: 700;
}
  @media (min-width: 768px) {
        font-size: 42px;
  }
      }
      .cg-hero-image {
        img {
          height: auto;
          border-radius: 8px;
          max-width: 1240px;
          width: 100%;
        }
      }
    }
  }
}
.container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
}

.blocco-decorativo {
          max-width: 1240px;
          width: 100%;
          margin: 40px auto;
          display: flex;
          flex-direction: column;
          align-items: start;
          justify-content: start;
        border-radius: 8px;
        min-height: 300px;
        background-image: url(assets/goffratura_bg@2x.webp);
        background-size: 1240px;
        margin-bottom: 70px;
    .blocco-decorativo-header {
  background-color: var(--cg-red);
        font-family: var(--main-font);
        color: #fff;
        font-size: 36px;
        text-transform: uppercase;
        width: 100%;
        padding: 10px ;
        border-radius: 8px 8px 0 0;
        box-sizing: border-box  ;
        h3{
            text-align: center;
            margin: 0;
            padding: 10px 0;
            font-size: 24px;
            font-weight: 600;
  @media (min-width: 768px) {
            font-size: 36px;
  }
        }
    }

    .blocco-decorativo-content {
        padding: 30px 20px 0 20px;
        width: 100%;
        box-sizing: border-box;
        h4{
            font-size: 26px;
font-style: normal;
font-weight: 500;
line-height: 28px;
color: var(--cg-blu);
text-align: center;
margin: 30px 0;
  @media (min-width: 768px) {
            font-size: 36px;
line-height: 38px;
  }
strong{

font-weight: 700;
}
        }
        p{

font-size: 22px;
font-style: normal;
font-weight: 500;
line-height: 22px; /* 100% */
color: var(--cg-blu);
text-align: center;
margin: 0 0 20px 0;
        }
        .img-bloccofull{
            max-width: 100%;
            margin: auto auto 0 auto;
            /* display: flex; */
            &.img-prodotti{
                margin-top: 100px;
            max-width: 100%;
            width: 900px;
            }
        }
    }

    .blocco-decorativo-step{
            margin: 40px 20px;
/* margin: 0 20px; */
margin: 40px auto;
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-column-gap: 0;
border-bottom: 1px solid var(--cg-blu);
box-sizing: border-box;
  width: fit-content;
&:last-of-type{
    border-bottom: 0;
}
  @media (min-width: 768px) {
grid-template-columns: repeat(5, 1fr);
            margin: 40px 40px 40px 40px;
grid-row-gap: 30px; 
  }

    }

        .blocco-decorativo-item{
          padding: 0 20px 40px 20px;
        background-image: url(assets/arrow-down.svg);
            background-position: bottom  center;
            background-size: 30px;
        background-repeat: no-repeat;
        display: flex;
        justify-content: start;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;

  @media (min-width: 768px) {
    padding-bottom: 0;
        background-image: url(assets/arrow.svg);
        background-size: inherit;
            background-position: top 70px right;
            padding: 0 40px 0 10px;
            /* padding-right: 40px;
        padding-left: 10px; */
  }
        &:last-of-type{
            background-image: none;
        }
        img{
            max-width: 100px;
            margin: auto auto 10px auto;
            display: table;
            display: flex;
        }
        p{
            font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 26px; /* 118.182% */
color: var(--cg-blu);
text-align: center;
        }
    }
    .blocco-decorativo-itemimg{
        min-height: 150px;
        display: flex;
        justify-content: end;
    }
    .blocco-decorativo-footer {
        width: 100%;
        margin-top: auto;
        padding: 30px 20px 50px 20px;
        box-sizing: border-box;
    }
    
}

.desktop {
  display: none;
  @media (min-width: 768px) {
    display: block;
  }
}
.mobile {
  display: block;
  @media (min-width: 768px) {
    display: none;
  }
}
.cta-button {
    background-color: var(--cg-yellow);
    color: var(--cg-blu);
    font-family: var(--main-font);
    background-image: url("assets/arrow-btn.svg");
    background-repeat: no-repeat;
    background-position:  center left 20px;
    background-size: 20px;
    border: none;
    border-radius: 12px;  
    font-size: 15px;
font-style: normal;
font-weight: 700;
text-decoration: none;
display: table;
margin: 20px auto;
    background-size: 16px;
transition: background-color 0.3s ease, color 0.3s ease;
width: 100%;
  box-sizing: border-box;
  text-align: center;
    padding: 20px 15px 20px 40px;
  @media (min-width: 768px) {
    padding: 20px 30px 20px 60px;
    font-size: 24px;  
    background-size: 20px;
    background-size: inherit;
    width: auto;
  }
&:hover {
    background-color: var(--cg-yellow);
    color: var(--cg-blu);        
}
}

footer{
    background-color: var(--cg-red);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
        font-family: var(--main-font);
    p{
font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: 21px;
margin: 0;
  @media (min-width: 768px) {
font-size: 18px;
line-height: 26px;
  }
    }
        a{
    color: #fff;
    }
}


.doublecol{
      display: flex;
  gap: 0px;
  max-width: 1100px;
  padding: 80px 20px 0 20px;
  margin: 0 auto;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
    @media (min-width: 768px) {
        flex-direction: row;
  }
  .doublecol-colsx{

        width: 100%;
        align-items: start;
    @media (min-width: 768px) {
        max-width: 50%;
  }

          h3{
            background-color: var(--cg-yellow);
            color: var(--cg-viola);
            font-family: var(--main-font);
            text-transform: uppercase;
            padding: 10px 40px;
            border-radius: 30px;
            max-width: fit-content;
            
font-size: 24px;
font-style: normal;
font-weight: 600;
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
    @media (min-width: 768px) {
font-size: 38px;
  }
        }
        
              p{
            font-family: var(--main-font);
            color: var(--cg-viola);
            font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: normal;
    @media (min-width: 768px) {
            font-size: 28px;
  }
span{
    color: #E7120E;
}
            strong{
                display: block;
            font-family: var(--title-font);

font-size: 42px;
font-style: normal;
font-weight: 600;
line-height: 60px; /* 86.111% */
/* margin-bottom: 20px; */
    @media (min-width: 768px) {
font-size: 72px;
line-height: 80px; /* 86.111% */
  }

            }
        }
                img{
            /* max-width: 60%; */
            height: auto;
            max-width: 70%;
            margin: 0 auto;
              @media (min-width: 768px) {
            max-height: 400px;
            height: 100%;
  }

        }
  }
  .doublecol-coldx{
        width: 100%;
        align-items: start;
    @media (min-width: 768px) {
        max-width: 50%;
        padding-top: 139px;
  }
            p{
            font-family: var(--main-font);
            color: var(--cg-viola);
            font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: normal;
    @media (min-width: 768px) {
            font-size: 28px;
  }
span{
    color: #E7120E;
}
            strong{
                display: block;
            font-family: var(--title-font);

font-size: 42px;
font-style: normal;
font-weight: 600;
line-height: 60px; /* 86.111% */
/* margin-bottom: 20px; */
    @media (min-width: 768px) {
font-size: 72px;
line-height: 80px; /* 86.111% */
  }

            }
        }
                img{
            /* max-width: 60%; */
            height: auto;
            max-width: 100%;
            margin: 0 auto;
              @media (min-width: 768px) {
            max-height: 400px;
            height: 100%;
  }
}
        
  }
    .doublecol-text{
        width: 100%;
        align-items: start;
    @media (min-width: 768px) {
        max-width: 50%;
  }
        h3{
            background-color: var(--cg-yellow);
            color: var(--cg-viola);
            font-family: var(--main-font);
            text-transform: uppercase;
            padding: 10px 40px;
            border-radius: 30px;
            max-width: fit-content;
            
font-size: 24px;
font-style: normal;
font-weight: 600;
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
    @media (min-width: 768px) {
font-size: 38px;
  }
        }
        p{
            font-family: var(--main-font);
            color: var(--cg-viola);
            font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: normal;
    @media (min-width: 768px) {
            font-size: 28px;
  }
span{
    color: #E7120E;
}
            strong{
                display: block;
            font-family: var(--title-font);

font-size: 42px;
font-style: normal;
font-weight: 600;
line-height: 60px; /* 86.111% */
/* margin-bottom: 20px; */
    @media (min-width: 768px) {
font-size: 72px;
line-height: 80px; /* 86.111% */
  }

            }
        }

    }
    .doublecol-img{
        width: 100%;
        display: flex;
    @media (min-width: 768px) {
        max-width: 50%;
  }
        img{
            max-width: 60%;
            margin: 0 auto;
              @media (min-width: 768px) {
            max-width: 90%;
  }

        }
    }
}
.maxi-giappone{
    padding: 0 20px 20px 20px;
    img{
        max-width: 100%;
        border-radius: 8px;
    }
}