/* Font Importing */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500&display=swap');

/* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

img {
    width: 200px;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000000;
}

/* for header */
.hero-header {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 9px;
}

.hero-header ul {
    display: flex;
    flex-direction: row;
}

.hero-header li {
    /* border: 4px solid rgb(0, 23, 128); */
    padding: 2px 10px;
    font-weight: 500;
    font-size: 20px;
}

.hero-header a {
    color: #000000;
    text-align: center;
}

/* ---------Search bar --------------------------------------------- */
.search-bar {
    background-color: black;
    text-align: center;
    width: 100%;
    height: auto;
    padding: 1rem 0;
}

.search {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    border-radius: 50px;
    background-color: #ffffff;
    justify-content: flex-start;
    width: auto;
    height: auto;
    padding: 0 .5rem;
}

.search input {
    background-color: #ffffff;
    text-align: center;
    width: 400px;
    height: auto;
    border-radius: 50px;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    text-transform: capitalize;
    padding: .5rem;
}

.search input:focus {
    outline: none;
}

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

/* for blog page */
.container {
    width: 100%;
    height: auto;
    background-color: #000000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10rem;

}

/* FOR ARTICLES */
.top-articles {
    width: 500px;
    height: auto;
    background: #9FB2B4;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    padding: 1rem 5rem 1rem 1rem;
}

.oneh1 {
    align-self: flex-start;
    margin-left: 8px
}

.best-articles {
    width: auto;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    justify-content: space-around;
    gap: 15px;

}

.best {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 5rem;
}

.best img {
    width: 50px;
    height: auto;
    aspect-ratio: 1/1;
}

.art {
    width: 100%;
    height: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 5px;
    gap: 10px;
}

.art h2 {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
}

.art p {
    font-style: normal;
    font-weight: 300;
    font-size: 10px;
    line-height: 15px;
}

/* FOR BLOG CONTENTS */
.contents-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100rem;
    margin-right: 10rem;
    /* background-color: ; */
}

/* for contants */
.contents {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 60px;
    border-bottom: 5px solid #D9D9D9;
}

.titles {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
}

.titles h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    color: #000000;
}

.titles p {
    /* border: 6px solid  burlywood; */
    display: flex;
    flex-direction: row;
    width: fit-content;
    gap: 20px;
}

.titles p span {
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
    color: #900000;
}

.text-contants {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    gap: 1rem;
    text-overflow: ellipsis;
}

.text-contants p {
    flex: 1;
    font-style: normal;
    font-weight: 600;
    color: #000000;
    width: 100%;
    height: 1rem;
    text-overflow: ellipsis;
}

.text-contants img {
    flex: 3;
    width: 30rem;
    height: auto;
}

.likecomments-readmore {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.likecomments {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    gap: 10px
}

.likecomments span {
    display: flex;
    flex-direction: row;
}

.likecomments span p {
    color: #d50000;
}

.read {
    color: #af5555;

}

.read:hover {
    cursor: grab;
    color: #ff0000;

}

.comments, .likes, .unlikes {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.comments i, .likes i, .unlikes i {
    color: #000000;
}

/* for subscribe */
.subscribe {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 10px;
    gap: 10px;
}

.subscribe h1 {
    font-style: normal;
    font-weight: 600;
    font-size: 25px;
    line-height: 30px;
    text-align: center;
    color: #000000;
}

.subscribe h2 {
    font-style: normal;
    width: 30rem;
    font-weight: 600;
    font-size: 25px;
    line-height: 30px;
    text-align: center;
    color: #ffffff;
}

.subscribe input {
    font-family: 'Poppins';
    align-self: center;
    width: 255px;
    height: 43px;
    text-align: center;
    font-weight: 500;
    font-size: 10px;
    line-height: 15px;
    color: #445455;
    border-radius: 20px;
}

.subscribe button {
    width: 160px;
    height: 56px;
    background: #d50000;
    border-radius: 20px;
    text-align: center;
    align-self: center;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #E5E5E5;
    border: none;
}

.subscribe button:hover {
    color: #000000
}


/* fot footer */

footer {
    background-image: url("/Assets/Rectangle\ 81.png");
    /* margin-top: 400px; */
    height: auto;
}

p,
h2,
span,
a {
    color: white;
}

.getInTouch-btn {
    background-color: transparent;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 269.3px;
    cursor: grab;

}

.fa-regular,
.fa-solid {
    color: #d70000;
    padding-right: 9px;
}

.address-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    color: white;
    margin: 15px auto;
}

.address-contact span {
    text-align: center;
    padding: 5px 10px;
}




.connecting {
    display: flex;
    justify-content: space-around;
    margin-bottom: -10px;
}

.connect-item {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;
    width: auto;
}

.fa-brands {
    color: white;
    padding-right: 5px;
}

.connect-form {
    /* border: 4px solid orange; */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-input {
    display: flex;
    gap: 10px;
}


input {
    display: block;
    border: none;
    padding: 5px 5px 0;
}

.form-btn {
    background-color: red;
    color: white;
    width: 130px;
    height: 30px;
    margin-left: auto;
}

.form-textarea {
    min-height: 70px;
}

/* for back to top btn */
.backtop-btn {
    position: relative;
    text-align: right;
    /* border: 5px solid green; */
}

.backtop-btn img {
    width: auto;
    height: auto;
}

.copyright-footer {
    width: 100%;
    text-align: center;
    background-color: #d9d9d9;
    font-size: 15px;
}

.copyright-footer p {
    color: #000000;
}