/**
Theme Name: silent
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silent
Template: astra
*/


/* add this to the parent container holding the horizontal containers */


/*html, body {
    overflow: hidden;
}

.section2 {
    overflow-x: auto;
    overflow-y: hidden;
}

*/

/* Disable vertical scrolling for desktop */
@media only screen and (min-width: 768px) {
    body {
        overflow-y: hidden;
    }
}

/* Enable vertical scrolling for mobile */
@media only screen and (max-width: 767px) {
    body {
        overflow-y: auto;
    }
}

/* Enable horizontal scrolling for the carousel */
.section2 {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    white-space: nowrap;
}

.section2 .elementor-image-carousel-item {
    display: inline-block;
    scroll-snap-align: start;
}

/* Smooth horizontal scrolling */
.section2 {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}




@media (max-width: 767px) {
    .your-dot-navigation-class {
        display: none !important;
    }
}



.elementor-sticky--effects {
    background-color: rgba(255, 255, 255, 0.8); /* Adjust the background color and opacity */
    transition: background-color 0.3s ease;
}

.elementor-sticky--effects .elementor-container {
    padding: 10px 0; /* Adjust the padding as needed */
    transition: padding 0.3s ease;
}

/* Ensure header is transparent initially */
.elementor-location-header {
    background-color: transparent !important;
}

/* Scrolling credits */

.scrolling-text {
    height: 400px; /* Set the height to 400px */
    overflow: hidden;
    position: relative;
    background: transparent; /* No background */
    color: #000; /* Black text */
    font-size: 16px; /* Adjust font size as needed */
    line-height: 1.5; /* Adjust line height for better readability */
}

.scrolling-text div {
    position: absolute;
    width: 100%;
    -webkit-animation: scrollUp 30s linear infinite; /* For Safari and older browsers */
    -moz-animation: scrollUp 30s linear infinite; /* For Firefox */
    -ms-animation: scrollUp 30s linear infinite; /* For IE10+ */
    -o-animation: scrollUp 30s linear infinite; /* For older Opera versions */
    animation: scrollUp 30s linear infinite; /* Standard */
}

.scrolling-text div p {
    margin: 0;
}

@-webkit-keyframes scrollUp {
    0% {
        -webkit-transform: translateY(100%);
                transform: translateY(100%);
    }
    100% {
        -webkit-transform: translateY(-100%);
                transform: translateY(-100%);
    }
}

@-moz-keyframes scrollUp {
    0% {
        -moz-transform: translateY(100%);
                transform: translateY(100%);
    }
    100% {
        -moz-transform: translateY(-100%);
                transform: translateY(-100%);
    }
}

@-ms-keyframes scrollUp {
    0% {
        -ms-transform: translateY(100%);
                transform: translateY(100%);
    }
    100% {
        -ms-transform: translateY(-100%);
                transform: translateY(-100%);
    }
}

@-o-keyframes scrollUp {
    0% {
        -o-transform: translateY(100%);
                transform: translateY(100%);
    }
    100% {
        -o-transform: translateY(-100%);
                transform: translateY(-100%);
    }
}

@keyframes scrollUp {
    0% {
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -ms-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }
    100% {
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}


