html,
body,
p {
  font-family: "Roboto", sans-serif;
}
body,
html {
  width: 100%;
  padding: 0;
  margin: 0;
}

html,
body,
.with-bty-wallpaper {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
    url("/img/header_bg.png");

  background-size: contain !important;
  z-index: 2;
}
.with-bty-wallpaper::before {
  content: "";
  position: absolute;
  inset: 0;
  /*BUG: Overlays on top of the content but is necessary to make the background image a bit lighter */

  /* background: white; */
  opacity: 0.3;
  pointer-events: none;
  /* z-index: 1; */
}

#header {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
    url("/img/header_bg.png");
  background-size: cover;
  background-position: center;
}

/* Cloud dropdown styles adapted from overwrite.css */
.nav-item {
  position: relative;
  display: inline-block;
}
.nav-item .dropdown-menu-wrapper {
  display: none;
  min-width: 180px;
}
.nav-item:hover .dropdown-menu-wrapper {
  display: block;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 180px;
  padding: 0;
  margin: 2px 0 0;
  list-style: none;
  background: #222;
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-background-clip: none;
  -moz-background-clip: none;
  background-clip: none;
}
.dropdown-menu li {
  margin: 0;
  padding: 0;
}
.dropdown-menu li a {
  color: #ddd;
  font-size: 12px;
  padding: 10px 15px;
  margin: 0;
  text-shadow: none;
  border-bottom: 1px solid #303030;
  display: block;
  text-decoration: none;
}
.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
  color: #ffffff;
  background-color: red;
  text-decoration: none;
  background-image: none;
  background-repeat: none;
  filter: none;
}
.dropdown-menu .sub-menu-level1,
.dropdown-menu .sub-menu-level2 {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: 0;
}
.dropdown-menu li:hover .sub-menu-level1 {
  visibility: visible;
}
.dropdown-menu li li:hover .sub-menu-level2 {
  visibility: visible;
}
.nav-header {
  display: block;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: normal;
  line-height: 20px;
  color: #fff;
  text-shadow: none;
  text-transform: uppercase;
}
.dropdown-menu .divider {
  height: 1px;
  margin: 9px 1px;
  overflow: hidden;
  background-color: #0b0b0b;
  border-bottom: 1px solid #303030;
}

/* ensure hover shows the wrapper's menu (we use wrapper display:block to reveal inner .dropdown-menu) */
.nav-item:hover .dropdown-menu-wrapper .dropdown-menu {
  display: block;
}

/* ============================= */
/* Desktop Scaling Fixes */
/* ============================= */
/* Override Tailwind's fixed widths to allow responsive/zoom scaling */

body,
body.bg-white,
body.text-brand-dark {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#header {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure containers don't overflow */
.container,
[class*="container"] {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
  box-sizing: border-box;
}

/* Allow zoom scaling */
html {
  font-size: 16px;
}

/* Make images responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fix background scaling */
.with-bty-wallpaper {
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* Ensure flex/grid doesn't break on zoom */
[class*="flex"],
[class*="grid"] {
  flex-wrap: wrap;
}

main {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
main > section {
  width: 100vw;
}
/* footer { */
/*   width: 105vw; */
/* } */
