@media (min-width: 576px) {
  .rounded-sm {
    border-radius: 16px;
  }

  /* Caratteristiche area */
  .caratteristiche-area .col:last-child {
    max-width: none;
  }
  .caratteristiche-area .img-container {
    height: 225px;
    width: 225px;
  }

  /* Desc-aside sm*/
  .desc-aside .bg-image,
  .desc-aside .text-container {
    border-radius: 16px;
  }

  /* Desc-2 sm */
  .desc-home-2 {
    margin-bottom: 230px;
  }
  .desc-home-2 .img-1,
  .desc-home-2 .img-2 {
    min-height: 270px;
  }

  /* Intro sm */
  .cosa-facciamo-intro .img-container:last-child {
    transform: translateX(5px);
  }
  .cosa-facciamo-intro .img-container:last-child img[alt="dots"] {
    width: 260px;
    height: 390px;
    object-fit: cover;
    object-position: top left;
  }
  .cosa-facciamo-intro .img-container:last-child img[alt="img-1"],
  .cosa-facciamo-intro .img-container:last-child img[alt="img-2"] {
    width: 200px;
    height: 335px;
    object-fit: cover;
  }
  .cosa-facciamo-intro .img-container:last-child img[alt="img-1"] {
    left: -85px;
  }
  .cosa-facciamo-intro .img-container:last-child img[alt="img-2"] {
    left: 130px;
  }

  /* Fasi */
  .fasi > .row .col .card-container::after {
    height: 30px;
  }
  .fasi > .row .col:nth-child(1) .card-container::after,
  .fasi > .row .col:nth-child(4) .card-container::after,
  .fasi > .row .col:nth-child(5) .card-container::after {
    background-image: none;
  }
  .fasi-did .fasi-card,
  .fasi-did .card-container {
    height: 100%;
  }

  /* Key Card */
  .key-card {
    border-radius: 16px;
  }

  /* Mission sm */
  .mission {
    border-radius: 16px;
  }

  /* Scopri sm */
  .scopri {
    border-radius: 16px;
  }
  .scopri .text-editor p {
    font-size: 24px;
  }
  .scopri .text-editor p > span {
    font-size: 30px;
  }

  /* Servizi md */
  .servizi .list-group-flush .active li {
    border-radius: 10px;
  }

  /* Stampi area sm */
  .stampi-area .list-container {
    border-radius: 16px;
    transform: translateX(0);
  }
}
@media (min-width: 768px) {
  /* Boxes md */
    .container-bigger {
        max-width: 780px;
    }
  .boxes {
    width: 400px;
    max-width: 1160px;
  }

  /* Blog article md */
  .blog-article section:last-of-type {
    border-bottom: none !important;
  }

  /* Caratteristiche area md */
  .caratteristiche-area .img-container:first-child {
    position: relative;
    left: 50px;
  }
  .caratteristiche-area .img-container:nth-child(2) {
    position: relative;
    left: 50px;
  }
  .caratteristiche-area .img-container[class~="position-absolute"] {
    right: 100px;
  }

  /* Cards md */
  .cards .banners-container {
    column-gap: calc((100% - 2 * 330px) / 2);
  }

  /* Desc-2 md */
  .desc-home-2 {
    margin-bottom: 330px;
  }
  .desc-home-2 .img-1,
  .desc-home-2 .img-2 {
    min-height: 355px;
  }
  .desc-home-2 .img-4 {
    max-height: 200px;
  }

  /* Fasi md */
  .fasi-frecce {
    transform: rotate(90deg);
  }

  /* PreForm md */
  .pre-form .banner {
    margin: 0 0 7px;
  }

  /* Servizi md */
  .servizi .splide .img-container div:last-child {
    top: 25px;
  }

  /* Valori md */
  .valori {
    row-gap: 16px;
    column-gap: 32px;
  }
  .valori-item {
    width: calc((100% - 2 * 16px) / 2);
  }
  .valori-item img:first-child {
    max-width: 60px;
    max-height: none;
  }
}
@media (max-width: 991.98px) {
    .position-lg-absolute {
        position: relative;
        transform: none!important;
    }
}
@media (min-width: 992px) {
    .position-lg-absolute {
        position: absolute;
    }


  .text-editor ul {
   /* padding-left: 20px;*/
  }
  .text-editor ul {
    padding-left: 0;
  }

  /* Boxes lg */
  .boxes {
    width: 100%;
    padding: 0 50px;
  }
  .boxes p {
    height: fit-content;
  }
  .boxes > div {
    height: 200px;
    width: calc((100%) / 4);
    max-width: 300px;
  }
  .boxes .img-1,
  .boxes .img-2 {
    padding: 0;
    transform: translateX(16.25vw);
    z-index: 3;
  }
  .boxes p {
    box-sizing: content-box;
    min-width: 200px;
  }

  /* Blog card lg*/
  .blog-card {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--grey);
  }
  .blog-card:last-of-type {
    border-bottom: none;
  }
  .blog-card .blog-card-img {
    border-radius: 16px;
  }
  .blog-preview .blog-card:last-of-type {
    border-bottom: 1px solid var(--grey);
  }
  .blog-card-2 .card-header {
    max-width: 250px;
  }

  /* Caratteristiche area */
  .caratteristiche-area .col:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .caratteristiche-area .img-container[class~="position-absolute"] {
    right: 0;
  }

  /* Desc-aside lg */
  .desc-aside .bg-image {
    background-position: top left;
      background-size: 100% 80%;
  }

  /* Desc-2 lg*/
  .desc-home-2 {
    padding-bottom: 10vw;
  }
  .desc-home-2 .img-1 {
    min-height: 237px;
    max-height: 237px;
  }
  .desc-home-2 .img-2 {
    min-height: 237px;
    max-height: 237px;
    top: 35%;
  }
  .desc-home-2 .img-3 {
    bottom: 67%;
  }
  .desc-home-2 .img-4 {
    max-height: 150px;
    top: 51%;
  }

  /* Fasi lg */
  .fasi-frecce {
    transform: rotate(90deg) translate(-30px, 70px);
  }
  .fasi-did .fasi-card,
  .fasi-did .card-container {
    min-width: 0;
  }
  .fasi-did .fasi-frecce {
    transform: rotate(90deg) translate(0, 0);
  }

  /* Footer lg */
  footer li {
    font-size: 20px;
    padding-right: 16px;
  }
  footer ul {
    padding-top: 12px;
    padding-left: 16px;
  }
  #footer-contatti {
    font-size: 20px;
    padding-top: 12px;
  }

  /* Header lg*/
  header .navbar-collapse .nav-link {
    font-size: 20px;
  }

  /* Hero lg */
  .hero-home a span {
    font-size: 40px;
    bottom: 150px;
    right: 3px;
    width: 420px;
    color: var(--blu);
    transition: color 0.2s;
  }
  .hero-home a:hover span {
    color: var(--arancione);
  }
  .hero-home img {
    right: -50px;
    bottom: 37px;
    width: 525px;
  }
  .hero-home i {
    font-size: 45px;
    bottom: 70px;
    right: 40px;
  }

  /* Intro lg */
  .cosa-facciamo-intro .col:nth-child(3) {
    transform: translateY(-210px);
  }
  .cosa-facciamo-intro .col:nth-child(4) {
    transform: translateY(75px);
  }
  .cosa-facciamo-intro .img-container:first-child {
    transform: translateX(40px);
  }
  .cosa-facciamo-intro .img-container:last-child {
    transform: translateX(0);
  }

  /* Key Card lg*/
  .key-card {
    transform: translateX(-30px);
  }
  .key-card-img {
    transform: translateX(-25px) scale(0.8);
  }

  /* Lista prodotti lg */
  .lista-prodotti .img-group {
    margin-right: 0;
    margin-left: auto;
    width: 75%;
  }
  .lista-prodotti ul {
    padding: 48px;
    border: 1px solid var(--grey);
    border-radius: 16px;
  }

  /* Mission lg */
  .mission {
    max-width: 540px !important;
    position: relative;
    left: 0;
  }
  .mission + .img-radius {
    height: 650px;
    width: 600px;
    position: absolute;
    top: -25px;
    right: 0;
    z-index: -1;
  }
  .mission + .img-radius img {
    object-position: center;
  }
  .mission-container {
    box-sizing: content-box;
    max-width: 960px !important;
  }

  /* Servizi lg */
  .servizi .splide__arrow {
    display: none;
  }
  .servizi .splide__slide {
    border-bottom: none !important;
  }
  .servizi .splide .img-container {
    max-width: 450px;
  }
  .servizi .splide .img-container div:last-child {
    max-width: 70%;
    top: 0;
  }

  /* Stampi area lg */
  .stampi-area .list-container {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 58px !important;
    width: 50vw;
    transform: translateX(5px);
  }
  .stampi-area .list-container .col-2 {
    text-align: end;
  }

  /* Valori lg */
  .valori {
    gap: 0;
  }
  .valori-item {
    width: calc((100% - 2 * 16px) / 3);
    max-height: 200px;
  }
  .valori-item img:first-child {
    max-height: 40px;
    max-width: 40px;
  }
}
@media (min-width: 1200px) {

  /* Header xl */
  header .nav-link {
    font-size: 20px;
  }
  header .offcanvas-body .nav-link {
    font-size: 24px;
  }

  /* Boxes xl */
  .boxes {
    padding: 0 100px;
  }
  .boxes .img-1,
  .boxes .img-2 {
    transform: translateX(180px);
  }

  /* Caratteristiche area lg */
  .caratteristiche-area .img-container:first-child,
  .caratteristiche-area .img-container:nth-child(2) {
    left: 65px;
  }
  .caratteristiche-area .img-container[class~="position-absolute"] {
    right: 25px;
  }

  /* Cards md */
  .cards .banners-container {
    column-gap: calc((100% - 3 * 330px) / 2);
  }

  /* Desc-2 xl */
  .desc-home-2 {
    margin-bottom: 50px;
  }
  .desc-home-2 .img-1 {
    max-height: 282px;
  }
  .desc-home-2 .img-2 {
    max-height: 282px;
    top: 50%;
  }
  .desc-home-2 .img-3 {
    bottom: 52%;
  }
  .desc-home-2 .img-4 {
    max-height: 200px;
    top: 65%;
  }

  /* Form xl */
  .form-img {
    top: -33px;
    width: 90px;
  }
  .contatti {
    height: auto;
  }
  .contatti .aside {
    width: 50%;
    max-width: 660px;
    top: 50px;
    right: 0;
  }
  .contatti .form {
    width: 80%;
    margin-left: 0;
    margin-right: auto;
  }

  /* Key Card xl*/
  .key-card-img {
    transform: translateX(0) scale(1);
    max-width: 775px;
  }
  .key-card-body {
    margin-right: 0 !important;
  }

  /* Stampi area xl */
  .stampi-area .list-container {
    padding-right: 82px !important;
  }

  /* Valori xl */
  .valori-item img:first-child {
    max-height: 60px;
    max-width: none;
  }
}
@media (min-width: 1400px) {

  /* Caratteristiche area xxl*/
  .caratteristiche-area .img-container:first-child,
  .caratteristiche-area .img-container:nth-child(2) {
    left: 155px;
  }
  .caratteristiche-area .img-container[class~="position-absolute"] {
    right: 10px;
  }

  /* Desc-2 xxl */
  .desc-home-2 {
    margin-bottom: 130px;
  }
  .desc-home-2 .img-1,
  .desc-home-2 .img-2 {
    max-height: 327px;
  }
  .desc-home-2 .img-4 {
    top: 80%;
  }

  /* Fasi xxl */
  .card-container {
    width: 100%;
    max-width: 250px;
    min-width: 100px;
  }
  .fasi-card {
    width: 100%;
  }
  .fasi .col:first-of-type {
    padding-left: 0 !important;
  }
  .fasi-did .col:first-of-type {
    padding-left: 16px !important;
  }
  .fasi-frecce,
  .fasi-did .fasi-frecce {
    transform: rotate(0) translate(0, 0);
  }
  .fasi .col {
    position: relative;
  }
  .fasi > .row .col:nth-child(1) .card-container::after,
  .fasi > .row .col:nth-child(4) .card-container::after,
  .fasi > .row .col:nth-child(5) .card-container::after {
    background-image: url(../img/gruppo4-fasi.png);
    transform: rotate(0);
    position: absolute;
    right: -60px;
    top: 25px;
  }

  /* Footer xxl */
  footer img[alt="ExpYouLogo"] {
    max-height: 35px;
    width: auto !important;
  }

  /* Key Card xxl */
  .key-card-body {
    margin-right: auto !important;
  }
    .key-card {
    transform: translateX(0);
  }

  /* PreForm xxl */
  .pre-form > .row > .col:first-child {
    padding-right: 75px !important;
  }

  /* Servizi lg */
  .servizi .box:nth-child(2) {
    bottom: -45px;
    left: 100px;
  }

  /* Stampi area xxl */
  .stampi-area .list-container {
    padding-right: 200px !important;
  }

  /* Tecniche xxl */
  .tecniche {
    max-width: 1700px !important;
  }
  .tecniche .accordion > .row > .col-auto {
    box-sizing: border-box;
    width: calc(100% / 5) !important;
  }
  .tecniche .accordion-body {
    background-color: var(--arancione);
    transition: background-color 0.5s;
  }
  .tecniche .accordion-button {
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    height: 275px;
    width: 100%;
    transition: height 0.3s, background-color 0.3s;
  }
  .tecniche .accordion-button::after {
    position: relative;
    left: -8px;
    padding-top: 40px;
    margin-left: 0;
  }
  .tecniche .accordion-button,
  .tecniche .accordion-item {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  .tecniche .accordion-button > p {
    margin-top: 69px;
    transition: margin-top 0.5s;
  }
  .tecniche .accordion-button:not(.collapsed) {
    height: auto;
    background-color: var(--arancione);
  }
  .tecniche .accordion-button.collapsed {
    height: 275px;
    background-color: var(--blu);
  }
  .tecniche .accordion-button:not(.collapsed) > p {
    margin-top: 16px;
  }
}



@media (min-width: 1700px) {
    .container-bigger {
        max-width: 1640px;
    }
  .col-xxxl-4 {
    width: calc(100% / 12 * 4);
  }
  .col-xxxl-8 {
    width: calc(100% / 12 * 8);
  }

  /* Cards xxxl */
  .cards .banners-container {
    column-gap: calc((100% - 4 * 350px) / 3);
  }

  /* Contatti xxl*/
  .contatti .aside {
    right: 50px;
  }

  /* Desc 2 */
  .desc-home-2 .img-3 {
    bottom: 53%;
  }
  .desc-home-2 .img-4 {
    top: 85%;
  }
}
