body {
  background-color: white;
  color: black;
  font-family: Avenir;

  height: 100%;
  width: 100%;

  -webkit-user-select: none; /* Safari */
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Dark mode */
@media screen and (prefers-color-scheme: dark) {
	body {
		color: white;
		background-color: #0f0f0f;
  }
  #h6-color-text {
    color: white;
  }
  #hme, #abt, #by, #lnks {
    color: white;
  }
  #brand-logo {
    color: white;
  }
  #brand {
    content: url('../media/brand/rf-white.png');
    height: 70px;
  }
  #social-icon {
    color: white;
  }
  #about {
    background-color: #0f0f0f !important;
  }
  #order {
    background-color: #0f0f0f !important;
    color: white;
  }

  .pos-links, .pos-link-item, a {
    color: white !important; 
  }
}

#brand-logo {
  position: relative;
  padding-top: 25px;
  padding-right: 25px;
  float: right;
  z-index: 999;
  cursor: help;
}

#brand {
  position: relative;
  z-index: 999;
  padding-left: 45px;
  padding-top: 25px;
  font-size: 16px;
}

#subnav {
  font-size: 12px;
  position: fixed;
  z-index: 999;
  color: inherit;
  list-style: none;
  line-height: 1.5;
  bottom: 0;
  padding-bottom: 40px;
  padding-left: 40px;
}

#mobile-home {
  display: none;
}

#nav-menu:hover {
  text-decoration: line-through;
}

/* About */
#about {
  position: absolute;
  margin: 4%;
  background-color: white;
  padding: 4%;
  opacity: 0.99;
  border-radius: 2px;
  z-index: 990;
  overflow-y: scroll;
  height: 68%;
}
#about-text {
  color: inherit;
  opacity: 1;
}
/* #about, #rf {
  opacity: 1 !important;
} */

/* order */
#order {
  position: absolute;
  margin: 6%;
  background-color: white;
  padding: 8%;
  opacity: 0.99;
  border-radius: 2px;
  z-index: 9999;

}
.pos-link {
  list-style-type: none;
}

.pos-link, .pos-link-item {
  display: inline;
  text-decoration: none;
  padding-left: 100px;
}
#order-text {
  color: inherit;
  opacity: 1;
}

/* Home */
#objct {
  position: absolute;
    padding: 0px;
    margin: 0px auto;
    box-sizing: border-box;
    z-index: 0;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: move;
}

#objct img {
  width: 100%;
  height: auto;
}

#objct video {
  width: 100%;
  height: auto;
}

/* Links Menu*/
#links {
  font-size: 14px;
  position: absolute;
  z-index: 998;
  list-style: none;
  line-height: 1.5;
  bottom: 0;
  padding-bottom: 35px;
  margin-left: 50px;
  text-decoration: none;
}
#links, ul {
  list-style-type: none;
}
#links, .link-item {
  display: inline;
  text-decoration: none;
  padding-left: 5px;
}

a:link {
  text-decoration: none;
  color: black;
}
a:visited {
  text-decoration: none;
  color: black;
}

/* Mobile */
@media only screen and (max-width: 414px) {
  #brand-logo {
    display: none;
  }
  #brand {
    width: 300px;
    height: 80px;
    position: fixed;
    left: 44%;
    top: 20%;
    margin-left: -150px;
    margin-top: -150px;
  }
  #subnav {
    font-size: 14px;
    position: fixed;
    z-index: 999;
    list-style: none;
    line-height: 1.5;
    bottom: 0;
    padding-bottom: 4%;
    padding-left: 25px;
    font-size: 11px;
  }
  #about {
    position: fixed;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10%;
    z-index: 990;
    height: 88%;
  }
  #container {
    margin-top: 20% !important;
    float: right !important;
  }
  #objct {
    position: static;
    float: right !important;
    clear: left !important;
    left: auto !important;
    top: auto !important;
    margin-bottom: 5%;
    margin-right: 5%;
    pointer-events: none;
  }
  video {
    display: none;
  }
  
  #links {
    font-size: 14px;
    position: fixed;
    z-index: 998;
    list-style: none;
    line-height: 1.5;
    bottom: 0;
    padding-bottom: 10px;
    margin-left: 35px;
    text-decoration: none;
  }
  #order {
    top: 8%;
    position: fixed;
    /* padding-top: 40%; */
    padding-left: 30px;
    padding-right: 30px;
  }
  #order-text, #h6-color-text {
    padding: 0%;
    text-align: center;
  }

  .pos-links, .pos-link-item {
    display: list-item;
    text-align: center;
    padding-left: 0%;
  }
}

@media only screen and (max-width: 375px) {
  #brand-logo {
    display: none;
  }
  #banner {
    display: contents !important;
  }
  #brand {
    width: 300px;
    height: 80px;
    position: fixed;
    left: 44%;
    top: 24%;
    font-size: 11px;
  }
  #subnav {
    font-size: 14px;
    position: fixed;
    z-index: 999;
    list-style: none;
    line-height: 1.5;
    bottom: 0;
    padding-bottom: 5%;
    padding-left: 20px;
    font-size: 11px;
  }
  #container {
    margin-top: 21% !important;
    float: right !important;
  }
  #objct {
    position: static;
    float: right !important;
    clear: left !important;
    left: auto !important;
    top: auto !important;
    margin-bottom: 5%;
    margin-left: 5%;
    pointer-events: none;
  }
  #about {
    top: 8%;
    position: fixed;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10%;
    z-index: 990;
    height: 80%;
  }
  #links {
    font-size: 14px;
    position: fixed;
    z-index: 998;
    list-style: none;
    line-height: 1.5;
    bottom: 0;
    padding-bottom: 15px;
    margin-left: 35px;
    text-decoration: none;
  }
  #order {
    top: 8%;
    position: fixed;
    /* padding-top: 40%; */
    padding-left: 30px;
    padding-right: 30px;
  }
  #order-text, #h6-color-text {
    padding: 0%;
    text-align: center;
  }

  .pos-links, .pos-link-item {
    display: list-item;
    text-align: center;
    padding-left: 0%;
  }
}


@media only screen and (max-width: 320px) {
  #brand-logo {
    display: none;
  }
  #brand {
    width: 300px;
    height: 80px;
    position: fixed;
    left: 45%;
    top: 25%;
    margin-left: -150px;
    margin-top: -150px;
  }
  #subnav {
    font-size: 14px;
    position: fixed;
    z-index: 999;
    list-style: none;
    line-height: 1.5;
    bottom: 0;
    padding-bottom: 5%;
    padding-left: 20px;
    font-size: 11px;
  }
  #about {
    position: absolute;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10%;
    height: 90%;
  }
  #container {
    margin-top: 22% !important;
    float: right !important;
  }
  #objct {
    position: relative;
    float: right !important;
    clear: left !important;
    left: auto !important;
    top: auto !important;
    margin-bottom: 5%;
    margin-left: 5%;
    pointer-events: none;
  }
  #links {
    font-size: 14px;
    position: fixed;
    z-index: 998;
    list-style: none;
    line-height: 1.5;
    bottom: 0;
    padding-bottom: 10px;
    margin-left: 35px;
    text-decoration: none;
  }
}
