/*
Theme Name: CAMPING Theme
Author: Michela Dal Zotto
Version: 1.0.0
Text Domain: camping-theme
*/

/* WordPress Core
-------------------------------------------------------------- */

:root {
  --green: #596d3e;
  --white: #f6f3ee;
  --black: #1b1c1a;
  --accent: #da8359;
  --green-rgb: 89, 109, 62;
  --green-rgba: rgba(89, 109, 62, 0.5);
  --white-rgb: 246 243 238;
  --black-rgb: 27 28 26;
  --accent-rgb: 218 131 89;
}

/* roboto-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: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("./font/roboto-v47-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-900 - 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: "Roboto";
  font-style: normal;
  font-weight: 800;
  src: url("./font/roboto-v47-latin-800.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lora-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: "Lora";
  font-style: normal;
  font-weight: 400;
  src: url("./font/lora-v35-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lora-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: "Lora";
  font-style: normal;
  font-weight: 700;
  src: url("./font/lora-v35-latin-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: "Adventuro";
  font-style: normal;
  font-weight: 800;
  src: url("./font/Adventuro.woff2") format("woff2");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.clearer {
  clear: both;
}

bold,
strong {
  color: var(--green);
}

img {
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 4px;
}

*:focus {
  outline: none;
}

body {
  background-color: var(--white);
  overflow-x: hidden;
}

.admin-bar header {
  top: 32px;
}

body,
input,
select,
textarea {
  font-family: "Roboto", sans-serif;
  src: url("./font/roboto-v47-latin-800.woff2") format("woff2");
}

.clearfix::before,
.clearfix::after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearfix::after {
  clear: both;
}

.content {
  margin: 0 auto;
  width: 1160px;
}

.col-1 {
  width: 8.33333%;
}

.col-2 {
  width: 16.66666%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33333%;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.66666%;
}

.col-10 {
  width: 83.33333%;
}

.separator {
  padding: 8px 0;
}

.divider {
  padding: 24px 0;
}

.spacer {
  padding: 80px 0;
}

.responsive {
  height: auto;
  width: 100%;
}

.responsive-hero {
  width: 120%;
}

mark a {
  cursor: pointer;

  &:hover {
    color: var(--green);
  }
}

.center {
  text-align: center;
}

/* global font */
h1 {
  word-wrap: break-word;
  font-size: 127px;
  color: var(--white);
  text-shadow: 0px 0px 4px var(--black);
  font-family: "Adventuro", serif;
  src: url("./font/Adventuro.woff2") format("woff2");
}

h2,
h3,
h4,
h5,
h6 {
  word-wrap: break-word;
  /* word-spacing: 4px; */
  /* letter-spacing: 1px; */
  font-family: "Lora", serif;
  src: url("./font/lora-v35-latin-700.woff2") format("woff2");
}

h2 {
  font-family: "Lora", serif;
  src: url("./font/lora-v35-latin-700.woff2") format("woff2");
  font-size: 40px;
  color: var(--black);
}

h3,
h4 {
  font-family: "Lora", serif;
  src: url("./font/lora-v35-latin-700.woff2") format("woff2");
  font-size: 20px;
  color: var(--black);
}

bold {
  font-weight: 800;
}

/* Global CSS */
.flex {
  display: flex;
}

a {
  text-decoration: none;
  color: var(--black);
}

.title {
  font-size: 150px;
}

.size-l {
  font-size: 150px;
  white-space: nowrap;
}

.container-flex,
.flex-form {
  flex-direction: column;
}

.center {
  display: flex;
  justify-content: center;
}

.underline-bottom {
  position: relative;

  &::after {
    content: "";
    position: absolute;
    height: 3px;
    left: 0;
    bottom: -3px;
    width: 0;
    background-color: var(--white);
    transition: width 0.3s;
  }

  &:hover::after {
    width: 100%;
  }

  a {
    color: var(--white);
    text-shadow: 0px 0px 4px var(--black);
    font-weight: 600;
  }
}

.button {
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--green);
  border-radius: 4px;
  color: var(--white);

  &:hover {
    opacity: 0.8;
    transition: linear 0.08s;
  }
}

.breadcrumbs {
  font-size: 16px;
  color: #ffffff;
  margin: 0;
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.breadcrumbs a:hover {
  color: #f4623a;
}

.breadcrumbs span {
  margin: 0 10px;
}

/* header */

header {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  flex-direction: row;
  background-color: var(--green);

  .content {
    align-items: center;
    justify-content: space-around;
    height: 100%;

    .menu {
      height: 100%;

      display: flex;
      align-items: center;
    }

    #menu-menu {
      height: 100%;

      & li:hover {
        height: 100%;
        /* background-color: rgba(218, 131, 89); */
        display: flex;
        align-items: center;

        > a {
          color: var(--accent);
        }
        /* font-weight: 700; */
      }
      > li > a {
        height: 100%;
        width: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
      }

      > li > a::after {
        content: "";
        position: absolute;
        height: 3px;
        left: 0;
        bottom: 15px;
        width: 0;
        background-color: var(--accent);
        transition: width 0.3s;
      }

      > li > a:hover::after {
        width: 100%;
      }
    }

    ul {
      display: flex;
      list-style-type: none;
      justify-content: space-between;
      /* gap: 24px; */
      cursor: pointer;
      gap: 4px;

      li {
        text-decoration: none;
        /* padding: 8px; */
        position: relative;
        font-family: "Lora", sans-serif;
        src: url("./font/lora-v35-latin-700.woff2") format("woff2");
        color: var(--white);

        height: 100%;
        display: flex;

        a {
          color: var(--white);
          text-shadow: 0px 0px 4px var(--black);

          &:hover {
            text-shadow: none;
          }
        }

        .sub-menu {
          a {
            color: var(--black);
            text-shadow: none;
          }
        }
        /* &:hover {
          background-color: var(--white);
          color: var(--white);
          font-weight: 700;
        } */
      }

      .current-menu-item > a {
        color: var(--accent);
        text-shadow: none;
        font-weight: 700;

        &::after {
          width: 100% !important;
        }
      }

      .menu-item-has-children {
        gap: 8px;
      }
    }
    .menu-desktop {
      .menu-item-has-children .sub-menu {
        flex-direction: column !important;
        width: 150px;
        gap: 8px;
        position: absolute;
        top: 42px;
        left: 0;
        display: flex;
        align-items: start;
        /* background: var(--light); */
        background-color: rgb(232, 205, 181);
        border-top: 3px solid var(--accent);
        visibility: hidden;
        opacity: 100;
        padding: 8px 16px;
        z-index: 1000;
      }
      .menu-item-has-children:hover .sub-menu {
        transition: 0.5s;
        visibility: visible;
        opacity: 1;
      }
    }
    /* .menu-mobile {
      position: absolute;
      right: 0;
      top: 0;
      width: 45vw;
      height: 100vh;
      background-color: var(--accent);
      z-index: 400;
    } */
  }
}

.hero {
  height: 600px;
  width: 100%;
  background: url("img/camping-amabile-entrata.jpg") no-repeat fixed;
  background-size: cover;
  /* background-attachment: fixed; */
  background-position: center;

  .hero-logo {
    display: flex;
    align-items: center;

    h1 {
      font-family: "Adventuro" !important;
      font-weight: 400;
      color: #ecdfcc;
      line-height: 98px;

      .front-page-title-second {
        margin-left: 9px;
      }
    }
  }

  figure {
    width: 400px;
  }
}

.backdrop {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-page {
  height: 600px;
  width: 100%;
  position: relative;
  background-size: cover;
  /* background-attachment: fixed; */
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;

  .hero-page-content {
    z-index: 10;
    position: relative;
  }

  .backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
}

.description {
  .content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    gap: 80px;
  }
}

/* gallery */
.gallery {
  background-color: var(--primary);
  width: 100%;
  position: relative;
  z-index: 10;
}

.gallery .container-flex {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.cards-flex {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  border-radius: 4px;
}

/* ul.slides {
  margin-left: 30%;
}

.flexslider .slides img {
  width: 100%;
} */

.dove {
  .content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    gap: 80px;
  }
}

.card-group {
  background-color: var(--accent);
  padding: 100px 0;
  position: relative;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 24px;

  color: var(--white);

  &.card-group-blog {
    color: var(--black);
    padding: 100px;
    background-color: var(--white);

    .card-visual {
      width: 30%;
    }
    .card-visual:first-child:nth-last-child(1) {
      width: 50%;
    }

    .card-visual:first-child:nth-last-child(2),
    .card-visual:first-child:nth-last-child(2) ~ .card-visual {
      width: 45%;
    }

    .visual-title,
    .visual-text,
    .visual-small-text {
      text-shadow: none !important;
      color: var(--black);
      a {
        margin-left: 4px;
        color: var(--black);
      }
    }

    .visual-date {
      padding: 16px 24px 0px 24px;
      margin-bottom: 0;
    }
    .visual-container {
      padding-top: 0;
      flex: auto;
    }

    .card-container {
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .card-image-container {
      height: 100%;
      position: relative;
      background-color: var(--accent);

      display: flex;
      flex-direction: column;
    }

    .visual-image-wrapper {
      height: 45%;
      overflow: hidden;
      max-height: 240px;
      min-height: 240px;
      position: relative;

      .img {
        position: absolute;
        height: 100%;

        object-fit: cover;
      }
    }

    @media only screen and (max-width: 768px) {
      &.card-group-blog {
        padding: 100px 0;
      }
    }
  }

  .offset-bg {
    height: 400px;
    width: 100%;
    background-color: var(--accent);
    position: absolute;
    z-index: 0;
    top: 30px;
  }

  .card-image-container {
    background-color: var(--green);
    display: flex;
    flex-direction: column;
    height: 100%;
    a {
      color: var(--white);
    }
  }

  .visual-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    flex: auto;
  }

  .visual-title {
    color: var(--white);
    text-shadow: 0px 0px 4px var(--black);
  }

  .visual-text {
    margin-bottom: 8px;
    text-shadow: 0px 0px 4px var(--black);
  }

  .visual-small-text {
    font-size: 12px;
    text-shadow: 0px 0px 4px var(--black);
  }

  h2 {
    position: relative;
    z-index: 10;
  }

  .box {
    .holder {
      margin: 0 24px;
      flex-direction: row;
      justify-content: space-around;

      .col-4 {
        position: relative;
        z-index: 10;
        background: url(img/card.png) no-repeat center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 156px 51px 65px;

        h3 {
          padding-bottom: 48px;
        }

        .button {
          margin: 0 88px;
        }
      }
    }
  }
}

.servizi-hero-page {
  height: 600px;
  width: 100%;
  position: relative;
  background-size: cover;
  background-attachment: fixed !important;
  background-position: top;
  overflow: hidden;
  display: flex;
  align-items: center;

  background: url(img/scopri-i-servizi-del-campeggio.jpg);

  color: var(--white);

  h2 {
    color: var(--white);
  }

  .content {
    display: flex;
    justify-content: center;
  }

  @media only screen and (max-width: 768px) {
    .servizi-hero-page {
      padding: 80px 0 !important;

      /* h2 {
        font-size: 30px;
      }

      p,
      a {
        font-size: 12px;
      } */
    }
  }
}

.attivita {
  height: 480px;
  display: flex;
  justify-content: end;

  .cartello {
    border-radius: 4px 0px 0px 0px;
    width: 40%;
    background-color: rgba(var(--green-rgb), 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;

    #trigger-sentieri,
    #trigger-attivita,
    #trigger-asini,
    #trigger-altro {
      height: 80px;
      width: 100%;
      cursor: pointer;
      display: flex;
      padding-left: 40px;
      align-items: center;

      h3 {
        color: var(--white);
        text-shadow: 0px 0px 4px var(--black);
      }

      &.active {
        background-color: var(--white);

        h3 {
          color: var(--black);
          text-shadow: none;
        }
      }
    }
  }

  .text {
    position: relative;
    width: 50%;

    .activity-button-container {
      display: flex;
      justify-content: end;
    }

    #sentieri,
    #att-aperto,
    #asini,
    #altro {
      display: flex;
      flex-direction: column;
      padding: 0 80px;

      height: 100%;
      width: 100%;

      background-color: var(--white);

      justify-content: space-evenly;
      opacity: 1;

      position: absolute;
      top: 0;
      left: 0;

      transition: all 0.5s;

      .container {
        h4 {
          margin-bottom: 24px;
        }

        p {
          margin-bottom: 24px;
        }
      }
    }
  }

  @media only screen and (max-width: 1200px) {
    .cartello {
      width: 40%;
    }

    .text {
      width: 60%;
    }
  }

  @media only screen and (max-width: 768px) {
    .cartello {
      width: 0;
      display: none;
    }

    .text {
      width: 100%;
      flex-direction: column;
      gap: 10rem;

      .activity-button-container {
        margin-top: 2rem;
        justify-content: center;
      }

      #sentieri,
      #att-aperto,
      #asini,
      #altro {
        position: relative;
        padding: 0 20px;

        .container {
          h4 {
            text-align: center;
          }
        }
      }
    }
  }
}

.hide-activity {
  opacity: 0 !important;
  left: -100% !important;
}

@media only screen and (max-width: 768px) {
  .attivita {
    height: 100%;
    margin-bottom: 12rem;
  }

  .hide-activity {
    opacity: 1 !important;
    left: 0 !important;
  }
}

footer {
  padding: 10px 0;
  background-color: var(--green);

  .content {
    gap: 32px;
  }

  .link-footer-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    padding: 32px 0;

    .footer-column {
      display: flex;
      flex-direction: column;
      width: 100%;

      h4 {
        padding-bottom: 24px;
        color: var(--white);
      }

      a {
        /* font-family: "Lora", serif;
      src: url("./font/lora-v35-latin-regular.woff2") format("woff2"); */
        position: relative;
        color: var(--white);
        padding: 16px 0;
      }

      &.footer-spacing {
        justify-content: space-between;
      }
    }
  }

  .dati {
    padding: 6px 0;

    .content {
      justify-content: space-between;
      font-size: 12px;
      color: var(--white);

      a {
        font-weight: 400 !important;
      }
    }
  }

  .line-divider {
    margin-top: 12px;
    margin-bottom: 12px;
    height: 2px;
    background-color: var(--white);
  }
}

/* responsive settings */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .content {
    margin: 0 4%;
    width: 92%;
  }

  h1 {
    font-size: 110px;
  }

  .description .content,
  .dove .content {
    flex-direction: row;
  }

  footer {
    .content {
      justify-content: space-around;
      align-items: center;
    }
    .col-3 {
      padding: 20px 0;
    }
  }
}

@media only screen and (max-width: 1024px) {
  .content {
    margin: 0 4%;
    width: 92%;

    justify-content: space-between !important;
  }

  h1 {
    font-size: 88px;
  }

  h2 {
    font-size: 36px;
  }

  footer {
    .content {
      justify-content: space-around;
    }
    .col-3 {
      flex-direction: row;
      padding: 0 0;
    }
  }
}

@media only screen and (max-width: 768px) {
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-10 {
    width: 100%;
  }

  h1 {
    font-size: 52px;
  }

  .small-title {
    h1 {
      font-size: 40px;
    }
  }

  h2 {
    font-size: 24px;
  }

  .description {
    .content {
      flex-direction: column;
    }
  }

  .dove .content {
    flex-direction: column-reverse;
  }

  footer {
    .col-3 {
      width: 100%;
    }

    .link-footer-container {
      flex-direction: column;
    }

    .ul-none {
      display: none;
    }
  }

  .dati .content {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .hero-page {
    height: 200px;
  }

  .icon-piazzole {
    display: flex;
    flex-direction: column;

    figure {
      width: 50%;
    }
  }

  .wp-block-table.is-style-stripes tbody {
    thead th {
      font-size: 32px;
    }
  }
}

@media only screen and (max-width: 600px) {
  .backdrop h1 {
    text-align: center;
  }

  .breadcrumb-m {
    display: none;
  }
}

@media only screen and (max-width: 320px) {
  footer {
    .content {
      align-items: center;
      flex-direction: column;
    }
    .col-3 img {
      width: 90%;
    }
  }
}

.wrap {
  width: 100%;
  height: 100px;
  border: 2px solid black;
  position: relative;
  overflow: hidden;

  .block {
    position: absolute;
    height: 100px;
    left: 100%;
    background-color: #565902;
  }

  .block1 {
    animation: translate 10s linear infinite;
  }

  .block2 {
    animation: translate 10s 2s linear infinite;
  }

  .block3 {
    animation: translate 10s 6s linear infinite;
  }

  .block4 {
    animation: translate 10s 9s linear infinite;
  }
}

@keyframes translate {
  from {
    left: 100%;
  }

  to {
    left: -100%;
  }
}

.flex-prev,
.flex-next {
  display: flex !important;
  background: none;
  border: none;
  font-size: 0;
  /* hide default text */
  width: 60px !important;
  height: 100%;
  background: var(--white);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  margin: 0 !important;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.flexslider:hover .flex-direction-nav {
  .flex-next {
    text-align: center;
    height: 100% !important;
    right: 0 !important;
    opacity: 0.5 !important;
  }

  .flex-prev {
    text-align: center;
    height: 100% !important;
    left: 0 !important;
    opacity: 0.5 !important;
  }
}

.flex-prev i,
.flex-next i {
  font-size: 24px;
  color: white;
}

.flex-prev:hover,
.flex-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 0.7 !important;
}

.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 0.7 !important;
}

/* Responsive fix for smaller screens */
@media (max-width: 768px) {
  .flex-direction-nav .flex-prev,
  .flex-direction-nav .flex-next {
    display: none;
    /* Hide the buttons on smaller screens */
  }
}

.z-1 {
  z-index: 1;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  width: 100%;
  padding: 0 30px;

  .card-visual {
    overflow: hidden;
    border-radius: 4px;
    flex: 0 0 auto;
    width: 25%;
  }
}

@media only screen and (max-width: 1200px) {
  .card-container {
    .card-visual {
      width: 30%;
    }
  }
}

@media only screen and (max-width: 1024px) {
  .card-container {
    gap: 16px;
    padding: 0;

    .card-visual {
      width: 30%;
    }
  }
  .card-group-blog {
    .card-visual {
      width: 46% !important;
    }
  }
}

@media only screen and (max-width: 768px) {
  .card-container {
    gap: 32px;
    flex-direction: column;
    align-items: center;

    .card-visual {
      width: 90% !important;
    }
  }

  thead th {
    font-size: 24px;
  }
}

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

.piazzola-image {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74%;
}

.more {
  display: flex;
  gap: 4px;
  height: 20px;
  align-items: center;

  i {
    font-size: 14px;
    margin-top: 1px;
  }
}

.more-container-white {
  display: flex;
  justify-content: end;

  .more-button-container {
    position: relative;

    &::after {
      content: "";
      position: absolute;
      height: 3px;
      left: 0;
      bottom: -3px;
      width: 0;
      background-color: var(--white);
      transition: width 0.3s;
    }

    &:hover::after {
      width: 100%;
    }

    a {
      color: var(--white);
      text-shadow: 0px 0px 4px var(--black);
      font-weight: 600;

      display: flex;
      gap: 4px;
      height: 20px;
      align-items: center;

      i {
        font-size: 14px;
        margin-top: 1px;
      }
    }
  }
}

.more-container {
  display: flex;
  justify-content: end;

  .more-button-container {
    position: relative;

    &.wp-block-file {
      font-size: 16px;
    }

    &::after {
      content: "";
      position: absolute;
      height: 3px;
      left: 0;
      bottom: -3px;
      width: 0;
      background-color: var(--black);
      transition: width 0.3s;
    }

    &:hover::after {
      width: 100%;
    }

    a {
      color: var(--black);
      font-weight: 600;

      cursor: pointer;

      display: flex;
      gap: 4px;
      height: 20px;
      align-items: center;

      &.wp-block-button__link {
        background-color: transparent;
        border-radius: 0;
        padding: 0;
      }

      i {
        font-size: 14px;
        margin-top: 1px;
      }
    }
  }
}
@media only screen and (max-width: 768px) {
  .more-container,
  .more-container-white {
    margin-top: 16px;
  }
}

.justify-content-end {
  justify-content: end;
}

.mb-5 {
  margin-bottom: 2.5rem;
}

.hero-image {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.meta {
  font-size: 16px;
  font-weight: 300;
}

.article-m {
  font-size: 80px;
}

/*side bar*/
.m-single {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.m-single h2,
.m-single a {
  color: var(--light);
}

aside {
  padding-left: 40px;
}

.widget {
  padding: 30px;
  background-color: var(--green-rgba);
  margin-bottom: 30px;
}

.widget ul {
  list-style-type: none;
  margin-left: 0;
}

.widget li {
  margin-bottom: 10px;
}

.widget a {
  color: #131313;
}

.widget a:hover {
  color: #005694;
}

.content-footer {
  font-size: 14px;
  display: flex;
  margin: 30px 0 100px 0;
}

.m-category a {
  margin-left: 5px;
}

.m-category a:first-child {
  margin-left: 0;
}

.m-tag {
  justify-content: flex-end;
}

.side-bar .widget:first-child {
  margin-top: 0;
}

.data.flex {
  justify-content: flex-end;
  padding: 10px 0;
}

.col-4 .data a,
.col-4 .data i,
.col-4 a {
  color: var(--dark);
}

/*section preview*/

.section-blog h1 {
  color: var(--light);
}

.data.flex {
  justify-content: flex-end;
  padding: 10px 0;
}

.col-4 .data a,
.col-4 .data i,
.col-4 a {
  color: var(--dark);
}

.right {
  margin-right: 8px;
}

.blog .col-4 a:hover {
  color: var(--light);
}

.col-4 .text {
  align-content: space-around;
}

.col-4 .text h3,
.col-4 .text p {
  padding-bottom: 20px;
}

/* section preview*/

.section-blog h1 {
  color: var(--light);
}

.data.flex {
  justify-content: flex-end;
  padding: 10px 0;
}

.col-4 .data a,
.col-4 .data i,
.col-4 a {
  color: var(--dark);
}

.blog .col-4 a:hover {
  color: var(--light);
}

.col-4 .text {
  align-content: space-around;
}

.col-4 .text h3,
.col-4 .text p {
  padding-bottom: 20px;
}

/* page 404 */

/* .error {
} */

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

.error h1 {
  align-items: center;
  justify-content: center;
  flex-direction: row;
  color: var(--black);
}

.error .col-6 {
  justify-content: center;
  flex-direction: column;
}

/* enf page 404 */

.rounded {
  border-radius: 4px;
}

.colored-box {
  display: flex;
  align-items: center;
  background-color: rgba(89, 109, 62, 0.5);
  color: var(--white);
  padding: 24px;

  &a {
    color: var(--white);
    cursor: pointer;
  }
}

.servizi-box {
  &:hover {
    display: flex;
    align-items: center;
    background-color: rgba(var(--green-rgb), 0.9);
    transition: 0.3s;
  }
}

.padding-servizi {
  padding: 0 24px;
}

.p-40 {
  padding: 0 40px;
}

.spaziatura {
  padding: 16px 0;
}

.my-32 {
  margin: 32px 0;
}

.cta {
  width: 100vw;
}

.burger {
  flex-direction: column;
  cursor: pointer;
  display: none;
  gap: 4px;
  width: 24px;

  &.open {
    gap: 1px;
  }

  span {
    display: block;
    height: 2px;
    width: 24px;
    background-color: var(--black);
  }
}

.burger span:nth-child(1) {
  transform-origin: left center;
  transition: all 0.1s linear;
}

.burger span:nth-child(2) {
  transform-origin: left center;
}

.burger span:nth-child(3) {
  transform-origin: left center;
  transition: all 0.1s linear;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg);
  margin: 0 0 5px 0;
  background-color: var(--accent);
}

.burger.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
  background-color: var(--accent);
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg);
  margin: 6px 0 0 0;
  background-color: var(--accent);
}
/* burger end */

.menu-desktop {
  height: 100%;
  display: flex;
  align-items: center;
}

.menu-mobile {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .burger {
    display: flex;
  }

  .menu-mobile.open {
    display: flex;
    .menu {
      right: 0px;
      transition: right 1s ease-in;
    }
  }

  .menu-mobile {
    display: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    height: calc(100% - 60px);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 9900;
    background-color: rgba(0, 0, 0, 0.5);
    /* visibility: collapse; */
    overflow-y: scroll;

    .menu {
      transition: right 1s ease-in;
      right: -400px;
      position: relative;
      height: auto !important;
      flex-direction: column;
      flex-wrap: wrap;
      align-items: flex-start !important;
      gap: 36px;

      justify-content: flex-start;
      padding: 32px 56px;
      background-color: var(--green);

      .menu-item {
        display: flex;
        font-size: 24px;
        padding: 0;
        flex-direction: column;

        height: auto;

        &.menu-item-has-children .sub-menu {
          visibility: visible;
          margin-left: 32px;
          flex-direction: column;
          gap: 12px;
          .menu-item {
            font-size: 20px;
          }
        }
      }

      /* .menu-item-has-children::before {
        content: "\f054"; 
        font-family: FontAwesome;
        font-size: 24px;
      }
      .current-menu-item::before {
        content: "\f078"; 
        color: var(--accent);
      } */
    }
  }

  .menu-desktop {
    display: none;
  }
}

.no-scroll {
  overflow: hidden;
}

.logo {
  height: 60px;

  img {
    width: auto;
    height: 100%;
  }
}

.mb-32 {
  margin-bottom: 32px;
}

.px-32 {
  padding: 0 32px;
}

.main {
  display: flex;
  justify-content: center;
}

.bg-wide {
  width: 100%;
  background-color: var(--green);
}

.gap-question {
  gap: 24px;
}

thead {
  font-family: "Lora", serif;
  src: url("./font/lora-v35-latin-700.woff2") format("woff2");
  font-size: 30px;
  color: var(--black);
}

.wp-block-table.is-style-stripes tbody {
  tr td {
    padding: 16px 20px;
  }

  tr:nth-child(odd) {
    background-color: rgba(var(--green-rgb), 0.5);
  }
}

.footer-link {
  justify-content: flex-start;
  gap: 12px;
}

.margin-top-web-page {
  margin-top: 40px;
}

.row-botton {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .hero {
    .hero-logo {
      h1 {
        line-height: 88px;

        .front-page-title-second {
          margin-left: 33px;
          font-size: 100px;
        }
      }
    }

    figure {
      width: 360px;
    }
  }
}

@media only screen and (max-width: 1024px) {
  .hero {
    .hero-logo {
      h1 {
        line-height: 72px;

        .front-page-title-second {
          margin-left: 15px;
          font-size: 85px;
        }
      }
    }

    figure {
      width: 290px;
    }
  }
}

@media only screen and (max-width: 768px) {
  .hero {
    .hero-logo {
      flex-direction: column;

      h1 {
        display: flex;
        font-size: 68px;

        .front-page-title-second {
          font-size: 68px;
          margin-left: 10px;
        }
      }
    }

    figure {
      width: 280px;
    }
  }

  & .text {
    #sentieri,
    #att-aperto,
    #asini,
    #altro {
      padding: 0px 20px;
    }
  }

  .row-botton {
    flex-direction: column;
  }

  footer {
    .col-3 {
      display: none;
    }

    & .link-footer-container {
      & .footer-column {
        align-items: center;

        h4 {
          padding-bottom: 0;
          color: var(--white);
          font-size: 16px;

          .footer-link {
            margin-top: 0;
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 500px) {
  .hero {
    .hero-logo {
      flex-direction: column;

      h1 {
        display: flex;
        font-size: 52px;

        .front-page-title-second {
          font-size: 52px;
          margin-left: 10px;
        }
      }
    }

    figure {
      width: 280px;
    }
  }
}

@media only screen and (max-width: 380px) {
  .hero {
    .hero-logo {
      flex-direction: column;

      h1 {
        display: flex;
        flex-direction: column;
        font-size: 72px;
        line-height: 60px;

        .front-page-title-second {
          font-size: 72px;
          margin-left: 0;
        }
      }
    }

    figure {
      width: 280px;
    }
  }
}
