:root {
  --green: #009900;
  --yellow: #ffcc00;
  --page-bg: #c5ccc2;
  --text: #5c6358;
  --panel: #d2dfcd;
  --panel-inner: #e9efe6;
  --border: #6e756a;
  --accent: #000000;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  background-color: var(--page-bg);
  margin: 0;
  padding-bottom: 2%;
  color: var(--text);
  font-family: "Overpass", sans-serif;
  background-image: url("images/road.webp");
  background-size: auto 100px;
  background-position-y: bottom 10px;
  background-repeat: repeat-x;
  background-attachment: fixed;
  height: 100vh;
}
#all {
  width: 90%;
  max-width: 1100px;
  min-width: 320px;
  margin: 10px auto;
}

.sign {
  --sign-background: var(--green);
  --sign-border-color: #ffffff;
  --sign-border-width: 3px;
  --sign-border-inset: 2px;
  --sign-radius: 10px;
  --sign-padding: 8px;
  --sign-texture-image: url("images/honeycomb.png");
  --sign-texture-scale: 33px;
  --sign-texture-opacity: 10%;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sign-padding);
  border-radius: var(--sign-radius);
  background-color: var(--sign-background);
}
.sign::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: var(--sign-border-inset);
  border: var(--sign-border-width) solid var(--sign-border-color);
  border-radius: calc(var(--sign-radius) - var(--sign-border-inset));
  pointer-events: none;
}
.sign::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: var(--sign-texture-image);
  background-size: var(--sign-texture-scale);
  opacity: var(--sign-texture-opacity);
  pointer-events: none;
}
.sign > * {
  position: relative;
  z-index: 2;
}

.sign-small {
  --sign-radius: 6px;
  --sign-padding: 4px;
  --sign-border-width: 2px;
}
.sign-yellow {
  --sign-background: var(--yellow);
  --sign-border-color: #000000;
}
.sign-white {
  --sign-background: white;
  --sign-border-color: #000000;
}
.sign-white a {
  color: black !important;
}

#header {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
}
#header-top {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 0.75rem;
}
#title {
  width: 100%;
  margin: 0;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 1px #000041;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
}
#title-small {
  width: 100%;
  margin: 0;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 1px #000041;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
  font-family: "Lobster", sans-serif;
  font-weight: 400;
}

#layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
#sidenav {
  flex: 0 0 150px;
}
#sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
#sidenav li.sign {
  width: 100%;
}
#sidenav a,
#sidenav a:visited {
  display: block;
  padding: 0.6rem 0.75rem;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}
#sidenav a.active {
  color: var(--yellow);
  text-decoration: underline;
}
main {
  width: 100%;
  min-width: 0;
  padding: 10px;
  display: inline-block;
  border: 3px solid #333333;
  border-radius: 2% 6% 5% 4% / 1% 1% 2% 4%;
  background: #ffffff;
  position: relative;
    
    &::before {
        content: '';
        border: 2px solid #353535;
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0) scale(1.015) rotate(0.5deg);
        border-radius: 1% 1% 2% 4% / 2% 6% 5% 4%;
    }
}
#sidebar {
  height: 100%;
}
#sidebar .text {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  #layout {
    flex-direction: column;
  }
  #sidenav,
  #sidebar {
    flex: none;
    width: 100%;
  }
  #sidenav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }
  #sidenav li.sign {
    width: auto;
    min-width: 7rem;
  }
}

.text {
  width: 100%;
  padding: 25px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  background-color: var(--panel);
}
.textborder {
  background-color: var(--panel-inner);
  border: 1px dashed var(--border);
  padding: 20px;
  font-size: 15px;
}
.subheaders {
  margin: 0;
  font-weight: normal;
  font-size: 20px;
}
img {
  max-width: 100%;
  height: auto;
}
.icon {
  float: right;
  margin-top: 13px;
  margin-left: 10px;
  width: 125px;
  max-width: 40%;
  border: 1px solid var(--border);
}

a,
a:visited {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:active {
  opacity: 0.8;
}
