/* ROBOT.GIF from Giphy - https://giphy.com/gifs/robot-cinema-4d-eyedesyn-3o7abtn7DuREEpsyWY */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sansita+Swashed:wght@500&family=Satisfy&display=swap");
html {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #45badd;
  color: #000;
  font-family: Calibri, sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  height: 100vh;
  width: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(../../projects/6.joke-teller/robot.gif);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  font-family: "Roboto", sans-serif;
}

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.3);
}

button:hover {
  filter: brightness(90%);
}
button:active {
  transform: scale(0.97);
}
button:disabled {
  cursor: default;
  filter: brightness(30%);
}

/* Media query for Tablet or smaller */
@media screen and (max-width: 1000px) {
  .container {
    background-position: center center;
    background-size: cover;
  }
  button {
    box-shadow: 5px 5px 30px 20px rgba(0, 0, 0, 0.5);
  }
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(15%);
}

p {
  max-width: 80%;
  font-size: 30px;
  display: block;
  text-align: center;
}

.char {
  font-size: 40px;
  height: 40px;
  animation: an 1s ease-out 1 both;
  display: inline-block;
}

@keyframes an {
  from {
    opacity: 0;
    transform: perspective(500px) translate3d(-35px, -40px, -150px)
      rotate3d(1, -1, 0, 35deg);
  }
  to {
    opacity: 1;
    transform: perspective(500px) translate3d(0, 0, 0);
  }
}
.mylink {
  position: absolute;
  z-index: 150;
  bottom: 0;
  right: 0;
  width: 100%;
  text-align: right;
  padding: 0.6rem;
}

.mylink a {
  font-family: Calibri;
  color: crimson;
  border-bottom: 1px solid crimson;
  opacity: 0.5;
  transition: opacity 0.3s;
  text-decoration: none;
}
.mylink a:hover {
  opacity: 1;
}

#setup {
  font-family: "Sansita Swashed", cursive;
}
#punchline {
  font-family: "Satisfy", cursive;
}
