@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100;0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;0,9..40,1000;1,9..40,100;1,9..40,200;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600;1,9..40,700;1,9..40,800;1,9..40,900;1,9..40,1000&family=Lemonada:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lemonada:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'NomDeLaPolice';
    src: url('../font/ArabillaSignature-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --brown: #a65925;
    --main-bg: #F7F4F0;
	--brown-bg: #79645B;
	--main-beige: #E5CBB2;
	--text-gray: #707070;
	--light-subtitle: #E5CBB2;
}
body{
    font-family: 'Cinzel', serif;
    font-weight: 400;
    background-color: var(--main-bg);
	font-size: 15px;
}
.smaller{
	font-size: 12px;
}
.wrapper{
	max-width: 500px;
	margin: auto;
	padding: 20px;
}
.arabic {
    font-family: 'Lemonada', cursive;
}
button {
	color: black;
    background: none;
    border: none;
    cursor: pointer;
}
section {
	position: relative;
	margin-top: 100px;
}
.main-btn{
	padding: .3rem 1.5rem;
	border-radius: 50px;
	background-color: var(--main-beige);
	width: fit-content;
	font: normal normal 600 15px 'Cinzel';
	letter-spacing: 0.8px;
}
.bold{
	font-weight: bold;
}
.section-title{
	font-size: 15px;
	text-align: center;
	margin: 25px auto;
	font-weight: 600;
}
.section-sub-title{
	font-size: 15px;
	text-align: center;
	color: var(--light-subtitle);
	margin-bottom: 25px;
}
.text-white{
	color: white;
}
.section-pastille{
	height: 110px;
	border-radius: 50px;
	width: 100%;
	background: center/cover no-repeat;
	margin-top: -80px;
}
.section-border{
	background-color: transparent;
	width: 100%;
	top: 0;
	left: 0;
	margin-top: -50px;
	object-fit: cover;
	position: absolute;
	z-index: -1;
	object-position: top;
}
.back-btn{
	font-size: 30px;
}
.snackbar-holder{
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 3;
	display: flex;
	gap: 10px;
	flex-direction: column;
}

.snack-bar{
	background-color: var(--main-beige);
	padding: 10px;
	border-radius: 10px;
	opacity: 0;
	animation: show 5s linear;
}

@keyframes show {
	0%{
		opacity: 0;
	}
	25%{
		opacity: 1;
	}
	75%{
		opacity: 1;
	}
	100%{
		opacity: 0;
	}
}

/* -------------- Header -------------- */
.header-title {
	line-height: 0.6;
}
.header-title h2{
	font-family: 'NomDeLaPolice', serif;
	font-size: 50px;
	font-weight: 400;
}
.header-title h1{
	font-weight: 400;
	font-size: 40px;
}
.main-header {
	text-align: center;
	margin-top: 60px;
}
.main-header .header-title{
	font-size: 20px;
}
.main-picture{
	margin: 40px auto;
	width: 90%;
	max-width: 350px;
}

/* -------------- Theme -------------- */
#theme {
	margin: 0;
	text-align: center;
}
#theme .colors{
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 20px auto;
}

/* -------------- Planning -------------- */
#planning {
	background-color: var(--main-beige);
	padding-bottom: 20px;
}
#planning p {
	text-align: center;
	margin: 10px auto;
}
#planning .section-pastille{
	background-image: url("../img/pexels-amar-preciado-12954017.webp");
}
#planning .event{
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
}
#planning .logo{
	width: 20px;
}
#planning .event .description{
	width: 150px;
}

/* -------------- Precense -------------- */
#presence{
	background: var(--brown-bg);
}
#presence .section-pastille{
	background-image: url("../img/pexels-amar-preciado-12954016.webp");
}
#presence form{
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 15px;
}
.form-prencese{
	display: flex;
	justify-content: space-around;
}
.diet-select{
	display: flex;
	justify-content: space-around;
}
.diet-select select{
	border-radius: 10px;
}
.diet-select select option{
	width: 100%;
}
.diet-select > * {
	flex: 1;
}
.form-textarea {
	display: flex;
	flex-direction: column;
}
.form-textarea textarea{
	text-align: left;
	resize: none;
	padding: 10px;
	font-family: Arial, Helvetica, sans-serif;
	border-radius: 10px;

}
#presence .main-btn{margin: auto}

/* -------------- footer -------------- */
#group{
	margin: 0;
	background-color: var(--brown-bg);
}
#group .member{
	display: flex;
	justify-content: space-between;
	gap: 10px;
}
#group .member p{
	max-width: 200px;
	flex: auto;
}
#group .member label{
	flex: 1;
	max-width: fit-content;
}
#group button{
	margin: 10px auto;
	display: block;
}

/* -------------- footer -------------- */
footer h3{
	text-align: center;
}
.footer-action{
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
}
.footer-action #back-btn{
	display: none;
}
footer > p {
	font-size: 12px;
	text-align: center;
}
/* -------------- Recap -------------- */
#recap{
	margin: auto;
	text-align: center;
}

#recap .recap-bg{
	height: 250px;
	background: center/cover no-repeat url("../img/imagefloue4.webp");
}

#recap .recap-bg .back-drop{
	width: 100%;
	height: 100%;
	color: white;
	backdrop-filter: blur(5px);
	display: flex;
}

#recap .recap-menu{
	margin: 20px auto;
	display: flex;
	gap: 5px;
	justify-content: center;
	align-items: center;
}
#recap .recap-menu > div{
	flex: 1;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#recap .trace{
	padding: 5px 0;
	border: 1px solid;
	border-left: none;
	border-right: none;
	margin: 5px auto;
}
#recap .center-card{
	background-color: var(--main-beige);
	border-radius: 10px;
	padding: 5px;
}
#recap .header-text {
	margin: 20px auto 40px;
}
#recap .footer-title {
	margin-top: 40px;
}
/* -------------- loader -------------- */

.loader-wrapper{
	background-color: var(--main-bg);
	display: inline-block;
	height: 100vh;
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	transition: all .3s ease;
}

.loader{
	position: relative;
	height: 80px;
	width: 80px;
	border-radius: 80px;
	border: 3px solid  var(--main-beige);

	top: 28%;
	top: -webkit-calc(50% - 43px);
	top: calc(50% - 43px);
	left: 35%;
	left: -webkit-calc(50% - 43px);
	left: calc(50% - 43px);

	-webkit-transform-origin: 50% 50%;
			transform-origin: 50% 50%;
	-webkit-animation: loader 3s linear infinite;
			animation: loader 3s linear infinite;
}

.loader:after{
	content: "";
	position: absolute;
	top: -5px;
	left: 20px;
	width: 11px;
	height: 11px;
	border-radius: 10px;
	background-color: var(--main-beige);
}

@-webkit-keyframes loader{
    0%{-webkit-transform:rotate(0deg);}
    100%{-webkit-transform:rotate(360deg);}
}

@keyframes loader{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(360deg);}
}