html{
  background-color: #f1f1f1;
  font-family: "Roboto";
}

/* BOX LOGIN */
.box{
  position: relative;
  margin: auto;
  height: 410px;
  top: 40px;
  left: 0;
  z-index: 200;
  right: 0;
  width:400px;
  color:#666;
  border-radius: 3px;
  background: #FFF;
  margin-bottom: 100px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  overflow: hidden;
}

#header{
    position: relative;
    height: 100px;
    width: 100%;
    margin-bottom: 30px;
    background: #ffffff;
}

#cont-lock{
  width: 100%;
  height: 65px;
  position: relative;
}

.lock{
  text-align: center;
  color: #181891 ;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  top: 0;
  bottom: 0;
  line-height: 65px;
  font-size: 28px;
}

#bottom-head{
  position: relative;
  height: 35px;
  background: #212121;
}

#bottom-head::after{
  content: '';
  width: 0px;
  height: 0px;
  display: block;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 7px solid white;
  border-right: 7px solid rgba(0,0,0,0);
  border-left: 7px solid rgba(0,0,0,0);
  border-top: 7px solid rgba(0,0,0,0);
}

.box h1{
  margin-left: 20px;
  margin-top: 0;
  font-size: 24px;
  font-weight: 300;
  color: #cfd8dc;
  line-height: 35px;
}

.box button{
  background: #212121;
  border:0;
  color: #ffffff;
  padding:10px;
  font-size: 18px;
  font-weight: 300;
  width:330px;
  margin:20px auto;
  display:block;
  cursor:pointer;
    -webkit-transition: all 0.4s;
  transition: all 0.4s;
  border-radius: 2px;
}

.box button:active{
  background: #009688;
  color: #263238;
}

.box button:hover{
  background: #4b4b4b;
  color: #FFF;
    -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.box p{
  font-size:14px;
  text-align:center;
}

.group        { 
  position:relative; 
  margin-bottom: 35px; 
  margin-left: 40px;
}

.inputMaterial        {
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width:320px;
  border:none;
  border-bottom:1px solid #757575;
}

.inputMaterial:focus    { outline:none;}

/* LABEL ======================================= */

label:not(.cs_label) {
  color:#999; 
  font-size:14px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
.inputMaterial:focus ~ label, .inputMaterial:valid ~ label    {
  top:-20px;
  font-size:14px;
  color: #035e69;
}

/* BOTTOM BARS ================================= */
.bar  { position:relative; display:block; width:315px; }
.bar:before, .bar:after   {
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background: #000; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

/* active state */
.inputMaterial:focus ~ .bar:before, .inputMaterial:focus ~ .bar:after {
  width:50%;
}


/* active state */
.inputMaterial:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from { background:#000; }
  to  { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
  from { background:#000; }
  to  { width:0; background:transparent; }
}
@keyframes inputHighlighter {
  from { background:#000; }
  to  { width:0; background:transparent; }
}

#footer-box{
  width: 100%;
  height: 50px;
  background: #181891 ;
  position: absolute;
  bottom: 0;
}

.footer-text{
  color: #cfd8dc;
  margin-top: 10px;
  font-size: 17px !important;
  font-family: sans-serif;
}

.sing-message{
  color: white;
}

.sing-message:hover{
   color: #b2dfdb; 
}


$transition: all 0.3s;
$shadow-L1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
$shadow-L2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
$shadow-L3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);

body{
  background: #eceff1;
}

#container-a{
  border-radius: 50%;
  width: 60px;
  height: 60px;
  position: fixed;
  top: 20px;
  right: 20px;
  overflow: hidden;
  transition: $transition;
  box-shadow: $shadow-L3;
      
  /*&:hover{
    width: 150px;
    border-radius: 50px;
    transition: $transition;
  }*/
  
  #badge{
  width: 100%;
  height: 100%;

  background-size: 100%;
  transition: $transition;
  position: absolute;
  
  
    &:hover .codepen{
     display: block;
    }
  }
  
  &:hover #letter{
      display: block;
  }
  
  &:hover #badge{
    width: 150px;
    height: 150px;
    transition: $transition;
    filter: blur(7px);
  } 
 
  #letter{
    display: none;
    z-index: 20;
    width: 100%;
    height: 100%;
    position: absolute;
    
    span{
      font-family: 'Roboto';
      font-size: 32px;
      color: white;
      text-align: center;
      line-height: 60px;
      margin: auto;
      left: 0;
      right: 0;
      position: absolute;
      cursor: pointer;
    }
  }
}

@media (max-width: 450px) {
  .box {
    width: 380px;
  }
  .box button, .inputMaterial {
   width: 300px; 
  }
}

@media (max-width: 434px) {
  .box {
    width: 350px;
  }
  .box button, .inputMaterial {
   width: 270px; 
  }
}

@media (max-width: 392px) {
  .box {
    width: 320px;
  }
  .box button, .inputMaterial {
   width: 235px; 
  }
}

@media (max-width: 375px) {
  .box {
    width: 290px;
  }
  .box button, .inputMaterial {
   width: 215px; 
  }
}

::-webkit-input-placeholder { /* Edge */
  color: #4b4b4b !important;
  font-size: 18px !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #4b4b4b !important;
  font-size: 18px !important;
}

::placeholder {
  color: #4b4b4b !important;
  font-size: 18px !important;
}
