@font-face {
    font-family: 'Dia';
    src: url('fonts/Dia-Regular.woff') format('woff'),
        url('fonts/Dia-Regular.eot') format('eot');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Dia';
    src: url('fonts/Dia-Bold.woff') format('woff'),
        url('fonts/Dia-Bold.eot') format('eot');
    font-weight: bold;
    font-style: normal;
}
@font-face {
  font-family: 'Dia';
  src: url('fonts/Dia-Black.woff') format('woff'),
      url('fonts/Dia-Black.eot') format('eot');
  font-weight: 900;
  font-style: normal;
}
@font-face {
    font-family: 'Boita';
    src: url('fonts/Boita-Regular.woff') format('woff'),
        url('fonts/Boita-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
	margin: 0;
	padding: 0;
}
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
:root {
  --ratio: calc(100vw / 1920);
  --vh: 1vh;
}
*::-webkit-scrollbar {
  display: none;
}
html, body, * {
  overscroll-behavior: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
* {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  font-family: 'Dia', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  background-color: #e7dcf4;
  color: black;
  margin: 0 auto;
  overflow-x: hidden;
}
html {
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
    scroll-behavior: smooth;
  }
  
  header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: white;
    padding: calc(36 * var(--ratio)) calc(50 * var(--ratio));
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease-in-out;
  }
  h1, .info-menu li {
    list-style: none;
    font-size: calc(33 * var(--ratio));
    line-height: calc(33 * var(--ratio));
    font-weight: 400;
    text-transform: uppercase;
  }
  .tagline {
    font-size: calc(22.5 * var(--ratio));
    line-height: calc(24 * var(--ratio));
    font-weight: 400;
    font-family: 'Boita', serif;
  }
  main {
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
  }
  .left {
    width: 50%;
    padding-right: calc(20 * var(--ratio));
  }
  .right {
    width: 50%;
    padding-left: calc(20 * var(--ratio));
  }
  .right p {
    font-size: calc(72 * var(--ratio));
    line-height: calc(72 * var(--ratio));
    font-weight: 400;
    font-family: 'Boita', serif;
  }
  .info-menu ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: calc(50 * var(--ratio));
  }
  div.icon {
    width: calc(200 * var(--ratio));
    height: calc(200 * var(--ratio));
    background-image: url('img/millecouleurs.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: spin-icon 12s linear infinite;
  }
  div.icon-container {
    width: calc(200 * var(--ratio));
    height: calc(200 * var(--ratio));
    position: absolute;
    top: -10px;
    right: calc(260 * var(--ratio));
    transform: translateY(calc(-50% + 20px));
  }
  label {
    display: none;
  }
  main {
    padding: calc(100 * var(--ratio)) calc(50 * var(--ratio));
  }
  input[type="text"], input[type="password"], input[type="email"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-bottom: 1px solid black;
    width: 100% !important;
    background-color: transparent;
    outline: none !important;
    font-family: 'Dia', sans-serif;
    font-size: 25px;
    line-height: 30px;
    max-width: 800px !important;
    border-radius: 0 !important;
  }
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #e7dcf4 inset; /* your background color */
    box-shadow: 0 0 0 1000px #e7dcf4 inset;
    -webkit-text-fill-color: #000;   
    background-color: transparent !important; /* your text color */
  }
  /* Optional: avoid weird transitions on autofill */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    transition: background-color 9999s ease-out, color 9999s ease-out;
  }
  @keyframes spin-icon {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  footer {
    position: relative;
    padding: calc(36 * var(--ratio)) calc(50 * var(--ratio));
  }

  input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-color: white !important;
    color: black !important;
    font-size: calc(25  * var(--ratio));
    line-height: calc(30 * var(--ratio));
    padding: calc(10 * var(--ratio)) calc(20 * var(--ratio));
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    border-radius: calc(40 * var(--ratio));
  }
  p.chefs-only {
    font-size: calc(25 * var(--ratio));
    line-height: calc(30 * var(--ratio));
    font-weight: 400;
    font-family: 'Dia', sans-serif;
    text-align: right;
    text-transform: uppercase;
    padding-top: calc(10 * var(--ratio));
  }
  .submit-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .txt-right {
    text-align: right !important;
  }
  div.form-input {
    margin-bottom: 20px;
  }
  input[type="submit"]:hover {
    background-color: black !important;
    color: white !important;
  }
  footer {
    position: relative;
  }
  .footer-content {
    font-size: calc(27 * var(--ratio));
    line-height: calc(32 * var(--ratio));
    font-weight: 400;
    font-family: 'Dia', sans-serif;
    padding-bottom: calc(100 * var(--ratio));
    top: 0;
    position: absolute;
    left: 20.5%;
    width: 26%;
  }
  .img-container {
    padding-left: 20%;
    width: 45%;
    padding-top: calc(0 * var(--ratio));
    padding-bottom: calc(60 * var(--ratio));
  }
  .img-container img {
    width: 100%;
    height: auto;
    display: block;
  }
  .footer-content-container {
    position: relative;
  }
  .wrap {
    min-height: calc(100svh - var(--ratio)*140);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  @media(max-width: 600px) {
    :root {
        --ratio: 0.45px;
    }
    .wrap {
      min-height: calc(100svh - 76px);
    }
    .submit-container {
      --ratio: 0.6px;
    }
    .tagline {
      order: 4;
      max-width: 70px;
      padding-top: 0;
      text-align: center;
      order: 0;
    }
    header {
      flex-wrap: wrap;
      align-items: flex-start;
    }
    h1, .info-menu li {
      font-size: calc(25 * var(--ratio));
      line-height: calc(25 * var(--ratio));
    }
    .left, .right {
      width: 100%;
      padding-right: 0;
      padding-left: 0;
    }
    .right {
        padding-top: 30px;
    }
    main {
      padding-top: 30px;
    }
    .img-container {
      padding-left: 0;
      max-width: 50%;
      margin: 0 auto;
      margin-bottom: 80px;
      width: 100%;
      padding-top: 30px;
    }
    footer {
        margin-top: 40px;
    }
    .footer-content {
        display: none;
    }
    .right p {
      font-size: 7vw;
      line-height: 7vw;
    }
    div.icon-container, div.icon {
      width: calc(150 * var(--ratio));
      height: calc(150 * var(--ratio));
    }
    div.icon-container {
      right: calc(100 * var(--ratio));
      top: calc(-50 * var(--ratio));
    }
    
  }
  @media(max-width: 360px) {
    .submit-container {
      flex-wrap: wrap;
      gap: 10px;
      --ratio: 0.5px;
    }
  }
