*{
    margin:0;
    padding:0;
    font-family: 'Nunito Sans', 'Roboto'sans-serif;
}

body{
  background: rgb(0,0,0);
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center; 

}


.img{
    height: 15em;
    width: 15em;
    background: black;
    transition: all 1s;
}
.bg{
  background: url('../img/moon.gif');
  background-position: center;
  transition: all 1s;
}

.btn{
  font-size: 1.6em;
  width: 13em;
  height:3em;
  background-color: transparent;
  color: white;
  border: 2px solid whitesmoke;
  border-radius: 5px;
  transition: all 1s ;
}

.btn:hover{
    animation-name: hover;
    animation-duration: 3s;
    font-size: 2.0em;
    width: 13em;
    height:3em;
    background: darkgray;
    color: black;
    font-weight: 900;
    border: 3px solid whitesmoke;
    border-radius: 5px;
    transition: all 1s ; 
    animation: gradient;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

@keyframes gradient{
  0% {
     background: linear-gradient(to right,darkgray ,black );
  }

  50%{
    background: linear-gradient(to left,black ,darkgray);
    color: white;
    transition: all 1s;
  }
 
}


.credits{
  margin-top: 2em;
  align-self: center;
  font-size: 1em;
  color: white;
  text-align: center;
  box-shadow: 0px 6px 0px rgba(255, 255, 255, 0.5);
}
