@font-face {
  font-family: "8bitoperator";
  src:
    local("8bitoperator"),
    url("fonts/8bitoperator.otf") format("opentype"),
    url("fonts/8bitoperator.otf.woff2") format("woff2"),
    url("fonts/8bitoperator_jve.ttf") format("truetype");
}
body {
  font-family: 'Times New Roman', 'Tinos', Tahoma, '8bitoperator', 'Roboto', 'Arial', sans-serif;
  color: white;
}
#cy {  
	height: 100dvh; 
	width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background-image: url("img/bg0089.png");
  background-size: 900px;
  background-color: rgba(0,0,0,0.5);
  background-blend-mode: multiply;
}
a { /* For links to not be formatted */
  color: purple;
}
.menubutton a {
  text-decoration: none;
}
h1 {
  font-family: '8bitoperator';
  font-size: 2.4em;
}
h2 {
  font-family: '8bitoperator';
  font-size: 1.7em;
  line-height: 85%;
  margin-top: .50em;
  margin-bottom: .50em;
}
h3 {
  font-family: '8bitoperator';
  column-span: all;
  font-size: 1.4em;
  margin-top: .90em;
  margin-bottom: .60em;
}
h4 {
  font-family: '8bitoperator';
  font-size: 1.3em;
  margin: 0.8em 0;
}
.closebtn{
  float: right;
  padding: 5px 0px;
  font-family: 'arial';
  font-weight: bold;
  font-size: 24px;
  color: rgb(90, 36, 82);
  cursor: pointer;
}
#legend {
  position: absolute;
  column-count: 2;
  column-fill: balance;
  column-gap: 10px;
  column-rule-width: 2px;
  column-rule-style: dotted;
  column-rule-color: rgb(90, 36, 82);
  bottom: 1px;
  right: 1px;
  height: 130px;
  width: 380px;
  background-color: #080808;
  outline: 1.4px solid rgb(90, 36, 82);
  line-height: 0.1;
  padding: 0px 0px 10px 10px;
  z-index: 1;
}
#footer {
  position: fixed;
  align-items: center;
  text-align: center;
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 10px;
  font-family: Tahoma;
  opacity: 40%;
  z-index: 1;
}
#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(0,0,0,0.6); /* Black background with opacity */
  z-index: 8;
  cursor: pointer;
}
.container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: baseline;
  margin-left: auto;
  margin-right: auto;
  gap: 15px;
  top: 1px;
  padding: 0px, 0px;
  width: 100%;
  z-index: 4;
}
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
  width: 220px;
  z-index: 4;
}
input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-family: Arial;
  font-size: 16px;
  left: 0;
  right: 0;
  z-index: 4;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  color: black;
  font-family: Arial;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}
.autocomplete-active {
  background-color: purple !important;
  color: #ffffff;
}
.menubutton {
  display: inline-block;
  position: relative;
  z-index: 3;
}
button {
  padding: 10px 30px;
  text-align: center;
  font-size: 21px;
  font-family: '8bitoperator';
  background-color: #080808;
  color: white;
  border: 2px solid rgb(90, 36, 82);
  cursor: pointer;
}
.menu{
  position: absolute;
  display: none;
  width: 430px;
  top: 50%;
  left: 50%;
  padding: 0px 24px 20px 28px;
  background-color: #080808;
  outline: 1.4px solid rgb(90, 36, 82);
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  z-index: 9;
}
#welcome{
  position: fixed;
  left: 15px;
  bottom: 10px;
  width: 375px;
  padding: 5px 14px 5px 16px;
  background-color: #080808;
  outline: 1.4px solid rgb(90, 36, 82);
  z-index: 7;
}
#motifinfo{
  position: absolute;
  display: none;
  top: 10px;
  left: 345px;
  padding: 2px 20px;
  font-family: '8bitoperator';
  font-size: 18px;
  background-color: #080808;
  outline: 1.4px solid rgb(90, 36, 82);
  color: rgb(90, 36, 82);
  z-index: 5;
}
#songinfo{
  position: absolute;
  display: none;
  left: 15px;
  top: 10px;
  width: 290px;
  padding: 15px 15px 5px 15px;
  background-color: #080808;
  outline: 1.4px solid rgb(90, 36, 82);
  z-index: 5;
}
#songinfoflex {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0px 0px 5px 0px;
  gap: 10px;
}
#songimg {
  border: 1.3px solid #3d1f3d;
}
#songost {
  font-family: '8bitoperator';
  font-size: 18px;
  color: rgb(90, 36, 82);
  line-height: 14px;
}
#songclosebtn {
  padding: 0px 0px;
  margin: -5px 0 0 0;
  align-self: flex-start;
  flex-grow: 2;
  margin-left: auto;
  text-align: end;
}
hr {
  border: none;
  border-bottom: 1.6px dotted rgb(90, 36, 82);
  margin: 0px 0px;
  padding: 0px 0px;
}
@media only screen and (max-width: 800px) {
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.4em;
  }
  #welcome {
    font-size: 14px;
    width: 270px;
    left: 1%;
    bottom: 5%;
    padding: 0px 10px 0px 10px;
  }
  #legend {
    display: none;
  }
  #footer {
  font-size: 9px;
  }
  .menu {
    position: absolute;
    height: 60%;
    width: 65%;
    padding: 0px 15px 0px 15px;
    overflow: scroll;
  }
  button {
    width: 90px;
    font-size: 18px;
    padding: 8px 16px;
  }
  .closebtn{
    font-family: 'system-ui';
  }
  #songinfo{
    width: 240px;
    left: 1%;
    top: 1%;
    padding: 10px 10px 5px 10px;
  }
  #motifinfo{
    position: fixed;
    top: initial;
    left: 1%;
    bottom: 5%;
    padding: 4px 10px;
  }
  .container {
    flex-flow: column nowrap;
    justify-content: initial;
    margin-left: initial;
    margin-right: initial;
    width: initial;
    gap: 10px;
    top: 1%;
    left: 1%;
    padding: 0px, 30px;
  }
}