html {
  width: 100%;
  height: 100%;
  color: #c4c4c4;
}

body {
  margin: 0px;
  padding: 50px 0 75px 0;
  font: 100% Tahoma, sans-serif;
  min-height: 100%;
  min-width: 100%;
  background-color: #1C1C1C;
  position: absolute;
}

/* ------------------------ Logo ------------------------ */
.logo_link {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 20px;
  left: 20px;
}

.logo_img {
  max-width: 100%;
  min-width: 100%;
}

/*------------------------- Barre de recherche --------------------------*/
.search {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  background-color: #1C1C1C;
  width: 90%;
  background-color: #222222;
  margin: 40px auto auto auto;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.5), inset 0px 1px 2px rgba(66, 66, 66, 0.5);
  border-radius: 20px;
  box-sizing: border-box;
  justify-content: center;
  row-gap: 15px;
  padding: 15px 0 15px 0;
  /*------------------------- Bouton swtich choix moteur de recherche --------------------------*/
}
@media (max-width: 496px) {
  .search {
    margin-top: 30px;
  }
}
.search_form {
  display: block;
  position: relative;
  border-radius: 10px;
  background-color: #222222;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5), inset 0px 1px 2px rgba(66, 66, 66, 0.5);
  width: 400px;
  height: 40px;
}
@media (max-width: 496px) {
  .search_form {
    width: calc(100% - 120px);
  }
}
.search_form input {
  height: 100%;
  box-sizing: border-box;
  background-color: transparent;
}
.search_form_text {
  width: 350px;
  border: none;
  padding-left: 10px;
  color: white;
}
.search_form_text::placeholder {
  color: #c4c4c4;
}
@media (max-width: 496px) {
  .search_form_text {
    width: calc(100% - 50px);
  }
}
.search_form_text:focus {
  outline: none;
}
.search_form_button {
  width: 50px;
  margin: 0;
  cursor: pointer;
  padding: 0;
  float: right;
  border: none;
  background-image: url("/images/loupe.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px;
}
.search .toggle {
  width: 80px;
  height: 40px;
  background-color: transparent;
  border-radius: 5px;
  margin: 0 15px;
}
@media (max-width: 496px) {
  .search .toggle {
    margin: 0 0 0 10px;
  }
}
.search .toggle_button {
  opacity: 0;
  position: absolute;
}
.search .toggle_button + label {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  user-select: none;
  border-radius: 60px;
  -moz-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  width: 80px;
  height: 40px;
}
.search .toggle_button + label:before {
  box-sizing: border-box;
  position: absolute;
  display: block;
  content: "";
  top: 0px;
  left: 0px;
  height: 38px;
  width: 78px;
  background-color: #363636;
  background-image: url("/images/googleLogo.png");
  background-repeat: no-repeat;
  background-position: right;
  background-size: 40px;
  border-radius: 60px;
  -moz-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
  -o-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
  -webkit-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
  transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
  border: 1px solid #191919;
}
.search .toggle_button + label:after {
  box-sizing: border-box;
  position: absolute;
  display: block;
  content: "";
  top: 0px;
  left: 0px;
  height: 38px;
  width: 38px;
  border-radius: 60px;
  border: 1px solid #191919;
  background-color: #222222;
  box-shadow: 0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 0px 0 hsla(0, 0%, 0%, 0.04), 0 4px 9px hsla(0, 0%, 0%, 0.13), 0 3px 3px hsla(0, 0%, 0%, 0.05);
  -moz-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
  -o-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
  -webkit-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
  transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
}
.search .toggle_button + label:hover {
  cursor: pointer;
}
.search .toggle_button:checked + label:before {
  background: #c4c4c4;
  background-image: url("/images/duckduckgoLogo.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: 40px;
  -moz-transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
  -o-transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
  -webkit-transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
  transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
}
.search .toggle_button:checked + label:after {
  left: 40px;
}

/* ------------------------ Icones dashboard ------------------------ */
.dashboard {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  background-color: #1C1C1C;
  width: 90%;
  background-color: #222222;
  margin: 40px auto auto auto;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.5), inset 0px 1px 2px rgba(66, 66, 66, 0.5);
  border-radius: 20px;
  box-sizing: border-box;
  justify-content: space-around;
  padding-top: 30px;
}
@media (max-width: 496px) {
  .dashboard {
    padding: 30px 10px 10px 10px;
  }
}
.dashboard h1 {
  position: absolute;
  margin: 0px;
  top: 15px;
  left: 20px;
  color: #c4c4c4;
}
@media (max-width: 496px) {
  .dashboard h1 {
    font-size: 0.8em;
  }
}
.dashboard_icone {
  display: block;
  position: relative;
  border-radius: 10px;
  background-color: #222222;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5), inset 0px 1px 2px rgba(66, 66, 66, 0.5);
  width: 200px;
  height: 200px;
  margin: 25px;
  transition: all 0.4s 0s ease;
}
@media (max-width: 496px) {
  .dashboard_icone {
    width: 83px;
    height: 83px;
    margin: 5px;
  }
}
.dashboard_icone img {
  max-width: 125px;
  max-height: 125px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}
@media (max-width: 496px) {
  .dashboard_icone img {
    max-width: 50px;
    max-height: 50px;
  }
}
.dashboard_icone.code {
  background-image: url("/images/vscode.png");
  background-position: 160px 10px;
  background-repeat: no-repeat;
  background-size: 30px;
}
@media (max-width: 496px) {
  .dashboard_icone.code {
    background-position: 66px 5px;
    background-size: 12px;
  }
}
.dashboard_iconeText {
  display: inline-block;
  position: absolute;
  width: 100%;
  bottom: 10px;
  left: 0px;
  margin: 0px;
  color: #222222;
  text-align: center;
  transition: all 0.2s 0s ease;
}
@media (max-width: 496px) {
  .dashboard_iconeText {
    color: #c4c4c4;
    font-size: xx-small;
    bottom: 4px;
  }
}
@media (min-width: 496px) {
  .dashboard_icone:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5), inset 0px 2px 2px rgba(66, 66, 66, 0.5);
    transform: scale(1.1);
    transition: all 0.4s 0s ease;
  }
  .dashboard_icone:hover .dashboard_iconeText {
    color: #c4c4c4;
    transition: all 0.2s 0.2s ease;
  }
}

