@import url('https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Poppins:ital,wght@0,300;0,500;1,400&family=Sacramento&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

.font-primary {
	font-family: 'Poppins', sans-serif !important;
}

.font-secondary {
	font-family: 'Sacramento', cursive !important;
}

.font-tertiary {
	font-family: 'Philosopher', sans-serif !important;
}


body {
	margin: 0;
	background-color: #1F4529;

}

#cover {
	height: 100vh;
	z-index: 9999;
}

.cover-overlay {
	height: 0%;
	width: 100%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	overflow-y: hidden;
	transition: 0.3s;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

#cover.cover-overlay {
	background-color: #1F4529;
	color: #FFF;
}

.cover-overlay .content {
	width: 100%;
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.cover-overlay .content img {
	width: 250px;
}

.open-button {
	padding: 10px 30px;
	cursor: pointer;
	background-color: #47663B;
	color: #E8ECD7;
	border: none;
	border-radius: 30px;
	transition: background-color 0.3s ease;
	border-style: solid;
	border-width: 0px 0px 3px 0px;
	border-color: #EED3B1;
}

.mw-500 {
	max-width: 500px;
}

section {
	position: relative;
	margin: auto;
	max-width: 500px;
}

section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../../img/rawdah-green-bg.webp");
	background-size: cover;
	opacity: 0.1;
	z-index: -1;
}

section div {
	position: relative;
	color: #FFF;
	z-index: 1;
}

.content {
	padding-left: 20px;
	padding-right: 20px;
}

.opening,
.event,
.wish,
.comment,
.gift,
.attending {
	text-align: center;
}

.timer {
	margin-top: 2em;
	margin-bottom: 2em;
}

.timer>.simply-section {
	display: inline-block;
	width: 80px;
	height: 80px;
	background: #47663B;
	margin: 0 4px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
	border: 2px solid #c1964c96;
	position: relative;
	animation: pulse 1s ease infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}
}

.timer>.simply-section>div {
	display: table-cell;
	vertical-align: middle;
	height: 80px;
	width: 80px;
}

.timer>.simply-section .simply-amount,
.timer>.simply-section .simply-word {
	display: block;
	color: #FFF;
}

.timer>.simply-section .simply-amount {
	font-size: 20px;
}

.timer>.simply-section .simply-word {
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	font-size: 12px;
}

.event .card {
	position: relative;
	color: #DFD2B2;
	background-color: #c1964c96;
	border-radius: 250px 250px 0 0;
	border: none;
	padding: 30px 10px;
	z-index: 1;
	margin-top: 50px;
	margin-bottom: 100px;
	margin-left: auto;
	margin-right: auto;
	max-width: 300px;
}

.event .card::before {
	content: '';
	position: absolute;
	top: -10px;
	left: -10px;
	right: -10px;
	bottom: -10px;
	border-radius: 260px 260px 0 0;
	border: 2px solid #c1964c96;
	z-index: 0;
	pointer-events: none;
}

.event .card a {
	padding: 10px 30px;
	cursor: pointer;
	background-color: #47663B;
	color: #E8ECD7;
	border: none;
	border-radius: 30px;
	transition: background-color 0.3s ease;
	border-style: solid;
	border-width: 0px 0px 3px 0px;
	border-color: #EED3B1;
	text-decoration: none;
}

.collection {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	grid-template-rows: 100px;
	grid-gap: 0.5em;
	grid-auto-rows: 100px;
	grid-auto-flow: dense;
	margin-bottom: 100px;
}

@media (max-width: 785px) {
	.collection {
		padding: 0.5em;
		grid-gap: 0.25em;
	}
}

.collection .item {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
}

.collection .item:nth-of-type(3n) {
	grid-column: span 2;
}

@media (max-width: 400px) {
	.collection .item:nth-of-type(3n) {
		grid-column: span 1;
	}
}

.collection .item:nth-of-type(4n) {
	grid-row: span 2;
}

.collection .item img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.collection .item img:hover {
	cursor: pointer;
}


.msg-area {
	padding-right: 10px;
	margin: auto;
	height: 500px;
	overflow: auto;
}

.msg-area::-webkit-scrollbar {
	width: 5px;
}

.msg-area::-webkit-scrollbar-track {
	background: #1F4529;
	border-radius: 5px;
}

.msg-area::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 5px;
}

.msg-area::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.msg-item {
	display: flex;
	flex-direction: row;
}

.msg-item>.user-icon {
	width: 55px;
}

.msg-item>.user-content {
	background-color: #c1964c96;
	width: 100%;
	border-radius: 10px;
	text-align: left;
	padding: 10px;
}

.msg-item-reply {
	display: flex;
	flex-direction: row;
	padding-left: 30px;
}

.msg-item-reply>.user-icon {
	width: 55px;
}

.msg-item-reply>.user-content {
	background-color: #c1964def;
	width: 100%;
	border-radius: 10px;
	text-align: left;
	padding: 10px;
}

.circle {
	background-color: #c1964c96;
	border-radius: 50%;
	height: 40px;
	text-align: center;
	width: 40px;
}

.msg-item-reply .circle {
	width: 40px;
	/* Lebar dan tinggi bulatan */
	height: 40px;
	background-color: #c1964def;
	/* Warna background bulatan */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.msg-item-reply .circle .initials {
	display: flex;
	align-items: center;
	justify-content: center;
}

.msg-item-reply .circle svg {
	width: 24px;
	/* Lebar dan tinggi ikon SVG */
	height: 24px;
	color: #0062ec;
	/* Warna ikon */
}

.initials {
	font-size: calc(40px / 2);
	line-height: 1;
	position: relative;
	top: calc(40px / 4);
}

.button-kirim {
	padding: 10px 30px;
	cursor: pointer;
	background-color: #47663B;
	color: #E8ECD7;
	border: none;
	border-radius: 30px;
	transition: background-color 0.3s ease;
	border-style: solid;
	border-width: 0px 0px 3px 0px;
	border-color: #EED3B1;
}

.form-control:focus+label::after {
	background-color: transparent !important;
}

.form-floating>.form-control-plaintext~label::after,
.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
	background-color: transparent !important;
}

.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
	color: white !important;
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
	box-shadow: none !important;
	border: 3px solid #635729 !important;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
	background-color: #1F4529;
	color: white !important;
}

.button-confirm, .button-close {
	padding: 10px 30px;
	cursor: pointer;
	background-color: #1F4529;
	color: #E8ECD7;
	border: none;
	border-radius: 30px;
	transition: background-color 0.3s ease;
	border-style: solid;
	border-width: 0px 0px 3px 0px;
	border-color: #EED3B1;
}

.card-bank {
	padding: 20px;
	width: 100%;
	max-width: 500px;
	margin: auto;
	border-radius: 20px;
}

.card-bank>p>img {
	width: 100px
}

.button-salin {
	padding: 8px 18px;
	cursor: pointer;
	background-color: #47663B;
	color: #E8ECD7;
	border: none;
	border-radius: 30px;
	transition: background-color 0.3s ease;
	border-style: solid;
	border-width: 0px 0px 3px 0px;
	border-color: #EED3B1;
}

.bca {
	background: linear-gradient(45deg, #1473e6, #1473e6c9, #1473e688, #1473e681);
	background-size: 100% 100%;
	color: white;
}

.mandiri {
	background: linear-gradient(45deg, #51a2e4, #103A6Cc9, #103A6C88, #51a2e4);
	background-size: 100% 100%;
	color: white;
}

.bsm {
	background: linear-gradient(45deg, #00A39D, #00a39ec5, #00a39e85, #00a39e31);
	background-size: 100% 100%;
	color: white;
}

.bri {
	background: linear-gradient(45deg, #00539B, #00539bc7, #00539b70, #00539b36);
	background-size: 100% 100%;
	color: white;
}

.shopeepay {
	background: linear-gradient(45deg, #FE6233, #FE6233c7, #FE623370, #FE623336);
	background-size: 100% 100%;
	color: white;
}

.ovo {
	background: linear-gradient(45deg, #4D2A86, #4D2A86c7, #4D2A8670, #4D2A8636);
	background-size: 100% 100%;
	color: white;
}

.gopay {
	background: linear-gradient(45deg, #0080A0, #0080A0c7, #0080A070, #0080A036);
	background-size: 100% 100%;
	color: white;
}

.dana {
	background: linear-gradient(45deg, #108EE9, #108EE9c7, #108EE970, #108EE936);
	background-size: 100% 100%;
	color: white;
}

.addrs {
	background: linear-gradient(45deg, #E7B230, #E7B230c7, #E7B23070, #E7B23036);
	background-size: 100% 100%;
	color: white;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.img-gift {
	width: 150px;
	height: auto;
	animation: pulse 0.8s infinite;
	display: inline-block;
}

.play-stop {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
}

#btn-play,
#btn-stop {
	color: white;
	background-color: #7E723C;
	padding: 5px;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 100%;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #424C28;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#btn-play>i {
	color: white;
}

.footer {
	margin-top: 100px;
	padding-bottom: 100px;
}

.footer a {
	color: #E8D587;
	text-decoration: none;
}