.h100 {
    height: 100%;
}
.d-flex {
    display: flex;
}
.flex-1 {
    flex: 1;
}
.gap-8 {
    gap: 8px;
}
.gap-20 {
    gap: 10px;
}
.my-8 {
    margin-top: 8px;
    margin-bottom: 8px;
}
.xs-flex-col {
    flex-direction: column;
}
.justify-space-center {
    justify-content: center;
}
.align-item-center {
    align-items: center;
}
#catering{
    &.GridImg {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        .GridItem {
          width: 100%;
          height: 400px;
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            max-width: 100%;
          }
        }
      }
}
.inscriptionEvent {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    label {
        width: 100%;
    }
    input {
        display: block;
        width: 100%;
        height: calc(1.5em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: var(--neutral-dark);
        background-color: var(--white);
        background-clip: padding-box;
        border: none;
        border-radius: 0.25rem;
        transition:
            border-color 0.15s ease-in-out,
            box-shadow 0.15s ease-in-out;
    }
    textarea {
        display: block;
        width: 100%;
        height: calc(1.5em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: var(--neutral-dark);
        background-color: var(--white);
        background-clip: padding-box;
        border: none;
        border-radius: 0.25rem;
        transition:
            border-color 0.15s ease-in-out,
            box-shadow 0.15s ease-in-out;
    }
}

#kitchen,
#advice {
    .sectionTitle{
        ul{
            &.slideCardsBtns {
                position: unset;
            }
        }
    }

}
#instagram,
.sliderCards {
    margin-bottom: 0;
    .card {
        margin: 0 4px;
        position: relative;
        .onHover {
            position: absolute;
            top: 0;
            left: 0;
            pointer-events: none;
            opacity: 0;
            width: 100%;
            height: 100%;
            padding: 8px;
            display: flex;
            align-items: center;
            background-color: var(--primary);
            color: white;
        }
    }
    .thumbnail {
        width: 100%;
        height: 300px;
        img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            object-position: top;
        }
    }
    .card--text {
        height: 80px;
        overflow: hidden;
        width: 100%;
        /* white-space: nowrap; */
        /* text-overflow: ellipsis; */
        margin: 8px 4px;
        color: var(--secondary);
    }
    &.sliderCards {
        .card {
            .thumbnail {
                height: 198px;
                display: flex;
                align-items: center;
                overflow: hidden;
                img {
                    object-position: center;
                }
            }
            .card--text {
                text-align: center;
                display: flex;
                align-items: center;
                margin: 0;
                padding: 8px;
                p {
                    width: 100%;
                    margin: 0;
                    color: var(--primary);
                }
            }
            &:hover {
                .card--text {
                    background-color: var(--primary-extralight);
                }
            }
        }
    }
    &#animationSlider {
        .card {
            width: 280px;
            margin: 0 auto;
            background-color: var(--neutral-extra-light);
            border: none;
            padding: 4px;
            .thumbnail {
                height: 500px;
                overflow: hidden;
                border-radius: 4px;
                img {
                    object-fit: cover;
                    height: 100%;
                }
            }
            .card--text {
                display: flex;
                flex-direction: column;
                font-size: 16px;
                h3 {
                    font-size: 16px;
                    margin-bottom: 0;
                    line-height: 20px;
                }
            }
            &:hover {
                background-color: var(--primary-extralight);
            }
        }
    }
}

@media only screen and (min-width: 1024px) {
    .md-flex-row {
        flex-direction: row;
    }
    .md-flex-row-reverse {
        flex-direction: row-reverse;
    }
    .md-justify-space-bet {
        justify-content: space-between;
    }
    .GridImg {
        width: 100%;
        display: flex;
        flex-direction: row;
        position: relative;
        margin: 40px auto;
        &.duo {
          .GridItem {
            width: 50%;
            height: 50dvh;
            &.item-h70 {
              height: 70dvh;
            }
            &.item-h100 {
              height: calc(100dvh - 80px);
            }
            &.items-w30-70 {
              &.GridItem-1 {
                width: 30%;
              }
              &.GridItem-2 {
                width: 70%;
              }
            }
            &.items-w70-30 {
              &.GridItem-1 {
                width: 70%;
              }
              &.GridItem-2 {
                width: 30%;
              }
            }
            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
            }
          }
        }
        &.trio {
          .GridItem {
            width: 33.333%;
            height: 50dvh;
            &.item-h70 {
              height: 70dvh;
            }
            &.item-h100 {
              height: calc(100dvh - 80px);
            }
            &.items-w50-25-25 {
              &.GridItem-1 {
                width: 50%;
              }
              &.GridItem-2 {
                width: 25%;
              }
              &.GridItem-3 {
                width: 25%;
              }
            }
            &.items-w25-50-25 {
              &.GridItem-1 {
                width: 25%;
              }
              &.GridItem-2 {
                width: 50%;
              }
              &.GridItem-3 {
                width: 25%;
              }
            }
            &.items-w25-25-50 {
              &.GridItem-1 {
                width: 25%;
              }
              &.GridItem-2 {
                width: 25%;
              }
              &.GridItem-3 {
              
                width: 50%;
              }
            }
            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
            }
          }
        }
        &.quad {
          .GridItem {
            width: 25%;
            height: 50dvh;
            &.item-h70 {
              height: 70dvh;
            }
            &.item-h100 {
              height: calc(100dvh - 80px);
            }
    
            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
            }
          }
        }
        .text {
          position: absolute;
          background-color: white;
          text-align: center;
          padding: 20px;
          border-radius: 8px;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -56%);
          display: flex;
          flex-direction: column;
          justify-content: center;
          min-height: 200px;
          min-width: 300px;
          align-items: center;
          div{
            p{
              margin: 0;
            }
          }
      }
      }
    #catering{
        &.GridImg {
            width: 1200px;
            margin: 40px auto;
            &.fullWidth{
              width: 100%;
            }
          }
    }
    
    .inscriptionEvent {
        flex-direction: column;
    }

}
