.containerGallery,
.containPosts {
    gap: 1.2rem;
    margin-block-start: 8px;
    max-width: min(90vw, var(--max-width));
    margin: 0 auto;
}

.containerGallery {
    display: grid;
    grid: auto / repeat(30, 1fr);
    gap: 1.2rem;
    margin-block-start: 8px;
    max-width: min(90vw, var(--max-width));
    margin: 0 auto;
}

.containerGallery h2,
.containerGallery .rate,
.containerGallery .name,
.containPosts h2,
.containPosts .rate,
.containPosts .name {
    color: #fff;
}

.containerGallery .col,
.containPosts .col {
    overflow: hidden;
    position: relative;
    padding: 0 1rem;
    font-size: 30px;
    text-align: center;
    width: 100%;
    height: 0;
    padding-block-start: 100%;
}

.containerGallery .col {
    grid-column: span 6;
}

.containerGallery .slide,
.containPosts .slide {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2em;
    /* 
    Visibility delay gives the previously hovered element time to slide out before disappearing.
    Remove the `visibility` transition to slide in current element without sliding out previous element
  */
    transition: all 0.275s ease-in-out, visibility 0s 0.275s;
    visibility: hidden;
    will-change: transform;
    transform: translateY(100%);
}
.containerGallery .slidePosts,
.containPosts .slidePosts {
    bottom: 1em
}


.containerGallery .col .slide,
.containerGallery .colH .slide,
.containPosts .col .slide,
.containPosts .colH .slide {
    transform: translateY(-100%);
    transform: none;
    visibility: visible;
    transition-delay: 0s;
    transition: transform 1s;
}

.containerGallery *,
.containPosts * {
    box-sizing: border-box;
}

.containerGallery h1,
.containPosts h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 1.5em 0.5rem 1em;
    text-align: center;
}

.containerGallery .col,
.containerGallery .colH,
.containPosts .col,
.containPosts .colH {
    color: #fff;
    flex: 1 1 auto;
    min-height: 260px;
    position: relative;
}

.containerGallery .colH,
.containPosts .colH {
    min-height: 320px;
}

.containerGallery .col h2,
.containerGallery .colH h2,
.containPosts .col h2,
.containPosts .colH h2 {
    font-weight: 300;
    line-height: 1.25;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: left;
    padding-inline-start: 1em;
    padding-block-start: 0.5em;
    font-size: 1rem;
    padding-block-end: 0.5em;
    background-color: rgb(49 72 101 / 50%);
}

.containerGallery .photo-container,
.containPosts .photo-container {
    /* background: #0f0523 50% 50%/cover;*/
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: 1s;
    transform-origin: bottom right;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
}

.containerGallery .photo-container::before,
.containPosts .photo-container::before {
    /* background: linear-gradient(transparent, rgba(67, 17, 51, 0.5), #000320);*/
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.containerGallery .slide,
.containPosts .slide {
    padding: 0 1.5rem;
    z-index: 2;
}
.containerGallery .slideTitle,
.containPosts .slideTitle {
    font-weight: 300;
    line-height: 0.75;
    margin: 0;
    z-index: 3;
    text-align: left;
    padding-inline: 0.5em;
    padding-block: 0.5em;
    font-size: 1rem;
    background-color: rgb(49 72 101 / 50%);
    color: #fff;
}
.descPost {
    top: 1.25em;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.2em;
    overflow: hidden;
}

.inline-block {
    display: inline-block;
}

.answers {
    background-color: #E5E5E5;
}

.answers .rate {
    font-size: 1.3em;
}

.answers .boxSlide {
    font-size: 1em;
    text-align: center;
}

.answers .boxSlide .name {
    display: initial;
    top: auto
}

.ans {
    grid-gap: 0.5em;
    padding: 1em;
}

.ans.grid {
    grid-auto-flow: row;
}

.allCentered {
    overflow: hidden;
    position: relative;
    padding: 0 1.7rem;
    font-size: 30px;
    text-align: center;
    width: 100%;
    height: 0;
    padding-block-start: 100%;
}
.punctInteres {

    background-color: rgb(49 72 101 / 50%);
    color: #fff
    }
.allCentered>* {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: 1s;
    transform-origin: bottom right;
    z-index: 1;
}

.allCentered:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.allCentered .rate {
    font-size: 2.1em;
    font-weight: 500;
    line-height: 1.1em;
}
.allCentered .title {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.1em;
}
.containPosts {
    margin-top: 1em;
}

.pickImagePos>div {
    position: absolute;
    cursor: pointer;
    font-family: "Font Awesome";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900
}

.pickImagePos .TL,
.pickImagePos .ML,
.pickImagePos .BL {
    left: 1%;
}

.pickImagePos .TL {
    top: 5%;
    transform: rotate(45deg);
}

.pickImagePos .TL:before {
    content: "\f053";
}

.pickImagePos .BL {
    bottom: 1%;
    transform: rotate(-45deg);
}

.pickImagePos .BL:before {
    content: "\f053";
}

.pickImagePos .ML {
    top: 50%;
}

.pickImagePos .ML:before {
    content: "\f053";
}

.pickImagePos .TM,
.pickImagePos .CC,
.pickImagePos .BM {
    left: 50%
}

.pickImagePos .TM {
    top: 5%;
}

.pickImagePos .TM:before {
    content: "\f077";
}

.pickImagePos .CC {
    top: 50%;
}

.pickImagePos .CC:before {
    content: "\f31e";
}

.pickImagePos .BM {
    bottom: 1%;
}

.pickImagePos .BM:before {
    content: "\f078";
}

.pickImagePos .TR,
.pickImagePos .MR,
.pickImagePos .BR {
    right: 1%
}

.pickImagePos .TR {
    top: 5%;
    transform: rotate(-45deg);
}

.pickImagePos .TR:before {
    content: "\f054";
}

.pickImagePos .MR {
    top: 50%;
}

.pickImagePos .MR:before {
    content: "\f054";
}

.pickImagePos .BR {
    bottom: 1%;
    transform: rotate(45deg);
}

.pickImagePos .BR:before {
    content: "\f054";
}

.pickImagePos>div:hover {
    color: red
}

@media (min-width: 35.5em) {
    .gallery {
        display: flex;
        flex-wrap: wrap;
    }

    .gallery>* {
        height: 100px;
        flex-grow: 1;
        margin: 5px;
        border: --border-color;
    }
}

.boxSlide {
    display: inline-block;
    border-radius: 0.25rem;
    margin: 0.2rem;
    font-size: 0.7em;
    font-weight: 200;
}

.contentBox {
    min-width: 2em;
    padding: 0.2em;
}

.boxSlide .contentBox * {
    display: block;
}

.boxSlide .contentBox .rate {
    font-size: 2.3em;
    font-weight: 300;
    line-height: 0.8em;
}

.boxSlide .name {
    display: none;
    font-size: 0.8em;
    text-transform: lowercase;
    color: #fff;
}

.boxes {
    position: absolute;
    bottom: 0.2rem;
    left: 0.2rem;
    display: flex;
    flex-grow: 0;
    overflow: hidden;
}

@media only screen and (max-width: 850px) {
    .containerGallery {
        grid: auto / repeat(2, 1fr);
    }

    .grid.containerGallery {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .containerGallery .col {
        grid-column: span 1;
    }

    .grid.containerGallery .col:first-child {
        margin-bottom: 0.5em;
    }

    .containerGallery .col:nth-child(3n+1) {
        grid-column: span 2;
    }

    .containerGallery .col:nth-child(3n+1) .boxSlide .name {
        display: block;
    }
}

@media only screen and (min-width: 850px) {
    .containerGallery {
        grid: auto / repeat(30, 1fr);
    }

    .containerGallery .col h2 {
        display: none;
    }

    .containerGallery .col {
        grid-column: span 6;
        min-height: 250px;
    }

    .containerGallery .col .boxes .boxSlide:nth-child(n+4) {
        display: none;
    }

    .containerGallery .col:nth-child(8n+2),
    .containerGallery .col:nth-child(8n+1),
    .containerGallery .col:nth-child(8n) {
        min-height: 260px;
        grid-column: span 10;
    }

    .containerGallery .col:nth-child(1),
    .containerGallery .col:nth-child(2) {
        min-height: 320px;
        grid-column: span 15;
    }

    .containerGallery .col:nth-child(1) .boxes .boxSlide,
    .containerGallery .col:nth-child(2) .boxes .boxSlide {
        display: inline-block;
    }

    .containerGallery .col:nth-child(8n+2) .boxes .boxSlide,
    .containerGallery .col:nth-child(8n+1) .boxes .boxSlide,
    .containerGallery .col:nth-child(8n) .boxes .boxSlide {
        display: inline-block;
    }

    .containerGallery .col:nth-child(8n+2) .boxes .boxSlide:nth-child(n+5),
    .containerGallery .col:nth-child(8n+1) .boxes .boxSlide:nth-child(n+5),
    .containerGallery .col:nth-child(8n) .boxes .boxSlide:nth-child(n+5) {
        display: none
    }

    .containerGallery .col:nth-child(1) .boxes .boxSlide,
    .containerGallery .col:nth-child(2) .boxes .boxSlide {
        display: inline-block;
    }

    .containerGallery .col:nth-child(1) .boxes .boxSlide:nth-child(n+6),
    .containerGallery .col:nth-child(2) .boxes .boxSlide:nth-child(n+6) {
        display: none;
    }

    .containerGallery .col:nth-child(8n+2) h2,
    .containerGallery .col:nth-child(8n+1) h2,
    .containerGallery .col:nth-child(8n) h2 {
        display: block;
    }

    .containerGallery .col:nth-child(1) h2,
    .containerGallery .col:nth-child(2) h2 {
        display: block;
    }

    .containerGallery .col:nth-child(8n+2) .name,
    .containerGallery .col:nth-child(8n+1) .name,
    .containerGallery .col:nth-child(8n) .name {
        display: block;
    }

    .containerGallery .col:nth-child(1) .name,
    .containerGallery .col:nth-child(2) .name {
        display: block;
    }
}