/* host-grotesk-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/host-grotesk-v5-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/host-grotesk-v5-latin-italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/host-grotesk-v5-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-500italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/host-grotesk-v5-latin-500italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/host-grotesk-v5-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-700italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/host-grotesk-v5-latin-700italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
@keyframes float {
  0% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}
@media (max-width: 1600px) {
  footer .footer-last-column .btn-to-top {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 35px;
  }
}
@media (max-width: 1440px) {
  .servizi-detail .servizi-detail-image {
    height: 500px;
  }
}
@media (max-width: 1280px) {
  .topbar .container {
    padding: 7px 15px;
  }
  .home-hero .container {
    padding: 0 15px;
  }
  .servizi-detail {
    min-height: 0;
    padding: 100px 0 0 0;
  }
  .servizi-detail .container {
    align-items: flex-start;
  }
  .servizi-detail .servizi-detail-image {
    position: relative;
    width: 50%;
    height: auto;
    bottom: auto;
    right: -25px;
    top: 100px;
  }
  .servizi-correlati {
    padding-top: 50px;
  }
}
@media (max-width: 1024px) {
  .topbar {
    height: 40px;
  }
  .topbar .container {
    font-size: 12px;
    line-height: 12px;
  }
  .header {
    top: 40px;
    padding: 15px;
    border-radius: 0;
  }
  .home-abstract {
    padding: 50px 0 0 0;
  }
  .home-abstract .cols {
    align-items: flex-start;
    gap: 0;
  }
  .home-abstract .cols img {
    margin-right: 35px;
    max-width: 450px;
  }
  .page-title .page-title-icon-wrapper {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: 50px;
  }
  .contact-block {
    width: 100%;
  }
  footer .container .footer-company {
    margin-bottom: 25px;
  }
  footer .container .footer-servizi h4 {
    margin: 0 0 35px 0;
  }
}
@media (max-width: 1023px) {
  .container {
    padding: 0 15px;
  }
  .header {
    padding: 10px 15px;
    min-height: 0;
  }
  .header .header-logo img {
    height: 35px;
  }
  .header .header-menu-prenota {
    margin: 0 7px 0 auto;
  }
  .header .header-menu {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    flex-wrap: wrap;
    left: 0;
    top: 0;
    margin: 0px;
    gap: 0px;
    background-color: #58b999;
    padding: 50px 15px 25px 15px;
    box-shadow: inset 0 10px 15px -10px rgba(69, 67, 96, 0.25);
  }
  .header .header-menu .header-menu-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 25px 0;
    border-bottom: 1px solid #fff;
    margin-bottom: 25px;
  }
  .header .header-menu .header-menu-logo img {
    height: 35px;
  }
  .header .header-menu .header-menu-logo .header-menu-btn {
    background-color: #fff;
    color: #58b999;
  }
  .header .header-menu .menu-item {
    width: 100%;
    color: #fff;
    margin-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    font-size: 47px;
    line-height: 47px;
    font-weight: 600;
  }
  .header .header-menu .menu-item.active {
    color: #fff;
  }
  .header .header-menu .menu-item:hover:after {
    display: none;
  }
  .header .header-menu .menu-item .menu-item-with-submenu svg {
    width: 35px;
    height: auto;
    transform: translateY(5px);
    transition: 0.3s;
  }
  .header .header-menu .menu-item .submenu {
    opacity: 1;
    position: relative;
    top: auto !important;
    pointer-events: all;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
    max-height: 0;
    transition: 0.3s;
    overflow: hidden;
  }
  .header .header-menu .menu-item .submenu a {
    color: #000;
    font-size: 30px;
    line-height: 30px;
    padding: 4px 2px 4px 10px;
    transition: 0s;
  }
  .header .header-menu .menu-item .submenu a:after {
    display: none;
  }
  .header .header-menu .menu-item .submenu a:hover {
    color: #000;
    background-color: transparent;
  }
  .header .header-menu .menu-item.is-open .menu-item-with-submenu svg {
    transform: rotate(180deg) translateY(-5px);
  }
  .header .header-menu .menu-item.is-open .submenu {
    max-height: 350px;
    transition: 0.5s;
    padding-top: 7px;
  }
  .header .header-menu #m_prenota {
    display: flex;
  }
  .header .header-menu.is-visible {
    display: block;
  }
  .header .header-menu-btn {
    display: flex;
    background-color: #58b999;
    padding: 5px;
    width: 46px;
    height: 46px;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    line-height: 0;
    color: #fff;
    margin-left: 10px;
  }
}
@media (max-width: 768px) {
  h2.title {
    text-align: center;
    padding-top: 35px;
    margin-bottom: 35px;
  }
  h2.title.with-subtitle {
    padding-top: 50px;
  }
  .topbar .container .topbar-contatti {
    display: none;
  }
  .home-hero {
    height: 500px;
  }
  .home-hero h1 {
    font-size: 65px;
    line-height: 65px;
    text-align: center;
  }
  .home-hero .subtitle {
    width: 100%;
    align-self: flex-end;
  }
  .home-hero:after {
    display: none;
  }
  .home-abstract .cols img {
    max-width: 330px;
  }
  .home-servizi {
    padding: 50px 0 0 0;
  }
  .home-servizi h2 {
    margin: 25px;
  }
  .home-servizi .servizi-categorie-list {
    gap: 100px 0px;
  }
  .home-servizi .categoria-item-wrapper {
    width: calc(50% - 15px);
  }
  .home-testimonianze {
    padding: 50px 0;
  }
  .home-testimonianze h2 {
    margin: 0 15px 25px 15px;
  }
  .home-testimonianze .testimonianze-list {
    display: block;
    margin-bottom: 25px;
  }
  .home-testimonianze .testimonianze-list .testimonianze-item-wrapper {
    padding: 0 10px;
  }
  .studio-wrapper .cols .col-text {
    padding: 35px;
  }
  .page-title {
    margin: 0 0 50px 0;
    padding-top: 75px;
    height: 250px;
  }
  .page-title .container h1 {
    margin-left: 25px;
    font-size: 50px;
    line-height: 50px;
  }
  .page-title .page-title-icon-wrapper {
    width: 200px;
    height: 200px;
    bottom: -55px;
  }
  .page-title .page-title-icon-wrapper .page-title-icon {
    width: calc(100% - 35px);
  }
  .servizi-filters {
    gap: 15px;
  }
  .servizi-filters .btn {
    font-size: 18px;
    line-height: 18px;
    width: calc(50% - 20px);
  }
  .servizi-abstract {
    text-align: center;
  }
  .servizi-list .container {
    justify-content: center;
  }
  .servizi-list .container .servizio-item {
    width: calc(50% - 20px);
  }
  .servizi-detail {
    padding: 25px 0 0 0;
  }
  .servizi-detail .cols {
    gap: 25px;
  }
  .servizi-detail .cols .col {
    flex: auto;
    width: 100%;
  }
  .servizi-detail .cols .col.col-image {
    order: 1;
  }
  .servizi-detail .cols .col.col-text {
    order: 2;
  }
  .servizi-detail .cols p:not(:last-child) {
    margin-bottom: 15px;
    text-align: left;
  }
  .subtitle {
    text-align: center;
  }
  .contatti-wrapper .cols .col {
    width: 100%;
  }
  .form-wrapper {
    margin-bottom: 50px;
  }
  .form-wrapper form .cols {
    gap: 0;
  }
  .form-wrapper form .cols .col {
    flex: none;
    width: 100% !important;
  }
  footer .container {
    padding: 50px 25px 25px 25px;
  }
  footer .container .footer-company {
    width: calc(50% - 10px);
    order: 1;
    margin-bottom: 35px;
  }
  footer .container .footer-company .footer-logo {
    width: 250px;
  }
  footer .container .footer-last-column {
    width: calc(50% - 25px);
    align-content: flex-start;
    order: 2;
  }
  footer .container .footer-last-column .btn-to-top {
    display: none;
  }
  footer .container .footer-servizi {
    width: 100%;
    order: 3;
  }
  footer .container .footer-servizi h4 {
    margin: 0 0 30px 0;
  }
  footer .container .footer-servizi .footer-servizi-list {
    gap: 15px 50px;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item {
    width: calc(50% - 25px);
  }
}
@media (max-width: 600px) {
  h2,
  h3 {
    font-size: 35px;
    line-height: 35px;
    font-weight: 700;
    text-align: center !important;
    margin-bottom: 25px;
  }
  h2.title.with-subtitle,
  h3.title.with-subtitle {
    padding-top: 25px;
  }
  .tns-nav {
    margin-top: 0;
  }
  .topbar .container .topbar-orario span b {
    display: none;
  }
  .topbar .container .topbar-social {
    display: none;
  }
  .header .header-menu-prenota {
    display: none;
  }
  .header .header-menu {
    padding: 25px;
  }
  .header .header-languages {
    margin-left: auto;
  }
  .home-hero {
    padding-bottom: 35px;
    height: 500px;
    align-items: flex-end;
    border-radius: 0 0 35px 35px;
  }
  .home-hero .container {
    gap: 0;
    margin: 0;
    padding: 0 25px;
  }
  .home-hero h1 {
    font-size: 40px;
    line-height: 40px;
    color: #fff;
    text-align: left;
  }
  .home-hero h1 br {
    display: none;
  }
  .home-hero .subtitle {
    display: none;
  }
  .home-abstract {
    padding: 25px 0 0 0;
  }
  .home-abstract .container {
    padding: 0 15px;
  }
  .home-abstract .container .cols {
    gap: 30px;
  }
  .home-abstract .container .cols .col {
    flex: auto;
    width: 100%;
    text-align: center;
  }
  .home-abstract .container .cols img {
    margin-right: 0;
    max-width: 100%;
  }
  .home-servizi {
    padding: 25px 0 0 0;
  }
  .home-servizi .categoria-item-wrapper {
    padding: 0 10px;
  }
  .home-servizi .categoria-item-wrapper .categoria-item .categoria-item-title {
    font-size: 30px;
    line-height: 30px;
  }
  .home-servizi .categoria-item-wrapper .categoria-item .categoria-item-description {
    line-height: 22px;
  }
  .home-testimonianze {
    padding: 25px 0;
  }
  .home-testimonianze .testimonianze-list {
    gap: 100px;
  }
  .home-testimonianze .testimonianze-list .testimonianze-item {
    width: calc(100% - 15px);
  }
  .home-blog {
    padding: 25px 0 50px 0;
  }
  .page-title {
    border-radius: 0 0 40px 40px;
    height: 175px;
    margin: 0;
    padding-top: 66px;
  }
  .page-title .container {
    justify-content: center;
  }
  .page-title .container h1 {
    margin: 0;
    text-align: center;
    max-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    line-height: 35px;
  }
  .page-title .container .page-title-icon-wrapper {
    display: none;
  }
  .studio-wrapper .cols .col {
    flex: none;
    width: 100%;
    padding: 25px;
  }
  .studio-wrapper .cols .col-text {
    order: 2;
  }
  .studio-wrapper .cols .col-image {
    order: 1;
    aspect-ratio: 16 / 9;
  }
  .studio-team-list .team-member-container .card-side.card-front {
    line-height: 20px;
  }
  .studio-team-list .team-member-container .card-side.card-front .team-member-image {
    margin-bottom: 13px;
  }
  .servizi-filters {
    margin: 25px 0;
  }
  .servizi-filters .servizio-filter {
    width: 100%;
  }
  .servizi-list .container .servizio-item {
    width: 100%;
  }
  .servizi-detail .container .servizi-detail-image {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    border-radius: 15px;
  }
  .servizi-detail .container .servizi-detail-text {
    width: 100%;
    margin-bottom: 25px;
  }
  .form-line {
    flex-wrap: wrap;
  }
  .form-field {
    width: 100%;
  }
  footer .container .footer-company {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 0;
  }
  footer .container .footer-company .footer-logo {
    width: 250px;
    margin: 0 auto 15px auto;
  }
  footer .container .footer-company h4 {
    width: 100%;
    text-align: center;
  }
  footer .container .footer-servizi {
    display: none;
  }
  footer .container .footer-last-column {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 0 0;
    width: 100%;
    order: 3;
    position: static;
    gap: 25px;
  }
  footer .container .footer-last-column .footer-last-item {
    width: calc(50% - 25px);
  }
  footer .container .footer-last-column .footer-last-item.footer-last-item-note-legali {
    padding-left: 0;
  }
  footer .container .footer-last-column .footer-last-item.footer-social {
    width: 100%;
  }
  footer .container .footer-last-column .btn-to-top {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    margin: auto;
    margin-top: 0;
    transform: translateX(30px);
  }
}
