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

@font-face {
  font-family: "vollkorn";
  src: url("../fonts/Vollkorn-Regular.ttf");
}
@font-face {
  font-family: "patua";
  src: local("Patua One"), url("../fonts/PatuaOne-Regular.ttf");
}
body {
  font-family: "vollkorn", sans-serif;
  color: #132a4a;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #132a4a;
  color: #fff;
  padding: 1rem;
  position: fixed;
  top: 0;
  width: 100%;
  text-transform: uppercase;
  z-index: 99;
}
nav .logo {
  animation: logoFadeIn 2s ease-in-out forwards;
}
nav .logo img {
  width: 70%;
}
nav .nav-links {
  transform: translateX(200%) translateY(-40%);
  animation: menuFadeIn 2s ease-in-out forwards;
}
nav .buttons {
  transform: translateX(200%) translateY(-40%);
  animation: buttonFadeIn 2s ease-in-out forwards;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}
nav ul {
  display: flex;
}
nav ul li {
  list-style: none;
  margin-left: 2rem;
}
nav ul li :hover {
  padding: 7px 10px;
  background-color: #e56714ff;
}

.styled-button {
  background-color: #132a4a;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 18px;
}

.styled-button:hover {
  background-color: #e56714ff;
  cursor: pointer;
}

.super-button {
  padding: 1rem 2rem;
  font-size: 1.4rem;
  animation: titleFadeIn 2s ease-in-out forwards;
  opacity: 0;
  animation-delay: 15.7s;
}

@keyframes logoFadeIn {
  0% {
    transform: translateX(200%) translateY(-40%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%) translateY(0%);
    opacity: 1;
  }
}
@keyframes menuFadeIn {
  0% {
    transform: translateX(0%) translateY(-40%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%) translateY(0%);
    opacity: 1;
  }
}
@keyframes buttonFadeIn {
  0% {
    transform: translateX(-400%) translateY(-40%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%) translateY(0%);
    opacity: 1;
  }
}
.hideover1100 {
  display: none;
}

@media (max-width: 1100px) {
  .hideover1100 {
    display: block;
  }

  .hideunder1100 {
    display: none;
  }

  nav ul {
    display: none;
    flex-direction: column;
    text-align: center;
  }
  nav ul li {
    margin-top: 1rem;
  }
  nav .burger {
    display: block;
    cursor: pointer;
  }
  nav .line1,
nav .line2,
nav .line3 {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
  }
  nav .nav-active {
    display: flex;
  }
  nav .line1.rotate1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  nav .line2.hide {
    opacity: 0;
  }
  nav .line3.rotate2 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}
header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  background-color: #f2f2f2;
  height: 100vh;
}

.content {
  align-items: center;
  padding: 3rem;
  background-color: #f2f2f2;
  height: 80vh;
}

.column1 {
  flex: 1;
  z-index: 1;
  text-align: center;
}

.column2 {
  flex: 1;
  margin-left: 3rem;
  overflow: hidden;
}

h1 {
  text-align: center;
  text-transform: uppercase;
  margin: 4vw 1vw;
  padding: 0;
  line-height: 1;
  font-size: calc(5500vw / 1018);
  overflow: hidden;
  font-family: "patua";
}
h1 .first {
  display: inline-block;
  animation: titleFadeIn 2s ease-in-out forwards;
  animation-delay: 0.7s;
  transform: translateY(100%);
  opacity: 0;
}
h1 .last {
  margin-top: 20px;
  display: inline-block;
  color: #ffffff;
  -webkit-text-stroke: calc(100vw / 1018) #132a4a;
  animation: titleFadeIn 2s ease-in-out forwards;
  animation-delay: 1.3666666667s;
  transform: translateY(100%);
  opacity: 0;
}

.black {
  color: #132a4a;
}

.white {
  color: #ffffff;
}

.red {
  color: #e56714ff;
}

.green {
  color: #2ef738ff;
}

.blue {
  color: #3c67c3ff;
}

.yellow {
  color: #f2f90bff;
}

@keyframes titleFadeIn {
  0% {
    transform: translateY(100%);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}
.img-container .yellowContainer {
  position: absolute;
  left: 45%;
  top: 25%;
  width: 20%;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  animation-delay: 3s;
}
.img-container .yellowContainer img {
  width: 90%;
}
.img-container .blueContainer {
  position: absolute;
  left: 65%;
  top: 10%;
  width: 20%;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  animation-delay: 5.7s;
}
.img-container .blueContainer img {
  width: 90%;
}
.img-container .redContainer {
  position: absolute;
  left: 80%;
  top: 27%;
  width: 20%;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  animation-delay: 8.4s;
}
.img-container .redContainer img {
  width: 90%;
}
.img-container .greenContainer {
  position: absolute;
  left: 63%;
  top: 54%;
  width: 20%;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  animation-delay: 11.7s;
}
.img-container .greenContainer img {
  width: 90%;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#lefttoparrowContainer svg path {
  animation-delay: 3.7s, 18.7s;
}

#righttoparrowContainer svg path {
  animation-delay: 6.7s, 18.7s;
}

#leftbottomarrowContainer svg path {
  animation-delay: 12.7s, 18.7s;
}

#rightbottomarrowContainer svg path {
  animation-delay: 9.7s, 18.7s;
}

.arrow {
  position: absolute;
}
.arrow svg {
  display: flex;
  overflow: visible;
}
.arrow svg path {
  stroke: #132a4a;
  stroke-width: 5px;
  stroke-dasharray: 564.8458862305px;
  stroke-dashoffset: -564.8458862305px;
  fill: transparent;
  animation: arrowAnim 3s ease-in-out forwards, arrowDisanim 3s ease-in-out forwards;
}

@keyframes arrowAnim {
  0% {
    stroke: #132a4a;
    stroke-dashoffset: -564.8458862305px;
  }
  40% {
    stroke: #132a4a;
    stroke-dashoffset: -250px;
  }
  80% {
    stroke: #132a4a;
    fill: transparent;
  }
  100% {
    stroke: #132a4a;
    fill: #132a4a;
    stroke-dashoffset: 0px;
  }
}
@keyframes arrowDisanim {
  0% {
    stroke: #132a4a;
    stroke-dashoffset: 0px;
    fill: #132a4a;
  }
  100% {
    stroke: #132a4a;
    fill: transparent;
    stroke-dashoffset: -564.8458862305px;
  }
}
.warriorSvg {
  position: absolute;
}
.warriorSvg svg {
  display: flex;
  overflow: visible;
}
.warriorSvg svg path {
  stroke: #132a4a;
  stroke-width: 5px;
  stroke-dasharray: 1565.2150878906px;
  stroke-dashoffset: -1565.2150878906px;
  fill: transparent;
  animation: warriorAnim 6s ease-in-out forwards;
  animation-delay: 15.7s;
}

@keyframes warriorAnim {
  0% {
    stroke: #132a4a;
    stroke-dashoffset: -1565.2150878906px;
  }
  40% {
    stroke: #132a4a;
    stroke-dashoffset: -800px;
  }
  80% {
    stroke: #132a4a;
    fill: transparent;
  }
  100% {
    stroke: #132a4a;
    fill: #132a4a;
    stroke-dashoffset: 0px;
  }
}
@media (max-width: 1100px) {
  header {
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }

  h1 {
    margin: 10vw 1vw;
    font-size: calc(8500vw / 1018);
  }

  .yellowContainer {
    left: 0% !important;
    top: 55% !important;
    width: 35% !important;
  }

  .blueContainer {
    left: 33% !important;
    top: 42% !important;
    width: 35% !important;
  }

  .redContainer {
    left: 65% !important;
    top: 55% !important;
    width: 35% !important;
  }

  .greenContainer {
    left: 32% !important;
    top: 70% !important;
    width: 35% !important;
  }

  .super-button {
    margin-top: 10%;
  }

  #knowmore {
    display: none;
  }
}
@media (max-width: 900px) {
  .super-button {
    margin-top: 24%;
  }
}
@media (max-width: 650px) {
  h1 {
    margin: 15vw 0vw;
    font-size: calc(8800vw / 1018);
  }

  .super-button {
    margin-top: 15%;
  }

  .yellowContainer {
    left: 0% !important;
    top: 55% !important;
    width: 40% !important;
  }

  .blueContainer {
    left: 33% !important;
    top: 42% !important;
    width: 40% !important;
  }

  .redContainer {
    left: 60% !important;
    top: 55% !important;
    width: 40% !important;
  }

  .greenContainer {
    left: 32% !important;
    top: 70% !important;
    width: 40% !important;
  }
}
@media (max-width: 510px) {
  h1 {
    margin: 15vw 0vw;
    font-size: calc(9000vw / 1018);
  }

  .super-button {
    margin-top: 20%;
  }

  .yellowContainer {
    left: 0% !important;
    top: 58% !important;
    width: 45% !important;
  }

  .blueContainer {
    left: 30% !important;
    top: 42% !important;
    width: 45% !important;
  }

  .redContainer {
    left: 60% !important;
    top: 58% !important;
    width: 45% !important;
  }

  .greenContainer {
    left: 30% !important;
    top: 76% !important;
    width: 45% !important;
  }
}
@media (max-width: 430px) {
  h1 {
    margin: 18vw 0vw;
    font-size: calc(9200vw / 1018);
  }

  .super-button {
    margin-top: 20%;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
  }

  .yellowContainer {
    left: 0% !important;
    top: 58% !important;
    width: 50% !important;
  }

  .blueContainer {
    left: 25% !important;
    top: 42% !important;
    width: 50% !important;
  }

  .redContainer {
    left: 55% !important;
    top: 58% !important;
    width: 50% !important;
  }

  .greenContainer {
    left: 25% !important;
    top: 76% !important;
    width: 50% !important;
  }
}
section {
  justify-content: space-between;
  align-items: center;
  padding: 3rem 15%;
  background-color: #fff;
}

section h2 {
  margin-bottom: 1rem;
}

section p {
  font-size: 1.2rem;
  line-height: 1.6;
}

section img {
  width: 100%;
}

.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
}

.flex4col {
  flex: 1;
  margin-top: 30px;
  flex-basis: calc(25% - 12px);
}

.flex2col {
  flex: 1;
  margin-top: 30px;
  padding: 0px 50px;
  flex-basis: calc(50% - 12px);
}

@media (max-width: 1200px) {
  .flex4col {
    flex-basis: calc(50% - 12px);
  }

  .flex2col {
    flex-basis: calc(100% - 12px);
  }
}
@media (max-width: 800px) {
  .flex4col {
    flex-basis: calc(100% - 12px);
  }

  body {
    text-align: center;
  }
}
@media (max-width: 650px) {
  .flex2col {
    padding: 0px 0px;
  }
}
@media (min-width: 800px) {
  .force250heightonpc {
    height: 250px;
  }
}
.small {
  font-size: 1em;
}

.border {
  border-radius: 200px;
  width: 55%;
}

@media (max-width: 1600px) {
  .border {
    width: 70%;
  }
}
@media (max-width: 1200px) {
  .border {
    width: 40%;
  }
}
@media (max-width: 900px) {
  .border {
    width: 55%;
  }
}
h2, h3 {
  font-family: "patua";
  text-transform: uppercase;
}

h3 {
  line-height: 2em;
}

.padding {
  padding: 0px 10px;
}

.ul {
  margin-left: 15px;
  line-height: 2;
  list-style: none !important;
}
.ul li:before {
  content: url("../img/cup.png");
  margin-left: -25px;
  padding-right: 10px;
}

@media (max-width: 991px) {
  .ul {
    line-height: 1.5;
  }
}
.message {
  border-radius: 15px;
  color: white;
  padding: 7px 12px;
  text-align: justify;
}

.value {
  color: #132a4a;
  text-align: center;
  padding-top: 11%;
}

input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #e56714ff;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

input[type=checkbox]:checked {
  background-color: #2ef738ff;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 2px;
}

@media (max-width: 650px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hideOnMobile {
    display: none;
  }
}
.yellowBg {
  background-color: #f2f90bff;
  color: #132a4a;
}

.blueBg {
  background-color: #3c67c3ff;
}

.greenBg {
  background-color: #2ef738ff;
}

.redBg {
  background-color: #e56714ff;
}

.blackBg {
  background-color: #132a4a;
}

/*.hglt {
  transition: 0.4s ease;
  line-height: 1.3em;
   padding: 0.05em 0.5em;
   -webkit-box-decoration-break: clone;
   box-decoration-break: clone;
  color: #fff;
  --c1: $redColor;
  --c2: $greenColor;
  --c3: $blueColor;
  --c-m: $yellowColor;
  --g1: #0000 .5em, var(--c1) calc(.5em + 1px);
  --g2: #0000 .5em, var(--c2) calc(.5em + 1px);
  --g3: #0000 .5em, var(--c3) calc(.5em + 1px);
  --g4: var(--c1), var(--c-m), var(--c2), var(--c3);
  background: 
    linear-gradient(90deg, var(--g4)) 50%,
    linear-gradient(110deg, var(--g1)) 0%,
    //linear-gradient(0deg, var(--g2)) 90%,
    linear-gradient(-70deg, var(--g3)) 97%;
  background-size:
    calc(100% - 2em) calc(100% - .15em),
    2em calc(100% - .15em),
    2em calc(100% - .15em),
    2em calc(100% - .15em);

  background-repeat:no-repeat;
  transform-origin: center calc(100% - 0.18em);
}

.hglt:hover {
  color: #1f2020;
  background-size:
    calc(100% - 2em) max(0.1em, 2px),
    2em max(0.1em, 2px),
    2em max(0.1em, 2px),
    2em max(0.1em, 2px);
  background-position-y: calc(100% - 0.18em);
  text-shadow:
    0 -0.05em 0 var(--bg),
    -0.05em -0.05em 0 var(--bg),
    -0.05em 0 0 var(--bg),
    0 0.05em 0 var(--bg),
    0.05em 0.05em 0 var(--bg),
    0.05em 0 0 var(--bg);
}*/
.myform {
  width: 80%;
  max-width: 450px;
  margin: 150px auto;
}
.myform form {
  margin-bottom: 15px;
  background: #f7f7f7;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  padding: 30px;
}
.myform h2 {
  margin: 0 0 15px;
}

.myformlg {
  width: 85%;
  max-width: 600px;
}

.form-control {
  min-height: 38px;
  border-radius: 2px;
}

input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: none;
  width: 80%;
  margin-bottom: 8px;
}

textarea {
  padding: 8px;
  width: 80%;
  margin-bottom: 8px;
}

.mb0 {
  margin-bottom: 0px;
}

footer {
  background-color: #132a4a;
  color: #fff;
  text-align: center;
  padding: 1rem;
  bottom: 0;
  width: 100%;
}

select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  margin-bottom: 10px;
  z-index: 1;
  outline: none;
}
select::-ms-expand {
  display: none;
}

.select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;
  min-width: 15ch;
  max-width: 30ch;
  border: 1px solid var(--select-border);
  border-radius: 0.25em;
  padding: 0.25em 0.5em;
  cursor: pointer;
  line-height: 1.1;
  background-color: #fff;
  background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
}
.select select, .select::after {
  grid-area: select;
}
.select:not(.select--multiple)::after {
  content: "";
  justify-self: end;
  width: 0.8em;
  height: 0.5em;
  background-color: #132a4a;
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}

select[multiple] {
  padding-right: 0;
  /*
   * Safari will not reveal an option
   * unless the select height has room to 
   * show all of it
   * Firefox and Chrome allow showing 
   * a partial option
   */
  height: 6rem;
}
select[multiple] option {
  white-space: normal;
  outline-color: var(--select-focus);
}

.select--disabled {
  cursor: not-allowed;
  background-color: #eee;
  background-image: linear-gradient(to top, #ddd, #eee 33%);
}

.grid-scroller {
  overflow: scroll;
  height: 75vh;
}

#habit-table {
  display: grid;
  grid-template-columns: 300px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px;
  width: 1800px;
  gap: 0px;
}

@media (max-width: 600px) {
  #habit-table {
    grid-template-columns: 200px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px 100px;
  }
}
.habit-cell, .habit-header {
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  overflow: auto;
  word-wrap: break-word;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.habit-header {
  position: sticky;
  top: 0;
  z-index: 1;
}

.habit-header.fixed-left {
  z-index: 2;
}

.fixed-left {
  position: sticky;
  left: 0;
}

/* Le style de la popup (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Le style de la popup (box) */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 25%;
  min-width: 250px;
}

/* Le style de la croix pour fermer la popup */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}