body {
  background-color: rgb(39, 39, 39);
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(193, 194, 189);
}

body main h1 {
  text-align: center;
  color: rgb(77, 179, 204);
}

body main h2 {
  color: rgb(77, 179, 204);
}

body main h3 {
  color: rgb(77, 179, 204);
}

body aside h3 {
  color: rgb(77, 179, 204);
}

footer h3 {
  color: rgb(77, 179, 204);
}

footer {
  background-color: rgb(39, 39, 39);
  text-align: center;
}

footer div {
  padding-left: 10px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
}

a:link {
color: rgb(200, 165, 165);
}
a:visited {
color: rgb(142, 117, 117);
}
a:hover {
color: rgb(239, 198, 198);
}
a:active {
color: rgb(239, 198, 198);
}

a:link, a:visited {
text-decoration: none;
}
a:hover, a:active {
text-decoration: underline;
}

.container {
  align-items: center;
  float: left;
}

.image {
  float: left;
  padding: 5px;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu {
  background: rgb(39, 39, 39);
  position: relative;
}

.menu > ul {
  display: flex;
  gap: 0;
  align-items: center;
}

.menu a,
.menu button {
  display: block;
  padding: 12px 16px;
  color: rgb(165, 165, 162);   /* inactive menu text*/
  text-decoration: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.menu a:hover,
.menu a.active,
.menu button:hover,
.menu button.active {
  background: rgb(61, 61, 61); /* background of menu button */
  color:rgb(235, 237, 226);   /* Test color for active menu item*/
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgb(39, 39, 39); /* dropdown menu background*/
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

@media (max-width: 768px) {
  .menu > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .menu a,
  .menu button {
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    background: rgb(61, 61, 61); 
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

