*,
::before,
::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	transition: opacity 0.2s;
	font-family: Arial, Helvetica, sans-serif;
}

body {

	color: black;
	font-size: 16px;
	margin-top: 64px;
	padding-top: 15px;
	/*display: flex;*/
	/*justify-content: center;*/
	background-size: cover;
	background-position-x: -10px;
	background-position-y: 0px;
}

a {
	text-decoration: none;
	color: black;
}

a:hover {
	opacity: 0.8
}

.links_txt {
	font-size: 14px;
	color: white;
	margin-right: auto;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 30px;
	box-shadow: 0px 0px 20px grey;
	border-radius: 10px;
	margin-top: 25px;
	text-align: center;
	align-items: center;
}


#tel_input {
	display: none;
}

#click_to_use_mail {
	display: none;
}



input[type=text],
input[type=email],
input[type=tel],
input[type=password],
textarea,
select {

	background-color: white;
	padding: 0px 1em;
	border-radius: 5px;
	height: 2.5em;
	border: 1px solid rgb(200, 200, 200);
	font-size: 16px;

}


input[type=button],
input[type=submit],
button[type=submit] {
	background-color: #ffa800;
	color: white;
	border: 0;
	padding: 10px 60px;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	font-size: 16px;
	box-shadow: 0px 0px 0px grey;
}

input[type=color] {
	padding: 0;
	border: 0;
}

input[type=button]:hover,
input[type=submit]:hover {
	opacity: 0.6;
}


#click_to_use_mail:hover,
#click_to_use_phone:hover {
	opacity: 0.8;
}

.more_txt {
	margin-left: auto;
	margin-top: -10px;
	cursor: pointer;
	font-size: 14px;
	color: white;

}




.modal {
	position: fixed;
	max-width: 350px;
	z-index: 10;
	margin-top: 100px;
	padding: 25px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0 1px 1px #fff inset;
	-webkit-box-shadow: 0 1px 1px #fff inset;
	box-shadow: 0 1px 1px #fff inset;
	cursor: pointer;
}

.error {
	background-color: pink;
	border: 1px solid #ff0000;
}

.success {
	border: 1px solid #a2d246;
	background-color: #ebf8a4;
}


.box {
	display: flex;
	flex-direction: column;
	background-color: white;
	/*width: 100%;*/
	padding: 30px;
	box-shadow: 0px 0px 20px grey;
	border-radius: 10px;
	margin-top: 25px;
	text-align: center;
	align-items: center;
	position: relative
}

.box_pages {
	min-width: 300px;
}

.page_picture {
	border-radius: 500px;
	margin: 10px;
}

.preview_background {
	width: 250px;
	height: 130px;
	border: 1px solid grey;
	cursor: pointer;
}

.backgrounds_previews_choice:checked+label::before {
	font-size: 40px;
	color: darkgreen !important;
	content: "✓";
	position: absolute;
	bottom: 0px;
	right: 10px;
	font-weight: bolder
}

#background_premium+label::before {
	font-size: 20px;
	content: "⭐";
	position: absolute;
	top: 10px;
	right: 10px;
	font-weight: bolder
}

label {
	position: relative;
}

#list_new_backgrounds {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
}

.onclick-menu {
	position: absolute;
	display: inline-block;
	top: 0;
	right: 0;
	padding-right: 10px;
}

.onclick-menu:before {
	content: "...";
}

.onclick-menu:focus {
	/* clicking on label should toggle the menu */
	pointer-events: none;
}

.onclick-menu:focus .onclick-menu-content {
	/*  opacity is 1 in opened state (see below) */
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	background-color: white;
	padding: 10px;
	border-radius: 15px;
	box-shadow: 0px 0px 20px grey;
	margin-left: -60px;
	margin-top: 10px;
	text-align: left;
}

.onclick-menu-content {
	position: absolute;
	z-index: 1;
	width: 150px;
	/* use opacity to fake immediate toggle */
	opacity: 0;
	visibility: hidden;
	transition: visibility 0.5s;
}




.prices_txt {
	color: #0277bd;
}




.page_picture {
	width: 8vw;
}

.page_name {
	font-size: 5vw;
	color: #2366d1;
}

.page_desc {
	font-size: 2vw;
	color: #2366d1;
}

.page_before {
	font-size: 3vw;
	margin: 15px;
	font-weight: normal;
	color: #2366d1;
	text-align: left;
	margin-left: 19vw
}

.page_after {
	font-size: 3vw;
	margin: 15px;
	font-weight: normal;
	color: #2366d1;
	text-align: right;
	margin-right: 18vw;
}



#commercial {
	position: absolute;
	display: none;
	width: 100vw;
	height: 100vh;
	top: 0;
	z-index: 2;
	background-color: white;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.div_toggle_menu {
	position: absolute;
	display: none;
	width: 100vw;
	height: calc(100vh - 64px);
	bottom: 0;
	z-index: 3;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

@media (pointer:coarse) {
	.div_toggle_menu {
		display: flex !important;
	}



}