@keyframes pulso {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulso2 {
    0% {
        transform: scale(1) rotate(180deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(180deg);
    }
}

.slidePresentation * {
    box-sizing: border-box;
}

.slidePresentation {
    --colorBg: #C21015;
    --colorText: #F0D427;
    --arrows-size: 36px;

    position: relative;
    display: flex;
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    box-shadow: 0 4px 10px 3px hsla(0, 0%, 0%, .2);
    border-radius: 19px;
    background-color: hsla(0, 0%, 0%, .1);
}

.slidePresentation p {
    font-size: 22px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .slidePresentation p {
        font-size: 20px;
        text-align: left;
    }
}

.slidePresentation ul {
    font-size: 22px;
    line-height: 1.4;
    text-align: left;
}

.slidePresentation__item:nth-child(odd) {
    --colorBg: #e8d7b7;
    --colorText: #444242;
}

.slidePresentation__item:nth-child(even) {
    --colorBg: #E2E2E2;
    --colorText: #444242;
}

@keyframes backOutDown {
    0% {
        opacity: 1;
        transform: scale(1)
    }

    20% {
        opacity: .7;
        transform: translateY(0) scale(.7)
    }

    to {
        opacity: .7;
        transform: translateY(700px) scale(.7)
    }
}

.slidePresentation__item {
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--colorBg);
    background-image: url(../img/bg1.png), url(../img/bg2.png), url(../img/bg3.svg);
    background-size: 150px, 120px, 10px;
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: top left 5%, bottom 5px right 5px, center;
    border-radius: 15px;
    color: var(--colorText);
    visibility: hidden;
    opacity: 0;
    transition: visibility 1s, opacity 1s;
    animation-name: backOutDown;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* .slidePresentation__item:nth-child(even) {
    background-blend-mode: normal, normal, screen;
}

.slidePresentation__item:nth-child(odd) {
    background-blend-mode: screen, screen, luminosity;
} */

@media (max-width: 767px) {
    .slidePresentation__item {
        min-height: 450px;
    }
}

@keyframes backInDown {
    0% {
        opacity: .7;
        transform: translateY(-1200px) scale(.7)
    }

    80% {
        opacity: .7;
        transform: translateY(0) scale(.7)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.slidePresentation__item--show {
    position: relative;
    visibility: visible;
    opacity: 1;
    transition: visibility 1s, opacity 1s;
    z-index: 2;

    animation-name: backInDown;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slidePresentation__item img {
    width: 100%;
}

.slidePresentation__item .imgSlide {
    position: relative;
    width: 300px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.slidePresentation__item .imgSlide::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.slidePresentation__item:nth-child(even) .imgSlide::before {
    border: 2px solid #F0D427;
}

.slidePresentation__item:nth-child(odd) .imgSlide::before {
    border: 2px solid #fff;
}

.slidePresentation__content {
    max-width: 1100px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 20px 50px;
}

@media (max-width: 767px) {
    .slidePresentation__content {
        padding: 50px 30px 70px;
    }
}

.slidePresentation__content h2 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 auto 20px;
    display: block;
    width: fit-content;
    padding: 5px 20px;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

.slidePresentation__item:nth-child(odd) .slidePresentation__content h2 {
    background-color: #C21015;
}

.slidePresentation__item:nth-child(even) .slidePresentation__content h2 {
    background-color: #F0D427;
}

.sliderPresentation__card {
    display: grid;
    grid-template-columns: 1fr 25%;
    align-items: center;
    gap: 30px;
}

@media (max-width: 767px) {
    .sliderPresentation__card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/*-- Nav arrows --*/
.slidePresentation__prev,
.slidePresentation__next {
    position: absolute;
    top: calc(50% - (var(--arrows-size) / 2));
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--arrows-size);
    height: var(--arrows-size);
    padding: 0 0 0 2px;
    border: 0;
    border-radius: 50%;
    background: #F0D427;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 999;
    animation: pulso 1s infinite;
}

.slidePresentation__prev:hover,
.slidePresentation__next:hover {
    opacity: .8;
    cursor: pointer;
}

.slidePresentation__prev:focus,
.slidePresentation__next:focus {
    outline: none;
}

.slidePresentation__prev {
    left: 8px;
    transform: rotate(180deg);
    animation: pulso2 1s infinite;
}

.slidePresentation__next {
    right: 8px;
}

@media (max-width: 767px) {
    .slidePresentation__prev {
        left: 5px;
    }

    .slidePresentation__next {
        right: 5px;
    }
}

.slidePresentation__prev img,
.slidePresentation__next img {
    width: 45%;
}



/*-- Nav bullets --*/
.slidePresentation__bullets {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    background-color: #F0D427;
    padding: 4px 8px 3px;
    border-radius: 20px;
    text-align: center;
    width: max-content;
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    opacity: .8;
    transition: opacity .3s;
}

.slidePresentation__bullets:hover {
    opacity: 1;
}

.slidePresentation__bullet {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: hsl(0, 0%, 100%);
    border-radius: 50%;
    margin: 3px;
    transition: transform .3s;
}

@media (max-width: 767px) {
    .slidePresentation__bullet {
        width: 10px;
        height: 10px;
    }
}

.slidePresentation__bullet:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.slidePresentation__bullet--active {
    background-color: var(--colorBg);
}



/*-- Nav play --*/
.slidePresentation__playpause {
    display: inline-flex;
    margin-left: 10px;
    padding: 0;
    background: none;
    border: none;
    opacity: .8;
    transition: opacity .4s;
    z-index: 3;
}

.slidePresentation__playpause:hover {
    cursor: pointer;
    opacity: 1;
}

.slidePresentation__playpause:focus {
    outline: none;
}

.slidePresentation__playpause img {
    width: 15px;
}



/*-- Utilites --*/
.dNone {
    display: none;
}