body {
  font-family: "Arial";
  background: linear-gradient(#1f242d 50%, #00eeff);
  background-size: cover;
  background-repeat: no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  background-color: #1f242d;
}

* {
  box-sizing: border-box;
}

.container {
  background-color: #1f242d;
  border-radius: 15px;
}

#myDiv {
  font-size: 12rem;
  animation-name: slideRight;
  animation-duration: 2s;
}

.bewegen {
  height: 200px;
  font-size: 12rem;
  text-align: center;
  animation-name: slideRight;
  animation-name: rotate;
  animation-duration: 3s;
}

@keyframes slideRight {
  from {
    transform: translateX(300%);
  }
}

/* .breite{
    width: 50%;
    margin: auto;
    border: 1px solid white;
    padding: 5px 25px 5px 10px;
} */

@keyframes rotate {
  100% {
    transform: rotateY(360deg);
  }
}

a:hover {
  border-bottom: 1px solid red;
  transition: 1s ease;
}

a {
  background-color: #1f242d;
  color: #00eeff;
}

h2 {
  margin-top: 100px;
  border-bottom: 1px solid;
}

.myico {
  border: 1px solid;
  border-radius: 50%;
  height: 1.5rem;
  padding: 4px;
}

.myico:hover {
  box-shadow: 0 0 8px;
  content: ("kjjkjkjkjkjk");
  color: red;
}

.myborder {
  border: 1px solid gray;
  padding-bottom: 10px;
  padding-top: 10px;
  border-color: #191818;
  border-style: solid;
  box-shadow: 0 0 8px black;
  height: auto;
  margin-left: 20px;
  margin-right: 20px;
}

.mybild {
  height: 200px;
  margin-right: 10px;
  border-radius: 50%;
  border: 1px solid;
  border-color: #00eeff;
  margin-right: 30px;
  box-shadow: 0px 0px 20px 22px #00eeff;
}

.nebel{
  background: rgba(255, 255, 255, 0.2);
}

#baguetteBox-overlay {
  display: none;
  opacity: 0;
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000;
  background-color: #222;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.navbar-nav,
.nav-item,
.menu :hover {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.navbar-nav,
.nav-item,
.menu {
  padding: 0px;
  /*display: block;*/
  color: #7d7d7d;
  text-decoration: none;
  font-family: arial, helvetica, tahoma, verdana, sans-serif;
  font-size: 16px;
  margin: 0 0 0 0;
  text-align: center;
  background-color: #232323;

  /*border-right-style: none;*/
}

/* ********************************************* */

p {
  font-size: 1.4rem;
  color: white;
  padding-top: 5px;
}

.text-animation p {
  /* position: relative; */
  justify-content: end;
}

.text-animation span {
  position: relative;
  font-size: 1.1rem;
  font-weight: 300;
  font-family: verdana;
}

.text-animation span::before {
  content: "Back-Office";
  color: #00eeff;
  animation: words 30s infinite;
}

.text-animation span::after {
  content: "";
  background-color: #1f242d;
  position: absolute;
  width: calc(100% + 8px);
  height: 100%;
  border-left: 3px solid red;
  right: -8px;
  top: +1px;
  animation: cursor 0.6s infinite, typing 30s steps(14) infinite;
}

@keyframes cursor {
  to {
    border-left: 3px solid #00eeff;
  }
}

@keyframes words {
  0%,
  20% {
    content: "Allgemeine Sekretariatsaufgaben";
  }
  21%,
  40% {
    content: "Kundenbetreuung";
  }
  41%,
  60% {
    content: "Buchhaltung";
  }
  61%,
  80% {
    content: "Rechnungsstellung";
  }
  81%,
  100% {
    content: "Umsatzsteuererklärung";
  }
}

@keyframes typing {
  10%,
  15%,
  30%,
  35%,
  50%,
  55%,
  70%,
  75%,
  90%,
  95% {
    width: 0;
  }
  5%,
  20%,
  25%,
  40%,
  45%,
  60%,
  65%,
  80%,
  85% {
    width: calc(100% + 8px);
  }
}
