html {
  height: 100%;
}



@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        visibility:hidden;
    }
}

#menu-demo2, #menu-demo2 ul{
padding:0;
text-align:center;
}

.menu-demo2-text
{
  display: inline-block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
#menu-demo2 li{
display:inline-block;
}
#menu-demo2 ul li{
display:inherit;
border-radius:0;
}
#menu-demo2 ul li:hover{
border-radius:0;

}
#menu-demo2 ul li:last-child{
border-radius:0 0 8px 8px;
}
#menu-demo2 ul{
position:absolute;
max-height:0;
overflow:hidden;
-moz-transition: .8s all .3s;
-webkit-transition: .8s all .3s;
transition: .8s all .3s;
}
#menu-demo2 li:hover ul{
max-height:200em;
max-width:none;

}
/* background des liens menus */
#menu-demo2 li:first-child{
background-color: #212529;
background-image:-webkit-linear-gradient(top, #212529 0%, #212529 100%);}
/* background des liens sous menus */
#menu-demo2 li:first-child li{
background:#212529;
}
/* les a href */
#menu-demo2 a{
text-decoration:none;
display:block;
padding:8px 25px;
color:#fff;}
#menu-demo2 ul a{
padding:8px 8px;
text-align: left;
}
#menu-demo2 li:hover li a{
color:#fff;
text-transform:inherit;
}

#menu-demo2 li li:hover a{
color:rgb(250, 65, 65);
}


.login-box {
  top: 50%;
  left: 50%;
  width: 400px;
  padding: 40px;
  background: rgba(255,255,255,.86);
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0,0,0,.6);
  border-radius: 10px;
}

.ui-menu-item-wrapper
{
   color: #000;
   font-size: 16px;
   text-transform: uppercase;
   overflow: hidden;
   transition: .5s;
   margin-top: 40px;
   letter-spacing: 4px
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #000;
  text-align: center;
}

.login-box .user-box {
  position: relative;

}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #000;
  outline: none;
  background: transparent;
}
.login-box .user-box label {
  position: absolute;
  top:0;
  left: 0;
  padding: 10px 0;
  color: #000;
  pointer-events: none;
  transition: .5s;
}


.login-box .user-box  input::placeholder {
    opacity: 0;

}
.login-box .user-box  input::placeholder  ~ label {
    opacity: 0;
    bottom: -20px;
    left: 0;
    color: rgb(250, 65, 65);
    font-size: 12px;

}
.login-box .user-box input:focus::placeholder{
    opacity: 1;
     color: rgb(180, 180, 180);
}



.login-box .user-box input:disabled ~ label {
  top: -20px;
  left: 0;
  color: rgb(250, 65, 65);
  font-size: 12px;
}



.login-box .user-box input:focus ~ label,
.login-box .user-box input:not([value=""]) ~ label{
  top: -20px;
  left: 0;
  color: rgb(250, 65, 65);
  font-size: 12px;
}

.login-box .user-box input:-moz-ui-invalid ~ label {
  top: -30px;
  left: 0;
  color: rgb(255,0,0);
  font-size: 12px;
}



.login-box form a {
  position: relative;
  padding: 10px 20px;
  color: #03e9f4;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: .5s;
  margin-top: 40px;
  letter-spacing: 4px
}

.login-box a:hover {
  background: #ddd;
  color: #000;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4,
              0 0 25px #03e9f4,
              0 0 50px #03e9f4,
              0 0 100px #03e9f4;
}

.login-box a span {
  position: absolute;
  display: block;
}

.login-box a span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #03e9f4);
  animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
  0% {
    left: -100%;
  }
  50%,100% {
    left: 100%;
  }
}

.login-box a span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #03e9f4);
  animation: btn-anim2 1s linear infinite;
  animation-delay: .25s
}

@keyframes btn-anim2 {
  0% {
    top: -100%;
  }
  50%,100% {
    top: 100%;
  }
}

.container-profil {
  display: flex;
  justify-content: space-around;
}

.login-box a span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #03e9f4);
  animation: btn-anim3 1s linear infinite;
  animation-delay: .5s
}

@keyframes btn-anim3 {
  0% {
    right: -100%;
  }
  50%,100% {
    right: 100%;
  }
}

.login-box a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #03e9f4);
  animation: btn-anim4 1s linear infinite;
  animation-delay: .75s
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,100% {
    bottom: 100%;
  }
}
