@import url('https://fonts.googleapis.com/css?family=Poppins:400,700,900');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
    scroll-behavior: smooth;
}

header,
footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header {
    box-shadow: 0px 5px 10px -3px rgba(0, 0, 0, 0.2);
    padding: 15px 10px;
    /* background-color: ; */
}

footer {
    background: linear-gradient(0deg, #e8f4ff 0%, #fff 100%);
}

a:hover {
    color: #0074df !important;
}

.w-full {
    width: 100%;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.gap-0 {
    gap: 0 !important;
}

.d {
    margin: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


.da {
    transition: all 0.5s;
    border-radius: 10px !important;
    box-shadow: 0px 18px 15px -3px rgba(0, 0, 0, 0.2);
}

.da:hover {
    transform: translateY(-10px);
}

.da:hover img {
    transform: scale(1.1);
}

.da .di {
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.da img {
    transition: all 0.5s;
    height: 100%;
    width: 100%;
}

.da .daa {
    padding: 20px;
}

.da .daa span {
    font-size: smaller;
}

a.h3 {
    font-weight: 550;
    font-size: medium !important;
}

.da .daa p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: small;
}

.e {
    margin: 30px;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}

.de {
    transition: all 0.5s;
    border-radius: 10px !important;
    box-shadow: 0px 3px 15px -3px rgba(0, 0, 0, 0.2);
}

.de:hover {
    transform: translateY(-10px);
}

.de img {
    height: 40px;
}

.dae p {
    font-size: small;
}

.container img {
    max-width: 90%;
}

.dae {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dae h3 {
    margin: 0;
    margin-top: 10px;
}

.dae a {
    margin: 0;
    padding: 10px 20px;
    background-color: #0074df;
    color: rgba(255, 255, 255, 1);
    border-radius: 5px;
}

.dae a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.underline {
    width: 100px;
    height: 3px;
    background-color: #0074df;
    border-radius: 10px;
}

.gap-05 {
    gap: 0.5rem;
}

.gap-1 {
    gap: 1rem;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin-inline: auto;
}

section.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    margin: 10px;
}

section.home-section .c h1 {
    font-size: 50px;
    margin: 0;
}

section.home-section .c a {
    margin: 0;
    padding: 10px 20px;
    background-color: #0074df;
    color: rgba(255, 255, 255, 1);
    border-radius: 5px;
}

section.home-section .c a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.home-section .c {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1rem 0;
}

p,
a {
    font-size: 1rem;
    font-weight: 400;
    margin: 1rem 0;
    color: black;
}

a {
    text-decoration: none;
    font-size: small;
}

i.fa-chevron-right {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
}

.p-1 {
    padding: 1rem;
}

.p-i-1 {
    padding-inline: 1rem;
}

.p-b-1 {
    padding-block: 1rem;
}

.p-2 {
    padding: 2rem;
}

.mb-1 {
    margin-block: 1rem;
}

.di img {
    max-width: none !important;
}

ul,
ol {
    margin-inline-start: 2rem;
}

ol.roman {
    list-style-type: upper-roman;
}

.list-style-none {
    margin-inline-start: 0rem;
    list-style: none;
}

input {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #000;
}

input:focus {
    border: 1px solid #333;
}

header .header-container {
    max-width: 1400px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    padding: 0.2rem;
}

header a img,
footer a img {
    width: 350px;
}

header nav.header-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    height: 100%;
}

header nav.header-nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: small;
    padding: 0.5rem;
}

header .dropdown-mobile {
    display: none;
}

header .dropdown-content i {
    color: #000 !important;
}

.user-profile {
    /* height: 20px; */
    border: none !important;
    padding: 10px !important;
}

.user-profile:hover {
    background-color: transparent !important;
}

.user-profile-data .log-out-btn {
    display: block;
    margin: 0 !important;
    padding: 10px;
    text-align: center;

}

.container.author {
    width: 100%;
    padding: 1rem;
    /* background-color: rgba(0, 0, 0, 0.1); */
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-user-login {
    position: relative;
}

.container.author .author-p {
    padding: 0.8rem 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.user-profile-data {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    box-shadow: 0px 2px 50px -3px rgba(0, 0, 0, 0.3);
    font-size: small !important;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
}

.user-profile-data .a {
    padding: 10px;
}

.user-profile-data .icon {
    margin-bottom: 10px;
}

.small-txt,
p.small-txt {
    font-size: small !important;
}

.blog-img {
    width: 95%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 0.5rem;
    border: 1px solid #000;
}

footer .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.main-container-b {
    max-width: 1300px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.l-container {
    padding: 10px;
    max-width: 1000px;
    width: calc(100% - 320px);
    margin-inline: auto;
}

.r-container {
    padding: 5px;
    width: 300px;
}

.r-container .related-articles {
    position: relative;
    line-height: 1.5cm;
}

.r-container .related-articles::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.6);
}

.comment-section {
    width: 98%;
    max-width: 1300px;
    margin-inline: auto;
}

.related-a {
    margin-block: 10px;
    padding: 10px;
    /* border: 1px solid rgba(0, 0, 0, 0.4); */
    border-radius: 5px;
}

.color-b {
    color: blue;
}

a.color-b:hover {
    text-decoration: underline;
}

.related-a .anchors-r a {
    padding: 5px;
    color: blue;
}

.related-a .anchors-r a:hover {
    text-decoration: underline;
}

nav.container ul li a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-block: 5px;
}

.search-container {
    margin-block: 10px;
    width: 100%;
}

.search-container .search-a {
    width: 100%;
    display: flex;
}

.search-container input {
    border-radius: 30px;
    padding: 20px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.8);
    outline: none;
}

.search-container .search-btn {
    border-radius: 30px;
    padding-inline: 21px;
}

.search-container .search-btn:hover {
    background-color: transparent !important;
}

@media only screen and (max-width:1100px) {
    .main-container-b {
        flex-direction: column;
        gap: 0;
    }

    .l-container,
    .r-container {
        width: 100%;
    }
}

@media only screen and (max-width:900px) {
    .d {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width:900px) {

    .e {
        grid-template-columns: repeat(1, 1fr);
    }

    header a img,
    footer a img {
        width: 250px;
    }

    header nav.header-nav ul {
        gap: 10px;
    }

    header nav.header-nav ul .d-anchors {
        display: none;
    }

    header .dropdown-mobile {
        display: block;
        /* padding-right: 1rem; */
    }

    header .dropdown-mobile .dropbtn {
        padding: 0.5rem;
        background-color: transparent;
        border: 0;
    }

    header .header-container .dropdown-content {
        display: none;
        position: absolute;
        right: 0;
        top: 100px;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    header .header-container .dropdown-content ul {
        margin: 0;
        display: flex;
        gap: 0.2rem;
        flex-direction: column;
    }

    header .header-container .dropdown-content ul li {
        padding: 0.5rem;
    }

    header .dropdown-mobile:hover .dropdown-content {
        display: block;
    }
}

@media only screen and (max-width:600px) {
    .d {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width:400px) {

    header a img,
    footer a img {
        width: 200px;
    }
}

@media only screen and (max-width:300px) {

    header a img,
    footer a img {
        width: 170px;
    }
}

.btn-loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.btn-loader {
    width: 25px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(circle closest-side, #fff 90%, #ffff);
    background:
        var(--_g) 0% 50%,
        var(--_g) 50% 50%,
        var(--_g) 100% 50%;
    background-size: calc(100%/3) 100%;
    animation: animation 1s infinite linear;
}

@keyframes animation {
    33% {
        background-size: calc(100%/3) 0%, calc(100%/3) 100%, calc(100%/3) 100%
    }

    50% {
        background-size: calc(100%/3) 100%, calc(100%/3) 0%, calc(100%/3) 100%
    }

    66% {
        background-size: calc(100%/3) 100%, calc(100%/3) 100%, calc(100%/3) 0%
    }
}

ul {
    list-style-type: disc;
}

.mb-10px {
    margin-bottom: 10px;
}