@font-face {
    font-family: 'sf-ui';
    src: url('../fonts/sf-ui-display-medium-58646be638f96.otf');
}

@font-face {
    font-family: 'sf-ui-bold';
    src: url('../fonts/sf-ui-display-bold-58646a511e3d9.otf');
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: #0F172A;
}

body::-webkit-scrollbar {
    display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

header .top {
    position: relative;
    background-color: #0F172A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 3.5rem;
    padding-right: 4rem;
}


header .top .logo img {
    height: 2rem;
}

header .top ul {
    list-style-type: none;
    display: flex;
    width: 100%;
    gap: 2rem;
    width: 100%;
}

header .top ul li a {
    font-family: Inter;
    font-weight: bold;
    text-decoration: none;
    color: #D8DEE7;
    transition: 0.1s ease;
}

header .top ul li a:hover {
    color: #4348A6;
}

.blog .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog .top h1 {
    font-family: sf-ui;
}

.blog .top pre {
    font-family: sans-serif;
    font-size: 0.8rem;
}

.menu2 {
    display: none;
    background-color: rgba(255, 255, 255, 0.02);
    margin: 2rem;
    margin-top: 0.4rem;
    border-radius: 10px;
}

.menu2 ul {
    padding: 1rem 0;
    padding-left: 2rem;
    padding-right: 2rem;
    list-style-type: none;
    /* gap: ; */
    display: flex;
    flex-direction: column;
}

.menu2 ul a {
    text-decoration: none;
    color: #D8DEE7;
    font-family: Inter;
    font-weight: bold;
    padding-left: 0.6rem;
}

.menu2 ul li {
    padding: 0.5rem 0;
    border-radius: 7px;
}

.menu2 ul li:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

header .top .navbar {
    display: flex;
    align-items: center;
}


header .top .navbar button {
    background: transparent;
    border: 0px solid black;
    height: 2rem;
    width: 2rem;
    display: none;
}


main {
    position: relative;

}

.landingContainer {
    overflow: hidden;
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transition: 0.1s ease;
}

.bgContainer {
    position: relative;
    height: 60vh;
    min-height: 290px;
}

.bg-search {
    height: 100%;
    width: 100%;
    text-align: center;
    overflow: hidden;
    object-fit: cover;

}

.landing {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
    text-align: center;
}


.landing h1 {
    font-family: Poppins;
    font-weight: bold;
    font-size: 4.3rem;
    color: #D8DEE7;
}

.inputContainer {
    position: relative;
    width: 74%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1.8rem;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: space-evenly;
}

.inputContainer i {
    font-size: 1.5rem;
}

.landing .inputContainer input {
    padding: 0 2rem;
    box-sizing: border-box;
    width: 90%;
    border: 0px solid black;
    background: transparent;
    height: 3.7rem;
    border-radius: 0 1.8rem 1.8rem 0;
    color: #D8DEE7;
    font-size: 1.1rem;
}

#search:focus {
    outline: none;
}

.landing input::placeholder {
    /* font-family: sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #D8DEE7;
    padding-left: 1%;
    padding-top: 1.5rem;
}


.tags {
    white-space: nowrap;
    margin: 0 auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    overflow-x: scroll;
    width: 87%;
}

.tags::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.tags div {
    margin: 0 0.3rem;
    display: inline-block;
    border-radius: 50%;
    padding: 0.4rem 1.1rem;
    border-radius: 1rem;
    font-family: sans-serif;
    font-weight: 350;
    background-color: rgba(255, 255, 255, 0.1);
}

.tags div span {
    text-decoration: none;
    color: #D8DEE7;
    cursor: pointer;
    white-space: pre;
}

.blogs {
    color: #D8DEE7;
    background-color: #0F172A;
}

.blogs a {
    text-decoration: none;
    color: #D8DEE7;
    /* cursor: none; */
}

.blogAnchor{
    cursor: pointer;
}


.blogs .topContainer {
    padding: 2rem 0;
}

.topContainer {
    display: flex;
    justify-content: space-between;
    margin-right: 7%;
    align-items: center;
}

.topContainer div {
    width: 100%;
}

#filter {
    /* width: 100%; */
    gap: 4%;
    display: flex;
    align-items: start;
}

#removefilter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size:0.6rem 
}

#removefilter img {
    height: 1.4rem;
    stroke: #D8DEE7;
}


.blogs .topContainer .heading {
    margin-left: 7%;
    font-size: 2.8rem;
    font-family: sf-ui;
    white-space: pre;
    /* width: 100%; */
}

#removefilter {
    font-family: sf-ui-bold;
    margin-top: 1rem;
    /* margin-left: 7%; */
    cursor: pointer;
}

.numMenu ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.numMenu ul li span {
    color: #D8DEE7;
    cursor: pointer;
}

.numMenuContainer {
    width: 100%;
    display: none;
}

.numMenu1 {
    margin: 1rem;
    margin-top: 2rem;
}

.numMenu1 ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-around;
}

.numMenu1 ul li a {
    text-decoration: none;
    color: #D8DEE7;
}

.numMenu1 ul li span {
    font-size: 1.2rem;
}

.numItem {
    font-size: 1.5rem;
    padding: 0 0.5rem;
    border-radius: 5px;
    transition: 0.1s ease;
}

.curentPage {
    background-color: #D8DEE7;
    color: #0F172A;
}

.numstyle {
    font-size: 1.5rem;
    padding: 0 0.5rem;
    border-radius: 5px;
}

.numItem:hover {
    background-color: #D8DEE7;
    color: #0F172A;
}

.topContainer nav {
    height: 30px;
}

.alert {
    font-family: sf-ui;
}

.blogs .blog {
    margin: 2rem 7%;
    cursor: pointer;
}

.blogs .blog h1 {
    font-size: 2.5rem;
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
    font-weight: 400;
    margin-bottom: 1rem;
}

.blogs .blog p {
    font-family: "Noto Serif";
    margin-bottom: 1rem;
    font-size: 1rem;
}

.blogs hr {
    color: #717171;
    margin: 0 7%;
}

.blogTags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.blogTag {
    font-size: 0.7rem;
    display: inline-block;
    border-radius: 50%;
    padding: 0.4rem 0.9rem;
    border-radius: 1rem;
    font-family: sans-serif;
    font-weight: 350;
    background-color: rgba(122, 89, 230, 0.4);
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 3rem 0;
    gap: 1rem;
}

footer .socials {
    display: flex;
    gap: 1.8rem;
}

footer .socials a img {
    height: 1.2rem;
}

.copyright {
    font-size: 1rem;
    color: #D8DEE7;
}

.copyright pre {
    font-family: "Inter";
}

.copyright a {
    color: #D8DEE7;
    text-decoration: none;
}


@media only screen and (max-width:960px) {
    .landing {
        top: 20%;
    }
    .blog .top {
        flex-direction: column;
        margin-bottom: 0.5rem;
        align-items: start;
    }

    .landing h1 {
        font-size: 2.8rem;
    }
}

@media only screen and (max-width:770px) {

    .blogs .topContainer .heading {
        font-size: 2.2rem;
    }

    .blogs .topContainer span {
        font-size: 1.2rem;
    }

    .landing .inputContainer input {
        height: 3.2rem;
    }

    header .top {
        padding: 0.6rem 2.5rem;
    }

    .blogs .topContainer {
        padding-bottom: 0px;
    }

    .blogs .blog h1 {
        font-size: 2rem;
    }

   

    header .top .navbar ul {
        display: none;
    }

    header .top .navbar button {
        display: inline-block;
    }

    header .top {
        align-items: start;
    }

    .landing .inputContainer i {
        padding-left: 1rem;
    }
}

@media only screen and (max-width:600px) {
    .numMenu {
        display: none;
    }

    .numMenuContainer {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tags div a {
        font-size: 0.6rem;
    }

    .blogs .topContainer span {
        font-size: 1.8rem;
    }

    .landing h1 {
        font-size: 2.2rem;
        margin: 0 15px;
    }

    .landing input::placeholder {
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .landing .inputContainer input {
        padding: 0 1rem;
        height: 2.8rem;
    }


}