@charset "utf-8";
/*@font-face {
font-family: "ivyora-display", serif;
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "ivyora-display", serif;
font-weight: 500;
font-style: italic;
}

@font-face{
font-family: "owners", sans-serif;
font-weight: 700;
font-style: normal;
}*/

@font-face {
  font-family: 'Attitude';
  src:  url('Attitude.woff2') format('woff2'),
        url('Attitude.woff') format('woff');
}

body {
	margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.menu {
	margin: 0;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	width: 100vw;
	justify-content: space-around;
	background: white;
	padding: 1%;
	padding-top: 1.5%;
	padding-bottom: 1.5%;
	list-style: none;
	font-family: "ivyora-display", serif;
	font-weight: 500;
	font-style: italic;
	font-size: clamp(1rem, 2vw, 1.5rem);
	color: #231F20;
	z-index: 20;
}

a {
  color: #231F20;
  text-decoration: none;
}
a:hover {
  color: #5b79ff;
}

.back img{
  position: fixed;
  height: auto;
  width: 150px;
  top: 90px;
  left: -55px;
	z-index: 10;
	transform: rotate(08deg);
	transition: 0.4s ease;
}
.back img:hover{
  position: fixed;
  height: auto;
  width: 170px;
  top: 90px;
  left: -30px;
	z-index: 10;
	transform: rotate(15deg);
	transition: 0.4s ease;
}

/* Initial state */
.page {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Enter animation */
.page.enter {
  opacity: 1;
  transform: translateY(0);
}

/* Leave animation */
.page.leave {
  opacity: 0;
  transform: translateY(-50px);
}


#intro{
  display: flex;
	flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
	padding-left: 5rem;
	padding-top: 10rem;
}


#intro img[src="img/attitude/poster-mockup.png"]{
 height: auto;
  width: 50%;
	padding-right: 5rem;
	padding-top: 0.5rem;
}

.text{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
  	align-items: flex-start;
	max-width: 35%;
	height: auto;
}

.text p{
	padding: 0;
	padding-bottom: 1.5rem;
	margin: 0;
}

.title{
	font-size: clamp(2rem, 5vw, 15rem);
  width: auto;
  text-align: left;
  font-family: "ivyora-display", serif;
	font-weight: 500;
	font-style: italic;
  color: #231F20;
}

.date{
	font-size: clamp(0.5rem, 1.8vw, 1.5rem);
  width: auto;
  text-align: left;
  font-family: "Owners Medium";
  color: #231F20;
}

.text1{
	font-size: clamp(0.5rem, 1.8vw, 1.5rem);
  z-index: 2;
  width: auto;
  text-align: left;
  font-family: "Owners Medium";
  color: #231F20;
}

.text2{
	font-size: clamp(0.1rem, 1.3vw, 1rem);
  z-index: 2;
  width: auto;
  text-align: left;
  font-family: "Owners Medium";
  color: #231F20;
}

#light{
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 10rem;
}

#light .image-wrapper {
  position: relative;
  width: 70%;
  border-radius: 5rem;
  border: 2px solid black;
  overflow: hidden; /* keeps borders neat */
}


#light img[src="img/attitude/attitude-light.png"]{
	position: absolute;
  inset: 0; /* fills wrapper */
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  opacity: 1;
}

#light img[src="img/attitude/attitude-light.png"]:hover{
	height: auto;
	width: 100%;
	z-index: 2;
	transition: 0.4s ease;
	opacity: 0%;
}

#light img[src="img/attitude/attitude-typo.png"]{
	height: auto;
	width: 100%;
	z-index: 0;
	display: block;
}

#letters{
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 10rem;	
}

.text-letters{
	height: auto;
	width: 70%;
	text-align: center;
	font-family: 'Attitude';
	font-size: clamp(1.5rem, 4vw, 14rem);
	color: #231F20;
	border: 2px solid black;
    background: none;
	border-radius: 5rem;
}

#test{
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: column;
	flex-wrap: wrap;
}

.contenu-principal{
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: column;
	flex-wrap: wrap;
	  width: 100%;
     height: 50rem;
}

 .encadre-noir {
	text-align: center;
	font-size: clamp(1.5rem, 2.5vw, 7.5rem);
	 font-family: 'Owners Medium'
  }
  textarea{
     overflow: auto;
     outline: none;
  }
  .custom-typography {
    font-family: "Attitude";
	font-size: clamp(1.5rem, 2.5vw, 7.5rem);
  }
  #editor {
	 width: 65%;
	height: 20rem;
    font-size: auto;
    border: 2px solid black;
    background: none;
    text-align: center;
    padding: 2rem;
  }

@media (max-width: 500px){
	.back img{
  position: fixed;
  height: auto;
  width: 110px;
  top: 70px;
  left: -45px;
}
.back img:hover{
  position: fixed;
  height: auto;
  width: 130px;
  top: 70px;
  left: -60px;
}
	
	#intro{
	padding-left: 2rem;
	padding-right: 2rem;
	padding-top: 3rem;
	}

	#intro img[src="img/attitude/poster-mockup.png"]{
	height: auto;
	width: 100%;
	padding-bottom: 1.5rem;
	}

	.text{
	max-width: 100%;
	height: auto;
}
	
	.title{
	font-size: clamp(3rem, 5vw, 15rem);
	}

	.date{
		font-size: clamp(1rem, 2vw, 1.5rem);
	}

	.text1{
		font-size: clamp(1rem, 2vw, 1.5rem);
	}
	
	.text2{
		font-size: clamp(1rem, 2vw, 1.5rem);
	}
	
	#light{
		padding-top: 04rem;
	}

	#light .image-wrapper {
	  width: 80%;
	  border-radius: 2rem;
	}

	#letters{
		padding-top: 5rem;	
	}

	.text-letters{
		width: 80%;
		border-radius: 2rem;
	}
	
	.contenu-principal{
		height: 30rem;
	}

	#editor {
		height: 15rem;
	}
}


@media (min-width: 501px) and (max-width: 1000px){
		.back img{
  position: fixed;
  height: auto;
  width: 150px;
  top: 70px;
  left: -60px;
}
.back img:hover{
  position: fixed;
  height: auto;
  width: 150px;
  top: 70px;
  left: -20px;
}
	
	#intro{
	padding-left: 3rem;
	padding-right: 3rem;
	padding-top: 4rem;
	}

	#intro img[src="img/attitude/poster-mockup.png"]{
 	 height: auto;
 	 width: 50%;
	padding-right: 3rem;
	}
	
	.text p{
		padding: 0;
		padding-bottom: 1rem;
		margin: 0;
	}

	#light .image-wrapper {
	  width: 70%;
	  border-radius: 3rem;
	}
	
	.text-letters{
	border-radius: 3rem;
	}
	
	.contenu-principal{
		 height: 35rem;
	}

	 #editor {
		 width: 65%;
		height: 10rem;
	  }
	
}
