/* HTML */
html {
  scroll-behavior: smooth;
}
/* RGPD */
#rgpd {
  position: fixed;
  bottom: 2.5vw;
  left: 2.5vw;
  max-height: 95vh;
  width: 95vw;
  overflow: auto;
  z-index: 997;
  background-color: ivory;
  border-radius: 4px;
  padding: 1rem;
  display: none;
}
#rgpd .col.m6:hover {
  background-color: #e1bee7; // #ffcc80;
  border-radius: 10px;
}
#rgpd i:first-of-type {
  cursor: pointer;
}
#rgpd button {
  font-weight: 700;
}
/* Nav */
nav .nav-wrapper a.brand-logo {
  padding-left: 1rem;
}
.dropdown-content li>a {
  color: #263238;
}
/* Sidenav */
ul.sidenav {
  top: 56px;
  left: 0;
  height: calc(100vh-56px);
}
ul.sidenav li>a{
  padding: 4px 32px !important;
  height: 56px;
  color: white;
}
ul.sidenav>li>a>i {
  color: white !important;
}
/* Collapsible */
ul.collapsible {
  color: #263238;
}
ul div.collapsible-header {
  font-weight: 500;
}
ul.sidenav {
  top: 56px;
  left: 0;
  height: calc(100vh-56px);
}
ul.sidenav li>a, a.collapsible-header {
  padding: 4px 32px !important;
  height: 56px;
  color: white;
}
ul.sidenav>li>a>i, a.collapsible-header>i {
  color: white !important;
}
.collapsible-body li {
  padding-left: 58px !important;
}
/* My logo */
.brand-logo {
  font-family: 'Great Vibes', cursive;
  font-weight: 600;
}
/* Need some space */
.p-1rem {
  padding: 1rem !important;
}
.p-2rem {
  padding: 2rem !important;
}
.p-4rem {
  padding: 4rem !important;
}
/* Be strong or die */
.strong {
  font-weight: 600;
}
/* Equal height columns */
.flex {
  display: flex;
  flex-wrap: wrap;
}
/* Img */
img {
  width: 100%;
  height: auto;
}
/* Footer */
.footer-copyright {
  padding: 1rem !important;
}
/* Zoomin */
.zoomIn {
  animation: 1s  ease-in zoomIn;
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
/* Responsiveness */
@media only screen and (max-width: 992px) {          
  nav .brand-logo {
    position: static;
    transform: translateX(0%);
    color: #fff;
    display: inline-block;
    font-size: 1.8rem;
  }
}
/* Animation that trigger discomfort for those with vestibular motion disorders */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none !important;
  }
}
/* More contrast if user asked for it in browser */
@media (prefers-contrast: more) {
  .orange {
    background-color: #e65100;
  }
  .orange-text {
    color: #e65100;
  }
}
/* Responsive home title */
@media (max-width: 600px) {
  a.sidenav-trigger {
    margin: 0;
  }
}