body {
    background-color: #000;
    color: #eee;
    font-family: Georgia, serif;
    margin: 40px;
}
h1 {
    color: rgb(85, 204, 188);
    text-align: center;
}
a {
    color: #88ccff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.outline {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rect {
  stroke-dashoffset: 5;
  stroke-dasharray: 0 0 10 40 10 40;
  transition: 0.5s;
  stroke: #e4ae0b;
}

.nav {
  position: relative;
  width: 400px;
  height: 60px;
  border-radius: 40px;
  margin: 40px auto;   /* centers the navbar */
}

.container:hover .outline .rect {
  transition: 999999s;
  /* Must specify these values here as something *different* just so that the transition works properly */
  stroke-dashoffset: 1;
  stroke-dasharray: 0;
}

.container {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.4);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0.5em;
}

.btn {
  padding: 0.5em 1.5em;
  color: #fff;
  cursor: pointer;
  transition: 0.1s;
}

.btn:hover {
  background: #e4ae0b;
  border-radius: 10px;
}

.btn:nth-child(1):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 2 8 73.3 8 10.7;
}

.btn:nth-child(2):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 12.6 9.5 49.3 9.5 31.6;
}

.btn:nth-child(3):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 24.5 8.5 27.5 8.5 55.5;
}

.btn:nth-child(4):hover ~ svg .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 34.7 6.9 10.2 6.9 76;
}

.btn:hover ~ .outline .rect {
  stroke-dashoffset: 0;
  stroke-dasharray: 0 0 10 40 10 40;
  transition: 0.5s !important;
}
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 60px;
  background: #222;
  min-width: 140px;
  border-radius: 8px;
}

.dropdown-content a {
  display: block;
  padding: 10px;
}

.dropdown-content a:hover {
  background: #444;
}

.show {
  display: block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 70px;
  left: 290px;
  background: #222;
  min-width: 140px;
  border-radius: 8px;
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: white;
}

.dropdown-content a:hover {
  background: #444;
}

.show {
  display: block;
}
.logo {
  display: block;
  margin: 20px auto;
  width: 600px;
  max-width: 90%;
  height: 300px;
  background-color: black;
}