/* ROBOT.GIF from Giphy - https://media3.giphy.com/media/1kTNWUKonrZCGmQ9Gw/giphy.gif  */
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap');

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #775BCF;
  font-family: Balsamiq Sans;
  color: #fff;
  font-size: 20px;
}

/* CONTAINERS */

.container {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  background: url('giphy.gif');
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}

.text-container{
  width: 25vw;
  margin: 30px 100px;
  font-size: 20;
  line-height: 1.5;
}

.joke, .description{
  text-align: center;
  background: rgba(70, 70, 70, 0.192);
  padding: 12px;
  border-radius: 5px;
}

.joke{
  background: rgba(170, 137, 137, 0.205);
}

a{
  color: rgb(224, 197, 255);
}

.joke:hover, .description:hover{
  filter: brightness(1.3);
}

.joke:hover, .description:hover a{
  color: rgb(233, 159, 192);
}

/* BUTTON  */

button {
  cursor: pointer;
  outline: none;
  width: 200px; 
  height: 50px;
  font-family: Balsamiq Sans, Courier, monospace;
  font-size: 20px;
  letter-spacing: 2px;
  color: white;
  background: #D33526;
  border: none;
  border-radius: 5px;
  box-shadow: 2px 2px 20px 10 rgba(0, 0, 0, 0.1);
}

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

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

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

/* FOOTER */

footer{
  position: fixed;
  left: 0;
  bottom: 0;
  margin-bottom: 1.75%;
  width: 100%;
  color: rgb(251, 251, 251);
  font-size: 18px;
  text-align: center;
  text-shadow: 2px 2px 10px #000;
}


/* Media Query: Tablet or Smaller */
@media screen and (max-width: 1000px) {
  .container {
    margin-top: 5%;
    background-position: center center;
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    align-content: center;
  }

  .text-container{
    margin: 30% 80%;
    width: 80%;
  }

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

}

