@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #e8dccc;
}

/*to remove the scroll bar*/
body::-webkit-scrollbar {
  display: none;
}

.container{
  position: absolute;
  width: 100vw;
  height: 100vh;
  
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
}

#pageHome{
  height: 100vh;
  width: 100vw;
}
.page{
  width: 100vw; /* Largeur de chaque page */
  height: 100vh; /* Hauteur de la page */
  display: flex; /* Permet de mettre les deux pages côte à côte */
  vertical-align: top;
  position: absolute;
}

.page::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM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rgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
  opacity: 0.8;
  z-index: 2;
  pointer-events: none;/*to activate the event for the container below this one*/
}

.page:nth-child(2){
  left: 100vw;
}
.page:nth-child(3){
  left: 200vw;
}
.page:nth-child(4){
  left: 300vw;
}
.page:nth-child(5){
  left: 400vw;
}
.page:nth-child(6){
  left: 500vw;
}
.page:nth-child(7){
  left: 600vw;
}


.page1{
    height: 100vh;
    width: 100vh;
    background-color: rgba(255, 242, 226, 0.1);
    filter: blur(75px); /*with the blur : 75px*/
    position: absolute;
    z-index: -5;
}

.title{
    position: absolute;
    font-size: 15rem;
    left: 5vh;
    font-family: 'Italiana', serif;
    font-weight: 100;
    color: #fff4e4; /*white before*/
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
}

.title:hover{
  cursor: default;
}
#secondTitle{
  top: 50vh;
  position: absolute;
  opacity: 0;
  animation: fade-in 2s ease-in-out forwards;
}
#secondTitle::after{
  position: relative;
  content: '|';
  animation: cursor-blink 1s infinite;
  font-size: 14rem;
  top: -25px;
  font-family: 'Times New Roman', Times, serif;
  animation-delay: 2s;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  80%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes cursor-blink {
  0%, 50% {
    opacity: 0;
  }
  51%, 100% {
    opacity: 1;
  }
}


.titleAnimation {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;

}

.titleAnimation > span {
  display: inline-block;
  transform: translateY(-100%);
  animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0%);
  }
}


.name{
    font-family: 'Italiana', serif;
    font-weight: 100;
    position: absolute;
    bottom: 2vh;
    left: 4vh;
    color: white;
    z-index: 1;
    font-size: 2rem;
    
    
}
.name:hover{
  cursor: pointer;
}

.gradientImg{
    position: fixed;
    height: 1080px;
    width: 1500px; /*with the blur : 1300px*/
    margin-top: -150px;
    margin-left: -300px;
}

.textVertical {
    font-family: 'Italiana', serif;
    font-size: 2rem;
    color: black;
    position: absolute;
    top: 50%;
    left: 70vw;
    transform: translate(50%, -50%) rotate(-90deg);
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .textVertical:hover{
    cursor: default;
  }
  .arrow {
    position: absolute;
    top: 50%;
    left: 95vw;
    transform: translate(-50%, -50%) rotate(180deg);
    width: 35px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: arrowAnimation 2s infinite ease-in-out;
  }
  @keyframes arrowAnimation {
    0% {
      transform: translateX(0) rotate(180deg);
    }
    50% {
      transform: translateX(10px) rotate(180deg);
    }
    100% {
      transform: translateX(0) rotate(180deg);
    }
  }
  .arrow:hover{
    cursor: pointer;
  }
  
  .burgerMenu {
    position: fixed;
    top: 6%;
    right: 3%;
    width: 29px;
    height: 29px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 4;
  }
  
  .burgerLine {
    width: 30px;
    height: 2px;
    background-color: black;
    margin: 4px 0;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
  }
  .burgerMenu:not(.gradientImg) {
    cursor: pointer;
  }


  /*--------------------------------------------Page 2------------------------------------------------*/
  .titleRotateContainer {
    width: 80vw;
    white-space: nowrap;
    overflow: hidden;
    position: relative; 
    margin: 0 auto; /*0 pour margin supérieure et inférieure*/
    margin-top: 10vh;
    height: 40vh;
    z-index: -2;
  }
  
  .titleRotateWrapper {
    display: flex;
    position: absolute; /* positionnement absolu pour permettre le défilement */
    width: 400%; /* largeur de deux éléments titleRotate pour le défilement continu */
    animation: scroll 15s linear infinite; 
    padding-bottom: 30px;
    border-bottom: 2px solid black;
  }
  
  .titleRotate {
    font-size: 12rem;
    width: 50%; /* 50% pour deux éléments titleRotate dans titleRotateWrapper */
    display: inline-block;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0%); 
    }
    100% {
      transform: translateX(-50%); 
    }
  }

  #nameBlack{
    background-color: black;
    height: 2.2rem;
    width: 4.2rem;
    margin-bottom: 5px;
    animation: bg-resize 5s ease-in-out infinite;
  }

  @keyframes bg-resize {
    0% {
      height: 0.2rem;
    }
    20% {
      height: 0.2rem;
    }
    40% {
      height: 2.2rem;
    }
    60% {
      height: 2.2rem;
    }
    100% {
      height: 0.2rem;
    }
}
#namePage1{
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
  #namePage2 {
    padding: 3px;
    color: black;
  }

  .containerLoremContainer{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
  }

.loremContainer{
    font-size: 2rem;
    font-family: 'Italiana', serif;
    font-weight: 500;
    position: relative;
    display: flex;
    width: 80vw;
    bottom: 0;;
}

.text{
  margin: 50px;
  width: 50%;
  color: black;
}
.text:hover{
  cursor: default;
}
#secondText{
  color: #e8dccc;
  font-size: 3rem;
  width: 100%;
}

.blackCircle{
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: black;
  border-radius: 50%;
  display: none;
  transition: all 0.5s ease-out;
  z-index: -1;
}

.blackCircle.active {
  display: flex;
}

.hiddenText{
  justify-content: center;
  position: relative;
}

/*---------------------------------------------------Page 3--------------------------------------------*/
#pageThird{
  display: flex;
}/*
.gradientImg2{
    height: 1200px;
    width: 3200px; /*with the blur : 1300px
    margin-top: -150px;
    left: -100px;
  animation: movingBg 10s infinite ease-in-out;
  
}*/


/*
@keyframes movingBg {
  0%{
    opacity: 0;
  } 
  40%, 60% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}*/
#page1Second{
  z-index: -4;
}

.imageContainer {
  position: absolute;
  left: 25%;
  transform: translateX(-50%);
  bottom: 0;
}

.imageGrowing {
  position: absolute;
  bottom: 0;
  width: 300px;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.5s ease-out;
  transform-origin: bottom left;
  z-index: 22;
}
.titlePage3Container {
  text-align: center;
  position: relative;
  left: 250px;
  z-index: -2;
}

.titlePage3 {
  font-size: 10rem;
  font-family: 'Italiana', serif;
  color: black;

}


.titlePage3Vertical {
  font-size: 10rem;
  color: black;
  position: absolute;
  top: 350px;
  right: 120px;
  transform: translate(-50%, -50%) rotate(-90deg);
  animation: colorText 10s linear infinite;
}

.rectangle{
  position: absolute;
  border-radius: 2px;
  width: 350px;
  height: 500px;
  background-color: #FD8531;
  left: 72vw;
  top: 90vh;
  z-index: -2;
  box-shadow: 3px 6px 3px rgba(0, 0, 0, 0.1);
  background-image: url(./img/phoneview.png);
  background-size: 355px;
}
.rectangleToTrigger{
  position: absolute;
  border-radius: 1px;
  width: 350px;
  height: 500px;
  background-color: rgba(253, 208, 63, 0);
  left: 72vw;
  top: 90vh;
  z-index: 55;
}
/*
.circleInRectangle{
  position: absolute;
  top: 7px;
  left: 50%;
  width: 1.8vw;
  height: 1.8vw;
  border-radius: 2vw;
  background-color:#e8dccc;
  transform: translateX(-50%);
  border: 1px solid black;
  box-shadow: inset 3px 2px 2px rgba(0, 0, 0, 0.05);
  z-index: 3;
}*/

.arrow2 {
  position: absolute;
  top: 50%;
  left: 95vw;
  transform: translate(-50%, -50%) rotate(180deg);
  width: 35px;
  animation: arrowAnimation 2s infinite ease-in-out;
  opacity: 0;
}


/*------------------------------------------------Page 4-----------------------------------------------*/


.titleContainerPage4{
  background-color: #e8dccc;/*without noise it's f-f-f-2-e-2*/
  width: 1200px;
  height: 200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -2;
}

.titlePage4{
  font-family: 'Italiana', serif;
  font-size: 2rem;
}
.bgContainer{
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 100vw;
  top:10vh;
  height: 80vh;
  z-index: -4;
}
.lineArt{
  width: 100%;
  height: 100px;
  background-image: url(./img/art.png);
  background-size: 80px;
  animation: scrollBg 20s linear infinite;
  z-index: 2;
}

@keyframes scrollBg {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 320px 0;
  }
}

.lineArt:nth-child(odd){
  animation-direction: normal;
}

.lineArt:nth-child(even){
  animation-direction: reverse;
}

#namePage4{
  color: black;
}


/*----------------------------------Page 5-------------------------------------------------*/

#pageFifth{
  z-index: 0;
  display: flex;
}
.rectangle2{
  position: absolute;
  border-radius: 2px;
  width: 350px;
  height: 500px;
  background-color: #FD8531;
  left: 57vw;
  top: 90vh;
  z-index: -2;
  box-shadow: 3px 6px 3px rgba(0, 0, 0, 0.1);
  background-image: url(./img/phoneview.png);
  background-size: 355px;
}
.rectangleToTrigger2{
  position: absolute;
  border-radius: 1px;
  width: 350px;
  height: 500px;
  background-color: rgba(253, 208, 63, 0);
  left: 56vw;
  top: 90vh;
  z-index: 22;
}

#titlePage4{
  transform: rotate(90deg);
  left: 750px;
  top: -30px;
}
#titlePage4Container{
  left: 600px;
  z-index: -5;
}
.imageGrowing2 {
  position: absolute;
  bottom: 0;
  left: -250px;
  width: 300px;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.5s ease-out;
  transform-origin: bottom left;
}
/*-----------------------------------Page 6-----------------------------------------------*/
#pageSixth{
  justify-content: center;
}

.titleCanvas{
  font-size: 2rem;
  color: black;
  font-family: 'Italiana', serif;
  transform: translateY(30vh);
  position: absolute;
  text-align: center;
  left: 0;
  margin-left: 7.5%;
}

#namePage5{
  color: white;
}
.canvasContainer{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 30vh;
  position: absolute;
  bottom: 10vh;
  left: 0;
  cursor: default;
  gap: 60px; 
  margin-left: 10%;
  margin-right: 10%;
}
.canvas {
  flex-basis: 40%;
  position: relative;
  bottom: 0;
  left: 0;
  height: 100%;
  border: 2px solid black;
  overflow: hidden;
  display: flex;
  justify-content: center; /*for the text*/
  align-items: center; 
}
.divInfos {
  flex-basis: 40%;
  color: black;
}
.linkStyle{
  text-decoration: none;
  color: #000000;
  font-size: 2rem;
}

.dot {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  z-index: -3;
}

.textInCanvas{
  color: #e8dccc;
  font-size: 3rem;
  font-family: 'Italiana', serif;
  z-index: -2;
}

/*
.textContact{
  font-size: 2rem;
  font-style: 'Italiana', serif;
  width: 50vw;
  height: 30vh;
  bottom:20vh;
  right: 10vw;
  position: absolute;
  text-align: right;
} form should be done not just an email*/



/*---------------------Page 7----------------------------*/
.containerVerticalFooter {
  position: absolute;
  left: 75%;
  bottom: 50vh;
  transform-origin: top right;
  transform: translateY(50%);
  background-color: red;
  width: 20%;
}

.nameVerticalFooter{
    font-size: 20rem;
    color: black;
    position: absolute;
    left: 52%;
    transform: translate(-50%, -50%) rotate(-90deg);
    animation: colorText 10s linear infinite;
  
}
/*Formulaire*/

.formContainer{
  position: relative;
  top: 30%;
  left: 10%;
  justify-content: center;
  text-align: center;
}
.titleForm{
  justify-content: center;
  font-size: 5rem;
}
form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 5%;
  font-family: Arial, sans-serif;
  text-align: left;
}

.formGroup {
  display: flex;
  flex-direction: column;
  margin: 0 10px 0 0;
  width: calc(45% - 5px);
}

.formGroupArea {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100px; 
}
label {
  margin-bottom: 5px;
  display: block;
  width: 100%;
}

input,
textarea {
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
textarea {
  resize: none;
  height: 150px; 
  overflow-y: auto;
  width: calc(100% - 10px);
}
#formGroupButton{
  display: flex;
  flex-direction: row-reverse;
}
.submitButton {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  background-color: #000000;
  color: white;
  cursor: pointer;
  width: 50%;
}

.submitButton:hover {
  background-color: #ff9100;
}
.acceptGroup{
  font-size: 14px;
  display: flex;
  flex-direction: row;
  width: 150%;
}
.acceptGroup input[type="checkbox"] {
  width: 13px;
}

