| Current Path : /home/www/khana.org.af/assets/css/ |
| Current File : /home/www/khana.org.af/assets/css/main.css |
/**
* Template Name: ZenBlog
* Template URL: https://bootstrapmade.com/zenblog-bootstrap-blog-template/
* Updated: Aug 08 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
--default-font: "EB Garamond", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--heading-font: "EB Garamond", sans-serif;
--nav-font: "Inter", sans-serif;
}
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
--background-color: #ffffff; /* Background color for the entire website, including individual sections */
--default-color: #212529; /* Default color used for the majority of the text content across the entire website */
--heading-color: #535353; /* Color for headings, subheadings and title throughout the website */
--accent-color: #465367; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
--surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
--contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}
/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
--nav-color: #6a6a6a; /* The default color of the main navmenu links */
--nav-hover-color: #465367; /* Applied to main navmenu links when they are hovered over or active */
--nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
--nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
--nav-dropdown-color: #6a6a6a; /* Used for navigation links of the dropdown items in the navigation menu. */
--nav-dropdown-hover-color: #465367; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
--background-color: #f9f9f9;
--surface-color: #ffffff;
}
.dark-background {
--background-color: #060606;
--default-color: #ffffff;
--heading-color: #ffffff;
--surface-color: #252525;
--contrast-color: #ffffff;
}
/* Smooth scroll */
:root {
scroll-behavior: smooth;
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
color: var(--default-color);
background-color: var(--background-color);
font-family: var(--default-font);
}
a {
color: var(--accent-color);
text-decoration: none;
transition: 0.3s;
}
a:hover {
color: color-mix(in srgb, var(--accent-color), transparent 25%);
text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--heading-color);
font-family: var(--heading-font);
}
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
display: none;
background: #df1529;
color: #ffffff;
text-align: left;
padding: 15px;
margin-bottom: 24px;
font-weight: 600;
}
.php-email-form .sent-message {
display: none;
color: #ffffff;
background: #059652;
text-align: center;
padding: 15px;
margin-bottom: 24px;
font-weight: 600;
}
.php-email-form .loading {
display: none;
background: var(--surface-color);
text-align: center;
padding: 15px;
margin-bottom: 24px;
}
.php-email-form .loading:before {
content: "";
display: inline-block;
border-radius: 50%;
width: 24px;
height: 24px;
margin: 0 10px -6px 0;
border: 3px solid var(--accent-color);
border-top-color: var(--surface-color);
animation: php-email-form-loading 1s linear infinite;
}
@keyframes php-email-form-loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
--background-color: #f2f2f2;
color: var(--default-color);
background-color: var(--background-color);
padding: 10px 0;
transition: all 0.5s;
z-index: 997;
}
.header .logo {
line-height: 1;
}
.header .logo img {
max-height: 36px;
margin-right: 8px;
}
.header .logo h1 {
font-size: 30px;
margin: 0;
font-weight: 500;
color: var(--heading-color);
}
.header .header-social-links {
padding-right: 15px;
}
.header .header-social-links a {
color: color-mix(in srgb, var(--default-color), transparent 40%);
padding-left: 6px;
display: inline-block;
transition: 0.3s;
font-size: 16px;
}
.header .header-social-links a:hover {
color: var(--accent-color);
}
.header .header-social-links a i {
line-height: 0px;
}
@media (max-width: 1200px) {
.header .logo {
order: 1;
}
.header .header-social-links {
order: 2;
}
.header .navmenu {
order: 3;
}
}
.navmenu li a:hover{
background-color: #379bdf;
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
.navmenu {
padding: 0;
}
.navmenu ul {
margin: 0;
padding: 0;
display: flex;
list-style: none;
align-items: center;
}
.navmenu li {
position: relative;
}
.navmenu a,
.navmenu a:focus {
color: var(--nav-color);
padding: 18px 15px;
font-size: 14px;
font-family: var(--nav-font);
font-weight: 400;
display: flex;
align-items: center;
justify-content: space-between;
white-space: nowrap;
transition: 0.3s;
}
.navmenu a i,
.navmenu a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
transition: 0.3s;
}
.navmenu li:last-child a {
padding-right: 0;
}
.navmenu li:hover>a,
.navmenu .active,
.navmenu .active:focus {
color: var(--nav-hover-color);
}
.navmenu .dropdown ul {
margin: 0;
padding: 10px 0;
background: var(--nav-dropdown-background-color);
display: block;
position: absolute;
visibility: hidden;
left: 14px;
top: 130%;
opacity: 0;
transition: 0.3s;
border-radius: 4px;
z-index: 99;
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.navmenu .dropdown ul li {
min-width: 200px;
}
.navmenu .dropdown ul a {
padding: 10px 20px;
font-size: 15px;
text-transform: none;
color: var(--nav-dropdown-color);
}
.navmenu .dropdown ul a i {
font-size: 12px;
}
.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover>a {
color: var(--nav-dropdown-hover-color);
}
.navmenu .dropdown:hover>ul {
opacity: 1;
top: 100%;
visibility: visible;
}
.navmenu .dropdown .dropdown ul {
top: 0;
left: -90%;
visibility: hidden;
}
.navmenu .dropdown .dropdown:hover>ul {
opacity: 1;
top: 0;
left: -100%;
visibility: visible;
}
}
/* Navmenu - Mobile */
@media (max-width: 1199px) {
.mobile-nav-toggle {
color: var(--nav-color);
font-size: 28px;
line-height: 0;
margin-right: 10px;
cursor: pointer;
transition: color 0.3s;
}
.navmenu {
padding: 0;
z-index: 9997;
}
.navmenu ul {
display: none;
list-style: none;
position: absolute;
inset: 60px 20px 20px 20px;
padding: 10px 0;
margin: 0;
border-radius: 6px;
background-color: var(--nav-mobile-background-color);
overflow-y: auto;
transition: 0.3s;
z-index: 9998;
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.navmenu a,
.navmenu a:focus {
color: var(--nav-dropdown-color);
padding: 10px 20px;
font-family: var(--nav-font);
font-size: 17px;
font-weight: 500;
display: flex;
align-items: center;
justify-content: space-between;
white-space: nowrap;
transition: 0.3s;
}
.navmenu a i,
.navmenu a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: 0.3s;
background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}
.navmenu a i:hover,
.navmenu a:focus i:hover {
background-color: var(--accent-color);
color: var(--contrast-color);
}
.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
color: var(--nav-dropdown-hover-color);
}
.navmenu .active i,
.navmenu .active:focus i {
background-color: var(--accent-color);
color: var(--contrast-color);
transform: rotate(180deg);
}
.navmenu .dropdown ul {
position: static;
display: none;
z-index: 99;
padding: 10px 0;
margin: 10px 20px;
background-color: var(--nav-dropdown-background-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
box-shadow: none;
transition: all 0.5s ease-in-out;
}
.navmenu .dropdown ul ul {
background-color: rgba(33, 37, 41, 0.1);
}
.navmenu .dropdown>.dropdown-active {
display: block;
background-color: rgba(33, 37, 41, 0.03);
}
.mobile-nav-active {
overflow: hidden;
}
.mobile-nav-active .mobile-nav-toggle {
color: #fff;
position: absolute;
font-size: 32px;
top: 15px;
right: 15px;
margin-right: 0;
z-index: 9999;
}
.mobile-nav-active .navmenu {
position: fixed;
overflow: hidden;
inset: 0;
background: rgba(33, 37, 41, 0.8);
transition: 0.3s;
}
.mobile-nav-active .navmenu>ul {
display: block;
}
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
color: var(--default-color);
background-color: var(--background-color);
font-size: 14px;
position: relative;
}
.footer .footer-top {
padding-top: 50px;
border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.footer .footer-about .logo {
line-height: 1;
margin-bottom: 25px;
}
.footer .footer-about .logo img {
max-height: 40px;
margin-right: 6px;
}
.footer .footer-about .logo span {
color: var(--heading-color);
font-family: var(--heading-font);
font-size: 26px;
font-weight: 700;
letter-spacing: 1px;
}
.footer .footer-about p {
font-size: 14px;
font-family: var(--heading-font);
}
.footer .social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
font-size: 16px;
color: color-mix(in srgb, var(--default-color), transparent 20%);
margin-right: 10px;
transition: 0.3s;
}
.footer .social-links a:hover {
color: var(--accent-color);
border-color: var(--accent-color);
}
.footer h4 {
font-size: 16px;
font-weight: bold;
position: relative;
padding-bottom: 12px;
}
.footer .footer-links {
margin-bottom: 30px;
}
.footer .footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer .footer-links ul i {
padding-right: 2px;
font-size: 12px;
line-height: 0;
}
.footer .footer-links ul li {
padding: 10px 0;
display: flex;
align-items: center;
}
.footer .footer-links ul li:first-child {
padding-top: 0;
}
.footer .footer-links ul a {
color: color-mix(in srgb, var(--default-color), transparent 30%);
display: inline-block;
line-height: 1;
}
.footer .footer-links ul a:hover {
color: var(--accent-color);
}
.footer .footer-contact p {
margin-bottom: 5px;
}
.footer .copyright {
padding: 25px 0;
border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.footer .copyright p {
margin-bottom: 0;
}
.footer .credits {
margin-top: 8px;
font-size: 13px;
}
.footer .credits a {
color: var(--default-color);
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
position: fixed;
inset: 0;
z-index: 999999;
overflow: hidden;
background: var(--background-color);
transition: all 0.6s ease-out;
}
#preloader:before {
content: "";
position: fixed;
top: calc(50% - 30px);
left: calc(50% - 30px);
border: 6px solid #ffffff;
border-color: var(--accent-color) transparent var(--accent-color) transparent;
border-radius: 50%;
width: 60px;
height: 60px;
animation: animate-preloader 1.5s linear infinite;
}
@keyframes animate-preloader {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 15px;
bottom: 15px;
z-index: 99999;
background-color: var(--accent-color);
width: 40px;
height: 40px;
border-radius: 4px;
transition: all 0.4s;
}
.scroll-top i {
font-size: 24px;
color: var(--contrast-color);
line-height: 0;
}
.scroll-top:hover {
background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
color: var(--contrast-color);
}
.scroll-top.active {
visibility: visible;
opacity: 1;
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
[data-aos-delay] {
transition-delay: 0 !important;
}
}
/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
color: var(--default-color);
background-color: var(--background-color);
padding: 25px 0;
position: relative;
border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.page-title h1 {
font-size: 24px;
font-weight: 700;
}
.page-title .breadcrumbs ol {
display: flex;
flex-wrap: wrap;
list-style: none;
padding: 0;
margin: 0;
font-size: 14px;
font-weight: 400;
}
.page-title .breadcrumbs ol li+li {
padding-left: 10px;
}
.page-title .breadcrumbs ol li+li::before {
content: "/";
display: inline-block;
padding-right: 10px;
color: color-mix(in srgb, var(--default-color), transparent 70%);
}
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
color: var(--default-color);
background-color: var(--background-color);
padding: 40px 0;
scroll-margin-top: 90px;
overflow: clip;
}
@media (max-width: 1199px) {
section,
.section {
scroll-margin-top: 66px;
}
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
margin-bottom: 60px;
position: relative;
}
.section-title .section-title-container {
padding-bottom: 10px;
border-bottom: 2px solid var(--default-color);
}
.section-title h2 {
font-size: 40px;
font-weight: 0;
}
.section-title p {
margin-bottom: 0;
}
.section-title p a {
color: var(--default-color);
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.5px;
border-bottom: 1.5px solid var(--default-color);
font-family: var(--nav-font);
font-weight: 500;
padding-bottom: 2px;
}
/*--------------------------------------------------------------
# Slider Section
--------------------------------------------------------------*/
.slider {
background-color: transparent;
}
.slider .swiper-pagination .swiper-pagination-bullet {
background-color: color-mix(in srgb, var(--default-color) 90%, white 15%);
}
.slider .swiper-pagination .swiper-pagination-bullet-active {
background-color: var(--accent-color);
}
.slider .swiper-wrapper {
height: auto !important;
}
.slider .swiper-slide {
min-height: 500px;
position: relative;
display: flex;
align-items: flex-end;
background-repeat: no-repeat;
background-size: cover;
}
.slider .swiper-slide::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: color-mix(in srgb, var(--background-color), transparent 50%);
}
@media (max-width: 575px) {
.slider .swiper-slide {
min-height: 300px;
}
}
.slider .swiper-button-prev:after,
.slider .swiper-button-next:after {
font-size: 24px;
color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.slider .content {
padding: 60px 80px;
max-width: 700px;
position: relative;
}
.slider .content a,
.slider .content h2,
.slider .content p {
color: var(--default-color);
}
/*--------------------------------------------------------------
# Trending Category Section
--------------------------------------------------------------*/
.trending-category .post-entry {
margin-bottom: 30px;
}
.trending-category .post-entry img {
margin-bottom: 30px;
}
.trending-category .post-entry h2 {
margin-bottom: 20px;
font-size: 20px;
font-weight: 600;
line-height: 1.2;
}
.trending-category .post-entry h2 a {
color: var(--heading-color);
}
.trending-category .post-entry h2 a:hover {
text-decoration: underline;
}
.trending-category .post-entry.lg h2 {
font-size: 40px;
line-height: 1;
}
.trending-category .post-meta {
font-size: 11px;
letter-spacing: 0.07rem;
text-transform: uppercase;
font-weight: 600;
color: color-mix(in srgb, var(--default-color), transparent 50%);
margin-bottom: 10px;
}
.trending-category .custom-border {
border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}
@media (max-width: 768px) {
.trending-category .custom-border {
border: none !important;
}
}
.trending-category .author .photo {
margin-right: 10px;
}
.trending-category .author .photo img {
width: 40px;
border-radius: 50%;
margin-bottom: 0;
}
.trending-category .author .name h3 {
margin: 0;
padding: 0;
font-size: 15px;
font-family: var(--default-font);
}
.trending-category .trending {
border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.trending-category .trending>h3 {
color: var(--default-color);
padding: 20px;
border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.trending-category .trending .trending-post {
padding: 0;
margin: 0;
}
.trending-category .trending .trending-post li {
padding: 0;
margin: 0;
list-style: none;
display: block;
}
.trending-category .trending .trending-post li a {
display: block;
padding: 20px;
border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
position: relative;
overflow: hidden;
z-index: 2;
}
.trending-category .trending .trending-post li a .number {
position: absolute;
z-index: 1;
font-size: 5rem;
left: -10px;
top: -20px;
font-weight: 700;
font-family: var(--heading-font);
color: color-mix(in srgb, var(--default-color), transparent 95%);
}
.trending-category .trending .trending-post li a h3 {
font-size: 18px;
color: var(--default-color);
transition: 0.3s;
}
.trending-category .trending .trending-post li a .author {
color: color-mix(in srgb, var(--default-color), transparent 50%);
font-weight: 500;
}
.trending-category .trending .trending-post li a:hover h3 {
color: var(--default-color);
text-decoration: underline;
}
.trending-category .trending .trending-post li:last-child a {
border-bottom: none;
}
/*--------------------------------------------------------------
# Culture Category Section
--------------------------------------------------------------*/
.culture-category .post-entry {
margin-bottom: 30px;
}
.culture-category .post-entry h3 a {
color: var(--heading-color);
font-weight: 600;
}
.culture-category .post-entry h3 a:hover {
text-decoration: underline;
}
.culture-category .post-entry .thumbnail {
flex: 0 0 65%;
}
@media (max-width: 960px) {
.culture-category .post-entry .thumbnail {
flex: 0 0 100%;
margin-bottom: 20px;
}
}
.culture-category .post-entry.half .thumbnail {
flex: 0 0 50%;
}
@media (max-width: 768px) {
.culture-category .post-entry.half .thumbnail {
flex: 0 0 100%;
margin-bottom: 20px;
}
}
.culture-category .post-entry.small-img .thumbnail {
flex: 0 0 30%;
}
@media (max-width: 768px) {
.culture-category .post-entry.small-img .thumbnail {
flex: 0 0 100%;
margin-bottom: 20px;
}
}
.culture-category .border-bottom {
border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}
.culture-category .post-meta {
font-size: 11px;
letter-spacing: 0.07rem;
text-transform: uppercase;
font-weight: 600;
color: color-mix(in srgb, var(--default-color), transparent 50%);
margin-bottom: 10px;
}
.culture-category .author .photo {
margin-right: 10px;
}
.culture-category .author .photo img {
width: 40px;
border-radius: 50%;
margin-bottom: 0;
}
.culture-category .author .name h3 {
margin: 0;
padding: 0;
font-size: 15px;
font-family: var(--default-font);
}
.culture-category .post-list {
margin-bottom: 30px;
}
.culture-category .post-list img {
margin-bottom: 30px;
}
.culture-category .post-list h2 {
margin-bottom: 20px;
font-size: 20px;
font-weight: 600;
line-height: 1.2;
}
.culture-category .post-list h2 a {
color: var(--heading-color);
}
.culture-category .post-list h2 a:hover {
text-decoration: underline;
}
.culture-category .post-list.lg h2 {
font-size: 40px;
line-height: 1;
}
/*--------------------------------------------------------------
# Business Category Section
--------------------------------------------------------------*/
.business-category .post-entry {
margin-bottom: 30px;
}
.business-category .post-entry h3 a {
color: var(--heading-color);
font-weight: 600;
}
.business-category .post-entry h3 a:hover {
text-decoration: underline;
}
.business-category .post-entry .thumbnail {
flex: 0 0 65%;
}
@media (max-width: 960px) {
.business-category .post-entry .thumbnail {
flex: 0 0 100%;
margin-bottom: 20px;
}
}
.business-category .post-entry.half .thumbnail {
flex: 0 0 50%;
}
@media (max-width: 768px) {
.business-category .post-entry.half .thumbnail {
flex: 0 0 100%;
margin-bottom: 20px;
}
}
.business-category .post-entry.small-img .thumbnail {
flex: 0 0 30%;
}
@media (max-width: 768px) {
.business-category .post-entry.small-img .thumbnail {
flex: 0 0 100%;
margin-bottom: 20px;
}
}
.business-category .border-bottom {
border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}
.business-category .post-meta {
font-size: 11px;
letter-spacing: 0.07rem;
text-transform: uppercase;
font-weight: 600;
color: color-mix(in srgb, var(--default-color), transparent 50%);
margin-bottom: 10px;
}
.business-category .author .photo {
margin-right: 10px;
}
.business-category .author .photo img {
width: 40px;
border-radius: 50%;
margin-bottom: 0;
}
.business-category .author .name h3 {
margin: 0;
padding: 0;
font-size: 15px;
font-family: var(--default-font);
}
.business-category .post-list {
margin-bottom: 30px;
}
.business-category .post-list img {
margin-bottom: 30px;
}
.business-category .post-list h2 {
margin-bottom: 20px;
font-size: 20px;
font-weight: 600;
line-height: 1.2;
}
.business-category .post-list h2 a {
color: var(--heading-color);
}
.business-category .post-list h2 a:hover {
text-decoration: underline;
}
.business-category .post-list.lg h2 {
font-size: 40px;
line-height: 1;
}
/*--------------------------------------------------------------
# Lifestyle Category Section
--------------------------------------------------------------*/
.lifestyle-category .post-meta {
font-size: 11px;
letter-spacing: 0.07rem;
text-transform: uppercase;
font-weight: 600;
color: color-mix(in srgb, var(--default-color), transparent 50%);
margin-bottom: 10px;
}
.lifestyle-category .author .photo {
margin-right: 10px;
}
.lifestyle-category .author .photo img {
width: 40px;
border-radius: 50%;
margin-bottom: 0;
}
.lifestyle-category .author .name h3 {
margin: 0;
padding: 0;
font-size: 15px;
font-family: var(--default-font);
}
.lifestyle-category .custom-border,
.lifestyle-category .border-bottom {
border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}
.lifestyle-category .post-list {
margin-bottom: 30px;
}
.lifestyle-category .post-list img {
margin-bottom: 30px;
}
.lifestyle-category .post-list h2 {
margin-bottom: 20px;
font-size: 20px;
font-weight: 600;
line-height: 1.2;
}
.lifestyle-category .post-list h2 a {
color: var(--heading-color);
}
.lifestyle-category .post-list h2 a:hover {
text-decoration: underline;
}
.lifestyle-category .post-list.lg h2 {
font-size: 40px;
line-height: 1;
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content .who-we-are {
text-transform: uppercase;
margin-bottom: 15px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}
.about .content h3 {
font-size: 2rem;
font-weight: 700;
}
.about .content ul {
list-style: none;
padding: 0;
}
.about .content ul li {
padding-bottom: 10px;
}
.about .content ul i {
font-size: 1.25rem;
margin-right: 4px;
color: var(--accent-color);
}
.about .content p:last-child {
margin-bottom: 0;
}
.about .content .read-more {
background: var(--accent-color);
color: var(--contrast-color);
font-family: var(--heading-font);
font-weight: 500;
font-size: 16px;
letter-spacing: 1px;
padding: 12px 24px;
border-radius: 5px;
transition: 0.3s;
display: inline-flex;
align-items: center;
justify-content: center;
}
.about .content .read-more i {
font-size: 18px;
margin-left: 5px;
line-height: 0;
transition: 0.3s;
}
.about .content .read-more:hover {
background: color-mix(in srgb, var(--accent-color), transparent 20%);
padding-right: 19px;
}
.about .content .read-more:hover i {
margin-left: 10px;
}
.about .about-images img {
border-radius: 10px;
}
/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
background-color: var(--surface-color);
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
position: relative;
border-radius: 5px;
transition: 0.5s;
padding: 30px;
height: 100%;
}
@media (max-width: 468px) {
.team .team-member {
flex-direction: column;
justify-content: center !important;
align-items: center !important;
}
}
.team .team-member .pic {
overflow: hidden;
width: 150px;
border-radius: 50%;
flex-shrink: 0;
}
.team .team-member .pic img {
transition: ease-in-out 0.3s;
}
.team .team-member:hover {
transform: translateY(-10px);
}
.team .team-member .member-info {
padding-left: 30px;
}
@media (max-width: 468px) {
.team .team-member .member-info {
padding: 30px 0 0 0;
text-align: center;
}
}
.team .team-member h4 {
font-weight: 700;
margin-bottom: 5px;
font-size: 20px;
}
.team .team-member span {
display: block;
font-size: 15px;
padding-bottom: 10px;
position: relative;
font-weight: 500;
}
.team .team-member span::after {
content: "";
position: absolute;
display: block;
width: 50px;
height: 1px;
background: color-mix(in srgb, var(--default-color), transparent 85%);
bottom: 0;
left: 0;
}
@media (max-width: 468px) {
.team .team-member span::after {
left: calc(50% - 25px);
}
}
.team .team-member p {
margin: 10px 0 0 0;
font-size: 14px;
}
.team .team-member .social {
margin-top: 12px;
display: flex;
align-items: center;
justify-content: start;
width: 100%;
}
@media (max-width: 468px) {
.team .team-member .social {
justify-content: center;
}
}
.team .team-member .social a {
background: color-mix(in srgb, var(--default-color), transparent 94%);
transition: ease-in-out 0.3s;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50px;
width: 36px;
height: 36px;
}
.team .team-member .social a i {
color: color-mix(in srgb, var(--default-color), transparent 20%);
font-size: 16px;
margin: 0 2px;
}
.team .team-member .social a:hover {
background: var(--accent-color);
}
.team .team-member .social a:hover i {
color: var(--contrast-color);
}
.team .team-member .social a+a {
margin-left: 8px;
}
/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
/* Add your styles here */
}
/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
padding-bottom: 30px;
}
.blog-details .article {
background-color: var(--surface-color);
padding: 30px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.blog-details .post-img {
margin: -30px -30px 20px -30px;
overflow: hidden;
}
.blog-details .title {
color: var(--heading-color);
font-size: 28px;
font-weight: 700;
padding: 0;
margin: 30px 0;
}
.blog-details .content {
margin-top: 20px;
}
.blog-details .content h3 {
font-size: 22px;
margin-top: 30px;
font-weight: bold;
}
.blog-details .content blockquote {
overflow: hidden;
background-color: color-mix(in srgb, var(--default-color), transparent 95%);
padding: 60px;
position: relative;
text-align: center;
margin: 20px 0;
}
.blog-details .content blockquote p {
color: var(--default-color);
line-height: 1.6;
margin-bottom: 0;
font-style: italic;
font-weight: 500;
font-size: 22px;
}
.blog-details .content blockquote:after {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background-color: var(--accent-color);
margin-top: 20px;
margin-bottom: 20px;
}
.blog-details .meta-top {
margin-top: 20px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}
.blog-details .meta-top ul {
display: flex;
flex-wrap: wrap;
list-style: none;
align-items: center;
padding: 0;
margin: 0;
}
.blog-details .meta-top ul li+li {
padding-left: 20px;
}
.blog-details .meta-top i {
font-size: 16px;
margin-right: 8px;
line-height: 0;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}
.blog-details .meta-top a {
color: color-mix(in srgb, var(--default-color), transparent 40%);
font-size: 14px;
display: inline-block;
line-height: 1;
}
.blog-details .meta-bottom {
padding-top: 10px;
border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.blog-details .meta-bottom i {
color: color-mix(in srgb, var(--default-color), transparent 40%);
display: inline;
}
.blog-details .meta-bottom a {
color: color-mix(in srgb, var(--default-color), transparent 40%);
transition: 0.3s;
}
.blog-details .meta-bottom a:hover {
color: var(--accent-color);
}
.blog-details .meta-bottom .cats {
list-style: none;
display: inline;
padding: 0 20px 0 0;
font-size: 14px;
}
.blog-details .meta-bottom .cats li {
display: inline-block;
}
.blog-details .meta-bottom .tags {
list-style: none;
display: inline;
padding: 0;
font-size: 14px;
}
.blog-details .meta-bottom .tags li {
display: inline-block;
}
.blog-details .meta-bottom .tags li+li::before {
padding-right: 6px;
color: var(--default-color);
content: ",";
}
.blog-details .meta-bottom .share {
font-size: 16px;
}
.blog-details .meta-bottom .share i {
padding-left: 5px;
}
/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
padding: 10px 0;
}
.blog-comments .comments-count {
font-weight: bold;
}
.blog-comments .comment {
margin-top: 30px;
position: relative;
}
.blog-comments .comment .comment-img {
margin-right: 14px;
}
.blog-comments .comment .comment-img img {
width: 60px;
}
.blog-comments .comment h5 {
font-size: 16px;
margin-bottom: 2px;
}
.blog-comments .comment h5 a {
font-weight: bold;
color: var(--default-color);
transition: 0.3s;
}
.blog-comments .comment h5 a:hover {
color: var(--accent-color);
}
.blog-comments .comment h5 .reply {
padding-left: 10px;
color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.blog-comments .comment h5 .reply i {
font-size: 20px;
}
.blog-comments .comment time {
display: block;
font-size: 14px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
margin-bottom: 5px;
}
.blog-comments .comment.comment-reply {
padding-left: 40px;
}
/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
padding-top: 10px;
}
.comment-form form {
background-color: var(--surface-color);
margin-top: 30px;
padding: 30px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.comment-form form h4 {
font-weight: bold;
font-size: 22px;
}
.comment-form form p {
font-size: 14px;
}
.comment-form form input {
background-color: var(--surface-color);
color: var(--default-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
font-size: 14px;
border-radius: 4px;
padding: 10px 10px;
}
.comment-form form input:focus {
color: var(--default-color);
background-color: var(--surface-color);
box-shadow: none;
border-color: var(--accent-color);
}
.comment-form form input::placeholder {
color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.comment-form form textarea {
background-color: var(--surface-color);
color: var(--default-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
border-radius: 4px;
padding: 10px 10px;
font-size: 14px;
height: 120px;
}
.comment-form form textarea:focus {
color: var(--default-color);
box-shadow: none;
border-color: var(--accent-color);
background-color: var(--surface-color);
}
.comment-form form textarea::placeholder {
color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.comment-form form .form-group {
margin-bottom: 25px;
}
.comment-form form .btn-primary {
border-radius: 4px;
padding: 10px 20px;
border: 0;
background-color: var(--accent-color);
color: var(--contrast-color);
}
.comment-form form .btn-primary:hover {
color: var(--contrast-color);
background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}
/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
background-color: var(--surface-color);
box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
transition: 0.3s;
}
.blog-posts .post-img img {
transition: 0.5s;
}
.blog-posts .post-date {
background-color: var(--accent-color);
color: var(--contrast-color);
position: absolute;
right: 0;
bottom: 0;
text-transform: uppercase;
font-size: 13px;
padding: 6px 12px;
font-weight: 500;
}
.blog-posts .post-content {
padding: 30px;
}
.blog-posts .post-title {
font-size: 20px;
color: var(--heading-color);
font-weight: 700;
transition: 0.3s;
margin-bottom: 15px;
}
.blog-posts .meta i {
font-size: 16px;
color: var(--accent-color);
}
.blog-posts .meta span {
font-size: 15px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}
.blog-posts p {
margin-top: 20px;
}
.blog-posts hr {
color: color-mix(in srgb, var(--default-color), transparent 60%);
margin-bottom: 15px;
}
.blog-posts .readmore {
display: flex;
align-items: center;
font-weight: 600;
line-height: 1;
transition: 0.3s;
color: color-mix(in srgb, var(--heading-color), transparent 20%);
}
.blog-posts .readmore i {
line-height: 0;
margin-left: 6px;
font-size: 16px;
}
.blog-posts article:hover .post-title,
.blog-posts article:hover .readmore {
color: var(--accent-color);
}
.blog-posts article:hover .post-img img {
transform: scale(1.1);
}
/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
padding-top: 0;
color: color-mix(in srgb, var(--default-color), transparent 40%);
}
.blog-pagination ul {
display: flex;
padding: 0;
margin: 0;
list-style: none;
}
.blog-pagination li {
margin: 0 5px;
transition: 0.3s;
}
.blog-pagination li a {
color: color-mix(in srgb, var(--default-color), transparent 40%);
padding: 7px 16px;
display: flex;
align-items: center;
justify-content: center;
}
.blog-pagination li a.active,
.blog-pagination li a:hover {
background: var(--accent-color);
color: var(--contrast-color);
}
.blog-pagination li a.active a,
.blog-pagination li a:hover a {
color: var(--contrast-color);
}
/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
margin-top: 40px;
}
.contact .info-item i {
color: var(--contrast-color);
background: var(--accent-color);
font-size: 20px;
width: 44px;
height: 44px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 4px;
transition: all 0.3s ease-in-out;
margin-right: 15px;
}
.contact .info-item h3 {
padding: 0;
font-size: 18px;
font-weight: 700;
margin-bottom: 5px;
}
.contact .info-item p {
padding: 0;
margin-bottom: 0;
font-size: 14px;
}
.contact .php-email-form {
height: 100%;
}
.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
font-size: 14px;
padding: 10px 15px;
box-shadow: none;
border-radius: 0;
color: var(--default-color);
background-color: color-mix(in srgb, var(--background-color), transparent 50%);
border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
border-color: var(--accent-color);
}
.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact .php-email-form button[type=submit] {
color: var(--contrast-color);
background: var(--accent-color);
border: 0;
padding: 10px 30px;
transition: 0.4s;
border-radius: 4px;
}
.contact .php-email-form button[type=submit]:hover {
background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
margin: 40px 0 30px 0;
}
.widget-title {
color: var(--heading-color);
font-size: 20px;
font-weight: 600;
padding: 0 0 0 10px;
margin: 0 0 20px 0;
border-left: 4px solid var(--accent-color);
}
.widget-item {
margin-bottom: 30px;
background-color: color-mix(in srgb, var(--default-color), transparent 98%);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
padding: 30px;
border-radius: 5px;
}
.widget-item:last-child {
margin-bottom: 0;
}
.blog-author-widget img {
max-width: 120px;
margin-right: 20px;
}
.blog-author-widget h4 {
font-weight: 600;
font-size: 24px;
margin-bottom: 0px;
padding: 0;
color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.blog-author-widget .social-links {
margin: 5px 0;
}
.blog-author-widget .social-links a {
color: color-mix(in srgb, var(--default-color), transparent 60%);
margin-right: 5px;
font-size: 18px;
}
.blog-author-widget .social-links a:hover {
color: var(--accent-color);
}
.blog-author-widget p {
font-style: italic;
color: color-mix(in srgb, var(--default-color), transparent 30%);
margin: 10px 0 0 0;
}
.search-widget form {
background: var(--background-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
padding: 3px 10px;
position: relative;
border-radius: 50px;
transition: 0.3s;
}
.search-widget form input[type=text] {
border: 0;
padding: 4px 10px;
border-radius: 4px;
width: calc(100% - 40px);
background-color: var(--background-color);
color: var(--default-color);
}
.search-widget form input[type=text]:focus {
outline: none;
}
.search-widget form button {
background: none;
color: var(--default-color);
position: absolute;
top: 0;
right: 0;
bottom: 0;
border: 0;
font-size: 16px;
padding: 0 16px;
transition: 0.3s;
line-height: 0;
}
.search-widget form button i {
line-height: 0;
}
.search-widget form button:hover {
color: var(--accent-color);
}
.search-widget form:is(:focus-within) {
border-color: var(--accent-color);
}
.recent-posts-widget .post-item {
display: flex;
margin-bottom: 15px;
}
.recent-posts-widget .post-item:last-child {
margin-bottom: 0;
}
.recent-posts-widget .post-item img {
width: 80px;
margin-right: 15px;
}
.recent-posts-widget .post-item h4 {
font-size: 15px;
font-weight: bold;
margin-bottom: 5px;
}
.recent-posts-widget .post-item h4 a {
color: var(--default-color);
transition: 0.3s;
}
.recent-posts-widget .post-item h4 a:hover {
color: var(--accent-color);
}
.recent-posts-widget .post-item time {
display: block;
font-style: italic;
font-size: 14px;
color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.tags-widget ul {
list-style: none;
padding: 0;
margin: 0;
}
.tags-widget ul li {
display: inline-block;
}
.tags-widget ul a {
background-color: color-mix(in srgb, var(--default-color), transparent 94%);
color: color-mix(in srgb, var(--default-color), transparent 30%);
border-radius: 50px;
font-size: 14px;
padding: 5px 15px;
margin: 0 6px 8px 0;
display: inline-block;
transition: 0.3s;
}
.tags-widget ul a:hover {
background: var(--accent-color);
color: var(--contrast-color);
}
.tags-widget ul a span {
padding-left: 5px;
color: color-mix(in srgb, var(--default-color), transparent 60%);
font-size: 14px;
}
.blog-author-widget-2 img {
max-width: 160px;
}
.blog-author-widget-2 h4 {
font-weight: 600;
font-size: 24px;
margin: 15px 0 0 0;
padding: 0;
color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.blog-author-widget-2 .social-links {
margin: 5px 0;
}
.blog-author-widget-2 .social-links a {
color: color-mix(in srgb, var(--default-color), transparent 60%);
margin: 0 3px;
font-size: 18px;
}
.blog-author-widget-2 .social-links a:hover {
color: var(--accent-color);
}
.blog-author-widget-2 p {
font-style: italic;
color: color-mix(in srgb, var(--default-color), transparent 30%);
margin: 10px 0 0 0;
}