@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}

body {
  background: #111;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Ring animé */
.ring {
  position: relative;
  width: 450px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ring i {
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  transition: 0.5s;
}

.ring i:nth-child(1) {
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  animation: animate 6s linear infinite;
}

.ring i:nth-child(2) {
  border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
  animation: animate 4s linear infinite;
}

.ring i:nth-child(3) {
  border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
  animation: animate2 10s linear infinite;
}

.ring:hover i {
  border: 6px solid  rgb(255, 255, 255);
  filter: drop-shadow(0 0 20px rgb(84, 84, 84));
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate2 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Formulaire contact */
.login {
  position: absolute;
  gap: 10px;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.login h2 {
  font-size: 2em;
  color: #fff;
}

.login .inputBx {
  position: relative;
  width: 100%;
}

.login .inputBx input,
.login .inputBx textarea {
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 15px;
  font-size: 1.2em;
  color: #fff;
  box-shadow: none;
  outline: none;
  resize: none;
}

.login .inputBx input[type="submit"] {
  background: linear-gradient(45deg, #000000, #000000);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login .inputBx input[type="submit"]:hover {
  background: linear-gradient(45deg, #1f1f1f, #a1a1a1);
}

.login .inputBx input::placeholder,
.login .inputBx textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}


/* Menu hamburger */
#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}

.menu__btn {
  position: fixed;
  top: 26px;
  left: 20px;
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 30px;
  height: 5px;
  background-color: #fff;
  transition: 0.25s;
}

.menu__btn > span::before,
.menu__btn > span::after {
  content: '';
}
.menu__btn > span::before {
  top: -8px;
}
.menu__btn > span::after {
  top: 8px;
}

.menu__box {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  padding: 80px 0;
  list-style: none;
  background-color: #000;
  border-right: 1px solid #ffffff67;
  transition: left 0.25s;
  z-index: 1000;
}

.menu__item {
  display: block;
  padding: 12px 24px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}
a {
  text-decoration: none;
  color: white;
  font-family: "Ubuntu", sans-serif;
  font-size: x-large;
  transition: color 0.3s, border-left 0.3s;
}

a:hover {
  color: #879BD5;
  border-left: 5px solid #fff;
}