* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
.topnav {
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: rgb(0, 0, 0);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  font-weight: bolder;
  font-family: 'Poppins', sans-serif;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: rgb(255, 255, 255);
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: white;
  color: rgb(0, 0, 0);
}

/* Style the active link (or home/logo) */
.active {
  background-color: white;
  color: white;
}
.bg {
    background-color:#808080f5;
}
html{
  width: 100%;
  height: 100vh;
}

body {
  background: #808080f5;
  width: 100%;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.panel{
  width: 450px;
  max-width: 90%;
  height: 700px;
  background-color: #808080f5;
  background-repeat:no-repeat;
  background-position: top center;
  background-size: cover;
  margin:5% auto 0px;
}




.shadow1{
-webkit-box-shadow:  0 20px 15px -15px rgba(119, 119, 119, 0.85);
   -moz-box-shadow:  0 20px 15px -15px rgba(119, 119, 119, 0.85);
        box-shadow:  0 40px 30px -30px rgba(119, 119, 119, 0.85);
}


form{
  height: 700px;
  padding: 50px;
}

.panel-switch{
  text-align: center;
  margin-top: 30px;
}

.panel-switch button{
  display: inline-block;
  width: 100px;
  height: 40px;
  background: #000000;
  margin: 0px 10px 50px;
  border: none;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.8em;
  
  transition: background-color 0.2s , opacity 0.2s;
}

.panel-switch button:active{
  background: #000000;
  color: #c9c9c9;
}

.active-button{
  opacity: 0.5;
}

button , .button , a {
  cursor: pointer;
}

form h1{
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 4px;
  margin: 50px 0;
  font-size: 1.7em;
}

fieldset{
  border: none;
}

.animate1 , .animate2 , .animate3 , .animate4{
  -webkit-animation-duration: 1.2s;
  animation-duration:1.2s;
}

.animate1
{
  -webkit-animation-delay: 0.2s;
 animation-delay: 0.2s;
}

.animate2
{
  -webkit-animation-delay: 0.7s;
 animation-delay: 0.7s;
}

.animate3
{
  -webkit-animation-delay: 1.1s;
 animation-delay: 1.1s;
}

.animate4
{
  -webkit-animation-delay: 1.5s;
 animation-delay: 1.5s;
}

.animate5
{
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

@-webkit-keyframes fadeInUp {
from {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

to {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
}

@keyframes fadeInUp {
from {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

to {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
}

fieldset input{
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 5em;
  height: 20px;
  width: 80%;
  margin: 10px 0;
  padding: 5px;
  text-indent: 10px;
  color: #fff;
  font-weight: 600;
}

fieldset input::placeholder {
  color: #c7c6c6;
}


fieldset input:focus {
  outline:0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5em;
  margin: 9px 0;
}

.login_form {
  position: relative;
  bottom:0;
  width: 70%;
  height: 4em;
  margin-top: 150px;
  border: none;
  border-radius: 10em;
  background: #000000;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  z-index: 1;
  
  transition: background-color 0.2s ;
}


#login-form-submit:active{
  background: #000000;
  color: #c9c9c9;
}

p , a{
  margin: 0;
  padding: 0;
}

a{
  color: #898787;
  font-size: 0.7em;
  text-decoration: none;
}

.hidden{
  display: none;
}

/*MEDIA QUERIES     */

@media (max-height:800px) {

  body{
      max-height: 100vh;
  }

.panel{
      width: 450px;
      max-width: 90%;
      background-size: cover;
      margin: 1% auto;
  }
  
}

@media (max-width:500px) {

  html, body{
      background-color: #808080f5;
      background-repeat:no-repeat;
      background-position: top center;
      background-size: cover;
      height: 100vh;
      margin: 0px;
      padding: 0px;
      position: fixed;
  }
  
  .panel{
      background: none;
      box-shadow: none;
  }
  
  
  form{
      padding: 50px;
  }

  .panel-switch{
      margin-top: 30px;
  }

  .panel-switch button{
      display: inline-block;
      width: 80px;
      margin: 0px 10px 50px;
      font-weight: 600;
      font-size: 0.7em;
  }
  
  form h1{
      font-size: 1.5em;
  }
  
  .login_form{
      bottom:0;
      width: 70%;
      margin-top: 100px;
  }
  
}