@charset "utf-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
}

html {
  margin: 0;
  padding: 0;
font-family: "Space Grotesk", sans-serif;
}

body {
	margin: 0;
  	padding: 0;
	background-color: #602CFF;
	-webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1{
	font-size: 65px;
	color: #31ECA0;
	font-variant: small-caps;
}

h2{
	color: #602CFF;
	font-variant: small-caps;
	font-size: 65px;
	font-weight: 200;
}

.navbar {
  	border-bottom: 1px solid #31ECA0;
	display: flex;
	gap: 10px;
	overflow: hidden;
	background-color: #001528;
}

.navbar > div {
	min-height: 100px;
	min-width: 400px;
	background-image: url("element/cross.svg");
	background-repeat: no-repeat;
	background-size: 50px;
	background-position: center;
}

.navbar > div:first-child{
	background-image: none;
	display: flex;
	align-items: center;
	justify-content: center;

}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lottie-logo {
  width: 350px;
  height: 93px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.icon_lottie{
	width:50px;
	height: 50px;
}

#boite{
  	display: grid;
  	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
	font-size: 14px;
	background-color: #001528;

}

#boite > div{
	min-height: 200px;
	min-width: 200px;
}

.lottie {
      width: 198px;
      height: 198px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }


.item {
	color: #31ECA0;
	border: 1px solid #31ECA0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	text-align: center;
	transition: transform 0.3s ease;

}

.item--txt {
	color: #31ECA0;
	font-variant: small-caps;
	font-size: 20px;
	line-height: 22px;
	justify-content:space-between;
	text-align: left;

}

.item--txt p{
	padding-left: 20px;
}

/* Bloc large : occupe 2 colonnes */
.item--large {
  grid-column: span 2;
}

/* Bloc haut : occupe 2 rangées */
.item--tall {
	grid-column: span 2;
 	 grid-row: span 3;
	background-color: #602CFF;
	font-size: 15px;
	font-weight: 500;
	color:#001528;
	text-align: justify;
	padding:0 20px 0 20px;
}

.item--double {
  grid-column: span 4;
  grid-row: span 2;
margin-bottom: -2px;
	padding-top: 1px;
	background-color: #31ECA0;
	overflow: hidden;
}

.item--profil img{
	width: auto;
	height: 260px;
  transition:  0.5s;

}

.item--profil img:hover{
	height: 290px;
 transition:  1s;
	cursor: pointer;
}

.item--profil{
	overflow: hidden;
}

.site-footer {
  background: #602CFF;
  color: white;
  padding: 4rem 3rem 4rem 3rem;
  font-size: 0.9rem;
	position: relative;
	top:-200px;
	border-top: 2px solid #31ECA0;
}

.footer-container {
  display: flex;
  gap: 1rem;
  text-align: center;
	justify-content: space-around;
}

.footer-container p, .footer-container h3, .footer-container h4 {
	text-align: left;
}

.footer-container p{
	font-size: 18px;
	color: #001528;
}

h3{
	font-size: 95px;
	font-variant: small-caps;
	color: #001528;
	line-height: 80px;
	margin-bottom: 5px;
}

h4{
	font-size: 18px;
	color: #31ECA0;
}


.team{
	width: 360px;
	border-left: 1px solid #001528;
	padding: 0px 30px 0 30px;
	padding-top:20px;
}

.footer-container div:first-child{
	padding-top:0px;
	border-left: 0px solid;
	color:#31ECA0;
	font-size: 18px;
}

.contact{
	display: flex;
	border-left:0px solid;
	padding:0px;
	margin-top:10px;

}

.contact div{
	height: 45px;
	width: 45px;
	margin-right: 5px;
	margin-top: 10px;
	
}

#cafe-time{
	width: 250px;
}



@media (max-width: 1200px){
		h3{
		font-size: 65px;
	}
	
		.footer-container p{
		font-size: 15px;
	}
	
	#cafe-time{
		width: 195px;
	}
	
	.site-footer{
		position: relative;
		top:-400px;
	}
	
}

@media (max-width: 950px){
	
		.footer-container{
		flex-direction: column;
		height: 600px;
	}
	
		.footer-container{
		gap: 3rem;
	}
	
	#mailcontact{
		display: flex;
		justify-content: space-between;
		padding-left: 30px;
		padding-right: 30px;
	}

	
	.team{
		border-left:0px;
		border-top:1px solid #001528;
		padding-left: 30px;
		padding-right: 30px;
		width:auto;
		display: flex;
		flex-direction:column;
		justify-content: space-around;
		padding-top: 40px;
	}
	
	.item--txt{
	font-size: 18px;
	line-height: 20px;
	}
	
	#boite{
		grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
		grid-auto-rows: 150px;
		scroll-snap-type: y mandatory;
	}
	
		#boite > div{
	min-height: 150px;
	min-width: 150px;
}
	
	h3{
		font-size: 88px;
	}
	
		.item--tall{
		font-size: 15px;
	}
	
	.footer-container p{
		font-size: 15px;
	}
	
		.item--tall {
	grid-column: span 3;
	grid-row: span 4;
	}
	
	.item--double {
  	grid-column: span 3;
	grid-row: span 2;
	}
		.site-footer{
		padding: 3rem 2rem 3rem 2rem;
	}
	
	.site-footer{
		top:-450px;
	}
	
		.lottie{
	width: 148px;
    height: 148px;
	}
	

}

@media(max-width:870px) {
	
	
	
	.team{
		border-left: 0px;
		padding-bottom: 40px;
		width:auto;
	}
	
	.footer-container div:first-child{
		border-top:0px;
	}
	
	
		.item--tall{
		font-size: 17px;
	}
	
	.footer-container p{
		font-size: 17px;
	}
	
		.site-footer{
		top:-600px;
	}
	
	
}


@media (max-width: 460px) {
	html, body {
  overflow-x: hidden;
}
	
	#boite{
		grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));
		grid-auto-rows: 100px;
	}
	
	#mailcontact {
		flex-direction: column;
	}
	
	#boite > div{
	min-height: 100px;
	min-width: 100px;
}
	
	.item--double {
  	grid-column: span 3;
	grid-row: span 2;
	}

	.item--tall {
	grid-column: span 4;
	grid-row: span 6;
	}
	
		.item--txt p{
	padding-left: 10px;
}
	
	h3{
		font-size: 75px;
	}
	
	
.item--txt{
	font-size: 13px;
	line-height: 14px;
	}
	

	
	.item--tall{
		font-size: 15px;
	}
	
		.footer-container p{
		font-size: 15px;
	}
	
	.navbar > div{
		min-width: 430px;
	}
	
		.site-footer{
		top:-200px;
	}
	
	
	.lottie{
	width: 98px;
    height: 98px;
	}
	
			.item--profil img{
	width: auto;
	height: 120px;
  transition:  0.5s;

}

.item--profil img:hover{
	height: 150px;
 transition:  1s;
	cursor: pointer;
}
 }




@media (max-width: 435px) {
	
	#boite{
		grid-template-columns:repeat(auto-fit, minmax(90px, 1fr));
		grid-auto-rows: 90px;
		scroll-snap-type: y mandatory;
	}
	
	#boite > div{
	min-height: 90px;
	min-width: 90px;
	}
	
		.navbar > div{
		min-width: 380px;
	}
	

	.site-footer{
		top:-270px;
	}
	
	.footer-container{
		height: 500px;
	}
	
	.item--tall{
		font-size: 14px;
	}
	
	.footer-container p{
		font-size: 14px;
	}
	
	
}



