/* To disable blank at the to of the page */

* {
	margin: 0;
	padding: 0;
	font-family: 'Playfair Display';
}

img {
	max-width: 100%;
}

.new-tableau-img {
	width: 463px;
	height: 463px;
	object-fit: contain;
	object-position: center;
}

/* Contact Form Styles */
.contact-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.contact-buttons {
	text-align: center;
	margin-bottom: 40px;
}

.contact-form-container {
	background-color: #f9f9f9;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
	text-align: center;
	margin-bottom: 30px;
	color: #333;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	margin-bottom: 5px;
	font-weight: 500;
	color: #333;
}

.form-group input,
.form-group textarea {
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #333;
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-message {
	padding: 15px;
	border-radius: 5px;
	margin-top: 20px;
	text-align: center;
	font-weight: 500;
}

.form-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

@media (max-width: 690px) {
	.contact-container {
		padding: 10px;
	}
	
	.contact-form-container {
		padding: 20px;
	}
}

/*********************************************************************************/

/* Section generator style + generator animation */

section:nth-child(even){
	overflow-x: hidden;
}

section:nth-child(odd) .div_anim{
	opacity: 0;
	left: 10%;
	transition-duration: 0.5s;
}

section:nth-child(even) .div_anim{
	opacity: 0;
	left: -10%;
	transition-duration: 0.5s;
}

section:not(#main) {
	padding-top: 10px;
	padding-bottom: 40px;
}

.div_anim.ne-transition{
	left: 0px !important;
	top: 0px !important;
	opacity: 1 !important;
}

/*********************************************************************************/

/* Moving element */

div[name="ne-moving_element"] {
	position: relative;
}

/*********************************************************************************/

/* To create a footer at the footer of the page whatever the size */

body {
	position: relative;
	min-height: 100vh;
	overflow-x: hidden;
}

main {
	padding-bottom: 3.5rem;
	overflow-x: hidden;
}

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding-top: 1.0rem; 
	padding-bottom: 1.0rem; 
	margin: 0 auto;
	display: block;
	text-align: center;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	color: white;
}
/*********************************************************************************/

/* Top nav bar */

header {
	overflow: hidden;
	position: sticky;
	top:0;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	background-color: white !important;
}

header ul {
	list-style-type: none;
}

header a {
	float: left;
	/* color: #3a3a3a; */
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}

header ul.at_right a {
	float: right;
}

header {
	z-index: 10;
}

/*********************************************************************************/

/* Animations Opacity HTML*/

html {
	animation: opac 1s;
}

@keyframes opac {
	from {
		opacity:0
	}
	to {
		opacity:1
	}
}

/*********************************************************************************/

/* Title Animations */

.logo_top {
	position: relative;
	animation: hey_bottom 1s;
    max-width: 50px;
}

.main_dot_title {
	font-weight: 100;
	font-size: 18px;
}

.main_title {
	position: relative;
	animation: hey_top 1s;
}

.main_sub_title {
	color: #757575;
	line-height: 0.5;
	font-weight: 400;
	font-size: 18px;
	position: relative;
	animation: hey_top 1s;
	margin-bottom: 30px;
}

@keyframes hey_top {
	from {
		top: +25px;
		opacity:0;
	}
	to {
		opacity:1;
		top: 0px;
	}
}

@keyframes hey_bottom {
	from {
		top: -25px;
		opacity:0;
	}
	to {
		opacity:1;
		top: 0px;
	}
}


/*********************************************************************************/

/* Main mannager */

html {
	user-select: none;
	color: #3a3a3a;
	line-height: 1.8;
	height: 100%;
	scroll-behavior: smooth;
	line-height: 1.8;
}

main {
	/* padding-top: 2%; */
	text-align: center;
	overflow-x: clip;
}

h2,h3,h4 {
	font-weight: 400;
}

h3 {
	padding-top:14px;
	padding-bottom:24px;
}

a {
	text-decoration: none;
}

/*********************************************************************************/

/* Device screen width responsive */

/*Hide for ... large, medium, small*/
@media (min-width:993px) {
	.hide-large {display: none;}
	.width-resp_card {width: 33.33333%;}
	.row-element {width:25%;}
	.image-resp {width:60%;}
	.boots-inpt-text {width:25%;}
	.resp_text{padding-left:20%;padding-right:20%;}
}

@media (max-width:992px) and (min-width:691px) {
	.hide-medium {display: none;}
	.width-resp_card {width: 33.33333%;}
	.row-element {width:25%;}
	.image-resp {width:60%;}
	.boots-inpt-text {width:50%;}
	.resp_text{padding-left:10%;padding-right:10%;}
}

@media (max-width: 690px) {
	.hide-small {display: none;}
	.width-resp_card {width: 90%;}
	.row-element {width:100%;}
	.image-resp {width:100%;}
	.boots-inpt-text {width:91%;}
}

/*********************************************************************************/

/* Modal Gestion*/

.modal {
	display: none;
	opacity:0;
	position: fixed;
	z-index: 25;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.modal:target {
	display: block;
	animation: modal_open 0.5s both;
}

@keyframes modal_open {
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}


.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	padding: 0;
	border-radius: 8px;
	margin-bottom: 20%;
}

.modal-content-content {
	margin: 30px;
}

.close {
	font-weight: bold;
	height: 30px;
	width: 30px;
	cursor: pointer;
	border-radius: 2px;
	float: right;
	transition: 0.2s;
}

a .close:hover {
	color: #ccc;
}

/*********************************************************************************/

/* Progress bar JS! and CSS */

.progress-container {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: #ccc;
}

.progress-bar {
	height: 3px;
	width: 0%;
}

/*********************************************************************************/

/* Menu modal phone */

.menu-modal {
	display: none;
	position: fixed;
	z-index: 25;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.menu-modal-content {
	position: absolute;
	right: 0;
	height: 100%;
	width: 40%;
	padding: 0;
	background-color: #fefefe;
}

.menu-modal:target {
	display: block;
}

.menu-modal:target .menu-modal-content{
	animation: hey_right 0.5s both;
}

@keyframes hey_right {
	from {
		right: -50px;
		opacity:0;
	}
	to {
		opacity:1;
		right: 0px;
	}
}

.modal:target {
	display: block;
}

.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	padding: 0;
	border-radius: 8px;
	margin-bottom: 20%;
}

.modal-content-content {
	margin: 30px;
}

/*********************************************************************************/

/* Btn */

.btn_big {
	border-radius: 10px;
	padding: 20px;
	cursor: pointer;
	font-size: 15px;
	border: none;
}

.btn_big:hover {
	transform: scale(0.9);
}

/*********************************************************************************/

/* Boder and text */

.text_left {
	text-align: left;
	padding-left: 10px;
}*

.text_left_border {
	border-left: solid;
	margin-left: 10px;
}

.text_left_border p {
	padding-left: 10px;
	padding-right: 10px;
}

/*********************************************************************************/

.ne-scale.ne-transition {
	animation: ne_zoomIn 0.5s;
	opacity: 1;
}

.ne-scale {
	opacity: 0;
}

@keyframes ne_zoomIn {
	 0% {
		opacity:0;
		transform:scale(0.3);
	}
	 100% {
		opacity:1;
		transform:scale(1);
	}
}

.map_image {
	max-width:90%;
	margin-top: 10px;
}

.list .name {
	float: left;
}

.list .price {
	float: right;
}

.list {
	display: inline-block;
	width:100%;
}

.in-div-hover-scale>div:hover {
	transform: scale(1.1);
	z-index: 1;
}

.hover-scale:hover {
	transform: scale(1.1);
}

.ne-right {
	opacity: 0;
	left: 10%;
	transition-duration: 0.5s;
}

.ne-right.ne-transition {
	opacity: 1;
	left: 0;
}

.ne-bottom {
	opacity: 0;
	bottom: -10%;
	transition-duration: 0.5s;
}

.ne-bottom.ne-transition {
	opacity: 1;
	bottom: 0;
}

.bg_top {
	overflow: hidden;
	width: 100%;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-repeat: no-repeat;
	/* background-position: center; */
	background-position: top;
    height:40vh;
    /* background-position: 0% 14%; */
    background-attachment: fixed;
}

.image_menu {
	max-width: 150px;
	border-radius: 10px;
}

.icon-contact{
	font-size: 30px;
	margin: 0px 20px;
	transition:  0.5s;
}

input[type=text] {
	width: 400px;
	padding: 12px 20px;
	margin: 10px auto;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-family: 'Montserrat';
	display: block;
	max-width: 90%;
}

/*********************************************************************************/

/* Grid system */

@media (min-width:993px) {
    .grid-6 {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: 1fr;
    }
    .grid-6 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-6 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    .grid-6 div:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
    .grid-6 div:nth-child(4) { grid-area: 1 / 4 / 2 / 5; }
    .grid-6 div:nth-child(5) { grid-area: 1 / 5 / 2 / 6; }
    .grid-6 div:nth-child(6) { grid-area: 1 / 6 / 2 / 7; }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
    .grid-4 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-4 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    .grid-4 div:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
    .grid-4 div:nth-child(4) { grid-area: 1 / 4 / 2 / 5; }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
    }
    .grid-3 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-3 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    .grid-3 div:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
    }
    .grid-2 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-2 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
}

@media (max-width:992px) and (min-width:691px) {
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    .grid-6 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-6 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    .grid-6 div:nth-child(3) { grid-area: 2 / 1 / 3 / 2; }
    .grid-6 div:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
    .grid-6 div:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
    .grid-6 div:nth-child(6) { grid-area: 3 / 2 / 4 / 3; }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    .grid-4 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-4 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    .grid-4 div:nth-child(3) { grid-area: 2 / 1 / 3 / 2; }
    .grid-4 div:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
	.grid-3 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-3 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    .grid-3 div:nth-child(3) { grid-area: 2 / 1 / 3 / 2; }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
    }
    .grid-2 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-2 div:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
}

@media (max-width: 690px) {
    .grid-6 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }
    .grid-6 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-6 div:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
    .grid-6 div:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }
    .grid-6 div:nth-child(4) { grid-area: 4 / 1 / 5 / 2; }
    .grid-6 div:nth-child(5) { grid-area: 5 / 1 / 6 / 2; }
    .grid-6 div:nth-child(6) { grid-area: 6 / 1 / 7 / 2; } 

    .grid-4 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    } 
    .grid-4 div:nth-child(1) { grid-area: 2 / 1 / 3 / 2; }
    .grid-4 div:nth-child(2) { grid-area: 3 / 1 / 4 / 2; }
    .grid-4 div:nth-child(3) { grid-area: 4 / 1 / 5 / 2; }
    .grid-4 div:nth-child(4) { grid-area: 1 / 1 / 2 / 2; }

    .grid-3 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr); 
    }
    .grid-3 div:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .grid-3 div:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
    .grid-3 div:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }
}

.grid {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 50px;
    max-width: 1500px;
    margin: auto;
    padding: 10px;
	/* width:max-content */
}

.grid h3 {
	font-size: 18px;
	padding-bottom:0 !important;
	margin-left:15px;
	margin-right:15px;
}

.grid p {
	font-size: 15px;
}

/* .grid-6 div:nth-child(1) { background-color: #70ff38; }
.grid-6 div:nth-child(2) { background-color: #385dff; }
.grid-6 div:nth-child(3) { background-color: #fffc38; }
.grid-6 div:nth-child(4) { background-color: #ff3838; }
.grid-6 div:nth-child(5) { background-color: #8e38ff; }
.grid-6 div:nth-child(6) { background-color: #38e8ff; }

.grid-4 div:nth-child(1) { background-color: #70ff38; }
.grid-4 div:nth-child(2) { background-color: #385dff; }
.grid-4 div:nth-child(3) { background-color: #fffc38; }
.grid-4 div:nth-child(4) { background-color: #ff3838; }

.grid-3 div:nth-child(1) { background-color: #70ff38; }
.grid-3 div:nth-child(2) { background-color: #385dff; }
.grid-3 div:nth-child(3) { background-color: #ff3838; }


.grid-2 div:nth-child(1) { background-color: #70ff38; }
.grid-2 div:nth-child(2) { background-color: #385dff; } */


/*********************************************************************************/

/* Transitions */

.btn_big, .in-div-hover-scale>div, .hover-scale, .menu-modal, header a {
	transition: all 0.3s ease 0s;
}

/*********************************************************************************/

/* Transitions */

.overlay {
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	background-color: rgba(255, 174, 0, 0.65);
	overflow: hidden;
	width: 100%;
	height: 0;
	transition: .5s ease;
}
  
.container:hover .overlay {
	bottom: 0;
	height: 100%;
}
  
.text {
	white-space: nowrap; 
	color: white;
	font-size: 20px;
	position: absolute;
	overflow: hidden;
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	
	position: relative;
	z-index: 2;
}

.text * {
	background-color: #fff;
	width: fit-content;
	margin: auto !important;
	text-align: center;
	padding: 4px !important;
	color: #000;
}

/*********************************************************************************/
