html {
  scroll-behavior: smooth;
  letter-spacing: 0.25px;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

a {
  color: #000;
  text-decoration: none;
}

a.blue-hover:hover {
  color: #5269f0;
}

.link.blue {
  color: #5269f0;
}

p {
  margin: 18px 0;
  line-height: 30px;
}

p.small {
  font-size: 14px;
  line-height: 24px;
}

h1 {
  padding-left: 24px;
  border-left: 8px solid #2e4aec;
  margin-bottom: 40px;
}

h1.secondary {
  border-left: 8px solid #8a9cff;
  color: #fff !important;
}

h2,
h3,
h4 {
  margin: 0;
}

.red {
  color: #e71b4e;
}

.btn,
button {
  color: #fff;
  background: #2e4aec;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
  box-sizing: border-box;
  font-weight: bold;
  border: none;
  max-width: 500px;
  outline: none;
}

button {
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
}

.btn:hover,
button:hover {
  background: #5269f0;
}

.btn.secondary {
  color: #fff;
  background: #8a9cff;
}

.btn.secondary:hover {
  background: #9dacff;
}

.btn-danger {
  background: #e71b4e;
}

.btn-danger:hover {
  background: #e71b4e;
  opacity: 0.8;
}

select {
  padding: 8px 16px;
  border-radius: 4px;
  outline: none;
  border: solid 2px #ddd;
  margin: 8px 0;
  font-size: 16px;
  transition: 0.25s ease;
  box-sizing: border-box;
}

input,
textarea {
  padding: 8px 16px;
  border-radius: 4px;
  outline: none;
  border: solid 2px #ddd;
  margin: 8px 0;
  font-size: 16px;
  transition: 0.25s ease;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  border: 2px solid #8a9cff;
}

textarea {
  width: 100%;
  height: 100px;
  min-height: 100px;
  resize: vertical;
  margin: 12px 0 0 0;
}

textarea.large {
  height: 200px;
  min-height: 200px;
}

textarea.small {
  height: 50px;
  min-height: 50px;
}

strong.bionic-1 {
  font-weight: 500;
}

strong.bionic-2 {
  font-weight: 600;
}

strong.bionic-3 {
  font-weight: 700;
}

strong.bionic-4 {
  font-weight: 800;
}

strong.bionic-5 {
  font-weight: 900;
}

.error-msg {
  font-size: 16px;
  color: #e71b4e;
}
.error-msg img {
  height: 16px;
  margin-right: 8px;
  position: relative;
  top: 2px;
}

.article-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  max-width: 600px;
  min-width: 100px;
}

.subtitle {
  color: #999;
  font-weight: 500;
  margin-bottom: 12px;
}

.aligned {
  width: 100%;
  max-width: 1400px;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  height: 100%;
}

.gradient {
  background: linear-gradient(210deg, #8a9cff 0%, #2e4aec 100%);
  margin-top: 40px;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
}
.container .container-in {
  width: 100%;
  max-width: 1400px;
  padding: 80px 40px;
  box-sizing: border-box;
}

.shadow {
  box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.2);
}

footer {
  background: #2e4aec;
  color: #fff;
  display: flex;
  justify-content: center;
}
footer .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 40px;
}
footer .wrapper .logo {
  width: 250px;
}
footer .wrapper .logo img {
  height: 56px;
}
footer .wrapper .copyright a {
  color: #fff;
  text-decoration: underline;
}
footer .wrapper .copyright .top {
  margin-bottom: 12px;
}
footer .wrapper .copyright-mobile {
  display: none;
}
footer .wrapper .medias {
  justify-content: right;
  width: 250px;
}
footer .wrapper .medias .media:hover {
  background: #5269f0;
}

#nav-bar-container {
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  background: #2e4aec;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
}
#nav-bar-container a {
  color: #fff;
}
#nav-bar-container .nav-bar {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
#nav-bar-container .nav-bar .left {
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
#nav-bar-container .nav-bar .left .logo {
  padding: 4px 16px;
  display: flex;
  align-items: center;
}
#nav-bar-container .nav-bar .left .logo img {
  height: 24px;
}
#nav-bar-container .nav-bar .right {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font-size: 15px;
}
#nav-bar-container .nav-bar .right .mobile-menu-icon {
  display: none;
  padding: 8px 4px;
  cursor: pointer;
}
#nav-bar-container .nav-bar .right .tabs {
  display: flex;
}
#nav-bar-container .nav-bar .right .tabs .tab {
  display: flex;
  align-items: center;
  margin-left: 8px;
  cursor: pointer;
}
#nav-bar-container .nav-bar .right .tabs .tab .tab-inner {
  padding: 8px 12px;
  border-radius: 18px;
  transition: 0.25s ease;
}
#nav-bar-container .nav-bar .right .tabs .tab:hover .tab-inner {
  background-color: #5269f0;
}
#nav-bar-container .nav-bar .right .tabs .tab.selected .tab-inner {
  background-color: #5269f0;
}

.disorder-container a {
  color: #2e4aec !important;
}
.disorder-container a:hover {
  text-decoration: underline !important;
}

#mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  height: calc(100vh - 56px);
  background: #2e4aec;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#mobile-menu .switch-global-container {
  position: absolute;
  bottom: 80px;
  left: 50%;
  color: #fff;
  transform: translateX(-50%);
}
#mobile-menu .tabs {
  position: absolute;
  top: 10%;
  width: 100%;
}
#mobile-menu .tabs .tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 12px 0;
  cursor: pointer;
}
#mobile-menu .tabs .tab .tab-inner {
  color: #fff;
  font-size: 24px;
  align-items: center;
  width: 100%;
  padding: 8px 16px;
  border-radius: 18px;
  transition: 0.25s ease;
}

.medias {
  display: flex;
}
.medias .media {
  opacity: 0.75;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 8px;
  position: relative;
  transition: 0.25s ease;
}
.medias .media img {
  width: 24px;
  padding: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.medias .media:hover {
  opacity: 1;
}

.invert {
  filter: invert(1);
}

#accessibility-dialog {
  display: none;
  position: fixed;
  top: 80px;
  right: 24px;
  padding: 24px 32px;
  background: #2e4aec;
  border-radius: 8px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
}
#accessibility-dialog .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
#accessibility-dialog .row label {
  margin-right: 24px;
}
#accessibility-dialog .row img {
  cursor: pointer;
  transition: 0.25s ease;
}
#accessibility-dialog .row img:hover {
  opacity: 0.75;
}
#accessibility-dialog .switch-container {
  height: 24px;
  width: 56px;
  border-radius: 12px;
  position: relative;
}
#accessibility-dialog .switch-container .switch {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #fff;
}
#accessibility-dialog .switch-container.on {
  background: #06359b;
}
#accessibility-dialog .switch-container.on .switch {
  position: absolute;
  right: 0;
}
#accessibility-dialog .switch-container.off {
  background: #5269f0;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #5269f0;
  border-radius: 5px;
  outline: none;
  border: none;
}

/* Style du pouce (Chrome, Safari, Opera) */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  outline: none;
  border: none;
}

/* Style du pouce pour Firefox */
input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}

.switch-global-container {
  display: flex;
  align-items: center;
}
.switch-global-container .label {
  font-size: 15px;
  margin-right: 8px;
}
.switch-global-container img {
  width: 20px;
  cursor: pointer;
  padding: 4px;
  transition: 0.25s ease;
}
.switch-global-container img:hover {
  opacity: 0.75;
}

#filler {
  height: 56px;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
}

#container-main {
  height: calc(100vh - 56px);
}

@media screen and (max-width: 1600px) {
  #nav-bar-container {
    font-size: 16px !important;
  }
}
@media screen and (max-width: 1224px) {
  html,
body {
    overflow-x: hidden;
  }

  #nav-bar-container .nav-bar .left .logo {
    padding: 0;
  }
  #nav-bar-container .nav-bar .left .logo img {
    height: 20px;
  }
  #nav-bar-container .nav-bar .right .tabs {
    display: none !important;
  }
  #nav-bar-container .nav-bar .right .mobile-menu-icon {
    display: flex !important;
  }
  #nav-bar-container .nav-bar .switch-global-container {
    display: none !important;
  }

  #mobile-menu .switch-global-container .label {
    white-space: nowrap;
  }

  p {
    margin: 16px 0;
    line-height: 24px;
    font-size: 16px;
  }

  h1 {
    padding-left: 20px;
    border-left: 8px solid #2e4aec;
    margin-bottom: 40px;
    font-size: 32px;
  }

  h1.secondary {
    border-left: 8px solid #8a9cff;
    color: #fff !important;
  }

  h2,
h3,
h4 {
    font-size: 24px;
    margin: 0;
  }

  .btn {
    display: block;
    font-size: 18px;
  }

  ::-webkit-scrollbar {
    display: none;
  }

  html {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .aligned {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  footer .logo img {
    height: 32px !important;
  }
  footer .medias .media {
    width: 32px;
    height: 32px;
  }
  footer .medias .media img {
    width: 20px !important;
  }
  footer .copyright {
    display: none;
  }

  .copyright-mobile {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
  }
}