body::-webkit-scrollbar {
    width: 0px !important;
}

@media (max-width: 768px) {
    body {
        overflow-x: visible;
    }
}

body {
    overflow-x: hidden;
    /* overflow-y: hidden; */
    background-color: #24282d;
}

button {
    background-color: rgba(0, 0, 0, 0) !important;
}

.section__portfolio {
    height: 88vh;
    /* background-image: 
    radial-gradient(circle at center center, rgba(255,255,255,0.1), rgba(255,255,255,0.4)),
    repeating-linear-gradient(135deg, rgb(33,33,33) 0px, rgb(33,33,33) 1px,transparent 1px, transparent 4px),
    repeating-linear-gradient(45deg, rgb(56,56,56) 0px, rgb(56,56,56) 5px,transparent 5px, transparent 6px),
    linear-gradient(90deg, rgb(33,33,33),rgb(33,33,33));*/
    background-color: #24282d;
}

article {
    position: relative;
    /* to have parents under other parents */
}

.bi-arrow-left,
.bi-arrow-right {
    font-size: 5vw;
}

.carousel__btn--left,
.carousel__btn--right {
    border: none;
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
}

.portfolio__h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4vw;
    font-weight: 400 !important;
    color: #fff;
    text-transform: uppercase;
}

.div2,
.div3 {
    cursor: pointer;
}

.div5 {
    display: flex;
    align-items: end;
    justify-content: center;
}

.container__citation {
    width: 70%;
}

.portfolio__citation {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.portfolio__citation--text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5vw;
    line-height: 34px;
}

.portfolio__citation--author {
    font-family: 'Allura', sans-serif;
    font-size: 3vw;
    font-weight: lighter;
}

.modal__btn {
    height: 100% !important;
    width: 100% !important;
    opacity: 0;
    position: absolute;
    /* par rapport à divchil qui est relative */
    z-index: 999;
}

.btn-close {
    background-color: rgba(0, 0, 0, 0) !important;
}

.modal-content {
    min-width: 93vw;
    background-image: radial-gradient(circle at center center, rgba(33, 33, 33, 0), rgb(33, 33, 33)), repeating-linear-gradient(135deg, rgb(33, 33, 33) 0px, rgb(33, 33, 33) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(45deg, rgb(56, 56, 56) 0px, rgb(56, 56, 56) 5px, transparent 5px, transparent 6px), linear-gradient(90deg, rgb(33, 33, 33), rgb(33, 33, 33));
    border: none;
    height: 85vh;
}

@media (max-width: 376px) {

    .section__portfolio,
    .parent {
        /* height: 86vh !important; */
        /* height: 80vh !important; */
    }
}

@media (max-width: 768px) {

    .section__portfolio,
    .parent {
        /* height: calc(var(--vh, 1vh) * 100 - var(--navbar-height)); */
        max-height: 82vh !important;
    }
    


    /* .section__portfolio,
    .parent {
        height: 86vh;
    } */

    .modal {
        padding-top: 60px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        position: absolute;
        top: 95% !important;
        transform: translateY(-50%);
    }

    .carousel-control-prev {
        width: 120px !important;
    }

    .portfolio__citation--text {
        font-size: 3.8vw;
        line-height: 20px;
    }

    .portfolio__citation--author {
        font-size: 6.5vw;
        line-height: 24px;
        padding-top: 14px;
    }
}

@media (max-width: 768px) {
    .modal__btnSize {
        height: 100px;
        width: 100px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .modal {
        padding-top: 100px;
    }

    .carousel-control-prev {
        width: 120px !important;
        padding: 0px 80px 0px 0px !important;
    }

    .carousel-control-next {
        padding: 0px 0px 0px 80px !important;
    }

    .portfolio__citation--text {
        font-size: 3.7vw;
        line-height: 40px;
    }

    .portfolio__citation--author {
        font-size: 6.7vw;
        line-height: 50px;
        padding-top: 26px;
    }
}

@media (min-width: 666px) and (max-width: 932px) and (max-height: 768px) {
    body {
        overflow-y: visible;
    }
}

.modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100% !important;
    background-color: rgba(255, 255, 255, 0.1);
    background-image: radial-gradient(circle at center center, rgba(33, 33, 33, 0), rgb(33, 33, 33)), repeating-linear-gradient(135deg, rgb(33, 33, 33) 0px, rgb(33, 33, 33) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(45deg, rgb(56, 56, 56) 0px, rgb(56, 56, 56) 5px, transparent 5px, transparent 6px), linear-gradient(90deg, rgb(33, 33, 33), rgb(33, 33, 33));
    box-shadow: rgba(0, 0, 0, 0.5) 0px 22px 70px 4px;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
    max-width: 100%;
}

.carousel-control-next,
.carousel-control-prev {
    height: 0% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    padding: 0px 70px 0px 0px !important;
}

.carousel__img {
    max-height: 90%;
    max-width: 90%;
    object-fit: cover !important;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: rgba(0, 0, 0, 0.86) 0px 22px 70px 4px;
}

.modal__close {
    font-size: 2rem;
    position: absolute;
    top: -6px;
    right: -50px;
    color: #e6e9ea;
    opacity: 0.5;
    cursor: pointer;
    padding: 25px 77px 0px 0px !important;
}

.modal__close:hover {
    color: #fff;
    opacity: 1;
}

.parent[data-status="inactive"] {
    transform: translateX(-100%);
    /* to place under parents in the left of the page */
}

.parent[data-status="active"] {
    /* transform: translateX(0%); */
}


.tooltip-inner {
    min-width: 280px !important;
}