/* top navigation/menu bar and buttons styling ---------------------*/
.topnav {
  background-color: #333;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  display: flex;
  justify-content: center;
}
/* style and (hide) topnav .home .menu buttons ---------------------*/
.topnav a {
  display: none;
  color: fff;
  padding: 6px 14px;
  text-decoration: none;
}
/* change text color topnav buttons on hover */
.topnav a:hover {
  color: #000;
}
/* Style dropdown button blocks inside topnav ----------------------*/
.dropdown .dropbtn {
  color: #f5f6fa;
  padding: 8px 14px;
  border: none;
  background-color: #333;
  font-family: inherit;
  font-size: inherit;
  text-transform: ;
}
/* add background hover color to topnav blocks */
.dropdown:hover .dropbtn {
  background-color: #555;
  color: #fff;
}
/* add content container for dropdown menu links -------------------*/
.dropdown {
  float: left;
  overflow: hidden;
}
/* style and (hide=default) dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 14px 2px rgba(0,0,0,0.2);
  z-index: 1;
}
/* Show dropdown menu when mouse moves over dropdown blocks --------*/
.dropdown:hover .dropdown-content {
  display: block;
}
/* style links inside dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 4px 14px;
  text-decoration: none;
  display: block;
  text-align: left;
}
/* Add background & link color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f5f6fa;
  color: red;
}
/* Show .home .menu buttons, virticle menu = width ? wwwwwwww WIDTH */
@media screen and (max-width: 865px) {
  .topnav .dropdown .dropbtn {
    display: none;
  }
  .topnav .home {
    float: left;
    display: block;
    background-color: rgba(255, 255, 255, 0.5);
  }
  .topnav .menu {
    float: right;
    display: block;
    background-color: rgba(255, 255, 255, 0.5);
  }
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive a.menu {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}