* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  color: white;
  font-family: "Schibsted Grotesk", sans-serif;
  font-optical-sizing: auto;
}
.container {
  background-color: black;
  header {
    width: 95%;
    margin: auto;
    background-image: url(../img/eggs.jpg);
    background-repeat: no-repeat;
    height: 80vh;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: darken;
    .entete {
      display: flex;
      justify-content: space-between;
      width: 95%;
      margin: auto;
      position: relative;
      top: 5%;
      h4 {
        width: 15%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2em;
        font-weight: 400;
        opacity: 0.7;
      }
      nav {
        width: 50%;
        ul {
          display: flex;

          li {
            list-style: none;
            width: 20%;
            text-align: center;
            padding: 10px 0;
            a {
              text-decoration: none;
              font-size: 1.06em;
              opacity: 0.7;
            }
          }
          li:last-child {
            border: 1px solid rgba(223, 161, 18, 255);
            padding: 10px 2px;
          }
        }
      }
    }
    .titres {
      position: relative;
      top: 20%;
      margin: auto;
      text-align: center;
      width: 40%;
      height: 50%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      h2:first-child {
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        color: rgba(220, 167, 30, 255);
        font-size: 3em;
        font-weight: 400;
        font-style: italic;
      }
      h1 {
        font-size: 7em;
      }
      h2:last-child {
        opacity: 0.7;
        font-size: 2.1em;
      }
    }
  }
  main {
    width: 95%;
    margin: auto;
    #plats {
      height: 110vh;
      .plat_1,
      .plat_2 {
        height: 50%;
        width: 60%;
        margin: auto;
        display: flex;
        justify-content: space-around;
        .img {
          border: 1px solid rgba(220, 167, 30, 255);
        }
        div {
          width: 40%;
          img {
            height: 90%;
            width: 90%;
          }
        }
      }
      .plat_1 {
        .img {
          position: relative;
          bottom: 5%;
          img {
            position: relative;
            top: 10%;
            left: 10%;
          }
        }
        .text {
          height: 50%;
          position: relative;
          top: 10%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          gap: 15px;
          h5 {
            font-family: "Dancing Script", cursive;
            font-optical-sizing: auto;
            color: rgba(223, 161, 18, 255);
            font-size: 3em;
            font-weight: 400;
            margin-bottom: 15px;
            font-style: italic;
          }
          h3 {
            font-size: 2.1em;
          }
          a {
            font-size: 1.2em;
            font-style: italic;
            color: rgba(223, 161, 18, 255);
            text-decoration: none;
          }
        }
      }
      .plat_2 {
        flex-direction: row-reverse;
        margin-top: 50px;
        .img {
          img {
            position: relative;
            top: 10%;
          }
        }
        .text {
          height: 50%;
          position: relative;
          top: 10%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          gap: 15px;
          h5 {
            font-family: "Dancing Script", cursive;
            font-optical-sizing: auto;
            color: rgba(223, 161, 18, 255);
            font-size: 3em;
            font-weight: 400;
            margin-bottom: 15px;
            font-style: italic;
          }
          h3 {
            font-size: 2em;
          }
          a {
            font-size: 1.2em;
            font-style: italic;
            color: rgba(223, 161, 18, 255);
            text-decoration: none;
          }
        }
      }
    }
    #menu {
      width: 50%;
      height: 30vh;
      margin: 150px auto;
      text-align: center;
      /* margin-top: 100px; */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      h5 {
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        color: rgba(223, 161, 18, 255);
        font-size: 3em;
        font-weight: 400;
        font-style: italic;
      }
      h3 {
        font-size: 2em;
        margin-top: 15px;
      }
      div {
        display: flex;
        justify-content: space-evenly;
        margin-top: 50px;
        a {
          opacity: 0.7;
          text-decoration: none;
          font-size: 1.5em;
        }
      }
    }
    #recettes {
      height: 70vh;
      width: 80%;
      margin: auto;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      #recette_1,
      #recette_2,
      #recette_3,
      #recette_4 {
        height: 30%;
        width: 45%;
        display: flex;
        justify-content: space-around;
        .img {
          width: 30%;
          height: 100%;
          img {
            height: 100%;
          }
        }
        .text {
          width: 50%;
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          h4 {
            font-size: 1.5em;
          }
          p:nth-child(2) {
            opacity: 0.7;
            letter-spacing: 3px;
          }
          p:last-child {
            font-size: 2em;
            color: rgba(223, 161, 18, 255);
            font-style: italic;
            font-family: "Dancing Script", cursive;
            font-optical-sizing: auto;
          }
        }
      }
      #recette_2,
      #recette_4 {
        flex-direction: row-reverse;
        p:nth-child(2) {
          text-align: end;
        }
      }
    }
    #chef {
      width: 80%;
      height: 60vh;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .text,
      .img {
        height: 100%;
        width: 40%;
      }
      .img {
        width: 30%;
        img {
          height: 100%;
        }
      }
      .text {
        height: 70%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        margin-left: 80px;
        h5 {
          color: rgba(223, 161, 18, 255);
          font-family: "Dancing Script", cursive;
          font-optical-sizing: auto;
          font-weight: 400;
          font-size: 3em;
        }
        h2 {
          font-size: 2em;
        }
        p {
          opacity: 0.7;
        }
        a {
          text-decoration: none;
          color: rgba(223, 161, 18, 255);
          font-style: italic;
          font-size: 1.5em;
          margin-top: 50px;
        }
      }
    }
    #reservation {
      width: 95%;
      margin: auto;
      height: 80vh;
      background-image: url(../img/reservation.jpg);
      background-blend-mode: darken;
      background-color: rgba(0, 0, 0, 0.4);
      display: flex;
      justify-content: center;
      align-items: center;
      .text {
        height: 50%;
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 25px;
        text-align: center;
        h3 {
          color: rgba(223, 161, 18, 255);
          font-family: "Dancing Script", cursive;
          font-optical-sizing: auto;
          font-weight: 400;
          font-style: italic;
          font-size: 3.5em;
        }
        h2 {
          font-size: 1.8em;
        }
        p {
          opacity: 0.7;
          font-size: 1.5em;
        }
        form {
          display: flex;
          justify-content: center;
          gap: 10px;
          input,
          select {
            background-color: rgba(0, 0, 0, 0.2);
            width: 20%;
            height: 50px;
            opacity: 0.5;
            border-radius: 5px;
            border: 1px solid white;
            text-align: center;
          }
          input::placeholder {
            color: white;
          }
          select {
            width: 15%;
          }
        }
        button {
          background-color: rgba(219, 165, 33, 255);
          border: none;
          border-radius: 5px;
          width: 15%;
          height: 50px;
          color: white;
          margin: auto;
          font-size: 1.5em;
          font-weight: 500;
        }
      }
    }
    #shared_recipes {
      width: 70%;
      height: 50vh;
      margin: auto;
      margin: 25px auto;
      text-align: end;
      h3 {
        color: rgba(223, 161, 18, 255);
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: italic;
        font-size: 2.5em;
      }
      h2 {
        margin: 25px 0;
      }
      div{
        position: relative;
        height: 40px;
        p{
          margin: 30px 0;
          opacity: 0.7;
          letter-spacing: 1px;
        }
      }
      div > p:first-child {
        text-align: start;
        position: absolute;
        opacity: 1;
        bottom: 1%;
        font-weight: 800;
      }
      p{
        opacity: 0.7;
      }
      p.last{
        opacity: 1;
        color: rgba(223, 161, 18, 255);
        margin-top: 15px;
      }
    }
  }
  footer{
    height: 50vh;
    background-color: rgba(56,56,56,255);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    div{
      width: 25%;
      height: 50%;
      h2{
        color: rgba(223, 161, 18, 255);
        margin-bottom: 100px;
      }
      p{
        opacity: 0.7;
      }
      a{
        text-decoration: none;
        opacity: 0.7;
      }
      .reserved{
        margin-top: 50px;
      }
    }
  }
}
