html {
  width: 100%;
  height: 100%;
}

body {
  background: #efefef;
  color: #333;
}

.tabs {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding: 5px 25px 5px 25px;
  width: 70%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  min-width: 400px;
}
.tabs input[name=tab-control] {
  display: none;
}
.tabs .content section h2,
.tabs ul li label {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 18px;
  color: #428BFF;
}
.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}
.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #929daf;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.tabs ul li label br {
  display: none;
}
.tabs ul li label svg {
  fill: #929daf;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}
.tabs ul li label:hover, .tabs ul li label:focus, .tabs ul li label:active {
  outline: 0;
  color: #bec5cf;
}
.tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg {
  fill: #bec5cf;
}
.tabs .slider {
  position: relative;
  width: 20%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.tabs .slider .indicator {
  position: relative;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #428BFF;
  border-radius: 1px;
}
.tabs .content {
  margin-top: 30px;
}
.tabs .content section {
  display: none;
  -webkit-animation-name: content;
          animation-name: content;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  line-height: 1.4;
}
.tabs .content section h2 {
  color: #428BFF;
  display: none;
}
.tabs .content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #428BFF;
  margin-top: 5px;
  left: 1px;
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
  cursor: default;
  color: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg {
  fill: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
  display: block;
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
  cursor: default;
  color: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg {
  fill: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
  display: block;
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
  cursor: default;
  color: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg {
  fill: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
  display: block;
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
  cursor: default;
  color: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label svg {
  fill: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ .content > section:nth-child(4) {
  display: block;
}
.tabs input[name=tab-control]:nth-of-type(5):checked ~ ul > li:nth-child(5) > label {
  cursor: default;
  color: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(5):checked ~ ul > li:nth-child(5) > label svg {
  fill: #428BFF;
}
.tabs input[name=tab-control]:nth-of-type(5):checked ~ .slider {
  transform: translateX(400%);
}
.tabs input[name=tab-control]:nth-of-type(5):checked ~ .content > section:nth-child(5) {
  display: block;
}
@-webkit-keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
  .tabs ul li label br {
    display: initial;
  }
  .tabs ul li label svg {
    height: 1.5em;
  }
}

@font-face {
  font-family: 'Satoshi';
  src: url('./data/Satoshi-Medium.otf');
}

* {
  box-sizing: border-box;
  font-family: 'Satoshi', sans-serif;
}

.hidden, .question-img img[src=""] {
  display: none;
}

.title {
  width: 250px;
  height: 40px;
  overflow: hidden;
  margin: auto;
}

.title-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.externalLinksContainer {
  display: flex;
    position: absolute;
    right: 1%;
    top: 1%;
    flex-direction: column;
    align-items: flex-end;
}

.externalLink:after {
  content: "\2197";
}

h1 {
  text-align: center;
}

.login-form {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding: 25px;
  width: 70%;
  max-width: 500px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  min-width: 350px;
  text-align: center;
}

.password-input {
  width: 50%;
  margin-top: 5%;
}

.login-button {
  width: 50%;
  margin-top: 2%;
}

.logout {
  position: absolute;
  left: 1%;
  top: 1%;
}

.sectionHeader {
  font-weight: bold;
}

.sectionHeader span {
  font-weight: normal;
}

.gameDuration {
  width: 50px;
  text-align: right;
}

.input-block {
  background-color: #CEE8ED;
  padding: 5px;
  margin-bottom: 10px;
  min-width: 310px;
  border-radius: 5px
}

.question-input {
  width: 100%;
  min-width: 300px;
  max-width: 600px;
}

.question-img input[type=checkbox] {
  display: none
}

.question-img img {  
  transition: transform 0.25s ease;
  cursor: zoom-in;
  width: 14cqh;
}

.question-img input[type=checkbox]:checked~img {
  transform:  scale(2.75) translate(30%);
  cursor: zoom-out
}

.answer-input {
  width: 40%;
  max-width: 400px;
  min-width: 100px;
  margin-right: 18px;
}

.goodanswer-label {
  position: relative;
  left: min(40%, 400px);
  width: 60%;
}

.form-label {
  font-size: 60%;
}

.close-button {    
  position: absolute;
  height: 20px;
  right: 27px;
  width: 20px;
  text-align: center;
  background-color: transparent;
  border: none;
  color: #0061ff;
}

.close-button:hover {
  color: white;
  cursor: pointer;
}

.input-block.add-button {
  font-size: 20px;
  text-align: center;
  color: #0061ff;
  padding: 0;
}

.add-button:hover {
  background-color: #dfeaec;
  cursor: pointer;
}

#impacts-title {
  border: 2px solid #3ae096;
  border-radius: 5px;
  color: #006e3d;
}

#exacerbations-title {
  border: 2px solid #3a3ce0;
  border-radius: 5px;
  color: #36006e;
}
#inflammation-title {
  border: 2px solid #e03a99;
  border-radius: 5px;
  color: #6e0068;
}

.save-button {
  mask-image: url("./data/fond bouton.png");
  mask-size: 100% 100%;
  background-color: #facc0d;
  border: none;
  position: relative;
  width: 160px;
  height: 40px;
  left: calc(50% - 100px);
  margin: 20px;
}

.scale-on-hover:hover {
  transform: scale(1.1);
}

#saved {
  display: none;
  color: green;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-animation: animate-saved 0.3s linear 1;
  animation: animate-saved 0.3s linear 1;
  background: white;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
}

@keyframes animate-saved {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}