@font-face {
  font-family: "Azonix-d3fend";
  src: url(https://d3fend.mitre.org/font/azonix/azonix-d3fend.otf) format("opentype");
}

:root {
  --primary-color: var(--d3fend-surface-app);
  --primary-selected: var(--d3fend-surface-selected);
  --dark-background-color: var(--d3fend-text-default);
  --warning: var(--d3fend-status-warning-muted);
  --item-hover: var(--d3fend-surface-hover);
  --attack-node: var(--d3fend-cad-node-attack);
}


html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--dark-background-color);
  background-color: var(--primary-color);
  margin: 0;
  box-sizing: border-box;
  font-family: Helvetica, sans-serif;
  font-size: 1rem;
}

html {
  width: 100vw;
  overflow-x: hidden;
}

section.content {
  margin: auto;
  max-width: 700px;
  text-align: justify;
}

section.content-wider {
  margin: auto;
  max-width: 1024px;
}

section.content-wider-justify {
  margin: auto;
  max-width: 1024px;
  text-align: justify;
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.3rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1.1rem;
}

.external-html h1 {
  font-size: 1.4rem;
}

.external-html h2 {
  font-size: 1.3rem;
}

.external-html h3 {
  font-size: 1.2rem;
}

.external-html h4 {
  font-size: 1.1rem;
}

.external-html h5 {
  font-size: 1rem;
}

.external-html h6 {
  font-size: .9rem;
}

.font-large {
  font-size: 1.2rem;
}

.font-medium {
  font-size: 1rem;
}

.font-small {
  font-size: .8rem;
}

.font-xsmall {
  font-size: .6rem;
}

p {
  line-height: 1.4211;
}

ol li,
ul li {
  line-height: 1.75;
}

ul {
  list-style: square;
}

.no-style {
  list-style: none;
}

a {
  color: var(--d3fend-link-default);
  text-decoration: none;
}

button a { color: var(--d3fend-text-strong);}

a:hover {
  text-decoration: underline;
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
  border: 1px solid var(--d3fend-border-default);
  border-radius: 2px;
}

input:disabled {
  color: var(--d3fend-border-default);
}

/* The autocomplete library otherwise moves lists above inputs near the viewport bottom. */
.autocomplete-list {
  top: 0 !important;
}

/* button {
  color: var(--d3fend-text-default);
  background-color: var(--d3fend-surface-quiet);
  outline: none;
} */

button:active {
  background-color: var(--d3fend-border-subtle);
}

button:focus {
  border-color: var(--d3fend-text-subdued);
}

dd {
  margin-bottom: .5rem;
}

dt {
  padding-left: .5rem;
}

.fancy-font {
  font-family: Azonix-d3fend;
}

.italic {
  font-style: italic;
}

.logo .fancy-font {
  font-size: 2.5rem;
}

.center {
  margin: auto !important;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-justify {
  text-align: justify !important;
}

.text-left {
  text-align: left !important;
}

.text-0 {
  font-size: .95rem;
}

.text-1 {
  font-size: 1rem;
}

.text-2 {
  font-size: 1.15rem;
}

.text-3 {
  font-size: 1.25rem;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.right {
  margin-left: auto;
}

.left {
  margin-right: auto;
}

.card {
  /* Add shadows to create the "card" effect */
  background-color: var(--d3fend-surface-slate-soft);
  border: 1px solid var(--d3fend-border-hairline);
  box-sizing: border-box;
  color: var(--d3fend-text-default);
  box-shadow: 0 .2rem .5rem 0 var(--d3fend-overlay-card-shadow);
  transition: 0.3s;
  border-radius: .4rem;
  /* 5px rounded corners */
  padding: 1rem;
  margin: 1rem;
}

.box {
  /* a card with no border / shadow */
  transition: 0.3s;
  padding: 1rem;
  margin: 1rem;
}

.shrink {
  max-width: min-content;
}

.stretch {
  min-width: max-content;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 .5rem 1rem 0 var(--d3fend-overlay-card-shadow);
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-start {
  -webkit-align-content: flex-start;
  align-content: flex-start;
}

.flex-end {
  -webkit-align-content: flex-end;
  align-content: flex-end;
}

.flex-grow-1 {
  flex-grow: 1;
}

.flex-grow-2 {
  flex-grow: 2;
}

.flex-grow-3 {
  flex-grow: 3;
}

.flex-basis-125 {
  flex-basis: 125%;
}

.flex-left {
  flex: 0%;
}

.wrap {
  flex-wrap: wrap;
}

.w-100 {
  width: 100%;
}

.w-80 {
  width: 80%;
}

.w-75 {
  width: 75%;
}

.w-50 {
  width: 50%;
}

.w-30 {
  width: 30%;
}

.w-25 {
  width: 25%;
}

.w-20 {
  width: 20%;
}

.w-10 {
  width: 10%;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.bg-light {
  background-color: var(--d3fend-surface-panel);
}

.bg-dark {
  background-color: var(--d3fend-border-strong);
}

.text-light {
  color: var(--d3fend-text-inverse);
}

.text-dark {
  color: var(--d3fend-border-strong);
}

.text-bold {
  font-weight: bold;
}

.hidden {
  display: none;
}

.table-auto {
  table-layout: auto;
  border-collapse: collapse;
  text-indent: 0;
  border: 1px solid var(--d3fend-border-black);
  background-color: var(--d3fend-surface-recessed);
}

.table-fixed {
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--d3fend-border-black);
}

.table-auto th,
.table-fixed th,
.table-auto td,
.table-fixed td {
  text-align: left;
  border: 1px solid var(--d3fend-border-strong);
  vertical-align: top;
  display: table-cell;
  padding: .5rem;
}

.button {
  padding: .3rem .5rem;
}

code {
  font-family: menlo, inconsolata, monospace;
  font-size: calc(1em - 2px);
  color: var(--d3fend-text-muted);
  background-color: var(--d3fend-surface-subtle);
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

.black {
  color: var(--d3fend-text-strong);
}

.glow {
  text-shadow: 2px 2px 10px var(--d3fend-glow-success);
}
.glow-red {
  text-shadow: 2px 2px 10px var(--d3fend-status-danger);
}

.glow:hover {
  text-shadow: 2px 2px 10px var(--d3fend-glow-focus);
}

.glow-blue {
  text-shadow: 2px 2px 10px var(--d3fend-glow-focus);
}

html.scroll-smooth {
  scroll-behavior: smooth;
}

body.scroll--none {
  position: fixed;
  /* width: 100%; */
  overflow-y: auto;

  /* position: static;
  overflow-y: auto; */

  /* position: fixed;
  overflow-y: scroll */

  /* overflow-y: hidden; */
}

.poster_border {
  border: 1px solid var(--d3fend-border-black);
}
