body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

header {
  background-color: #b2d3bf;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
header h1 {
  text-decoration: none;
  font-size: 2em;
  margin: 10px;
}
nav ul {
  display: flex;
  list-style: none;
  margin: 10px;
}
nav li {
  margin-right: 10px;
  background-color: #ffffff;
  padding: 5px;
  border-radius: 5px;
}
nav li a {
  color: #403b33;
  text-decoration: none;
}

.menu-selected {
  color: #d3643b;
}

main {
  padding: 10px 25px;
  /* flex-grow: 1; */
  display: flex;
  flex-direction: row;
  /* max-width: 1200px; */
}

footer {
  font-size: 0.8em;
  background-color: #b2d3bf;
  padding: 10px;
  margin-top: 50px;
}

#footer-content {
  max-width: 1200px;
  margin: auto;
}

.bloc-logos {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  padding: 25px 0;
}

.footer-logo {
  height: 50px;
  max-width: 70px;
}

#custom-colors p {
  margin: 3px 0;
}

.magic-scheme {
  padding: 3px;
}

/*image roue chromatique*/
#couleur img {
  width: 300px;
}

#badge-bloc {
  position: fixed;
  top: 140px;
  left: 50%;
}

#download {
  margin: 25px 0;
}
#download > p {
  font-size: 0.8em;
  text-align: center;
}

/* espacer les champs de texte*/
#texte div {
  padding-top: 5px;
}

#modification {
  width: 50%;
  margin-top: 5px;
}

/* Commandes */
.commands-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
  margin: 25px 0;
}
.arrows-block {
  margin: 5px 0;
}
.arrows-block p {
  margin: 0;
}
.arrow-top,
.arrow-bottom {
  padding-left: 16px;
}
.plusminus-block {
  margin: 5px 0 5px 20px;
}
.plusminus-block p {
  margin: 0;
}

/*picto border*/
.picto svg {
  border-style: solid;
  padding: 1px;
}

.own-picto-title {
  margin: 0 0 10px 0;
  text-decoration: underline;
}
.image-area {
  padding: 10px 0;
}

/*taille du texte*/
.taille {
  width: 40px;
}

/*Round checkbox switch*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*fléches*/
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/*filtrage */
/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  display: none; /* Hide columns by default */
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: white;
  padding: 10px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: solid black 1px;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
}

/* Add a grey background color on mouse-over */
.btn:hover {
  background-color: #ddd;
}

/* Add a dark background color to the active button */
.btn.active {
  background-color: #666;
  color: white;
}

@media screen and (max-width: 640px) {
  header {
    text-align: center;
  }
  .footer-logo {
    height: 50px;
    margin-right: 25px;
    margin-bottom: 25px;
    max-width: 70px;
    flex: 1 0 20%;
  }
}

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/montserrat-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/montserrat-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-800 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: local(''),
       url('../fonts/montserrat-v15-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-900 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: local(''),
       url('../fonts/montserrat-v15-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

