:root {
	--main: #444;
    --white:#fff;
    --c-main: #62309A;
}

.bg-loaded header {
	-webkit-animation: fadeInDown 0.8s;
	animation: fadeInDown 0.8s;
}

@-webkit-keyframes fadeInDown {
	0% {
		opacity: 0;
		transform: translateY(-100%);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	0% {
		opacity: 0;
		transform: translateY(-100%);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.bg-loaded .main {
	-webkit-animation: fadeInTop 1.5s;
	animation: fadeInTop 1.5s;
}

@-webkit-keyframes fadeInTop {
	0% {
		opacity: 0;
		transform: translateY(100%);
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInTop {
	0% {
		opacity: 0;
		transform: translateY(100%);
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.scroll-to-top{
	position: fixed;
	cursor: pointer;
}

.cd-projects-previews li {
	height: -webkit-max-content;
	height: -moz-max-content;
	height: max-content;
	width: 100%;
	float: none;
}

header {
	background: url(../img/about.jpg);
	height: 60vh;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center
}

header h3 {
	font-size: 5vh;
	font-weight: 700;
}

section.main {
	padding: 4rem calc(10% + 5rem) 10rem;
	color: #000;
	width: 100%;
	margin: 0 auto;
	background: #f1f1f1;
	height: -webkit-max-content;
	height: -moz-max-content;
	height: max-content;
}

.main>h3 {
	color: var(--c-main);
	text-transform: uppercase;
	font-weight: 600;
	font-size: 3rem;
	text-align: center;
	margin: 7rem auto;
}

.info {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	background-color: var(--c-main);
	border-radius: 1rem;
	color: #e2e2e2;
	overflow: hidden;
	box-shadow: 25px 25px 41px #969696, -25px -25px 41px #ffffff;
}

.text {
	padding: 9rem 3rem;
	line-height: 1.5em;
}

.text>*:first-child {
	font-size: 3rem;
	line-height: 3rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 1.5rem;
}

.image {
	background-image: url('../img/people.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.image img {
	width: 60%;
}

.hookah-category {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 7rem;
}

.card {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	border-width: 1px;
	border-style: solid;
	border-color: #fff;
	border-radius: 2rem;
	padding: 3rem;
	box-shadow: 5px 5px 20px #C5C5C5, -5px -5px 20px #fff;
	background-color: var(--off-white);
	transition: all .3s !important;
}

.card:hover {
	box-shadow: 25px 25px 41px #969696, -25px -25px 41px #FFFFFF;
	transform: scale(1.01) !important;
}

.card img {
	width: 100%;
	margin: 7rem 0;
}

.type {
	text-align: center;
	font-weight: 400;
	font-size: 3rem;
	text-transform: uppercase;
	letter-spacing: 1rem;
	border: 2px solid #333;
	border-radius: 1rem;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: 2rem auto;
	padding: 1rem;
}

.type.intense {
	background-color: #333;
	color: #f2f2f2;
}

/* footer */
footer {
	width: 100vw;
	height: 7rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

footer img {
	position: relative;
	height: 25%;
	opacity: 0.5;
}

@media only screen and (max-width: 600px) {
	section.main {
		padding: 4rem 2% 4rem;
	}
	.info {
		grid-template-columns: 1fr;
	}

	.info .image {
		height: 300px;
	}

	.hookah-category {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
}