@import url("https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800");

*{
    padding: 0;
    box-sizing: border-box;
    margin: 0;
}



:root{
    --AmasLinkColor: #b70000;
    --AmasLinkColorBg: linear-gradient(40deg, #7f0606 10%, #b70000 40%, #7f0606 90%);

    --box-shadow: 1px 3px 20px -5px rgba(0, 0, 0, 0.3);
    --border-radius: 20px;
    --font-family-sans-serif: "Nunito Sans", sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;  
    --bodyBackground: white;
}
.skiptranslate:not(.goog-te-gadget){
    height: 0px !important;
    min-height: 0px !important;
    max-height: 0px !important;
    min-width: 0px;
    max-width: 0px;
    width: 0px !important;
    display: none !important;
}
#goog-gt-tt {display:none !important;}
.goog-te-banner-frame {display:none !important;}
.goog-te-menu-value:hover {text-decoration:none !important;}
.goog-text-highlight {background-color:transparent !important;box-shadow:none !important;}
/* body {top:0 !important;} */
#google_translate_element2 {display:none!important;}

body{
    top:0 !important;
    /* background-image: url("../assets/bg.png") !important; */
    background-size:auto !important;
    background-clip: border-box !important;
    background-attachment: fixed !important;
    background-repeat:no-repeat !important;
}

.bi-list{
    font-weight: bold;
}
#google_translate_element{
    position:fixed;
    right: 20px;
    bottom: 20px;
    background-color: white;
    border-radius: 24px;
    border: 1px solid var(--AmasLinkColor);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
/* Loading animation */
.loadingItem {
    background: linear-gradient(45deg, #e4e4e491 25%, #e0e0e0ab 50%, #d1d1d193 75%);
    background-size: 200% 100%;
    animation: loadingAnimation 1.5s infinite;
}

/* Keyframes for the animation */
@keyframes loadingAnimation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: 300ms ease;
}
/* @font-face {
    src: url('./fonts/Lato/Lato-Light.ttf');
} */
html{
     /* background-color:  rgb(170, 0, 0); */
     overflow-x: hidden;
     overscroll-behavior: none;
     scroll-behavior: smooth;
     background-color:  rgb(245, 245, 245);

}

body{
    /* background-color: rgb(241, 241, 241); */
    background: transparent;
    font-family: 'Lato';
    color: #3e5569;
    font-family: var(--font-family-sans-serif);
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
    overflow-x: hidden;
    overscroll-behavior: none;
    scroll-behavior: smooth;
    /* align-items: center; */
    margin: auto;
    /* overflow-y: scroll; */
}
.topSection{
    display: flex;
    flex-direction:column;
    width: 100%;
    z-index: 1000120;
}
 .listings, .backgroundParent:not(.topBar){
    margin-top: 10px;
    width: 100%;
    border-radius: 20px;
}
footer{
    margin-top: 10px;
}

.topBar{
    display: flex;
    position: relative;
    align-items: center;
    margin-top: 0px;
    /* justify-content: center; */
    /* justify-content: center; */
    flex-direction: row;
    background: var(--AmasLinkColorBg);
    height: 50px;
}
.topBarLeft {
    width: 80%;
    display: flex;
    align-items: center;
    height: 100%;
}
.topBarLeft ul{
    display: flex;
    margin: auto;
    list-style-type: none;
    height: fit-content;
    color: beige;
    
    justify-content: flex-start;
    /* padding-right: 40px; */
    align-self: flex-start;
    margin-left: 40px;
}
.topBarLeft ul li{
    padding: 8px;
    margin-left: 10px;
}
.topBarLeft ul li i{
    padding: 4px;
}
.topBarLeft ul li:first-child{
    border-right: 1px solid white;
}
.topBarLeft a{
    text-decoration: none;
}
.secondaryTopBar{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-evenly;
    height: max-content;
    padding: 2px;
    background-color: var(--bodyBackground);
    border-radius: 0px;
    /* border-bottom: 1px solid var(--AmasLinkColor); */
}
.secondaryTopBar .left{
    width: 70%;
    display: flex;
}
select{
    outline: none;
    background-color: transparent;
    border: none;
}
select::after, select::before, select::content{
    display: none;
}

.secondaryTopBar .right{
display: flex;
align-items: center;
}
.secondaryTopBar .right i {
color: var(--AmasLinkColor);
}
.secondaryTopBar .left .searchContainer{
    width: 100%;
    border: 1px solid var(--AmasLinkColor);
}
.searchContainer{
    display: flex;
    margin: auto;
    /* justify-content: center; */
    /* background-color: antiquewhite; */
    background-color: #fff;

    border-radius: 25px;
    height: 40px;
    width: 40%;
    padding: 10px;
    overflow: hidden;
}
.searchContainer form{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.searchContainer select{
    border: none;
    background-color: transparent;
    width: 20%;
}

.searchContainer input{
    border: none;
    outline: none;
    height: 30px;
    width: 70%;
    background:transparent;
}

.searchContainer button{
    background-color: rgb(246, 232, 232);
    border: none;
    color: rgb(207, 24, 24);
    border-radius: 50%;
    outline: none;
    height: 30px;
    width: 30px;
    
}



/* Start navbar / */
.navbar {
    margin: auto;
    display: flex;
    background-color: #fff;
    height: 50px;
    width: 100%;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    align-self: center;
    align-items: center;
    -webkit-box-shadow: 1px 3px 20px -5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 3px 20px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 3px 20px -5px rgba(0, 0, 0, 0.3);
    padding: 0px 10px 0px 10px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10000; /* Ensures the navbar stays on top of other content */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.navbar ul{
    align-self: center;
    height: 100%;
    display: flex;
    margin: auto;
    width: max-content;
}
::-webkit-scrollbar{
    background-color: transparent;
    opacity: 0;
    width: 8px;
    z-index: 657;
    border-radius: 30px;
  }
  ::-webkit-scrollbar-thumb{
    background-color: rgba(230, 42, 42, 0.61);
    width: 5px;
    height: 5px;
    border-radius: 30px;
    /* filter: opacity(0); */
  }
  

.navbar-left{
    width: 10%; 
    height: inherit;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sponsoredAd img, .topBar img, .footer img, .navbar img, .products_list img, .small_image_container img, .formContainer img, .mobileNav img, .navbar-left img{
    min-height: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height:100%;
    object-fit:cover;
}
.nav_right {
    width: 60%;
    display: flex;
    align-items: center;
}
.nav_right .nav_list{
    display: flex;
    list-style-type: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    align-self: center;
    color: #373634;
    
}

.nav_list a{
    text-decoration: none;
    width: max-content;
    color: #373634;
}

.nav_list a:hover{
    color: var(--AmasLinkColor);
}

.nav_list button{
    background-color: var(--AmasLinkColor);
    padding: 10px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: whitesmoke;
    font-weight: bold;
}
.dropdown {
    display: flex;
    align-items: center;
    
}
.nav_list .dropdown .dropdown-menu{
    /* display: none; */
    /* transition: ease-in-out 300ms; */
    height: max-content;
    /* background-color: whitesmoke; */
    list-style-type: none;
}
.dropdown_menu li{
    padding: 10px;
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown toggle (main link) */
.dropdown-toggle {
    display: inline-block;
    color: var(--AmasLinkColor);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: color 0.4s ease;
    -webkit-transition: color 0.4s ease; /* For older browsers */
}

/* Arrow icon */
.dropdown-toggle .arrow-down {
    border: solid var(--AmasLinkColor);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
    transform: rotate(45deg);
    transition: transform 0.4s ease;
    -webkit-transition: transform 0.4s ease; /* For older browsers */
}

/* Dropdown menu styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: none;
    min-width: 100px;
    max-width: fit-content;
    z-index: 1;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    -webkit-transition: opacity 0.5s ease, transform 0.5s ease; /* For older browsers */
}

/* Dropdown menu items */
.dropdown-menu li {
    border-bottom: 1px solid #555;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

/* Dropdown menu links */
.dropdown-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.4s ease;
    -webkit-transition: background-color 0.4s ease; /* For older browsers */
}

.dropdown-menu a:hover {
    background-color: #555;
    color: #fff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Rotate arrow on hover */
.dropdown:hover .arrow-down {
    transform: rotate(-135deg);
}

/* Optional: Navbar hover effects */
.dropdown-toggle:hover {
    color: #ddd;
}



.footer{
    display: flex;
    flex-direction: column;
    background-color: #171717;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    height: max-content;
    color:whitesmoke;
    width: 100%;
    align-items: center;
    padding: 50px;
    margin-top: 50px;
}

.footer_top{
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.footer_top_left{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 30%;
}
.footer_top_left ul, .footer_top_right ul{
    list-style-type: none;
    margin-top: 10px;
    /* background-color: red;
    display: flex;
    flex-direction: ;
    align-items: flex-start; */
}
.footer_top_left form{
    display: flex;
    flex-direction: column;
}

.footer input{
    display: flex;
    height: 40px;
    padding: 10px;
    color: whitesmoke;
    background-color: transparent;
    outline: none;
    margin-top:7px;
    border:none;
    border-bottom: 2px solid var(--AmasLinkColor);
}

.footer form button{
    background-color: var(--AmasLinkColor);
    border-radius: 25px;
    padding: 10px;
    width: 40%;
    color: whitesmoke;
    border: none;
    outline: none;
    margin-top: 10px;
}

.footer_top_left li, .footer_top_right li{
    padding: 10px 0px 10px 0px;
}
.footer a:hover{
    color: var(--AmasLinkColor);
}
.footer_top_left .logo_container{
    display: flex;
    height: fit-content;
    align-items: flex-end;
    width: 200px;
}

.footer_top_middle{
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 0px 10px 0px 10px;
}
.latest_ads_Container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.latest_ads_Container .ad{
    display: flex;
    height: 100px;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    justify-content: center;
    margin: 10px;
    width: 100px;
    background-color: rgb(248, 248, 248);
}

.footer_top_right{
    display: flex;
    flex-direction: column;
    width: 20%;
}
/* .containerForNav{
    display: flex;
    flex-direction: column;
} */
.containerForNav .navbar-left{
    padding: 10px;
    width: 30%;
}

.navbar-left{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.containerForNav{
    margin: auto;
    display: flex;
    width: 0px;
    height: 100vh;
    overflow-y: scroll;
    margin:0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    align-self: center;
    -webkit-box-shadow: 1px 3px 20px -5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 3px 20px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 3px 20px -5px rgba(0, 0, 0, 0.3);
    /* padding: 0px 10px 0px 10px; */
    justify-content: space-between;
    position: fixed;
    background-color: white;
    top: 0;
    z-index: 99999; /* Ensures the navbar stays on top of other content */
    transition: 500ms ease; /* Smooth transition */
}

.containerForNav.expanded {
    width: 90%; /* Expanded width */
    height: 100vh;
    left: 0px;
    z-index: 999999;
    align-items: center;
    margin-left: 0px;
}

.horizontalNavbar .nav_right {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.horizontalNavbar .nav_right .nav_list{
    display: flex;
    flex-direction: column;
    list-style-type: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    align-self: center;
    color: #373634;
}

.horizontalNavbar .nav_right .nav_list .navigationLink{
    padding: 20px;
    width: 100%;
}
.horizontalNavbar .nav_right .nav_list .dropdown{
    width: 100%;
    padding:0px;
}

.horizontalNavbar button{
    width: 100%;
}
.mobileNav{
    display: none;
}

@media screen  and (max-width:240px), (max-width:480px) {
    .topBarLeft{
        font-size: 12px;
    }
    .topBarLeft ul li{
        padding: 4px;
        margin-left: 5px;
    }
    .topBarLeft ul li i{
        padding: 2px;
    }
}
@media screen and (max-width:720px), (max-width:1080px) {
    :root{
        ---border-radius:10px;
    }
    body{
        width: 100%;
    }
    .listings, .backgroundParent:not(.topBar){
        border-radius: 10px;
    }
    .mobileNav{
        display: flex;
        padding: 10px;
        margin-right: 20px;
        font-weight: bold;
        color: antiquewhite;
    }
    .navbar-left .image_container{
        width: 40%;
    }
    .horizontalNavbar .navbar-left{
        display: flex;
        padding: 20px;
        align-items: center;
        justify-content: flex-start;
        width: 80%;
        max-width: 500px;
        height: 50px;
    }
    .topBar{
        position:fixed;
        width: 100%;
        top: 0;
        justify-content: space-between;
    }
    .secondaryTopBar{
        position: fixed;
        margin-top:50px;

    }
    .topBarLeft{
        margin-left: 0px;
        width: 60%;
        
    }
    .topBarLeft ul{
        width: 80vw;
        height: fit-content;
        margin-left: 0px;
    }
    .topBarLeft ul li span{
        display: none;
    }
    .topBar .searchContainer{
        display: none;
    }
    .navbar {
        display: none;
    }
    .footer{
        border-top-left-radius: 35px;
        border-top-right-radius: 35px;
        padding: 20px 0px 20px 0px;
    }
    .footer_top{
        flex-direction: column;
        padding-bottom: 20px;
    }
    
    .footer_top_left{
        width: 100%;
    }
    .footer_top_middle{
        width: 100%;
        margin-top: 10px;
    }

    .footer_top_right{
        margin-top: 10px;
        width: 100%;
        justify-content: space-evenly;
        flex-direction: row;
    }

}