/* ================================Form=================================================== */
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/*=========pour le remplissage automatique des champs via le navigateur==========*/
input:-webkit-autofill {
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}
/*=========pour le remplissage automatique des champs via le navigateur==========*/
:root {
  --clr: #0ab3ff;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.alert-danger {
  color: #fa6767;
}
.alert-success {
  color: #42d29d;
}
#login {
  background: rgba(53, 53, 58, 0.8);
  padding: 60px 80px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  width: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.title {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-bottom: 50px;

  font-size: 1.5em;
}
.title i {
  margin-right: 10px;
}
h2 {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.25em;
  letter-spacing: 0.1em;
}
.inputBox {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}
.inputBox input {
  position: relative;
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #999;
  outline: none;
  color: #fff;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.inputBox label {
  position: absolute;
  left: 0;
  padding: 10px 0;
  pointer-events: none;
  color: #999;
  text-transform: uppercase;
}
.inputBox label span {
  position: relative;
  display: inline-flex;
  letter-spacing: 0.05em;
  transition: 0.2s ease-in-out;
}
.inputBox input:focus ~ label span,
.inputBox input:valid ~ label span {
  color: var(--clr);
  letter-spacing: 0.15em;
  transform: translateY(-25px);
  font-size: 0.7em;
}

.inputBox input:focus,
.inputBox input:valid {
  border-bottom: 2px solid var(--clr);
}
.inputBox input[type="submit"] {
  background: var(--clr);
  border: none;
  padding: 15px;
  border-radius: 50px;
  color: #1c2630;
  font-weight: 600;
  font-size: 1.15em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.5s;
}
.inputBox input[type="submit"]:hover {
  letter-spacing: 0.35em;
}
/* ================================/Form=================================================== */
/* ================================particle=================================================== */
canvas {
  display: block;
  height: 100vh;
  width: 100%;
  /* vertical-align: bottom; */
}

.count-particles {
  background: #1c2630;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #0ab3ff;
  font-size: 0.8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles {
  font-size: 1em;
}

#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}

/* ---- particles.js container ---- */

#particles-js {
  width: 100%;
  height: 100vh;
  background-color: #101418;
  background-image: url("");
  background-size: cover;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}
/* #login {
  background: #ffffff;
  opacity: 1;
  padding: 2em;
  width: 35%;

  height: 433px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#login button {
  background: #000000;
  color: #ffffff;
} */

/* .box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 570px;
    height: 435px;
    background: linear-gradient(0deg, transparent, red, red);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}
.box::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 570px;
    height: 435px;
    background: linear-gradient(0deg, transparent, red, red);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: 3s;
}
@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.form {
    position: absolute;
    inset: 2px;
    border-radius: 3px;
    z-index: 10;
    background: #28292d;
} */
.calendar {
  position: relative;
  width: 130px;
  margin-top: -20px;
}

.calendar:before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  box-shadow: 103px 104px #7b79fd, -17px 35px #927d79;
  border-radius: 50%;
}

.calendar .calendar-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  border-bottom: 6px solid #000;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 5px 25px rgb(1 1 1 / 15%);
}

.calendar .calendar-body .month-name {
  color: #fff;
  background: #000;
  width: 100%;
  font-size: 1.6em;
  text-align: center;
  font-weight: 400;
  padding: 0px 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.calendar .calendar-body .day-name {
  color: #000;
  font-size: 1.2em;
  font-weight: 400;
  margin-top: 5px;
}

.calendar .calendar-body .date-number {
  color: #000;
  font-size: 2.5em;
  font-weight: 300;
  line-height: 1em;
}

.calendar .calendar-body .year {
  color: #000;
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 10px;
}
