/* ROBOT.GIF from Giphy - https://giphy.com/gifs/robot-cinema-4d-eyedesyn-3o7abtn7DuREEpsyWY */

html {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.container {
  margin: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("./robot.gif");
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  background-color: #45badd;
}

button {
  cursor: pointer;
  outline: none;
  width: 200px;
  height: 50px;
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
  color: whitesmoke;
  background: #ff3482;
  border: none;
  border-radius: 5px;
  box-shadow: 2px 2px 20px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
  filter: brightness(95%);
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  cursor: default;
  filter: brightness(50%);
}

.select-container {
  width: 100%;
  display: block;
  margin: 0;
}

.select-voice {
  font-size: 20px;
  border-width: 3px;
  border-radius: 5px;
  border-color: #ff3482;
  width: 40%;
  margin-left: 30%;
  margin-right: 30%;
  position: fixed;
  top: 10%;
}

.joke-container {
  width: 100%;
  height: 3rem;
  display: block;
  /* margin: 0; */
  position: fixed;
  bottom: 10%;
}

.text-area {
  text-align: center;
  font-family: sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 0 1rem;
}

/* media query for tablet or smaller */
@media screen and (max-width: 1000px) {
  .container {
    background-size: cover;
    background-position: center center;
  }

  .text-area {
    background-color: #45badd;
  }

  button {
    box-shadow: 5px 5px 30px 20px rgba(0, 0, 0, 0.5);
  }
}
