/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #212021;
  color: white;
  font-family: Verdana;
}

p {
  display:flex;
  align-items: center;
  margin-left: 1em;
}
.menu {
  display: flex;
  align-items: center;
  width: 95%;
  margin-left: 0;
  margin-right: auto;
  font-family: "Orbitron", sans-serif;
}
.logo{
  font-size: 5em;
  font-weight: bold;
  font-family: Verdana;
}

ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0.5em 0;
  list-style: none;
}
.links{
  display: flex;
  flex-wrap: wrap;
}
.links img {
  height:20em;
  width:20em;
  display: block;
  margin-left: 5em;
  margin-right: 5em;
  object-fit: contain;
  
}
.links li{
  list-style-type: none;
  text-align: center;
  font-family:'Courier New', Courier, monospace;
  font-weight: bolder;
}

.menu-item {
  background: #444;
  padding: 1em 0.5em;
  position: relative;
  border-bottom: 5px solid #c802f0;
  margin: 0 0.1em;
  transition: border-bottom 0.23s ease-in-out, background 0.23s linear;
  cursor: pointer;
  min-width: 8em;
  text-align: center;
}
.menu-item[aria-haspopup=true] {
  border-bottom-color: #e57ffa;
}
.menu-item:hover, .menu-item:focus-within {
  border-bottom-color: #e3e094;
  background: #333;
}
.menu-item:hover .sub-menu, .menu-item:hover .sub-menu:hover, .menu-item:focus-within .sub-menu, .menu-item:focus-within .sub-menu:hover {
  visibility: visible;
  opacity: 1;
  display: flex;
}

.sub-menu {
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 0;
  margin-top: 1em;
  visibility: hidden;
  display: none;
  opacity: 0;
}
.sub-menu .menu-item {
  margin: 0.1em 0;
  padding: 1em;
  width: 10em;
  text-align: center;
  z-index: 2;
}

a{
  text-decoration: none;
  background-image: url('images/lavwater.jpg');
  background-clip: text;
  color: transparent;
  background-color: white;
}

@media (min-width: 691px) {
  .menu {
    width: 100%;
    font-size:1.5em;
  }
  .logo{
    margin-left: 0.5em;
    margin-right: 0.8em;
  }
}

@media (max-width: 690px) {
  .logo{
  padding: 0.5em;
  position: relative;
  margin: 0 0.01em;
  cursor: pointer;
  min-width: 8em;
  text-align: center;
}
  .menu {
    width: 100%;
    font-size:16px;
    justify-content: flex-start;
  }

  .menu-item {
    margin: 0.1em;
    font-size: 1.4em;
  }
  .menu-item:nth-child(1) {
    order: 0;
  }
  .menu-item:nth-child(2) {
    order: 1;
  }
  .menu-item:nth-child(3) {
    order: 3;
  }
  .menu-item:nth-child(4) {
    order: 4;
  }
  .menu-item:nth-child(5) {
    order: 2;
  }
  ol
{
  justify-content: flex-start;
}
}
@media (max-width: 480px) {
  .menu {
    font-size: 10px;
    justify-content: center;
  }
  ol
{
  justify-content: center;
}
.links{
  justify-content:center;
}
  
}