
  @import './cardsAnime.css';
  @import './accordions.css';

  .content-main {
      background-image: url('./FOTO PORTADA VERDE.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-height: 20vh;

  }
  .section-body {
      backdrop-filter: blur(3px);
      margin: 0;
      min-height: 100vh;
      font-family: sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .container-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10vmin;
    overflow: hidden;
    transform: skew(5deg);
  }
  .container-cards .card {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 75vmin;
    position: relative;
  }
  .container-cards .card .card__head {
    color: white;
    background: rgba(30, 30, 30, 0.75);
    padding: 0.5em;
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
    transition: all 0.5s ease-in-out;
    min-width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1em;
    white-space: nowrap;
  }
  .container-cards .card:hover {
    flex-grow: 10;
  }
  .container-cards .card:hover img {
    filter: grayscale(0);
  }
  .container-cards .card:hover .card__head {
    text-align: center;
    top: calc(100% - 2em);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-size: 2em;
    transform: rotate(0deg) skew(-5deg);
  }
  .container-cards .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;
    filter: grayscale(100%);
  }
  .container-cards .card:not(:nth-child(5)) {
    margin-right: 1em;
  }

/* ------------------------------ */

  .mini-section {
    display: none;
    grid-template-columns: 25% 30% 15% 25%;
    gap: 15px;
    place-content: center;
    grid-template-rows: 50% 50%;
    height: 80vh;
    min-height: 460px;
    padding: max(2vh, 1.5rem);
  }
  @media screen and (max-width: 690px) {
    .mini-section {
      height: 65vh;
    }
  }
  @media screen and (max-width: 470px) {
    .mini-section {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(3, 35%);
    }
  }
  .mini-section .card {
    border-radius: 25px;
    box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.26);
  }
  @media screen and (max-width: 470px) {
    .mini-section .card {
      grid-column: span 1;
    }
  }
  .mini-section .card:nth-child(2) {
    grid-column: 2/3;
    grid-row: span 2;
  }
  @media screen and (max-width: 690px) {
    .mini-section .card:nth-child(2) {
      grid-column: span 1;
      grid-row: span 1;
    }
  }
  .mini-section .card:nth-child(3) {
    grid-column: span 2;
  }
  @media screen and (max-width: 690px) {
    .mini-section .card:nth-child(3) {
      grid-column: 2/4;
      grid-row: 1/2;
    }
  }
  @media screen and (max-width: 690px) {
    .mini-section .card:nth-child(6) {
      grid-column: 2/4;
      grid-row: 2/3;
    }
  }
  @media screen and (max-width: 470px) {
    .mini-section .card:nth-child(5) {
      grid-column: span 2;
    }
  }
  .mini-section .card p {
    font-size: clamp(0.9rem, 0.8750rem + 0.1250vw, 1rem);
    line-height: 1.4;
  }
  .mini-section .card img {
    border-radius: 25px;
    object-fit: cover !important;
    height: 100%;
  }
  .mini-section .card .card__img {
    position: relative;
    height: 100%;
  }
  .mini-section .card .card__img .card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    color: #fff;
    padding: clamp(0.938rem,5vw,1.563rem);
    background: #02022e;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.57) 0%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 100%;
    border-radius: 25px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
  }
  .mini-section .card .card__img span {
    position: absolute;
    top: 25px;
    left: min(2vmax, 1.563rem);
    color: #ff7b29;
    background: #fff;
    border-radius: 50px;
    padding: 2px 8px 2px 6px;
    display: flex;
    box-shadow: 0px 1px 20px #0000002b;
  }
  @media screen and (max-width: 690px) {
    .mini-section .card .card__img span {
      top: 20px;
    }
  }
  @media screen and (max-width: 470px) {
    .mini-section .card .card__img span {
      top: 15px;
    }
  }
  .mini-section .card .card__img span svg {
    fill: #ff7b29;
    width: 20px;
    margin-right: 2px;
  }
/* ------------------------------- */

  .section-second,
  .section-third,
  .section-fourth,
  .section-fifth,
  .section-sixth,
  .section-seventh{
    padding: 10vmin 2vmin;
  }



  .loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #282f2c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    overflow: hidden;
  }
  .loading .spinner {
      width: 80px;
      height: 80px;
      border: 5px solid #fff;
      border-radius: 50%;
      border-top-color: transparent;
      animation: spin 1s linear infinite;
  }
  .loading img {
    position: absolute;
      width: 50px;
      height: 50px;
  }
  @keyframes spin {
      to {
          transform: rotate(360deg);
      }
  }

  .services {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 1.5rem;
      margin: 10vmin;
  }
  .services-2 {
      display: grid;
       grid-template-columns: repeat(3, 1fr);
      grid-gap: 1.5rem;
      margin: 10vmin;

  }
  /* .tabs  a{
    color:#fff
  }
  .tabs li.is-active a{
    border-bottom-color: #fff;
    color:#fff
  } */

  .content-news {
    padding: 2rem 15rem;
  }
  .form-size{
    width: 60%;
  }
  @media (max-width: 768px) {
      .services, .services-2 {
          grid-template-columns: repeat(1, 1fr);
          margin: auto;
      }
      .card-container {
          padding: auto;
      }
      .card-container .card {
          margin: auto;
      }
      .content-news {
          padding: 2rem 2rem;
      }
      .form-size{
        width: 100%;
      }
      .container-cards {
        display: none;
      }
      .mini-section {
        display: grid;
      }
      /* ---------------- */
      /* .container-cards {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 10vmin;
        overflow: hidden;
        transform: skew(5deg);
      }
      .container-cards .card {
        flex: 1;
        transition: all 1s ease-in-out;
        height: 90vmin;
        position: relative;
      }
      .container-cards .card .card__head {
        color: white;
        background: rgba(30, 30, 30, 0.75);
        padding: 0.5em;
        transform: rotate(0deg);
        transform-origin: 0% 0%;
        transition: all 0.5s ease-in-out;
        min-width: 100%;
        text-align: center;
        position: absolute;
        bottom: 0;
        left: 0;
        font-size: 1em;
        white-space: nowrap;
      }
      .container-cards .card:hover .card__head {
        transform: rotate(0deg);
        font-size: 1em;
      } */
  }


  .is-no-link {
      text-decoration: none;
      color: #fff;
  }
    

    
/* ------------------ */
.is-figure {
  background-color: var(--section-diagonal);
  color: white;
  text-align: center;
  
}


.is-figure::after {
    content: '';
    margin-top: 10px;
    left: 0;
    width: 100%;
    height: 40%;
    position: absolute;
    background-color: var(--section-diagonal);
    -webkit-transform: skewY(-5deg);
  -moz-transform: skewY(-5deg);
  -ms-transform: skewY(-5deg);
  -o-transform: skewY(-5deg);
  transform: skewY(-5deg);
}

.is-figure.is-2 {
  background-color: var(--section-diagonal) !important;
  color: white;
}
.is-figure.is-2::after {
    content: '';
    margin-top: -12rem;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: -1;
    position: absolute;
    background-color: var(--section-diagonal);
    -webkit-transform: skewY(-5deg);
  -moz-transform: skewY(-5deg);
  -ms-transform: skewY(-5deg);
  -o-transform: skewY(-5deg);
  transform: skewY(-5deg);
}

.is-container {
  margin: 0 auto;
  max-width: 960px;
  padding: 0 1.25rem;
  width: 100%;
}
.tabs li:hover a {
  color: var(--section-diagonal);
}


/* ---------------------------- */


