/* From Uiverse.io by jeremyssocial */
@keyframes blinkCursor {
  50% {
    border-right-color: transparent;
  }
}

@keyframes typeAndDelete {
  0%, 10% {
    width: 0;
  }
  45%, 55% {
    width: 11.5em; /* angepasst an "work in progress..." */
  }
  90%, 100% {
    width: 0;
  }
}


.terminal-loader {
  all: unset;
  border: 0.1em solid #333;
  background-color: #1a1a1a;
  color: #0f0;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  padding: 1.5em 1em;
  width: 30em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.terminal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background-color: #333;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 0 0.4em;
  box-sizing: border-box;
}

.terminal-controls {
  float: right;
}

.control {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.4em;
  border-radius: 50%;
  background-color: #777;
}

.control.close {
  background-color: #e33;
}

.control.minimize {
  background-color: #ee0;
}

.control.maximize {
  background-color: #0b0;
}

.terminal-title {
  float: left;
  line-height: 1.5em;
  color: #eee;
}

.text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.2em solid green; /* Cursor */
  animation:
    typeAndDelete 5s steps(18) infinite,
    blinkCursor 0.5s step-end infinite alternate;
  margin-top: 1.5em;
}

.contact {
  color: gray;
}

.shadow__btn {
  all: unset;
  display: inline-block;
  padding: 4px 4px;
  border: none;
  color: #fff;
  border-radius: 2px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  font-weight: 800;
  transition: 0.3s;
  box-shadow: 0 0 0 transparent;
  transition-property: box-shadow;
}

.shadow__btn {
  background: rgb(30, 105, 185);
}

.shadow__btn:hover {
  background: rgb(255, 255, 255);
  color: rgb(30, 105, 185);
  box-shadow: 0 0 5px rgb(45, 120, 200);
  text-decoration: none;
}

.shadow__btn:active {
  transform: scale(0.98);
  box-shadow: 0 0 5px rgb(45, 120, 200);
}

.a {
  text-decoration: none;
}

/* Dark Mode Hintergrund und Zentrierung */
body {
  overflow: hidden;
  background-color: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;
}
