@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
body {
  margin: 0;
  background-image: url(bg.jpg);
  background-size: cover;
  height: 100dvh;
}
.container {
  height: 100%;
}
.wrapper {
  perspective: 1500px;
  max-width: 700px;
  margin: auto;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 15px;
  box-sizing: border-box;
}

.terminal {
  margin: auto;
  min-height: 350px;
  border: 1px solid #bbbbbb;
  background-color: #191919;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 4px;
  box-shadow: 0 20px 50px 10px rgba(0, 0, 0, 0.3);
}
.terminal.animate {
  animation: animate-terminal 0.2s ease-out 0.5s forwards;
}

.terminal-header {
  background: #d3d3d3 linear-gradient(to bottom, #ebebeb, #d3d3d3);
  color: #3f3f43;
  text-align: center;
  font-family: Roboto, sans-serif;
  padding: 0.25em 1em;
  border-radius: 4px 4px 0 0;
  border-bottom: 1px solid #888888;
}

.terminal-content {
  padding: 0.5em;
  font-family: "Roboto Mono", monospace;
  font-size: 90%;
  color: #64df46;
  line-height: 1.5;
}
.terminal-content p {
  margin: 0;
}

.error-message {
  color: #ebebeb;
  font-family: Roboto, sans-serif;
  /* padding-top: 2rem; */
  margin: auto;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
}
.error-message.animate {
  animation: animate-message 1s ease-out 0s forwards;
}
.error-message h1 {
  margin-bottom: 0;
}

.button {
  text-decoration: none;
  border: 2px solid #434546;
  color: inherit;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
}
.button:hover,
.button:focus {
  background-color: #ccc;
  color: #434546;
}

@keyframes animate-terminal {
  to {
    transform: scaleY(0) scaleX(1.1);
  }
}
@keyframes animate-message {
  from {
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hide {
  display: none;
}

h1 {
  margin: 0;
}
