/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

.popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

#three-d-category-filter {
    text-align: center;
}

#three-d-category-filter button {
    background: #D9D9D9;
    padding: 10px 20px;
    border-radius: 10px;
    border: 0;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    color: #696969;
    cursor: pointer;
    transition: color 0.2s ease-in-out;

}

#three-d-category-filter button.active {
    color: #73BF44;
}

#three-d-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;

}

.three-d-single-post {
    position: relative;
    cursor: pointer;
}

#three-d-posts-wrapper .three-d-single-post .threed-item img {
    width: 100%;
    height: 300px;
    border-radius: 20px;
}

#three-d-posts-wrapper .titel-container {
    background: rgba(45, 45, 45, 0.9);
    padding: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: absolute;
    bottom: 7px;
    width: 100%;
    opacity: 0;
    border-top: 5px solid #73BF44;
    transition: all 0.3s ease;
}

.three-d-single-post:hover .titel-container {
    opacity: 1 !important;
}


#three-d-posts-wrapper .titel-container h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    color: #fff;

}

#three-d-pagination-wrapper {
    text-align: center;
    margin-top: 50px;
}

#three-d-pagination-wrapper button {
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    padding: 10px 20px;
    border-radius: 10px;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    color: #333333;
    cursor: pointer;
}

#three-d-pagination-wrapper button.active {
    background: #73BF44;
    color: #fff;
}

#popup-slider .slide-item {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 10px;
    border: none !important;
}

#three-d-popup-overlay {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F2F2F2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#three-d-popup-content {
    padding: 20px 135px;
    padding-right: 130px;
    padding-top: 50px;
    width: 100%;
    height: 90%;
    overflow-y: scroll;
    position: relative;
}

#three-d-popup-content::-webkit-scrollbar {
    width: 0px;
}

#three-d-popup-close {
    position: absolute;
    top: 44px;
    right: 125px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}

.popup-images {
    display: flex;
    gap: 10px;
    margin-bottom: 50px;
}

.popup-images img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.popup-iframe iframe {
    width: 100%;
    height: 921px;
    border: none;
    border-radius: 20px;
}

.popup-main-content {
    display: grid;
    grid-template-columns: 62.5% 31%;
    gap: 100px;
}

.popup-right-content {
    background: #D9D9D9;
    border-radius: 20px;
    padding: 30px;
}

#popup-slider-control {
    margin: 0;
    padding: 0;
}

#popup-slider-controls li {
    padding: 0;
    list-style: none;
    cursor: pointer;
}

#three-d-popup-content li.prev {
    position: absolute;
    left: 70px;
    top: 60%;
}

#three-d-popup-content li.next {
    position: absolute;
    right: 36%;
    top: 60%;
    z-index: 1;
}

.popup-iframe-mobile {
    display: none;
}

.popup-right-content h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    color: #000000;
    border-bottom: 4px solid #73BF44;
    padding-bottom: 30px;
}

.popup-right-content p {
    font-size: 18px;
    line-height: 36px;
    font-weight: 500;
    margin-top: 30px;
    color: #000000;
}

.see-more-toggle {
    margin-top: 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
}


.see-more-toggle:hover {
    background-color: #005177;
}

.software-used h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 35px;
    color: #000000;
    border-bottom: 4px solid #73BF44;
    padding-bottom: 10px;
    margin-top: 100px;
}

.software-used p {
    margin-top: 10px !important;
}

#three-d-category-filter {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media only screen and (min-width: 1081px) and (max-width: 1329px) {
    .popup-main-content {
        display: grid;
        grid-template-columns: 55% 37.5%;
        gap: 70px;
        margin-bottom: 40px;
    }

    #three-d-popup-content li.next {
        right: 37.5%;
    }

}

@media only screen and (min-width: 130px) and (max-width: 1600px) {
    .popup-main-content {
        display: grid;
        grid-template-columns: 59.5% 31%;
        gap: 100px;
    }
    
    #three-d-popup-content li.next {
        right: 37.5%;
    }


}

@media only screen and (min-width: 767px) and (max-width: 1080px) {}

@media only screen and (max-width: 1080px) {
    #three-d-posts-wrapper .three-d-single-post .threed-item img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
    }

    #three-d-posts-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
        margin-top: 60px;
    }

    #three-d-popup-content li.prev {
        top: 50%;
        left: 25px;
    }

    #three-d-popup-content li.next {
        top: 50%;
        right: 25px;
    }

    .popup-iframe-mobile {
        display: block;
    }

    .popup-iframe-desktop {
        display: none;
    }

    .popup-main-content {
        display: grid;
        grid-template-columns: 100%;
    }

    .popup-iframe iframe {
        height: 324px;
    }

    #three-d-popup-content {
        padding: 20px 90px;
        width: 100%;
        padding-top: 140px;
    }

    #three-d-popup-overlay {
        top: 90px;
    }

    #three-d-popup-close {
        top: 70px;
        right: 70px;
    }

    .popup-right-content {
        position: relative;
        bottom: 58px;
    }

    .popup-right-content h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .popup-right-content p {
        font-size: 16px;
        line-height: 25px;
    }

    .software-used h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .software-used p {
        font-size: 16px;
        line-height: 25px;
    }




}