h3{
    font-size: 90%;
}

.main_container{
    margin: 0px auto;
    display: flex;
    box-shadow: 0px 0px 5px #d5d5d5;
    width: 99%;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}


.category_list_widget {
    width: 20%;
    margin: 0px;
    box-shadow: 0px 0px 3px #8080806e;
    background: ghostwhite;
}


.category_list_widget div ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
}

.category_list_widget div ul a{
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #4cafa1;
}

.category_list_widget div ul a:hover{
    background: #333;
    color: #fff;
}





/*header nav-------------------------*/
/*---unique Category Collapsed navigation list---*/

.collapsed {
    display: none;
}


nav {
    position: absolute;
    background: #fff;
    width: 90%;
    margin: 0px auto;
    padding: 0px;
    min-height: 480px;
    left: 5%;
    top: 115px;
    /* overflow: scroll; */
    border-radius: 12px;
    scroll-behavior: smooth;
    box-shadow: 0px 0px 8px darkslategrey;
    scroll-behavior: smooth;
    z-index: 1;
}

.collapsed h3 {
    font-size: large;
    padding: 10px 0px;
    margin: 0px;
    text-align: center;
    color: #fff;
    background: darkslategrey;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

nav ul {
    display: flex;
    gap: 20px;
    position: relative;
    margin: 0px auto;
    flex-wrap: wrap;
    flex: 5;
    justify-content: center;
    align-items: center;
    background: #333333;
    padding: 13px 0px;
    overflow: scroll;
}


nav ul li {
    background: #f1f1f103;
    list-style: none;
    min-width: 250px;
    border-radius: 7px;
    border: 1px solid #eee;
    padding: 0px 10px;
    display: flex;
    gap: 15px;
    align-items: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0px;
    width: 100%;
    text-transform: capitalize;
}

/*------------------------------------*/



























.rightbar {
    display: flex;
    justify-items: stretch;
    padding: 0px 20px;
    /* background: azure; */
    gap: 10px;
}

.rightbar div ol {
    background: #fff;
    padding: 15px;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
}

.rightbar div ol p{
    margin: 0px;
    padding: 20px 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #9d9d9d;
}

.rightbar div ol li {
    color: #333;
    margin-bottom: 10px;
    padding: 15px 0px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.rightbar div ol li img{
    height:40px;
    border-radius:10px;
}
.rightbar div ol li img:hover{
    transition: transform 0.5s cubic-bezier(0.13, 1.34, 0.81, -0.53);
    transform:scale(1.4);
    cursor:pointer;
}
.rightbar div ol li a {
    text-decoration: none;
    font-size: 90%;
    color: #353535;
}

.rightbar div ol li:hover{
    color: #03a1ea;
}












.mainReffPosts {
    width: 80%;
}


.nav-h-title{
    background: blanchedalmond;
    margin: 0px;
    padding: 20px 20px;
    border-right: 1px solid white;
}



section div {
    display: flex;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #2f4f4f1f;
    border-radius: 7px;
    overflow: hidden;
    color: #181818;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

section div p{
    margin:0px;
    margin-bottom:5px;
}
section div a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2c2929;
    text-decoration: none;
    max-width: 250px;
    box-shadow: 0px 0px 3px #939393;
    border-radius: 8px;
    padding: 5px 0px;
}

section div a span{
    color: #f92970;
    font-size: unset;
    font-weight: 700;
    font-variant: small-caps;
}
section div img {
    height: 125px;
    border-radius: 8px;
    padding: 2px;
    width: 225px;
}












/*Footer web*/
footer {
    background-color: #2c3e50;
    color: white;
    padding: 0px 0;
    width:100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}
.footer-section p, .footer-section ul {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5em;
}
.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: #03A9F4;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid #bdc3c7;
}

/*End footer web css*/



@media only screen and (max-width: 768px){
    section div img {
        height: 205px;
        border-radius: 8px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
        padding: 2px;
        width: 95%;
        box-shadow: 0px 0px 5px black;
        margin-bottom: 5px;
    }
    .rightbar {
        display: flex;
        justify-items: stretch;
        padding: 0px 20px;
        /* background: azure; */
        gap: 10px;
        flex-direction: column;
    }
}
section div span {
    /* width: 200px; */
    text-overflow: unset;
    padding: 7px 10px;
    /* background: #020202; */
    margin:0px;
    font-weight: 700;
    color: #E91E63;
    font-size: 70%;
    
    overflow: hidden;
}

section div button {
    width: 97%;
    display: flex;
    justify-content: center;
    gap: 10px;
    justify-items: center;
    align-items: center;
    padding: 5px 10px;
    background: #E91E63;
    border: none;
    cursor: pointer;
    color: #fff;
    margin-top: -2px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}
.postsHeader{
    text-align: center;
    padding: 20px;
    font-weight: 700;
    background: blanchedalmond;
}












@media only screen and (max-width: 768px) { /* smartphones, Android phones, landscape iPhone */ 
    body {
          scrollbar-width: auto;
          overflow-y: scroll;
    }

    .header {
        display: block;
    }

    .category ul {
       display: flex;
        list-style: none;
        padding: 0;
        margin: 0px;
        margin-bottom: 10px;
        flex-wrap: wrap;
        align-items: center;
    }
    .category ul li {
        margin-bottom: 10px;
    }



    .main_container {
        margin: 0px auto;
        display: flex;
        box-shadow: 0px 0px 5px #d5d5d5;
        width: 99%;
        flex-direction: column;
        align-items: center;
    }
    .category_list_widget {
        width: 100%;
    }

    .mainReffPosts {
        width: 100%;
    }

    section div {
        padding-top: 10px;
    }

    section div a {
        min-inline-size: -webkit-fill-available;
    }


    section div img {
        height: 205px;
        border-radius: 8px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
        padding: 2px;
        width: 95%;
        box-shadow: 0px 0px 5px black;
        margin-bottom: 5px;
    }

    section div span {
        /* width: 200px; */
        text-overflow: unset;
        text-wrap: unset;
        text-overflow: unset;
        padding: 7px 10px;
        margin: 0px;
    }





    footer {
        background-color: #2c3e50;
        color: white;
        /* padding: 40px 0; */
    }


}
