@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");
* {
    padding: 0;
    margin: 0;
    outline: none;
}
body {
    background-color: #f2f2f2;
    font-family: "Poppins", sans-serif;
}
/* Navbar styling starts here */
nav {
    background: #171c24;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 100px;
}
nav .logo {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -1px;
}
nav .nav-items {
    display: flex;
    flex: 1;
    padding: 0 0 0 40px;
}
nav .nav-items li {
    list-style: none;
    padding: 0 15px;
}
nav .nav-items li a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    -webkit-transition: 0.5s ease;
    cursor: pointer;
    position: relative;
}

nav .nav-items li a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(255, 255, 255);
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
nav .nav-items li a:hover:before {
    visibility: visible;
    width: 100%;
}
nav .nav-items li a.active-nav:before {
    /* color: #26d63b !important; */
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    visibility: visible;
    width: 100%;
    background-color: rgb(255, 255, 255);
}
/* nav .nav-items li a:hover {
    text-shadow: 0px -2px 0px rgba(0, 0, 0, 1), 0 0 5px rgba(255, 255, 255, 0.8),
        0 -4px 15px rgba(255, 255, 255, 0.5);
} */
/* nav .nav-items li a:hover{
    color: #26d63b;
  } */
nav form {
    display: flex;
    height: 40px;
    padding: 2px;
    background: #1e232b;
    min-width: 18% !important;
    border: 1px solid rgba(155, 155, 155, 0.2);
    border-radius: 36px;
}
nav form .search-data {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    color: #fff;
    font-size: 17px;
    border: none;
    font-weight: 500;
    background: none;
}
nav form button {
    padding: 0 15px;
    color: #fff;
    font-size: 17px;
    background: #26d63b;
    border: none;
    border-radius: 2px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    cursor: pointer;
    transition: 0.2s all;
}
nav form button:hover {
    background: #2b9638;
}
nav .menu-icon,
nav .cancel-icon,
nav .search-icon {
    width: 40px;
    text-align: center;
    margin: 0 50px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    display: none;
}
nav .menu-icon span,
nav .cancel-icon,
nav .search-icon {
    display: none;
}
@media (max-width: 1245px) {
    nav {
        padding: 0 50px;
        position: relative;
    }
}
@media (max-width: 1140px) {
    nav {
        padding: 0px;
    }
    nav .logo {
        flex: 2;
        text-align: center;
        font-size: 22px;
    }
    nav .nav-items {
        position: fixed;
        z-index: 99;
        top: 70px;
        width: 50%;
        left: -100%;
        height: 100%;
        padding: 10px 50px 0 50px;
        text-align: center;
        background: #14181f;
        display: inline-block;
        transition: left 0.3s ease;
    }
    nav .nav-items.active {
        left: 0px;
    }
    nav .nav-items li {
        line-height: 40px;
        margin: 30px 0;
    }
    nav .nav-items li a {
        font-size: 20px;
    }
    nav form {
        position: absolute;
        top: 80px;
        right: 50px;
        opacity: 0;
        pointer-events: none;
        transition: top 0.3s ease, opacity 0.1s ease;
    }
    nav form.active {
        top: 95px;
        opacity: 1;
        pointer-events: auto;
    }
    nav form:before {
        position: absolute;
        content: "";
        top: -13px;
        right: 0px;
        width: 0;
        height: 0;
        z-index: -1;
        border: 10px solid transparent;
        border-bottom-color: #1e232b;
        margin: -20px 0 0;
    }
    nav form:after {
        position: absolute;
        content: "";
        height: 60px;
        padding: 2px;
        background: #474c55;
        border-radius: 2px;
        min-width: calc(100% + 20px);
        z-index: -2;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    nav .menu-icon {
        display: block;
    }
    nav .search-icon,
    nav .menu-icon span {
        display: block;
    }
    nav .menu-icon span.hide,
    nav .search-icon.hide {
        display: none;
    }
    nav .cancel-icon.show {
        display: block;
        color: #26d63b;
    }
}
.bd-radius {
    border-radius: 0 15px 15px 0;
}
.search-box {
    z-index: 99;
}
@media (max-width: 980px) {
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon {
        margin: 0 20px;
    }
    nav form {
        right: 30px;
    }
}
@media (max-width: 350px) {
    nav .menu-icon,
    nav .cancel-icon,
    nav .search-icon {
        margin: 0 10px;
        font-size: 16px;
    }
}

/* Hamburger css */
.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.hamRotate.active {
    transform: rotate(45deg);
}
.hamRotate180.active {
    transform: rotate(180deg);
}
.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: rgb(255, 255, 255);
    stroke-width: 5.5;
    stroke-linecap: round;
}
.ham2 .top {
    stroke-dasharray: 40 121;
}
.ham2 .bottom {
    stroke-dasharray: 40 121;
}
.ham2.active .top {
    stroke-dashoffset: -102px;
}
.ham2.active .bottom {
    stroke-dashoffset: -102px;
}
img.logo {
    height: 55px;
    width: 145px;
}
.discountPercent {
    text-align: center;
    background-color: #77b21d;
    color: white;
    width: 45px;
    height: 25px;
    position: absolute;
    right: 12px;
    top: 22px;
    border-radius: 20px;
    font-weight: bold;
}
.disleft {
    text-align: center;
    background-color: #77b21d;
    color: white;
    width: 50px;
    height: 25px;
    border-radius: 20px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
}
.featureimg {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.do-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.social {
    list-style-type: none;
    display: flex;
    flex-direction: row;
}
.socialIcon {
    color: blue;
    opacity: 0.5;
}
.socialIcon:hover {
    opacity: 1;
}
.thumb-counter {
    margin-top: 5px;
    width: 100px;
}
.thumb-down {
    color: red;
    display: none;
    width: 32px;
    height: 28px;
    align-items: center;
    justify-content: center;
}
.thumb-down:hover {
    background-color: red;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}
.thumb-up {
    color: rgb(87, 238, 74);
    width: 32px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.thumb-up:hover {
    background-color: rgb(87, 238, 74);
    color: white;
    border-radius: 6px;
    cursor: pointer;
}
.thumb-counter:hover .thumb-down {
    display: inline-flex;
}
.upvote {
    color: rgb(87, 238, 74);
    font-weight: bold;
}
.downvote {
    color: red;
    font-weight: bold;
}
.post-thumb {
    position: absolute;
    left: 10px;
    bottom: 0px;
}
.coupon {
    background-color: rgb(143, 245, 169);
    color: #00a531;
    height: 35px;
    width: 50%;
    margin: 1rem 0;
    border: 0.5px dashed #00a531;
    cursor: pointer;
}
.coupon:hover {
    color: #cf3030;
    border: 0.5px dashed #cf3030;
}

#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#3498db;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
}
#scroll:hover {
    background-color:#e74c3c;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}
/* Ajax spinner */
.lds-dual-ring.hidden {
    display: none;
}

/*Add an overlay to the entire page blocking any further presses to buttons or other elements.*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    background-color: #000;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    z-index: 10000;
}

/*Spinner Styles*/
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 5% auto;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.w-lg-100 {
    width: 80%;
}
@media only screen and (max-width: 767px) {
    .post-thumb {
        right: 10px;
        left: auto;
    }
    .thumb-down {
        display: inline-flex;
    }
    .coupon {
        width: 100%;
    }
    .w-lg-100 {
        width: 100%;
    }
}
.tag-post {
    font-size: 0.8rem !important;
}
.tag-post-a {
    padding: 2px 8px;
    background-color: #666666c2;
}
.cursor-pointer {
    cursor: pointer;
}
