@import url('https://fonts.googleapis.com/css?family=Alata|Akshar|Adamina|Roboto');

*, *::after, *::before {
  padding: 0;
  margin: 0;
}

body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
  text-align: center;
  background-color: rgb(249, 180, 52);
  font-family: Alata, Akshar, Adamina, Roboto, Oxygen, Geneva, Tahoma, sans-serif;
  font-size: 16px;
}

h1 {
  margin: 15px;
  font-size: 1.5em;
}

/*Styles for the elements in the div password-generator*/
.password-generator {
  display: inline-block;
  justify-content: center;
  align-content: center;
  align-self: center;
  text-align: center;
  flex-direction: column;
  width: 450px;
  height: 240px;
  background-color: rgb(253, 221, 174);
  box-shadow: 0 0 1px 1px;
  user-select: none;
}

/* Styles for where the password is shown */
#password-field {
  font-size: 15px;
  height: 23px;
  width: 235px;
  text-align: center;
  margin-top: 15px;
  border-radius: 8px;
  font-family: Alata, Akshar, Adamina, Roboto, Oxygen, Geneva, Tahoma, sans-serif;
}

#password-field:hover{
  cursor: pointer;
  box-shadow: 0 0 5px 1px;
}

/* Styles for the copy button */
#copy-password {
  width: 50px;
  height: 25px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(99,143,255,1) 0%, rgba(0,255,57,1) 100%);
  color: rgb(252, 251, 251);
  font-weight: 600;
  font-size: 16px;
  /*This style make looks like the letters have a border*/
  text-shadow: 1px 0 rgb(0, 0, 0), 
  -1px 0 rgb(0, 0, 0), 
  0 1px rgb(0, 0, 0), 
  0 -1px rgb(0, 0, 0), 
  1px 1px rgb(0, 0, 0), 
  -1px -1px rgb(0, 0, 0), 
  1px -1px rgb(0, 0, 0), 
  -1px 1px rgb(0, 0, 0);
  z-index: 99;
}

#copy-password:hover {
  background: radial-gradient(circle, rgba(119,255,99,1) 0%, rgba(99,143,255,1) 100%);
  cursor: pointer;
}

/*Styles for generate button*/
#generate-button {
  width: 200px;
  height: 25px;
  border-radius: 20px;
  font-weight: 700;
  background: linear-gradient(0deg, rgb(108, 41, 67) 20%, rgb(121, 111, 227) 60%);
  color: rgb(252, 251, 251);
  margin-top: 15px;
}

#generate-button:hover {
  background: linear-gradient(0deg, rgb(99, 138, 255) 20%, rgb(84, 48, 183) 60%);
  cursor: pointer;
}