* {
    margin:0;
    padding:0;
    transition:0.5s;
    animation-duration:0.5s;
}

body {
    background-color: #eaeaea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
    font-family: Cabin, Verdana, Geneva, Tahoma, sans-serif;
}

p, b, i, button {
    font-family: Open Sans, Roboto, Arial, Helvetica, sans-serif;
}

button {
    position: relative;
    overflow: hidden;
    outline: none;
    border: none;
    background: rgb(48, 48, 48);
    color: #fff;
    border-radius: 2px;
    padding: 8px 16px;
    margin: 8px;
    font-size: 14px;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    transition: 400ms cubic-bezier(.44,2.69,.54,1.29);
}

button:hover {
    background-color: black;
}

button:active {
    transform: scale(0.9);
    box-shadow: 0 0px 5px 2px rgba(0,0,0,0.4);
    opacity:0.7;
}
.box {
    padding: 40px;
    border-radius: 50px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow:  50px 50px 100px #c9c9c9,
             -50px -50px 100px #ffffff;
    border: 1px solid rgb(198, 198, 198);

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

    animation: float-up 1s ease;
}

.box:focus {
  border: 1px solid rgb(129, 129, 129);
}
.box hr {
    width: 100%;
    margin:0;
}

.xyzme-title {
  color: #555;
  font-size: 20px;
  text-transform: uppercase;
}

.modal-bg, .settings-modal-bg {
    position: fixed;
    z-index: 2;
    background-color: rgba(0,0,0,0.8);
    top:0;
    bottom:0;
    right:0;
    left:0;
    transition: 0.5s;
}
.modal, .settings-modal {
    position: fixed;
    border-radius: 20px;
    border: 1px solid rgb(218, 218, 218);
    top: 40vh;
    right: 30%;
    left: 30%;
    bottom: 40vh;
    background: white;
    padding: 20px;
}

.modal {
  bottom: 30vh;
  top: 30vh;
}

.settings-modal {
  bottom: 10%;
  top: 10%;
  overflow: scroll;
}

.settings-modal-bg {
     display: none;
    opacity:0;
}

.modal h1:not(#close), .settings-modal h1 {
    margin-top:-20px;
}

.modal *:not(#close), .settings-modal *:not(#closeSettings) {
    margin-top: 20px;
}

.modal #close, .settings-modal #closeSettings {
    margin-left: calc(100% - 10px);
    font-size: 30px;
    cursor: pointer;
}

.ripple {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    animation: rippleEffect 1s 1;
    opacity: 0;
  }

  #autoInit {
    position: fixed;
    top: 40%;
    bottom: 40%;
    right: 40%;
    left: 40%;
    z-index: 5;
  }

  @keyframes rippleEffect {
    0% {
      transform: scale(1);
      opacity: 0.4;
    }
    100% {
      transform: scale(100);
      opacity: 0;
    }
  }

@keyframes float-up {
    from {transform: rotateY(40deg); opacity:0;}
}

@keyframes bounce {
  0% {transform: scale(0)};
  50% {transform: scale(2)};
  100% {transform: scale(1)};
}

@-webkit-keyframes bounce {
  0% {opacity:0;}
}