
.custom-tab-container {
    text-align: center;
    margin: 20px auto;
}

.custom-tab-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.custom-tab-header button {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 100;
    cursor: pointer;
    padding: 10px 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.custom-tab-header button.active {
    font-weight: bold;
    transform: scale(1.2);
}

.custom-tab-content {
    position: relative;
    overflow: hidden;
}

.custom-tab-panel {
    display: flex;
    transition: transform 0.5s ease;
}

.custom-tab-panel > div {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}





.experince h1 {
    font-size: 2.35vmin;
    letter-spacing: 0em;
    font-weight: 100;
    text-align: center;
    color: white;
}
.experince  p {
    font-size: max(10pt, 1.5vmin);
    line-height: 1em;
    color: #0e390e;
    margin-bottom: 1.5rem;
}

.experince .wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 75vmin;
    height: 35vmin;
    margin: 2rem auto;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}
.experince .overlay {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1rem 0.75rem;
    background: #186218;
    transition: 0.4s ease-in-out;
    z-index: 1;
}
.experince  .overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 13vmin;
    height: 100%;
    padding: 0.5rem 0 0 0.5rem;
    transition: 0.3s ease-in-out 0.2s;
    z-index: 1;
}
.experince  .image-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vmin;
    height: 100%;
    background-image: url("https://assets.codepen.io/4787486/trees.png");
    background-size: cover;
    transition: 0.3s ease-in-out;
    /* border: 1px solid green; */
}

.experince  .inset {
    max-width: 50%;
    margin: 0.25em 1em 1em 0;
    border-radius: 0.25em;
    float: left;
}

.experince  .dots {
    position: absolute;
    bottom: 0.2rem;
    right: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 45px;
    height: 4vmin;
    transition: 0.3s ease-in-out 0.3s;
}
.experince  .dot {
    width: 10px;
    height: 10px;
    background: #494949;
    border: 1px solid #c0c0c0;
    border-radius: 50%;
    transition: 0.3s ease-in-out 0.3s;
}

.experince .text {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vmin;
    height: 100%;
    padding: 3vmin 4vmin;
    background: #fff;
    overflow-y: scroll;
}

.experince  .wrap:hover .overlay {
    transform: translateX(-60vmin);
}
.experince  .wrap:hover .image-content {
    width: 30vmin;
}
.experince .wrap:hover .overlay-content {
    border: none;
    transition-delay: 0.2s;
    transform: translateX(60vmin);
}
.experince  .wrap:hover .dots {
    transform: translateX(1rem);
}
.experince .wrap:hover .dots .dot {
    background: white;
}

/* Animations and timing delays */
.experince .animate {
    animation-duration: 0.7s;
    animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
    animation-fill-mode: backwards;
}
/* Pop In */
.experince  .pop {
    animation-name: pop;
}
@keyframes pop {
    0% {
        opacity: 0;
        transform: scale(0.5, 0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1, 1);
    }
}

/* Slide In */
.experince  .slide {
    animation-name: slide;
}
@keyframes slide {
    0% {
        opacity: 0;
        transform: translate(4em, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Slide Left */
.experince  .slide-left {
    animation-name: slide-left;
}
@keyframes slide-left {
    0% {
        opacity: 0;
        transform: translate(-40px, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.experince  .slide-up {
    animation-name: slide-up;
}
@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(3em);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.experince .delay-1 {
    animation-delay: 0.3s;
}
.experince .delay-2 {
    animation-delay: 0.6s;
}
.experince .delay-3 {
    animation-delay: 0.9s;
}
.experince .delay-4 {
    animation-delay: 1.2s;
}
.experince .delay-5 {
    animation-delay: 1.5s;
}
.delay-6 {
    animation-delay: 1.8s;
}
.delay-7 {
    animation-delay: 2.1s;
}
.delay-8 {
    animation-delay: 2.4s;
}


.experince .overlay{
    background-color: #282828;
}


#experience-scivolando .image-content {
    background-image: url('/images2/experience/scivolando.jpg');
}
#experience-magiedinverno .image-content {
    background-image: url('/images2/experience/magiedinverno.jpg');
}

#experience-raccolta .image-content {
    background-image: url('/images2/experience/raccolta.jpg');
}
#experience-fiori .image-content {
    background-image: url('/images2/experience/fiori.jpg');
}
#experience-detox .image-content {
    background-image: url('/images2/experience/detox.jpg');
}

#experience-motagnavera .image-content {
    background-image: url('/images2/experience/motagnavera.jpg');
}
#experience-bagnonellaforesta .image-content {
    background-image: url('/images2/experience/bagnonellaforesta.jpg');
}
#experience-activemountaindays .image-content {
    background-image: url('/images2/experience/activemountaindays.jpg');
}

#experience-foliage .image-content {
    background-image: url('/images2/experience/foliage.jpg');
}
#experience-funghi .image-content {
    background-image: url('/images2/experience/funghi.jpg');
}
#experience-bramiti .image-content {
    background-image: url('/images2/experience/bramiti.jpg');
}
#experience-biketime .image-content {
    background-image: url('/images2/experience/biketime.jpg');
}