/* Global colors */
:root {
  --purewhite: #ffffff;
  --fontcolor: #c9d1d9;
  --titlecolor: #ededed;
  --grey: #8b949e;
  --pagebackground: #121212;
  --pagealtbackground: #212121;
  --black: #0a0a0a;
  --terminalbg: #353535;
  --bordercolor: #30363d;

  /*Accent Colors*/
  --accent: #22D3EE;
  --accentprimary: #8aebff;
  --accentinverse: #006877;
  --accentbg: #113238;
  --lightaccenttxt: #15474f; /*This is the old accent bg*/
  --lightpgaltbg: #ededed;
  --lightaccentbg: #cef8ff;

  /*Colors*/
  /*Accent coloring*/
  --teal: #22d3ee;
  --blue: #5a9df4;
  
  /*Pinks - Alt Accent*/
  --pink: #ec4899;
  --softpink: #f472b6;
  --pinkbg: #491630;
  --lightpinkbg: #f9cae2;

  /*Red - Errors*/    
  --red: #f45c57;
  --redbg: #350e0d;
  --lightregbg: #f7c9c8;

  /*Yellow - Wanrings*/
  --yellow: #fac71f;
  --yellowbg: #493d15;
  --lightyellowbg: #f4e8c1;
  
  /*Purples - Alt Accent*/
  --brtone: #6366f1;
  --purple:#8b5cf6;
  --softpurple: #a78bfa;
  --purplebg: #1b1033;
  --lightpurplebg: #d4c5f7;
  
  /*Green - Success*/
  --green: #35c658;
  --terminalgreen: #00d974;
  --terminalgreenbg: #0e422a;
  --lightgreenbg: #c9f2d2;
  
  /*Orange - TAG COLOR ONLY*/
  --orange: #ea9f70;
  --orangebg: #422817;
  --lightorangebg: #f9dfcf;

  /*Social Media Colors - Link page only*/
  --instagrampink: #E1306C;
  --linkedinblue: #1877F2;
  --youtubered: #FF0000;
}

* {
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Sora';
  background-color: var(--pagebackground);
  color: var(--fontcolor);
  line-height: 1.625;
}

/* Global code block */
pre {
  background-color: var(--terminalbg);
  text-align: left; 
  word-spacing: normal; 
  word-break: normal; 
  line-height: 1.5; 
  tab-size: 2;
  white-space: normal;
  font-family: 'JetBrainsMono';

  padding: 10px;
  margin: 0;

  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.codetype {
  margin: 0;
  padding: 5px;
  background-color: var(--pagealtbackground);
  text-align: center;
  font-family: 'JetBrainsMono';
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

code {
  white-space: pre-line;
}

/* Global button */
button, a.button {
  background: transparent;
  background-color: var(--accentprimary);
  
  color: var(--accentinverse);
  font-family: 'Sora-Bold';
  font-size: 18px;
  text-transform: uppercase;

  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;

  cursor: pointer;

  text-decoration: none;
  border: transparent;
}

button:hover, a.button:hover {
  opacity: 0.5;
  transition-duration: 0.2s;
}

/* Global Nav */
div.nav {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

div.nav-scrolled {
  border-bottom: 1px solid var(--bordercolor);
  background-color: var(--pagealtbackground);
  transition-duration: 0.5s;
}

div.nav .logo {
  height: 20px;
  width: auto;
}

div.nav h1 {
  margin: 0;
  font-size: 30px;
  color: var(--accent);
}

div.nav .nav-menu a {
  color: var(--fontcolor);
  font-family: 'Sora-Medium';
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
}

div.nav .nav-menu a:hover {
  color: var(--accent);
}

div.nav .nav-menu a.active {
  color: var(--accent);
  padding-bottom: 5px;
  border-bottom: 3px solid var(--accent);
}

/*Global Header*/
span.header-text, div.header-text {
  font-family: 'Playfair';
  font-size: 30px;
  border-bottom: 3px solid var(--accent);
}

/* Global tags*/
.tag {
  background-color: var(--accentbg);
  border: 1px solid var(--accent);
  border-radius: 25px;

  color: var(--accent);
  font-family: 'Sora-Medium';
  
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 5px;
}

.tag-Resource {
  border: 1px solid var(--terminalgreen) !important;
  color: var(--terminalgreen) !important;
  background-color: var(--terminalgreenbg) !important;
}

.tag-Security {
  border: 1px solid var(--pink) !important;
  color: var(--pink) !important;
  background-color: var(--pinkbg) !important;
}

.tag-Informational {
  border: 1px solid var(--purple) !important;
  color: var(--purple) !important;
  background-color: var(--purplebg) !important;
}

.tag-Wireless {
  border: 1px solid var(--orange) !important;
  color: var(--orange) !important;
  background-color: var(--orangebg) !important;
}









/* index.html > header */
.header-wrapper {
  max-width: 1900px;
  margin: auto;
}

.indexhtml .header {
  margin-top: 70px;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 30px;
  background: linear-gradient(30deg,rgba(34, 211, 238, 0.12) 0%, rgba(18, 18, 18, 0) 32%);
}

.indexhtml .header-inner {
  background: linear-gradient(204deg,rgba(34, 211, 238, 0.12) 0%, rgba(18, 18, 18, 0) 32%);
}

.indexhtml .header .header-column {
  float: left;
  width: 50%;
  padding-top: 200px;
  padding-bottom: 200px;
  padding-left: 100px;
  padding-right: 100px;
}

.indexhtml .header .header-row:after {
  content: "";
  display: table;
  clear: both;
}

.indexhtml .header .status-bar {
  background-color: var(--accentbg);
  border: 1px solid var(--accent);

  color: var(--accent);
  font-family: 'Sora-Medium';
  
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
}

.indexhtml .header .status-bar .statusdot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  display: inline-block;
  margin-right: 10px;
}

.indexhtml .header h1 {
  font-size: 35px;
  font-family: 'Playfair';
  letter-spacing: 2.5px;
}

.indexhtml .header .highlight {
  color: var(--accentprimary);
}









/* sections */
.indexhtml #about {
  background-color: var(--black);
  padding: 50px;
}

.indexhtml #about .section-container {
  width: 700px;
  margin: auto;
  text-align: center;
}

.indexhtml a.seemore {
  float:right;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
}

.indexhtml #blog, .indexhtml #resources, .indexhtml #thedomain {
  padding-top: 50px;
  padding-bottom: 50px;
  width: 1000px;
  margin: auto;
}

.indexhtml .blog-card {
  position: relative;
  width: 32%;
  height: 450px;
  
  background-size: contain;
  background-repeat: no-repeat;
  background-color: var(--pagealtbackground);
  
  border-radius: 6px;
  border: 1px solid var(--bordercolor);

  margin-top: 15px;
  display: inline-block;
  
  margin-right: 5px;
  vertical-align: top;
}

.indexhtml .blog-card:hover {
  cursor: pointer;
  border: 1px solid var(--accent);
  transform: translateY(-2px);
  transition-duration: 0.2s;    
}   
.indexhtml .blog-card .breaker {
  border-top: 1px solid var(--bordercolor);
  margin-top: 10px;
  margin-bottom: 10px;
}

.indexhtml .blog-card .content {
  margin-top: 0px;
  font-size: 16px;
  line-height: 24px;
  color: var(--fontcolor);
}

.indexhtml .blog-card .cards_new_inner {
  padding-top: 100px;
  padding-left: 10px;
  padding-right: 10px;
  background: linear-gradient(180deg,rgba(33, 33, 33, 0) 0%, rgba(33, 33, 33, 1) 50%);
  height: 100%;
}

.indexhtml .blog-card .date {
  opacity: 0.7;
  font-size: 14px;
  margin: 0;
}

.indexhtml .blog-card a {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
  font-family: 'Sora-Bold';
}

.indexhtml .blog-card .card_bottom {
  position: absolute;
  bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

.indexhtml #resources .resource-card {
  width: 49%;
  height: 170px;
  padding: 5px;
  margin-right: 5px;
  background-color: var(--pagealtbackground);
  position: relative;
  display: inline-block;
}

.indexhtml #resources .resource-card-inner:after {
  content: "";
  display: table;
  clear: both;
}

.indexhtml #resources .resource-card .left {
  width: 70px;
  float: left;
}

.indexhtml #resources .resource-card .right {
  width: 80%;
  float: left;
  padding-right: 10px;
}

.indexhtml #resources .resource-card .resource-title {
  font-family: 'PlayFair-Bold';
  font-size: 20px;
}

.indexhtml #resources .resource-card .button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  box-sizing: border-box;
}

.indexhtml #resources .resource-card .resource-icon {
  margin: 10px;
  background-color: var(--accentinverse);
  border-radius: 3px;
  
  color: var(--accentprimary);
  line-height: 40px;
  font-size: 23px;
  text-align: center;

  width: 40px;
  height: 40px;
}









/* Blog listing page */
.bloglist-welcome {
  padding-top: 100px;
  padding-bottom: 100px;
  margin: auto;
  width: 300px;
  text-align: center;
}

.bloghtml .body {
  width: 1000px;
  margin: auto;
}

.bloghtml input {
  background-color: var(--pagealtbackground);
  border: 1px solid var(--bordercolor);
  outline: transparent;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  padding: 10px;
}

.bloghtml input:focus {
  border: 1px solid var(--accent);
  transition-duration: 0.2s;
}

.bloghtml .cards {
  background-color: var(--pagealtbackground);
  border: 1px solid var(--bordercolor);
  border-radius: 5px;
  margin: 5px;
  padding: 15px;

  width: 32%;
  height: 380px;

  display: flex;
  flex-direction: column;
  position: relative;
}

.bloghtml .cards:hover {
  cursor: pointer;
  border: 1px solid var(--accent);
  transition-duration: 0.2s;
}

.bloghtml .cards div.content {
  margin-top: 15px;
  margin-bottom: 15px;
}

.bloghtml .cards div.breaker {
  border: 1px solid var(--bordercolor);
}

.bloghtml .cards .date {
  opacity: 0.6;
}

.bloghtml .cards .card-bottom {
  position: absolute;
  bottom: 10px;
  box-sizing: border-box;
}

.bloghtml .blogposts-append {
  display: flex;
  flex-wrap: wrap;
}









/* Blog */
.blog {
  margin: auto;
  width: 700px;
  padding-top: 150px;
  padding-bottom: 50px;
}

.blog .blogbanner {
  border-bottom: 1px solid var(--bordercolor);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.blog .socialcontainer {
  float: center;
  margin: auto;
  width: 300px;
}

.blog .author {
    font-size: 18px;
    color: var(--titlecolor);
}

.blog .pubdate {
    font-size: 12px;
    color: var(--grey);
}

.blog .shortdesc {
    font-size: 12px;
    color: var(--grey);
}

.blog a.back {
  color: var(--fontcolor);
  text-decoration: none;
}

.blog a.back:hover {
  cursor: pointer;
  color: var(--accent);
}

.blog a.to-resource-link {
  color: var(--accent);
  text-decoration: none;
}

.blog a.to-resource-link:hover {
  cursor: pointer;
  color: var(--lightaccentbg);
}

.blog span.title {
  font-size: 35px;
  font-family: 'Playfair';
  letter-spacing: 2.5px;
}

.blog img {
  width: 100%;
}

.blog .blog-credit {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

.blog .blog-credit a {
    color: var(--accent);
}

.blog .related-card {
    width: 49%;
    height: 300px;
    display: inline-block;
    margin-right: 5px;
    box-sizing: border-box;
    vertical-align: top;
    background-color: var(--pagealtbackground);
    padding: 15px;
    border: 1px solid var(--bordercolor);
    border-radius: 5px;
}

.blog .related-card:hover {
  border: 1px solid var(--accent);
  cursor: pointer;
  transition-duration: 0.2s;
}









/* Resourceshtml */
.resourceshtml .welcome {
  padding-top: 100px;
  padding-bottom: 100px;
  width: 300px;
  margin: auto;
  text-align: center;
}

.resourceshtml .body {
  width: 1000px;
  margin: auto;
}

.resourceshtml input {
  background-color: var(--pagealtbackground);
  border: 1px solid var(--bordercolor);
  outline: transparent;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  padding: 10px;
}

.resourceshtml .resource-card {
  width: 49%;
  height: 125px;
  padding: 5px;
  margin-right: 5px;
  background-color: var(--pagealtbackground);
  position: relative;
  display: inline-block;
}

.resourceshtml .resource-card .content {
  opacity: 0.5;
  font-size: 14px;
}

.resourceshtml .resource-card-inner:after {
  content: "";
  display: table;
  clear: both;
}

.resourceshtml .resource-card .left {
  width: 70px;
  float: left;
}

.resourceshtml .resource-card .right {
  width: 80%;
  float: left;
  padding-right: 10px;
}

.resourceshtml .resource-card .resource-title {
  font-family: 'PlayFair-Bold';
  font-size: 20px;
}

.resourceshtml .resource-card .linkset {
  position: absolute;
  bottom: 10px;
  right: 10px;
  box-sizing: border-box;
}

.resourceshtml .resource-card .linkset a {
  color: var(--accent);
  text-decoration: none;
}

.resourceshtml .resource-card .linkset a:hover {
  opacity: 0.5;
  transition-duration: 0.2s;
}

.resourceshtml .resource-card .linkset a.printlink {
  color: var(--fontcolor);
}

.resourceshtml .resource-card .resource-icon {
  margin: 10px;
  background-color: var(--accentinverse);
  border-radius: 3px;
  
  color: var(--accentprimary);
  line-height: 40px;
  font-size: 23px;
  text-align: center;

  width: 40px;
  height: 40px;
}









/* Link Page */
.linkpg .container {
    max-width: 500px;
    margin: auto;
    padding-top: 170px;
    padding-bottom: 50px;
}

.linkpg .link-card {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 16px;
    margin: 10px 0;

    border-radius: 12px;
    background-color: var(--pagealtbackground);
    color: var(--fontcolor);

    text-decoration: none;
    transition: all 0.2s ease;
}

.linkpg .link-card:hover {
    transform: translateY(-2px);
    background-color: #2a2a2a;
    cursor: pointer;
}

.linkpg .link-card-left .logo {
    font-size: 40px;
}

.linkpg .link-card-right {
    display: flex;
    flex-direction: column;
}

.linkpg .link-title {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.linkpg .link-description {
    font-size: 13px;
    margin: 4px 0 0;
    color: var(--grey);
}

.linkpg div.center {
    text-align: center;
    margin-bottom: 20px;
}

.linkpg .pic {
    width: 200px;
    height: 200px;
    border-radius: 500px;
}

.linkpg .title {
    font-size: 30px;
    font-weight: bold;
    color: var(--accent);
}

.linkpg .tagline {
    font-size: 20px;
}

.linkpg .desc {
    font-size: 16px;
    color: var(--fontcolor);
}

.linkpg .instagram {
    color: var(--instagrampink);
}

.linkpg .youtube {
    color: var(--youtubered);
}

.linkpg .website, .linkpg .facebook, .linkpg .linkedin {
    color: var(--linkedinblue);
}






/* Footer */
.footer {
    border-top: 1px solid var(--bordercolor);
    font-size: 16px;
    color: var(--grey);
    margin: auto;
    width: 1000px;
}

.footer .column {
    float: left;
    width: 33%;
}

.footer .column-inner {
    padding: 10px;
}

.footer h2.header-text {
    color: var(--accent);
}

.footer ul {
    text-decoration: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer .footer-link {
    color: var(--grey);
    text-decoration: none;
}

.footer .footer-link:hover {
    color: var(--accent);
    cursor: pointer;
}

.footer .row:after {
    content: "";
    display: table;
    clear: both;
}









@media screen and (max-width: 1500px){
  .indexhtml .header h1 {
    font-size: 30px;
    letter-spacing: 1px;
  }

  .indexhtml .header .header-left {
    padding-right: 0px;
  }
}

@media screen and (max-width: 1200px){
  .indexhtml .header .header-column {
    padding-right: 50px;
    padding-left: 50px;
  }

  .indexhtml .header .header-left {
    padding-right: 0px;
  }
}

@media screen and (max-width: 1100px){
  .indexhtml .blog-card {
    width: 48%;
    height: 450px;
  }

  .indexhtml #blog, .indexhtml #resources, .indexhtml #thedomain {
    width: 90%;
  }

  .footer {
    width: 90%;
  }

  .bloghtml .body, .resourceshtml .body {
    width: 90%;
  }

  .bloghtml .cards {
    width: 48%;
    height: 325px;
  }

  .resourceshtml .resource-card {
    width: 100%;
    height: 125px;
  }
}

@media screen and (max-width: 900px){
  .indexhtml #resources .resource-card {
    height: 250px;
  }

  .blog .related-card {
    width: 100%;
    height: auto;
  }

  .blog {
      max-width: 70%;
  }

  .bloghtml .cards {
    width: 100%;
    height: auto;
  }


  .bloghtml .cards .card-bottom {
    position: initial;
    bottom: 10px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 800px){
  .indexhtml #resources .resource-card {
    height: 150px;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .indexhtml #resources .resource-card .right {
    width: 75%;
  }

  .indexhtml .header .header-left {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 50px;
    padding-right: 50px;
  }

  .indexhtml .header .header-right {
    display: none;
  }

  .indexhtml #about .section-container {
    width: 90%;
  }

  .indexhtml .blog-card .header-text {
    font-size: 25px;
  }
}

@media screen and (max-width: 700px){
  .indexhtml .blog-card {
    width: 100%;
    height: 350px;
  }

  .indexhtml #blog, .indexhtml #resources, .indexhtml #thedomain {
    width: 70%;
  }

  .indexhtml #resources .resource-card {
    height: auto;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 20px;
    position: initial;
  }

  .indexhtml #resources .resource-card .button {
    position: initial;
  }

  .nav .text {
    display: none;
  }

  .linkpg .container {
      max-width: 400px;
  }
}

@media screen and (max-width: 600px){
  .indexhtml #blog, .indexhtml #resources, .indexhtml #thedomain {
    width: 90%;
  }

  .indexhtml #about {
    padding: 0px;
  }

  .footer .column {
      width: 90%;
  }

  .blog {
      max-width: 80%;
  }

  .linkpg .container {
      max-width: 80%;
  }
}

@media screen and (max-width: 500px){
  .indexhtml .header .header-column {
    padding-right: 20px;
    padding-left: 20px;
  }

  .blog {
      max-width: 85%;
  }

  .linkpg .container {
      max-width: 85%;
  }
}

@media screen and (max-width: 450px){
  .indexhtml .header .header-column {
    padding-right: 15px;
    padding-left: 15px;
  }

  .indexhtml .blog-card {
    height: 400px;
  }

  div.nav .nav-menu a {
    margin-left: 10px;
    font-size: 16px;
  }

  .indexhtml a.seemore {
    width: 100%;
  }
}

@media screen and (max-width: 400px){
  button, a.button {
    padding-left: 20px;
    padding-right: 20px;
  }

  .resourceshtml .resource-card {
    width: 100%;
    height: 230px;
  }
}