* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: antiquewhite url("img/bg3.jpg") no-repeat center;
	background-size: cover;
	background-attachment: fixed;
	overflow: hidden;

	font-family: "Kavivanar";
}

html,
body {
	width: 100%;
	height: 100%;
}

img {
	max-width: 100%;
}

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: antiquewhite;
	font-size: 75px;
	transition: 150ms ease;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Helvetica;
}

.preloader.revomed {
	opacity: 0;
	visibility: hidden;
}

.ovarlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	opacity: 0.4;
}

.dot {
	width: 35px;
	height: 35px;
	position: absolute;
	background: url("img/petal.png");
	background-size: 100% 100%;
}

.wrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#petals {
	width: 100vw;
	height: 100vh;
}

.card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 1150px;
	width: 100%;
	height: 620px;
	padding: 30px 125px;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	border-radius: 20px;
	opacity: 0;
	box-shadow: 0 0 50px rgb(84 84 84 / 70%);
	text-align: center;
	background: #fff url("img/card-bg.jpg") no-repeat center;
	background-size: cover;
	transition: all 4s ease;
}
.card.animated {
	animation: card 2s linear 2s forwards;
}

.title {
	margin-bottom: 10px;
	background-image: linear-gradient(110deg, #ff9981 0%, #9a1212 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #ff6945;
	font-size: 70px;
	line-height: 1;
	opacity: 0;
	transition: opacity 500ms linear;
}

.enteredName {
	text-transform: capitalize;
}

.text {
	margin-bottom: 22px;

	/*    background-image: linear-gradient(110deg, #333 0%, #7d7d7d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #0000005e;*/

	color: #313131;
	font-size: 28px;
	line-height: 1.6;
	letter-spacing: 2px;
	position: relative;
	z-index: 222;
}
.text b {
	margin-top: 2px;
	display: inline-block;
}
.author {
	padding-right: 25px;
	background-image: linear-gradient(110deg, #bf887b 0%, #9c8635 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;

	opacity: 0;

	color: #121212;
	font-size: 32px;
	text-align: right;

	transition: opacity 1.9s linear;
	letter-spacing: 2px;
	line-height: 1;
}

@keyframes card {
	from {
		opacity: 0;
		transform: translate(-50%, -40%) scale(0.8);
	}
	to {
		opacity: 0.8;
		transform: translate(-50%, -50%) scale(1);
	}
}

.bouquet-img {
	max-width: 500px;
	transform: translate(-500px, 100%);
	position: relative;
	z-index: 1;
	transition: 5s ease;
}

@media (max-width: 990px) {
	body {
		position: fixed;
		overflow-y: auto;
	}

	.preloader {
		font-size: 40px;
	}

	.card {
		min-width: 363px;
		max-width: 363px;
		min-height: 620px;
		max-height: 620px;
		padding: 35px 20px;
		border-radius: 16px;
	}

	.title {
		font-size: 36px;
		margin-bottom: 12px;
	}
	.text {
		font-size: 20px;
		line-height: 1.3;
		margin-bottom: 20px;
	}
	.author {
		font-size: 24px;
		padding-right: 0;
	}

	.bouquet-img {
		transform: translate(-300px, 130%);
	}

	@keyframes card {
		from {
			opacity: 0;
			transform: translate(-50%, -40%) scale(0.8);
		}
		to {
			opacity: 0.8;
			transform: translate(-50%, -50%) scale(1);
		}
	}
}
