@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

html {
	scroll-behavior: smooth;
}

::selection {
	color: #000;
	background: #fff;
}
nav {
	position: fixed;
	background: #ffffff;
	width: 100%;
	height: 94px;
	padding: 10px 0;
	z-index: 12;
	transition: all .5s ease;
}

#soulmate-logo {
	transition: all .5s ease;
}

nav .menu {
	max-width: 1250px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	z-index: 3;
}

.menu .logo a {
	text-decoration: none;
	color: rgb(0, 0, 0);
	font-size: 35px;
	font-weight: 600;
	z-index: 3;
}

.menu ul {
	display: inline-flex;
	z-index: 3;
	transition: font-size 0.5 ease;
}

.menu ul li {
	list-style: none;
	margin-left: 7px;
}

.menu ul li:first-child {
	margin-left: 0px;
}

.menu ul li a {
	text-decoration: none;
	color: rgb(0, 0, 0);
	font-size: 20px;
	font-weight: 500;
	padding: 8px 15px;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.menu ul li a:hover {
	background: rgb(255, 0, 76);
	color: rgb(255, 255, 255);
}

#head {
	color: rgb(255, 0, 76);
}

.img {
	background: url('../public/assets/img-landing.jpeg')no-repeat;
	width: 100%;
	height: 100vh;
	background-size: cover;
	background-position: center;
	position: relative;
}
.img::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
}

.center {
	position: absolute;
	top: 52%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	padding: 0 20px;
	text-align: center;
}

.center .title {
	color: rgb(0, 0, 0);
	font-size: 55px;
	font-weight: 600;
}

.center .sub_title {
	color: rgb(66, 66, 66);
	font-size: 52px;
	font-weight: 600;
}

.center .btns {
	margin-top: 20px;
}

.center .btns button {
	height: 55px;
	width: 170px;
	border-radius: 5px;
	border: none;
	margin: 0 10px;
	border: 1px solid rgb(255, 0, 43);
	font-size: 20px;
	font-weight: 500;
	padding: 0 10px;
	cursor: pointer;
	outline: none;
	transition: all 0.3s ease;
}

.center .btns button:first-child {
	color: rgb(0, 0, 0);
	background: none;
}

.btns button:first-child:hover {
	background: rgb(255, 0, 76);
	color: white;
}

.center .btns button:last-child {
	background: rgb(255, 0, 76);
	color: white;
}

.btns button:last-child:hover {
	background: rgb(252, 49, 110);
	color: white;
}

.features {
	background: #f2f2f2;
}

.wrapper {
	display: grid;
	margin: 0px 90px auto;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	padding-bottom: 80px;
}

@media (max-width: 700px) {
	.wrapper {
		margin: 200px auto;
	}
}

.features h1 {
	color: rgb(39, 39, 39);
	font-size: 55px;
	font-weight: 600;
	text-align: center;
	font-weight: bolder;
}

.features-head {
	padding: 50px;
	color: rgb(255, 0, 76);
}

.wrapper .box {
	width: 350px;
	margin: 0 auto;
	position: relative;
	perspective: 1000px;
	text-align: center;
}

.wrapper .box .front-face {
	background: #fff;
	height: 220px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0px 5px 20px 0px rgba(0, 81, 250, 0.1);
	transition: all 0.5s ease;
}

.box .front-face .icon {
	height: 80px;
}

.box .front-face .icon i {
	font-size: 65px;
}

.box .front-face span,
.box .back-face span {
	font-size: 22px;
	font-weight: 600;
	text-transform: uppercase;
}

.box .front-face .icon i,
.box .front-face span {
	background: linear-gradient(-135deg, #c850c0, #4158d0);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.box .back-face {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	height: 220px;
	width: 100%;
	padding: 30px;
	color: #fff;
	opacity: 0;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	background: linear-gradient(-135deg, #c850c0, #4158d0);
	transform: translateY(110px) rotateX(-90deg);
	box-shadow: 0px 5px 20px 0px rgba(0, 81, 250, 0.1);
	transition: all 0.5s ease;
}

.box .back-face p {
	margin-top: 10px;
	text-align: justify;
}

.box:hover .back-face {
	opacity: 1;
	transform: rotateX(0deg);
}

.box:hover .front-face {
	opacity: 0;
	transform: translateY(-110px) rotateX(90deg);
}

.footer {
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgb(255, 0, 76);
	text-align: center;
	color: #f4f4f4;
}

.icons {
	padding-top: 1rem;
}

.icons a {
	text-decoration: none;
	font-size: 2rem;
	margin: 0.5rem;
	color: #f4f4f4;
}

.footer-icon:hover {
	transform: scale(1.1);
}

.company-name {
	font-size: 12px;
	margin-top: 0.5rem;
	padding-bottom: .5rem;
}

@media (max-width: 500px) {
	html {
		font-size: 50%;
	}
}

@media (min-width: 501px) and (max-width: 768px) {
	html {
		font-size: 50%;
	}
}
