@font-face {
  font-family: 'windsor';
  src: url(../font/Windsor-Hand.otf) format('opentype');
  font-weight: normal;
}
@font-face {
  font-family: 'raleway';
  src: url(../font/Raleway-Regular.ttf) format('truetype');
  font-weight: normal;
}
:root {
  --yellow: #fffd6b; --orange: #ffc46b; --black: #000000; --white: #f0f0f0;
  --gray: #ccc; --opacblack: rgba(0, 0, 0, 0.459);
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Fraunces', serif;
  background-color: #f0f0f0;
  overflow-x: hidden;
}

nav {
  width: 100%;
  position: fixed;
  background-color: var(--opacblack);
  z-index: 100;
  font-size: 2.5rem;
  margin: 0;
}

.logo {
  margin: 0;
  text-decoration: none;
  list-style: none;
  position: relative;
  left: 2vw;
  color: var(--white);
  text-decoration: none;
}

.logo>img {
  width: 20vw;
  object-fit: cover;
}
h1{
  font-family: 'windsor';
  font-size: 10rem;
  color: var(--white);
  margin: 0;
}

h2{
  font-family: 'windsor';
  font-size: 7rem;
  color: var(--white);
  margin: 0;
}
h4{
  margin: 0;
  transition: color 1s ease;
}
h4:hover, a:hover{
  color: var(--orange);
}

a{
  text-decoration: none;
  color: #f0f0f0;
  transition: color 1s ease;
}

.nav-links {
  display: flex;
  position: relative;
  right: 5vw;
  gap: 2vw;
  margin-left: auto;
  margin-right: 2rem;
}

.nav-links>li {
  text-decoration: none;
  list-style: none;
}

.nav-links>li>a  {
  text-decoration: none;
  color: var(--white);
  font-family: 'raleway';
  font-size: 2rem;
}

li:hover{
  color: var(--orange);
}

.wall {
  position: fixed;
  top: 0;
  left: 0;
  background-image: url(../img/wall.jpg);
  z-index: 0;
  animation: changebg linear forwards;
  animation-timeline: scroll();
  animation-range: 0% 100%;
}

.walltitle {
  position: absolute;
  top: 15vw;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  z-index: 0;
  animation: title linear forwards;
  animation-timeline: scroll();
  animation-range: 0% 50%;
}

.wall2 {
  position: relative;
  top: 100vh;
  left: 0;
}


.wall>div>img {
  object-fit: cover;
  animation: liftUp linear forwards;
  animation-timeline: scroll();
  animation-range: 0% 25%;
}

.indemodable {
  position: relative;
  margin: 0 auto;
  padding: 50px;
  background-color: var(--black);
}

.indetronable {
  position: relative;
  margin: 0 auto;
  padding: 50px;
  background-color: var(--black);
}

.inegalable {
  position: relative;
  margin: 0 auto;
  padding: 50px;
  background-color: var(--black)
}
.intraitable {
  position: relative;
  margin: 0 auto;
  padding: 50px;
  background-color: var(--black);

}

.parent {
  position: relative;
  right: 100vw;
  animation: liftright linear forwards;
  animation-timeline: view();
  animation-range: 0% 50%;

}

.parent2 {
  position: relative;
  left: 100vw;
  animation: liftleft linear forwards;
  animation-timeline: view();
  animation-range: 0% 50%;
}

.parent3 {
  position: relative;
  right: 100vw;
  animation: liftright linear forwards;
  animation-timeline: view();
  animation-range: 0% 50%;
}
.parent4 {
  position: relative;
  left: 100vw;
  animation: liftleft linear forwards;
  animation-timeline: view();
  animation-range: 0% 50%;
}


.parent>div {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0%, 85% 100%, 0% 100%);
}

.parent2>div {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0%, 85% 100%, 0% 100%);
}
.parent3>div {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0%, 85% 100%, 0% 100%);
}
.parent4>div {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0%, 85% 100%, 0% 100%);
}

.one {
  grid-column: 1;
  grid-row: 1 / 4;
  background-image: url(../img/picture1.jpeg);
  z-index: 10;
}

.two {
  grid-column: 2;
  grid-row: 1 / 4;
  background-image: url(../img/picture2.jpeg);
  z-index: 10;
  margin-left: -3vw;
}

#three {
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%);
  font-size: 50px;
  color: #f0f0f0;
  grid-column: 3 / 5;
  grid-row: 1 / 4;
  z-index: 10;
  margin-left: -3vw;
}

.one2 {
  grid-column: 3;
  grid-row: 1 / 4;
  background-image: url(../img/picture1.jpeg);
  z-index: 10;
}

.two2 {
  grid-column: 4;
  grid-row: 1 / 4;
  background-image: url(../img/picture2.jpeg);
  z-index: 10;
  margin-left: -3vw;
}

#three2 {
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%);
  font-size: 50px;
  color: #f0f0f0;
  grid-column: 1 / 3;
  grid-row: 1 / 4;
  z-index: 10;
  margin-left: -3vw;
}


.content {
  margin-left: 35%;
  margin-right: 25%;
  flex-direction: column;
}

.content>p {
  font-size: 20px;
  font-weight: 200;
  max-width: 25vw;
}

.content>button {
  position: absolute;
  font-size: 25px;
  top: 35vw;
  right: 5vh;
  padding: 25px;
  border-radius: 200px;
  background-color: var(--yellow);
  color: var(--black);
  border: none;
  cursor: pointer;
  border: #ffc46b solid 1px;
  transition: background-color 1s ease, color 1s ease;
}
button:hover {
  background-color: var(--black);
  color: var(--orange);
}

.autumnwall {
  color: white;
  position: relative;
  flex-direction: column;
  font-size: xx-large;
  width: 100vw;
  height: 50vh;
  z-index: 1;
}

.footer {
  position: relative;
  top: 100vh;
  left: 0;
  gap: 8vw;
  color: white;
  width: 100vw;
  background-color: var(--black);
}

.barre-verticale{
  width: 2px;
  height: 50px;
  background-color: var(--gray);
  margin: 0 1rem;
}

.form {
  
}
.footerleft{
  font-size: xx-large;
}
.footerright > div:nth-child(1) {
  font-size: xx-large;
}

.form >input {
  padding: 20px;
  background-color: var(--opacblack);
  border-bottom-color: var(--orange);
  border-style: solid;
  border-bottom-width: 5px;
  border-right: 0;
  border-left: 0;
  border-top: 0;
  margin: 5px 0;
  border-radius: 5px;
}

.form >button {
  font-size: 25px;
  padding: 25px;
  border-radius: 200px;
  background-color: var(--orange);
  color: black;
  border: none;
  cursor: pointer;
}

@keyframes liftUp {
  to {
    transform: translateY(-125vh);
  }
}

@keyframes liftright {
  to {
    right: 0;
  }
}

@keyframes liftleft {
  to {
    left: 0;
  }
}

@keyframes title {
  to {
    transform: translateX(25vw);
    opacity: 0;
  }
}

@keyframes changebg {
  to {
    background-image: url(../img/park.jpeg);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100vw;
  height: 100vh;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: start;
}

.background{
  background-size: cover;
  background-position: center;
}

.fluid {
  width: 100%;
  height: 100%;
}