@import url('https://fonts.googleapis.com/css?family=Raleway:200,400,500,600,800');
html{
    font-family: 'Raleway, sans-serif' !important;
}
body{
    background-image: url("/img/background2_ld.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-weight: 500;
    margin: 0;
}
.header {
  height: 50px;
  background-color: black;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header #wonda-logo img{
 width: 40px;
 height: 32px;
 margin-left: 8px;
}
.header #help img{
  width: 24px;
  height: 24px;
  margin-right: 8px;
  opacity: 0.6;
}
.header #help img:hover{
  opacity: 1;
}
.container-fluid {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h2 {
    text-align: center;
    color: white !important;
    padding-top: 60px;
    padding-bottom: 60px;
    margin: 0 !important;
    font-weight: 300;
}
#numpad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 70vh;
}

#numpad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  width: 15rem;
  height: 20rem;
}
  
#numpad > .numpad_key{
  background-color: white;
  color: #424242;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  text-align: center;
  font-size: 2rem;
  justify-self: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

#numpad > .numpad_key:hover{
  background-color: rgba(255,255,255, 0.8);
}
#numpad > .numpad_key[data-value="delete"],#numpad > .numpad_key[data-value="clear"]{
  font-size: 0.8rem;
}
#result-container{
  width: 260px;
  height: 50px;
  border-radius: 10px;
  color: black;
  font-size: 40px;
  display: flex;
  justify-content: space-between;
  background-color: white;
  align-items: flex-end;
  padding: 0 8px 4px 8px;
}

#result-container .result-key{
  width: 30px;
  height: 40px;
  line-height: 40px;
  vertical-align: top;
  text-align: center;
}
#result-container .result-key.empty{
  border-bottom: 2px solid black;
}
.toast {
  position: fixed;
  bottom: 10px;
  left: 50%;
  margin-left: -150px;
  width: 300px;
  background-color: rgba(255, 0, 0, 0.5) !important;
  text-align: center;
  color: white;
  border-radius: 5px;
  height: 40px;
  line-height: 40px;
}

@media screen and (max-height: 600px){
  h2{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    font-size: 24px !important;
    margin-bottom: 0 !important;
  }
  #numpad > .numpad_key{
    width: 3.5rem;
    height: 3.5rem;
  }
}