:root {
--html-bg: #0f1412;
--dark-bg: #121b18;
--primary-bg: #1e2a25;
--primary-dark: #0c1713;
--accent-dark: #3b4a42;
--link-bg: #24362f;
--text-light: #FFFDD0;
--text-dark: #9aa89c;
--border-color: #2f4038;
--scrollbar-thumb: #415c50;
--scrollbar-hover: #5f7c6f;
--selection-text: #7fb8a3;
--secondary-text:#a89133;
--shadow-bg: black;
--unique-bg: #2a1f3d;
--unique-text: #d9cfae;
--tertiary-text:#7aab82;
}

.imgntxt {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content: center;
}
.imgntxt .txt {
  flex: 1 1 200px;
  opacity:0.7;
}
.twodivider > .firstdivider {
   flex: 1 1 250px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-content: start;
}
.firstdivider .intro {
  flex: 1 1 1000px;
}
.twodivider {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
nav {
  padding:10px;
  width:100%;
  background: var(--primary-bg);
  box-sizing: border-box;
  padding:10px;
  color: var(--text-dark);
  height:fit-content;
  border:2px solid var(--primary-bg);
  box-shadow: 1px 1px 20px 0px var(--shadow-bg);
  z-index:9;
}
.navoverlay {
  height:100vh;
  position:sticky;
  box-sizing: border-box;
    top:0;
    max-width: 200px;
    width: 100%;
    overflow-y: auto;
}
nav .starlink img {
  width:20px;
  filter: invert(64%) sepia(14%) saturate(206%) hue-rotate(78deg) brightness(93%) contrast(90%);
}
.starlink {
  display:flex;
  gap:5px;
}
nav a, .heada a {
  background:none;
  font-style:normal;
}
footer img {
  max-height: fit-content;
  align-self: center;
}
.unique a {
  background: var(--unique-bg);
  color:var(--unique-text);
}
.eeee a {
  flex:1;
  padding:0 5px;
  align-content: space-evenly;
}
.eeee > .ineedthis {
    background:none;
    text-align:center;
    font-weight:bold;
    flex: 100px;
}
.eeee > div {
  display:flex;
  width:100%;
  flex-wrap: wrap;
  text-align: center;
}
.eeee {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}
.intro h1, .intro h2, .intro h3, .intro h4, .intro h5, .intro h6, .intro h7, .intro h8 {
  margin:5px 0;
}
.intro p {
  margin:10px 0;
}
.intro {
  border:2px solid var(--primary-dark);
  padding:10px;
  box-sizing:border-box;
  flex:1 1 250px;
  height:fit-content;
  color: var(--tertiary-text);
}
.firstdivider .intro {
  color: white;
  }
.intro.dark {
  border:2px solid transparent;
  background: var(--primary-dark);
  color: var(--secondary-text);
}
.intro.light {
  border:2px solid transparent;
  background:none;
}
.heada {
  background: var(--accent-dark);
  color: var(--text-light);
  padding:5px;
  margin:-10px;
  margin-bottom:10px;
  width:fit-content;
  border-top:2px dotted var(--text-light);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.heada h1 {
  margin:5px;
}
.heada a {
  opacity:0.5;
}
a {
  color:inherit;
  text-decoration:none;
  font-size:1.2rem;
  padding:4px;
  box-sizing:border-box;
  border: 2px dotted transparent;
}
a:hover {
  border:2px dotted;
}
body {
  display:flex;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 20px;
}
main {
  max-width:1200px;
  width:100%;
  background: var(--primary-bg);
  padding:10px;
  color:black;
  border:2px solid var(--primary-bg);
  box-shadow: 1px 1px 20px 0px var(--shadow-bg);
  height:fit-content;
  z-index:10;
}
.box {
  background:linear-gradient(to right, var(--dark-bg), var(--accent-dark));
    margin:-10px;
  margin-bottom:10px;
}
h1.first {
    margin: 0;
    font-size: clamp(40px, 10vw, 70px);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(-1.6px 0 white) drop-shadow(1.6px 0 white) drop-shadow(0 -1.6px white) drop-shadow(0 1.6px white) drop-shadow(0 2px 2px #00000040);
    padding: 20px;
    background-image: linear-gradient(black);
    line-height: 0.8;
    display:flex;
    align-items: center;
}
@media (max-width: 600px) {
  .box {
    text-align:center;
  }
  .heada {
    width:initial;
  }
  .top {
    opacity:0.5;
  }
  .top:hover {
    opacity:1;
  }
  nav {
    width:100%;
    flex:1 1 1000px;
    max-width:none;
  }
  .navoverlay {
    height:initial;
    position:initial;
    max-width:none;
  }
  body {
    flex-wrap:wrap;
  }
  button[onclick="openModal()"] {
    opacity:0.7;
  }
  button[onclick="openModal()"]:hover {
    opacity:1;
  }
}
html {
  background: url(/namerica/usa/img/rough-cloth.png), linear-gradient(var(--html-bg)) var(--html-bg);
  min-height:100vh;
  scroll-behavior: smooth;
}
.top {
  position: fixed;
    bottom: 0;
    right: 0;
    border-radius:5px 0 0 0;
  background: var(--primary-bg);
  border:3px solid var(--primary-dark);
    transition:0.2s ease;
    z-index:999;
}
.top:hover {
  box-shadow: 0px 0px 20px var(--primary-bg);
  border:3px solid var(--primary-dark);
  opacity:0.5;
}
.top img {
  max-width:50px;
  vertical-align: sub;
}
uf {
  border: 2px dotted var(--border-color);
  font-style:italic;
  color: var(--accent-dark);
  line-height:1.8;
    margin:2px;
    padding:2px;
}
uf::after {
  content: url(/webmastry/img/uf.jpg);
    margin: 0 0 0 5px;
    filter: invert(56%) sepia(16%) saturate(649%) hue-rotate(3deg) brightness(91%) contrast(88%);
}
a {
  padding:0;
  background: var(--link-bg);
  font-style:italic;
}
::selection {
  background: var(--dark-bg);
  color:var(--selection-text);
}
  ::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--accent-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb); 
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-hover); 
}
h1.first img {
  max-width: 50px;
  margin-right: 10px;
  vertical-align: top;
  max-height:57.688px;
}
footer {
    position: absolute;
    display: flex;
    margin: 20px 60px 10px 0;
    opacity: 0.5;
    color: var(--text-light);
    max-width: 1200px;
    gap: 10px;
    align-items: anchor-center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.fullbox {
  padding:10px;
}
span[onclick="closeModal()"] {
  align-content: center;
  font-size: 1.4rem;
  cursor:pointer;
}
span[onclick="closeModal()"]:hover {
  background: var(--link-bg);
  color:var(--text-dark);
}
button[onclick="openModal()"] {
position: fixed;
    bottom: 0;
    padding:10px;
    color:white;
  background: var(--dark-bg);
    font-family:unset;
    font-size:unset;
  border-top:2px solid var(--text-light);
  border-right:2px solid var(--text-light);
  cursor:pointer;
    border-left:none;
    border-bottom:none;
    left: 0;
    z-index: 998;
}
body {
  font-family: "Merriweather", serif;
}
@font-face {
  font-family: 'Merriweather';
  src: url('/webmastry/font/Merriweather-VariableFont_opsz,wdth,wght.woff2');
}
.modal {
  display: block;
    position: fixed;
    bottom: 0;
    left: 0;
  background: var(--dark-bg);
      border-top: 2px solid var(--text-dark);
    border-right: 2px solid var(--text-dark);
    z-index: 999;
    color: white;
    padding: 10px;
    box-sizing: border-box;
}
.modal .flex {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  max-width:300px;
}
.modal .flex a {
  color:white;
  flex:1 1 100px;
  align-content: center;
}