@import url('https://fonts.googleapis.com/css?family=Allura|Raleway:200,300,400,500,600,700,800,900');

/* Basic CSS Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Raleway', sans-serif;
}
body {
	font-size: var(--font-size-small);
	font-family: var(--font-stack);
	font-weight: 400;
	color: var(--white-1);
	line-height: var(--line-height-normal);
	background: var(--black);
	overflow-x: hidden;
	background-color: #1b4a4a;
}

.header {
	text-align: center;
	margin: 0;
}

.search-input {
	font-size: 1.5em;
	border: 2px solid rgba(21, 4, 48, 0.89);
	outline: none;
	padding: 5px;
	border-radius: 15px;
}
.blogs-span {
	color: rgba(21, 4, 48, 0.89);
	padding: 10px;
	font-size: 1.5em;
}
.total-blogs {
	text-align: center;
	color: rgba(21, 4, 48, 0.89);
	margin-bottom: 25px;
}

.blog-nav {
	display: flex;
	justify-content: space-evenly;
	padding: 20px 12rem;
	align-items: center;
}
.blog-nav > img {
	width: 10%;
}
.blog-nav > a {
	display: flex;
	text-decoration: none;
	color: white;
	font-size: 1em;
	gap: 9px;
}

.blog-nav > a:hover {
	color: var(--pink);
}

.title {
	font-size: 48px;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
	font-size: 32px;
	margin: 10px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.description {
	font-size: 18px;
	line-height: 1.5;
}

.fa {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.fa,
.fa-brands,
.fa-classic,
.fa-regular,
.fa-sharp,
.fa-solid,
.fab,
.far,
.fas {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: var(--fa-display, inline-block);
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	text-rendering: auto;
}
.fa {
	font-family: var(--fa-style-family, 'Font Awesome 6 Free');
	font-weight: var(--fa-style, 900);
}
a.link {
	color: white;
}

/* date end */
/* spinner css start*/
.spinner {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}

.spinner div {
	animation: spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	transform-origin: 40px 40px;
}

.spinner div::after {
	content: ' ';
	display: block;
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0c0527;
	margin: -4px 0 0 -4px;
}

.spinner div:nth-child(1) {
	animation-delay: -0.036s;
}

.spinner div:nth-child(1)::after {
	top: 63px;
	left: 63px;
}

.spinner div:nth-child(2) {
	animation-delay: -0.072s;
}

.spinner div:nth-child(2)::after {
	top: 68px;
	left: 56px;
}

.spinner div:nth-child(3) {
	animation-delay: -0.108s;
}

.spinner div:nth-child(3)::after {
	top: 71px;
	left: 48px;
}

.spinner div:nth-child(4) {
	animation-delay: -0.144s;
}

.spinner div:nth-child(4)::after {
	top: 72px;
	left: 40px;
}

.spinner div:nth-child(5) {
	animation-delay: -0.18s;
}

.spinner div:nth-child(5)::after {
	top: 71px;
	left: 32px;
}

.spinner div:nth-child(6) {
	animation-delay: -0.216s;
}

.spinner div:nth-child(6)::after {
	top: 68px;
	left: 24px;
}

.spinner div:nth-child(7) {
	animation-delay: -0.252s;
}

.spinner div:nth-child(7)::after {
	top: 63px;
	left: 17px;
}

.spinner div:nth-child(8) {
	animation-delay: -0.288s;
}

.spinner div:nth-child(8)::after {
	top: 56px;
	left: 12px;
}

@keyframes spinner {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* spinner css end*/

.blog-item-description {
	color: #ccc;
}

/* contact */
section {
	padding: var(--gutter-huge) 0;
	border-bottom: var(--border-light);
}

a#backHomeLink {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.footer {
	background-color: #1b4a4a;
	color: #fff;
	text-align: center;
	padding: 20px;
}

.footer p {
	margin: 0;
	color: #fff;
}
/* footer css end */

/* blogs container css */
.view-all-blogs-btn {
	border: 1px solid #262626;
	border-radius: 10px;
	color: #262626;
	padding: 5px;
	background-color: #26262621;
}
.blogs-part {
	margin: 0 auto;
	text-align: center;
	padding: 15px 60px 20px 60px;
}

.blogs-container {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
}

.blog-container {
	border: 1px solid #ccc;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	transition: transform 0.2s ease-in-out;
	cursor: pointer;
	max-width: 600px;
}

.blog-container img {
	max-width: 100%;
	max-height: 200px;
}

.blog-container h2 {
	font-size: 1.5rem;
	margin: 0;
	color: #333;
}

.blog-container:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-container {
	text-align: center;
	margin: 20px;
}

.all-blogs-section {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	padding: 2rem;
}

.card-section {
	margin: 1rem;
	max-width: 100%;
	height: auto;
	border-radius: 1rem;
	min-width: 280px;
	flex: 0 1 auto;
}

.blog-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.blog-item-thumbnail {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease;
	height: 100%;
}

.blog-item-thumbnail img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.blog-item-content {
	padding: 1rem;
}

.post-item-content-container {
	color: #666;
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.blog-item-description {
	color: #333;
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.4;
}

@media screen and (max-width: 768px) {
	.all-blogs-section {
		padding: 1rem;
		gap: 1rem;
	}
	
	.card-section {
		margin: 0.5rem;
	}
}

.banner-img {
	overflow: hidden;
}

.ourBlogsTitle {
	font-size: 36px;
	font-weight: 800;
	font-family: 'Raleway', sans-serif;
	line-height: 1.3;
	color: white;
	justify-content: center;
	align-items: center;
	display: flex;
	margin: 30px;
}

a.read-more-btn {
	font-size: 14px;
	color: #a6a6a6;
	padding: 0;
	text-decoration: none;
	cursor: pointer;
}

a.read-more-btn:hover {
	color: var(--pink);
	font-size: 15px;
}

h1.blog-item-content {
	padding: 20px 0;
}

img {
	width: 100%;
}

.footer__social-image {
	width: 30px;
	height: 30px;
}

.footer__social-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	padding-bottom: 40px;
	list-style: none;
}

.row {
	margin-bottom: 2rem;  /* Space between rows */
}

.blog-item-container {
	margin-bottom: 2rem;  /* Space between cards in case they wrap */
}

.blog-item-content p {
	margin: 0;
	color: #000;
	padding: 0 20px;
}
