@import url("../carts.css");

/* ================================================================
   CSS VARIABLES
   ================================================================ */

:root {
	--temp-color: #88ce02;
	--redd-color: #C2185B;
	--dark-color: #09070a;
	--border-color: var(--temp-color);
	--text-color: #9c9c9d;
	--box-h3-height: calc(clamp(calc(var(--container-font-size) * var(--h3-min)), 3vw, calc(var(--container-font-size) * var(--h3-max))) * 1.8);
	--main-color: var(--temp-color);
}

/* ================================================================
   PATH SVG
   ================================================================ */

#path-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	pointer-events: none;
	z-index: 998;
}

#path-svg,
#path-marker {
	opacity: 0;
	margin: 0 !important;
}

.anchor {
	display: inline-flex;
	width: 20px;
	height: 20px;
	line-height: 20px;
	justify-content: center;
	align-content: center;
	background: red;
	border: 1px solid lime;
	border-radius: 50%;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	font-style: normal !important;
	text-align: center;
	z-index: -1;
	visibility: hidden !important;
	opacity: 0 !important;
}

#anchor1 {
	right: 21px;
	bottom: 21px;
}

/* ================================================================
   TRANSITIONS
   ================================================================ */

.light,
.title {
	transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* ================================================================
   LIGHT EFFECTS
   ================================================================ */

.panel .title.light,
#panel_2 ul.light li {
	color: var(--temp-color) !important;
}

#panel_2 .articles-grid.light .article-design {
	background-color: var(--temp-color) !important;
	transition: background-color .9s ease-out;
}

/* ================================================================
   BODY & WRAPPER
   ================================================================ */

body.body-business-card-website #smooth-wrapper,
body.body-business-card-website #smooth-wrapper.cloud-gradient {
	background: none !important;
	position: relative;
	z-index: 1;
}

body.body-business-card-website .custom-cursor {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 90vw;
	height: 90vh;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
	opacity: .3;
	transform: translate(-50%, -50%);
	z-index: 0 !important;
}

#business-card-website #panel_1.panel {
	background: none !important;
}

#business-card-website .panel:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0%;
	left: 0%;
	opacity: .5;
	z-index: -1;
}

/* ================================================================
   SELECTION
   ================================================================ */

::selection {
	background: var(--temp-color);
	color: #fff;
}

::-moz-selection {
	background: var(--temp-color);
	color: #fff;
}

/* ================================================================
   FOOTER & LOGO
   ================================================================ */

body.body-business-card-website .footer:before {
	left: 0;
	background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, var(--temp-color) 50%, rgba(0, 0, 0, 0) 100%);
	opacity: 1;
}

body.body-business-card-website .logo,
body.body-business-card-website .footer-logo .logo a span {
	background: var(--temp-color);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

body.body-business-card-website .iconf {
	background: linear-gradient(135deg, var(--temp-color) 0%, #000 100%);
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

#business-card-website .text h2,
#business-card-website .text h3,
#business-card-website .text h4 {
	color: #fdfcff;
}

#business-card-website .text p,
#business-card-website .text li {
	color: var(--text-color);
}

#business-card-website .text b,
#business-card-website .text strong {
	font-variant: 500;
}

#business-card-website .text p:hover,
#business-card-website .text li:hover {
	color: rgba(255, 255, 255, 1);
}

/* ================================================================
   TITLE UNDERLINES
   ================================================================ */

#business-card-website .title {
	position: relative;
}

#business-card-website .title::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 3px;
	background: linear-gradient(to right, rgba(255, 255, 255, .7) 0%, rgba(0, 0, 0, 0) 100%);
	opacity: .5;
}

#business-card-website .title.text-center::before {
	background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, .7) 50%, rgba(0, 0, 0, 0) 100%);
}

#business-card-website .title.text-right:before,
#panel_4 h2.title.text-right:before {
	background: linear-gradient(to left, rgba(255, 255, 255, .7) 0%, rgba(0, 0, 0, 0) 100%);
}

#business-card-website .title.green:before {
	background: linear-gradient(to right, var(--temp-color) 0%, rgba(0, 0, 0, 0) 100%);
}

#business-card-website .title.green.text-center:before {
	background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, var(--temp-color) 50%, rgba(0, 0, 0, 0) 100%);
}

#business-card-website .title.text-right.green:before {
	background: linear-gradient(to left, var(--temp-color) 0%, rgba(0, 0, 0, 0) 100%);
}

#business-card-website #panel_5 .title:before {
	opacity: .25;
}

/* ================================================================
   CONTENT SECTIONS
   ================================================================ */

#business-card-website {
	position: relative;
}

#business-card-website .well {
	border-radius: 0;
	background: var(--temp-color);
	color: #fff;
}

.offer__intro h1 {
	margin-bottom: 3rem;
}

#business-card-website #panel_2 .offer__item {
	position: relative;
	z-index: 20;
}

#business-card-website #panel_5:before {
	display: none !important;
}

#panel_5 .title {
	margin-bottom: 4rem;
}

/* ================================================================
   PANEL EFFECTS
   ================================================================ */

#business-card-website .panel.border-hover::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: var(--dark-color);
	border: solid 0 var(--border-color);
	z-index: -2;
	transition: border-width 0.3s ease-in-out;
}

#business-card-website .panel.border-hover:hover:after {
	border-width: .5rem;
}

#panel_2.panel:before {
	transform: perspective(1000px) rotateY(-15deg) rotateX(2deg);
}

#panel_2:hover~#panel_3::before {
	border-width: 1rem;
}

#panel_4.panel:before {
	transform: perspective(1000px) rotateY(15deg) rotateX(-2deg);
}

/* ================================================================
   BUTTONS
   ================================================================ */

#business-card-website .btn {
	background: var(--temp-color);
}

#business-card-website .btn:hover {
	background: #fff;
	color: var(--dark-color);
}

/* ================================================================
   ICONS CAROUSEL
   ================================================================ */

.icons-carusel-container {
	background-color: rgba(255, 255, 255, .09);
}

/* ================================================================
   ARTICLES GRID
   ================================================================ */

.articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin: 2rem auto;
}

.article-design {
	padding: 2rem;
	margin: 0;
	background-color: rgba(9, 6, 10, .4);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 -4px 10px 0 rgba(0, 0, 0, .11);
	border-radius: 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: background-color .3s ease-out;
}

.article-design h3 {
	margin-top: 0;
	hyphens: auto;
	-webkit-hyphens: auto;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.articles-grid.light .article-design h3 .num,
.articles-grid.light .article-design p,
.articles-grid.light .article-design li {
	color: #fff !important;
}

.articles-grid.light .article-design h3 .num {
	background-color: rgba(0, 0, 0, .7);
	border-color: var(--temp-color);
}

.article-design ul {
	margin-top: 0;
	margin-bottom: 0;
	flex-grow: 1;
}

.article-design::after {
	display: none;
}

/* ================================================================
   MEDIA QUERIES
   ================================================================ */

@media (max-width: 768px) {
	.articles-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.articles-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1025px) {
	.articles-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}