/*
Theme Name: Mamma.com
Theme URI: https://athemes.com/theme/sydney
Author: aThemes
Author URI: https://athemes.com
Description: Sydney is a powerful business theme that provides a fast way for companies or freelancers to create an awesome online presence. As well as being fully compatible with Elementor, Sydney brings plenty of customization possibilities like access to all Google Fonts, full color control, layout control, logo upload, full screen slider, header image, sticky navigation and much more. Also, Sydney provides all the construction blocks you need to rapidly create an engaging front page. Looking for a quick start with Sydney? With just a few clicks, you can import one of our existing demos (https://athemes.com/sydney-demos/)
Version: 2.17
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 5.9
Requires PHP: 5.6
Text Domain: sydney
Tags: two-columns, right-sidebar, block-styles, custom-colors, custom-background, custom-header, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Sydney is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
*/

.banner{
    font-family: Roboto;
    height:100px;
    display:flex;
    flex-direction:row;
    align-content:center;
}

a{
    text-decoration: none;
}

.bannerLeft{
    max-width: 30%;
    min-width:160px;
    flex-grow:1;
    padding:16px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    align-content:center;
    text-align:center;
    text-decoration: none;
    margin:auto;
}

.bannerLeft:hover{text-decoration: none;}
.bannerText:hover{text-decoration: none;}


.bannerText{
    display: inline-flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 
}

.bannerText img{
    width: 24px;
}

.bannerText.bannerBtn{
    padding: 2px 10px 2px 5px;
    border-radius: 16px;
    background-color: #007AFF;
    color:#ffffff;
    line-height: 1;
}

.bannerLeft .bannerBtn p{
	margin:10px!important;
	line-height: 1;
}

.bannerLeft .bannerBtn img{
    margin: 0 5px
}

.bannerLeft .logo img{
    text-align:center;
    width: 160px;
}

.bannerRight{
    display:flex;
    align-items: center;
    flex-wrap:nowrap;
    white-space:nowrap;
    overflow-x:hidden;
    position: relative;
    flex-direction:row;
    height:100%;
    width:300%;
    /*remove inline-block gap */
    font-size:0px;
    /*transform:skew(-12deg);*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 
}

/* Hide scrollbar for Chrome, Safari and Opera */
.bannerRight::-webkit-scrollbar {
    display:none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.bannerRight {
    -ms-overflow-style:none;  /* IE and Edge */
    scrollbar-width:none;  /* Firefox */
} 

.bannerChild{
    display: inline-flex;
    width: 100%;
    height: inherit;
    position:absolute;
    left: 0%;
    top: 0%;
    animation: primary 3s linear infinite;
    /*transform:skew(12deg);*/
}

.category{
    display:inline-flex;
    width:16.66%;
    height:100%;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;
    text-align:center;
    vertical-align: middle;
    margin:0 auto;
}

.category p{
    font-size:3.5vw;
    color:#ffffff;
    filter:drop-shadow(0px 2px 8px #000);
    margin: auto;
    vertical-align: middle;
}

@media screen and (min-width: 1000px) {
    .category p{
       font-size: 30px;
    }
}

.category:nth-child(1){
    background-image:url("/wp-content/uploads/2023/03/travel.jpg");
}

.category:nth-child(2){
    background-image:url("/wp-content/uploads/2023/03/motorSport.jpg");
}

.category:nth-child(3){
    background-image:url("/wp-content/uploads/2023/03/design.jpg");
}

.category:nth-child(4){
    background-image:url("/wp-content/uploads/2023/03/football.jpg");
}

.category:nth-child(5){
    background-image:url("/wp-content/uploads/2023/03/homeDecor.jpg");
}

.category:nth-child(6){
    background-image:url("/wp-content/uploads/2023/03/MammaYT-Banner.jpg");
}

.primary{
    animation: primary 16s linear infinite;
    display:inline-block;
    height:100%;
    width:300%;
}

.secondary{
    animation: secondary 16s linear infinite;
    display:inline-block;
    height:100%;
    width:300%;
}

.bannerlink {text-decoration: none;}

/* 6 items of 50% width = 300% offset*/
@keyframes primary {
    from {
        left: 0%;
    }
    to {
        left: -300%;
    }
}

@keyframes secondary {
    from {
        left: 300%;
    }
    to {
        left: 0%;
    }
}

@media(max-width: 991px){
	#bodyContainer{margin-top: 5em!important; margin-bottom: 10em!important;}
}

@media(max-width:799px){
    #bodyContainer{display: none !important}
}


@media(max-width: 575px){
	.bannerRight {width: 95% !important; margin: auto;}
}