.svg-container {
  width: 100%;
  max-width: 750px;
  height: 100vh;
  margin: 0 auto;
  padding-top: 200px;
}

.coding-svg {
  width: 100%;
}

.type {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  stroke: teal;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: dash 4s linear forwards, fillTo 1s linear forwards 3s;
}

.box {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke: teal;
  animation: dash 3s linear forwards;
}

.button {
  position: absolute;
  top: 20px;
  right: -75px;
  border: none;
  background-color: transparent;
}

.icon {
  transition: 0.3s ease-in-out all;
  animation: blink 1.2s ease-in-out;
  animation-delay: calc(var(--base-delay) + 0.5s);
}

.icon:hover {
  stroke: teal;
  transition: 0.3s ease-in-out all;
  cursor: pointer;
}

.panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  z-index: 2;
  background-color: hsla(180, 40%, 85%);
  box-shadow: 5px 0px 20px -10px #ccc;
  transform: translateX(-100%);
  transition: 0.7s ease-in-out all;
}

.show-panel {
  transform: translateX(0);
  transition: 0.7s ease-in-out all;
}

.content {
  padding: 2rem;
  font-family: Helvetica, sans-serif;
}
.content ul {
  list-style: none;
  padding: 0.5rem 0;
}
.content li {
  padding-bottom: 0.75rem;
  text-transform: capitalize;
}
.content a {
  text-decoration-color: teal;
  color: #333;
}

:root {
  --base-delay: 3s;
}

.line-1 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: dash 0.75s ease-in-out forwards;
  animation-delay: calc(var(--base-delay) + 0s);
}
.line-2 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: dash 0.75s ease-in-out forwards;
  animation-delay: calc(var(--base-delay) + 0.15s);
}
.line-3 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: dash 0.75s ease-in-out forwards;
  animation-delay: calc(var(--base-delay) + 0.3s);
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fillTo {
  to {
    fill: rgba(0, 128, 128, 0.3);
  }
}

@keyframes blink {
  0% {
    transform: scale(1);
    stroke: black;
  }
  25% {
    stroke: teal;
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  75% {
    stroke: teal;
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    stroke: black;
  }
}
