@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "poppins";
}
:root{
    --maintext:"poppins";
    --normal_text_color:#666;
    --back:#f6f6f6;
    
}
body{
    font-family: var(--maintext);
    background: var(--back);
}

/* -----------------------------HEADER CSS------ */



/* For WebKit (Chrome, Safari, Opera) */
::-webkit-scrollbar {
    width: 10px;
    background-color: transparent;
    /* Set the width of the scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: #00172d;
    width: 8px;
    /* Set the color of the thumb */
    border-radius: 3px;
    /* Optional: Add rounded corners to the thumb */
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

header {
    background: #001d35;
    /* background-color: white; */
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    height: 7vh;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content {
    width: 80%;
    /* border: 1px solid red; */
    height: 7vh;
    display: flex;
}

.content .logo {
    width: 25%;
    height: 7vh;
    /* border: 1px solid green; */
}

.content .logo img {
    height: 100%;
}

nav {
    width: 45%;
    padding: 10px;
    height: 7vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border: 1px solid green; */
}

nav a {
    /* border: 1px solid orange; */
    padding: 8px 10px;
    border-radius: 5px;
    transition: color 0.3s ease-in-out;
    position: relative;
    color: #ddd;
}

nav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff9900;
    /* Change to your preferred underline color */
    transform: scaleX(0);
    /* Initially, set the width to 0 */
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

nav a:hover {
    color: #ff9900;
    /* Change to your preferred hover color */
}

a:hover::before {
    transform: scaleX(1);
    /* Expand the underline to full width on hover */
    transform-origin: bottom left;
}

nav a.normal_text.active {
    color: orange;
    border-bottom: 2px solid #ff9900;
}

.buttons {
    width: 30%;
    height: 7vh;
    /* border: 1px solid red; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.button_div {
    border: 1px solid red;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button_div img {
    width: 20px;
    margin-right: 3px;
    filter: brightness(0) saturate(100%) invert(46%) sepia(97%) saturate(6693%) hue-rotate(29deg) brightness(114%) contrast(94%);
}

.button_div p {
    color: #fff;
    font-size: 12px;
}

.order_btn {
    margin-right: 20px;
    background-color: rgb(0, 0, 0);
    border: none;
    border-radius: 10px;
    padding: 9px 25px;
}

.account_btn {
    margin-right: 20px;
    /* background-color: green; */
    border: 2px solid #ff9900;
    /* border: none; */
    border-radius: 10px;
}

.menubtn {
    display: none;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.para_title {
    font-size: 30px;
    text-transform: uppercase;

    color: #ff9900;
    font-weight: 700;
}

.normal_text {
    font-size: 13px;
    color: #ddd;
}

.normal_body_text {
    color: black;
    font-size: 13px;
    margin-top: 10px;
}
/* ---------------------------------top of page div0---------------------------- */
.top {
    width: 100%;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(45deg,
            transparent 25%,
            rgba(255, 255, 255, 0.05) 5%,
            rgba(255, 255, 255, 0.05) 80%,
            transparent 10%,
            transparent 10%,
            rgba(0, 0, 0, 0.05) 75%,
            rgba(0, 0, 0, 0.05) 100%);
    background-size: 10px 10px;
    background-color: #00172d;
    position: relative;
    margin-top: 7vh;
}

.custom-shape-divider-bottom-1705429212 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1705429212 svg {
    position: relative;
    display: block;
    width: calc(172% + 1.3px);
    height: 59px;
}

.custom-shape-divider-bottom-1705429212 .shape-fill {
    fill: #f4f4f4;
}

.titleblock {
    width: 80%;
    height: 15vh;
    /* border: 1px solid red; */
}

.titleblock p {
    font-weight: 900;
    font-size: 50px;
    color: #ddd;
}

.titleblock span {
    font-weight: 600;
    font-size: 14px;
    color: #666;
}




/* ----------------------------THE END OF HEADER -------------- */




.hero_section{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 80%;
    /* margin-top: 20px; */
    margin-top: 8vh;
    height: 70vh;
    margin-left: 10%;
    background-color: #f9f9f9;

    border-radius: 5px;
}
.mainstory{
    width: 70%;
    /* border: 1px solid red; */
    height: 100%;
    position: relative;
}
.mainstory img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.mainstory .text{
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    background-color: #00000080;
    border-radius: 0px 200px 0px 0px;
}
.mainstory .text p{
    color: #f9f9f9;
}
.mainstory span{
    border: 2px solid #ff9900;
    padding: 10px 20px ;
    border-radius: 20px;
    position: absolute;
    color: #fff; 
    bottom: 10px;
    right: 20px;
    font-size: 12px;
}
.substories{
    width: 29%;
    margin-left: 1%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 2px solid #666;
}
.substories .sub_story_div{
    border-radius: 5px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px;
    /* border: 1px solid #ddd; */
    border-bottom: 2px solid #ff9900;
    box-shadow: -2px -2px 4px rgba(0,0,0,0.2);
    /* background-color: #ddd; */
    /* border: 1px solid red; */
}
.substories .sub_story_div:hover{
    background:#eee;
}
.substories .sub_story_div img{
    width: 30%;
    height: 80px;
    border-radius: 5px;
}
.sub_story_div .details{
    width: 70%;
    padding: 10px;
    /* background-color: #ddd; */
}
.sub_story_div .details p{
    font-size: 12px;
    color: #00172d;
    line-height:14px;
}


/* -----------------------------heading-------------------------------------- */
.heading_div{
    width: 80%;
    margin-left: 10%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.heading_div hr{
    height: 5px;
    width: 20%;
    background-color: #fff;
    border: none;
    border-radius: 10px;
}
.heading_div p {
    padding:  10px 50px;
    font-weight: 900;
    color: #00172d;
    font-size: 30px;
}




/* -----------------------------other_stories-------------------------------------- */
.other_stories{
    width: 80%;
    margin-left: 10%;
    gap: 10px;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
}
.other_stories .story_div_anchor{
    display: flex;
    flex-direction:column;
    width: 100%;
    height: auto;
    
}
.story_div {
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
}
.story_div  img{
    border-radius: 5px;
    width: 100%;
    height: 250px;

}
.story_div p.blog_title{
     /*border: 1px solid red; */
    display: flex;
    height: auto;
    margin-bottom:10px;
    font-size: 14px;
}
.story_div p{
    font-size: 12px;
    color: #666;
}
.story_div p.blog_title{
     /*border: 1px solid red; */
    display: flex;
    height: auto;
    margin-bottom:10px;
    font-size: 18px;
    font-weight: 700;
}
.story_div .flex{
    width:100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee; 
    padding:10px;
}
.readmore{
    font-size: 12px;
    color:#1DA1F2 ;
    border: 2px solid #1DA1F2;
    padding:10px 30px;
    border-radius: 5px;
    transition: background-color .2s ease-in-out;

}
.readmore:hover{
    background-color: #1DA1F2;
    color: #f9f9f9;
}
 
/* -----------------------------story_div-------------------------------------- */
.sidenav {
    display: none;
}
.blog-post {
    width: 80%;
    margin-left:10%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.post-image{
    width:100%;
    height:100%;
    /*border:1px solid red;*/
    display:flex;
}
.post-image img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    /*border:1px solid red;*/
}
.post-content p {
    font-size: 1.1em;
    line-height: 1.6;
}

.posted_by_date{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    justify-content: space-between;
    width: 100%;
    padding:10px;
}
.writer{
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 10px;
}
.writer p.publisher{
    color: #ff9900;
}
.posted_by_date p span{
    color: #ff9900;
}
@media only screen and (max-width:800px) {

    header {
        background: #001d35;
        /* background-color: white; */
        width: 100%;
        height: 7vh;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .content {
        width: 100%;
        /* border: 1px solid red; */
        height: 7vh;
        /* display: none; */
    }

    .content .logo {
        width: 25%;
        height: 7vh;
        /* border: 1px solid green; */
    }

    .content .logo img {
        width: 100%;
        height: 100%;
    }

    nav {
        display: none;
    }

    .buttons {
        width: 75%;
        height: 7vh;
        /* border: 1px solid red; */
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .button_div {
        /* border: 1px solid red; */
        padding: 8px 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .button_div img {
        width: 15px;
        margin-right: 3px;
        filter: brightness(0) saturate(100%) invert(46%) sepia(97%) saturate(6693%) hue-rotate(29deg) brightness(114%) contrast(94%);
    }

    .button_div p {
        color: #fff;
        font-size: 10px;
    }

    .order_btn {
        margin-right: 10px;
        background-color: rgb(0, 0, 0);
        border: none;
        border-radius: 5px;
        padding: 9px 10px;
    }

    .account_btn {
        margin-right: 10px;
        /* background-color: green; */
        border: 2px solid #ff9900;
        /* border: none; */
        border-radius: 10px;
    }

    .menubtn {
        background-color: transparent;
        border: none;
        margin: 10px;
        display: block;

    }

    .menubtn img {
        width: 30px;
        filter: brightness(0) invert(1);
    }

    .center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .para_title {
        font-size: 30px;
        text-transform: uppercase;

        color: #ff9900;
        font-weight: 700;
    }

    .normal_text {
        font-size: 13px;
        color: #ddd;
    }

    .normal_body_text {
        color: black;
        font-size: 13px;
        margin-top: 10px;
    }
    /* ----------------------------THE END OF HEADER -------------- */




    .hero_section {
        display: flex;
        flex-direction: column;
        width: 98%;
        margin-top: 8vh;
        height: auto;
        margin-left: 1%;
    }

    .mainstory {
        width: 100%;
        height: 50vh;
    }

    .mainstory img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .mainstory .text {
        width: 100%;
        height: 130px;
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 10px;
        background-color: #00000040;
        border-radius: 0px 20px 0px 0px;
    }

    .mainstory .text p {
        font-size: 12px;
        color: #f9f9f9;
    }

    .mainstory span {
        border: 2px solid #ff9900;
        padding: 10px 20px;
        border-radius: 20px;
        position: absolute;
        color: #ff9900;
        bottom: 10px;
        right: 20px;
        font-size: 12px;
    }

    .substories {
        width: 98%;
        margin-left: 1%;
        display: flex;
        flex-direction: column;
    }

    .substories .sub_story_div {
        padding: 5px;
    }




    /* -----------------------------heading-------------------------------------- */
    .heading_div {
        width: 98%;
        margin-left: 1%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .heading_div hr {
        height: 5px;
        width: 20%;
        background-color: #f9f9f9;
        border: none;
        border-radius: 10px;
    }

    .heading_div p {
        padding: 10px 10px;
        font-weight: 900;
        color: #00172d;
        font-size: 20px;
    }



    /* -----------------------------other_stories-------------------------------------- */
    .other_stories {
        grid-template-columns: auto ;
        width: 98%;
        margin-left: 1%;
    }
    .story_div {
        height: 300px;
    }
    .story_div img {
        height: 180px;
    }
    .story_div .blog_title {
        /* border: 1px solid red; */
        display: flex;
        height: 50px;
        font-size: 12px;
    }

    .flex .readmore {
        padding: 10px 35px;
    }
    .flex p {
        font-weight: 400;
    }
    .sidenav {
        display: block;
        height: 100%;
        /* 100% Full-height */
        width: 0;
        /* 0 width - change this with JavaScript */
        position: fixed;
        /* Stay in place */
        z-index: 1000;
        /* Stay on top */
        top: 0;
        /* Stay at the top */
        left: 0;
        background-image: linear-gradient(45deg,
                transparent 25%,
                rgba(255, 255, 255, 0.05) 5%,
                rgba(255, 255, 255, 0.05) 80%,
                transparent 10%,
                transparent 10%,
                rgba(0, 0, 0, 0.05) 75%,
                rgba(0, 0, 0, 0.05) 100%);
        background-size: 10px 10px;
        background-color: #00172d;
        /* Black*/
        overflow-x: hidden;
        /* Disable horizontal scroll */
        padding-top: 60px;
        /* Place content 60px from the top */
        transition: 0.5s;
        /* 0.5 second transition effect to slide in the sidenav */
    }

    /* The navigation menu links */
    .sidenav a {
        width: 90%;
        margin-left: 5%;
        margin-top: 10px;
        height: 50px;
        padding-left: 20px;
        display: flex;
        align-items: center;
        border: 2px solid #ff9900;
        text-decoration: none;
        font-size: 16px;
        color: #818181;
        /* display: block; */
        transition: 0.3s;
    }

    /* Position and style the close button (top right corner) */
    .sidenav .closebtn {
        padding: 0px 10px;
        position: absolute;
        top: 10px;
        background-color: #00172d;
        border-radius: 50%;
        color: white;
        right: 10px;
        font-size: 35px;
        margin-left: 0px;
    }
}









