/**
 * @author    Jean-Marie HOLLAND <contact@illaweb.fr>
 * @copyright  (c) 2018-2023, Jean-Marie HOLLAND. All Rights Reserved.
 * @license    Lesser General Public Licence <http://www.gnu.org/copyleft/lesser.html>
 * @link       https://37avenue.fr
 */

.scrollup {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

/* Navbar */

.navbar-item img {
  max-height: 3rem;
}

.brand-content {
  margin-left: 1em;
}

.circle {
  margin-top: 1.5em;
}

/* Espace margin et padding contenu */

#one {
  padding-top: 8em;
}

#top {
  padding-top: 4em;
}

#homePost {
  max-width: 25em;
}

.underline {
  text-decoration: underline;
}

/* Ring sur bouton */

.rings {
  position: relative;
  display: inline-flex;
  width: 15vw;
  height: 15vw;
  overflow: hidden;
}

.rings > * {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  animation: rotate infinite linear;
}

.rings > * > * {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #000;
  border-top-color: rgba(0, 0, 0, 0.75);
  border-right-color: rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 0, 0, 0.25);
  border-left-color: rgba(0, 0, 0, 0);
}

.rings > *:nth-child(1) {
  position: absolute;
  text-align: center;
  height: 1em;
  top: calc(50% - 1em);
}

.rings > *:nth-child(2) {
  animation-duration: 8s;
}

.rings > *:nth-child(3) {
  animation-duration: 12s;
  margin: 10%;
  height: 80%;
  width: 80%;
}

.rings > *:nth-child(4) {
  animation-duration: 20s;
  margin: 20%;
  height: 60%;
  width: 60%;
}

@keyframes rotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* image modification */

.image_bandeau img {
  position: relative;
  z-index: 1;
  border-radius: 2% 20%;
  -webkit-filter: blur(3px);
  filter: blur(3px);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.image_bandeau:hover img {
  border-radius: 2px 2px;
  -webkit-filter: blur(0);
  filter: blur(0);
}

.image_bandeau span h2 {
  z-index: 2;
  background: transparent;
  visibility: hidden;
  position: absolute;
}

.image_bandeau span p {
  z-index: 2;
  margin-top: 15px;
  background: transparent;
  visibility: hidden;
  position: absolute;
}

.image_bandeau:hover span h2 {
  position: absolute;
  color: white;
  top: 100px;
  left: 800px;
  visibility: visible;
  transition: 1s ease-in-out;
}

.image_bandeau:hover span p {
  position: absolute;
  color: white;
  top: 150px;
  left: 800px;
  visibility: visible;
  transition: 1s ease-in-out;
}

.card-image {
  max-width: 350px;
}

#Map_Alaska {
  max-height: 250px;
}

#admin_img {
  max-width: 250px;
}

/* Mise en place du boutton Switch */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  display: none;
}

.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%;
}
