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

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #45badd;
}

.container {
  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;
}

.joketextbox {
  margin-top: 50px;
  height: 100px;
  width: 45vw;
  font-size: 19px;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  color: white;
  background: rgba(69, 186, 221, 0.6);
  border-radius: 5px;
  box-shadow: none;
  text-overflow: clip;
}

.long-joke {
  font-size: 17px;
}

.row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

button {
  cursor: pointer;
  outline: none;
  width: 200px;
  height: 50px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  color: white;
  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(30%);
}

.joke-button {
  margin-top: 35vh;
}

.twitter-button {
  margin-top: 10vh;
  width: 50px;
  box-shadow: 2px 2px 20px 10px rgba(0, 0, 0, 0.2);
}

.twitter-button:hover {
  color: #45badd;
}

/* Media query for large mobile screens */
@media screen and (max-width: 1000px) {
  .container {
    background-size: 90%;
    background-position: center top;
    background-position-y: 0%;
  }
  .joketextbox {
    width: 90vw;
    box-shadow: none;
  }
  button {
    box-shadow: 2px 2px 20px 15px rgba(0, 0, 0, 0.5);
  }

  .twitter-button {
    margin-top: 10vh;
    box-shadow: 2px 2px 20px 10px rgba(0, 0, 0, 0.4);
  }
}