:root {
  --main-gradient: linear-gradient(to right, #4aaeef, #4cc9f0);
  --blue: #4aaeef;
  --gray-gradient: linear-gradient(to top, #ddd, #fff);
  --lightBG: rgb(238, 241, 247);

  --correctiveColor: rgb(197, 224, 180);
  --preventiveColor: rgb(255, 217, 102);
  --predictiveColor: #3ed6ae;
}

* {
  font-family: Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

.m-top {
  margin-top: 15px;
}

.relative {
  position: relative;
}

.logoMoka {
  background-image: url("../images/LGM-moka.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.sectionStep {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  max-height: 100%;
  max-width: 100%;
  background-color: var(--lightBG);
}

#fleet_selection {
  display: none;
}

#equipment_selection {
  display: none;
}

#processing {
  display: none;
}

#results {
  display: none;
}

.main-button {
  background-image: var(--main-gradient);
  color: white;
  border-radius: 50px;
  border: none;
  padding: 10px 25px;
  box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.2), -4px -4px 6px 0 rgba(255, 255, 255, 0.8);

  transition-duration: 0.2s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;

  font-size: large;
}
.main-button:active {
  box-shadow: none;
  transform: translateY(1px);
}

.main-button:disabled {
  color: grey;
  background-image: var(--gray-gradient);
  box-shadow: -4px -4px 6px 0 rgba(255, 255, 255, 0.8) inset, 4px 4px 6px 0 rgba(0, 0, 0, 0.2) inset;
}

.secondary-button {
  color: #222;
  border: none;
  background-color: transparent;

  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}
.open-graph {
  display: none;
}
.tertiary-button {
  background-image: var(--main-gradient);
  color: white;
  border-radius: 50px;
  border: none;
  padding: 5px 10px;
  box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.2), -4px -4px 6px 0 rgba(255, 255, 255, 0.8);
  transition-duration: 0.2s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  font-size: 1em;
}

h1,
h2,
h3,
h4 {
  color: var(--blue);
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
}

.h2-result {
  color: #000;
}
.timer {
  font-size: 1em;
}

input[type="radio"] {
  text-align: left;
}

select {
  padding: 6px 10px;
  font-size: 16px;
  border-radius: 5px;
}

.flex {
  display: flex;
}
.d-column {
  flex-direction: column;
}
.center {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.space-between {
  justify-content: space-between;
}
.space-around {
  justify-content: space-around;
}
.h20 {
  height: 20%;
}
.h30 {
  height: 30%;
}
.h40 {
  height: 40%;
}
.h50 {
  height: 50%;
}
.h60 {
  height: 60%;
}
.h70 {
  height: 70%;
}
.h80 {
  height: 80%;
}

.w-auto {
  width: auto !important;
  display: block !important;
  margin: 10px 0;
}
.img {
  max-width: 100%;
  max-height: 100%;
}
.m-bt {
  margin-bottom: 20px;
}
.m-top {
  margin-top: 20px;
}
#time {
  position: fixed;
  bottom: 0; right: 0;
  background-color: rgba(255,255,255,0.7);
  color: #000;
  padding: 5px 10px;
  font-size: 18px;
  z-index: 9999999999999999999;
}

/*----------------------------------------*/

/* Format tablette portrait */
@media (max-width: 1000px) {
  h1,
  h2,
  h3,
  h4 {
    font-size: 2.5em;
  }
  .main-button {
    font-size: 1.7em;
  }
  .secondary-button {
    font-size: 1.3em;
  }
  select {
    font-size: 18px;
  }
}

/* Format mobile */
@media (max-width: 600px) {
  h1,
  h2,
  h3,
  h4 {
    font-size: 2em;
  }
  .open-graph {
    display: block;
  }
}
