@import 'https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap';
@import 'https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap';

:root {
  --primary: #1B1A17;
  --secondary: #F0A500;
  --tertiary: #E45826;
  --accent: #E6D5B8;
  /* --primary: #F5F5F5;
  --secondary: #B9E937;
  --tertiary: #57D131;
  --accent: #406661; */
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--primary);
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 20px);
  margin: 0;
  padding: 20px;
}

.container {
  background-color: var(--secondary);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);;
  padding: 50px 20px;
  text-align: center;
  width: 800px;
  max-width: 100%;
  transition: all 300ms ease-in-out;
  height: auto;
}

h3 {
  margin: 0;
  opacity: 0.5;
  letter-spacing: 2px;
}

.joke {
  font-size: 30px;
  letter-spacing: 1px;
  line-height: 40px;
  margin: 50px auto;
  max-width: 600px;
  overflow: hidden;
  height: auto;
  transition: height 300ms ease-in-out;
}
.joke.collapse {
  height: 40px;
}
.joke[open] {
  animation: fade-in 300ms ease forwards;
}
.joke[close] {
  animation: fade-out 300ms ease forwards;
}

.btn {
  background-color: var(--tertiary);
  color: var(--accent);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
  padding: 14px 40px;
  font-size: 16px;
  cursor: pointer;
}
.btn:focus {
  outline: 0;
}
.btn:active {
  background-color: var(--tertiary);
  transform: scale(0.98);
}

.signature {
  font-family: "Montserrat";
  font-weight: 500;
  vertical-align: middle;
  text-align: center;
  color: var(--accent);
}
.signature span {
  color: var(--accent);
}
.signature a {
  color: var(--tertiary);
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-in {
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}

/*# sourceMappingURL=style.css.map */
