@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
  font-family: 'Poppins', sans-serif;
}
h1{
  font-size: 2rem;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1vw;
  font-weight: 300;
  line-height: 1.7em;
}

a, a:hover, a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.navbar {
  padding: 15px 10px;
  background: #fff;
  border: none;
  border-radius: 0;
  margin-bottom: 40px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

.navbar-btn {
  box-shadow: none;
  outline: none !important;
  border: none;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  perspective: 1500px;
}

.wrapper.index {
  background-image: linear-gradient(to right top, #420474, #371073, #2c1771, #211c6e, #141f6b, #192172, #1f2478, #24267f, #3d2790, #58249f, #731bad, #9000b8);
}

.wrapper.dep {
  background: #f5f5f5;
}

#sidebar {
  z-index: 999;
  min-width: 250px;
  max-width: 250px;
  background-image: linear-gradient(to right top, #420474, #4c0479, #57047e, #610383, #6b0388);
  color: #fff;
  transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
  transform-origin: bottom left;
  box-shadow: 8px 8px 12px rgba(0, 0, 0, 0.4) !important;
}

#sidebar.active {
  margin-left: -250px;
  transform: rotateY(100deg);
}

#sidebar .sidebar-header {
  padding: 20px;
}

#sidebar ul.components {
  padding: 20px 0;
  border-bottom: 1px solid #47748b;
}

#sidebar ul p {
  color: #fff;
  padding: 10px;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
}

#sidebar ul li a:hover {
  color: #5e016a;
  background: #fff;
}

#sidebar ul li.active>a, a[aria-expanded="true"] {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
}

a[data-toggle="collapse"] {
  position: relative;
}

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

ul ul a {
  font-size: 0.9em !important;
  padding-left: 30px !important;
  background-color: rgba(0, 0, 0, 0.1);
}

ul.CTAs {
  padding: 20px;
}

ul.CTAs a {
  text-align: center;
  font-size: 0.9em !important;
  display: block;
  border-radius: 5px;
  margin-bottom: 5px;
}

a.download {
  background: #fff;
  color: #7386D5;
}

a.article, a.article:hover {
  background: #6d7fcc !important;
  color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content, #content-index, #content-dep {
  width: 100%;
  padding: 20px;
  min-height: 100vh;
  transition: all 0.3s;
}

#content-index {
  color: #f5f5f5;
}

#content-dep {
  background: #f5f5f5;
}

.accueil #computer {
  text-align: center;
}

.accueil #computer img {
  margin-top: 2%;
}

.accueil #description {
  margin-top: 2%;
}

#tarif, #realisations {
  margin-top: 3%;
}

/* Sidebar */
#sidebarCollapse {
  position: absolute;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  z-index: 999;
}

#sidebarCollapse span {
  width: 80%;
  height: 2px;
  margin: 0 auto;
  display: block;
  transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
  transition-delay: 0.2s;
}

.white#sidebarCollapse span {
  background: #420474;
}

.purple#sidebarCollapse span {
  background: #f5f5f5;
}

#sidebarCollapse span:first-of-type {
  transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
  opacity: 0;
}

#sidebarCollapse span:last-of-type {
  transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
  transform: none;
  opacity: 1;
  margin: 5px auto;
}

/* ---------------------------------------------------
    Card style
----------------------------------------------------- */
.card-header {
  background-color: #6B0388;
  color: #f5f5f5;
}

/* ---------------------------------------------------
    Custom btn
----------------------------------------------------- */
.btn-primary {
  color: #fff;
  background: linear-gradient(to right top, #420474, #4c0479, #57047e, #610383, #6b0388) !important;
  border-color: #420474 !important;
}

.btn-primary:hover {
  color: #420474;
  background: #f5f5f5 !important;
  border-color: #420474 !important;
}

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(76, 0, 255, 0.5) !important;
}

.btn-outline-primary {
  color: #420474;
  border-color: #420474 !important;
}

.btn-outline-primary:hover {
  background: linear-gradient(to right top, #420474, #4c0479, #57047e, #610383, #6b0388) !important;
  border-color: #420474 !important;
  color: #fff;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(76, 0, 255, 0.5) !important;
}

/* ---------------------------------------------------
    formulaire de contact
----------------------------------------------------- */
#particles-js {
  top: 0;
  left: 0;
  position: absolute;
  z-index: 0;
  width: 100%;
  right: 0;
  height: 99%;
  background-position: 50% 50%;
}

.contact-form {
  margin-top: 10%;
  background: transparent;
  z-index: 999;
}

.contact-form p {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.7em;
}

.info {
  margin-top: 10%;
  margin-bottom: 10%;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 1024px) {
   #tarif .card-deck{
    flex-flow: column wrap;
  }
@media (max-width: 768px) {
  #sidebar {
    margin-left: -250px;
    transform: rotateY(90deg);
  }

  #sidebar.active {
    margin-left: 0;
    transform: none;
  }

  #sidebarCollapse span:first-of-type,
  #sidebarCollapse span:nth-of-type(2),
  #sidebarCollapse span:last-of-type {
    transform: none;
    opacity: 1;
    margin: 5px auto;
  }

  #sidebarCollapse.active span {
    margin: 0 auto;
  }

  #sidebarCollapse.active span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
  }

  #sidebarCollapse.active span:nth-of-type(2) {
    opacity: 0;
  }

  #sidebarCollapse.active span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
  }

  .accueil, #tarif, #realisations {
    margin-top: 10%;
  }
  .contact-form p{
    font-size: 1.1rem;
  }
  h1{
    font-size:2rem;
  }
}
