:root {
  --bg-primary: white;
  --bg-secondary: whitesmoke;
  --text-primary: #202123;
  --text-secondary: #555;
  --border-color: gray;
  --border-thickness: 1px;
  --link-color: steelblue;
  --link-hover: black;
  --nav-link-hover: white;
  --nav-link-hover-background: #202123;
  --accent: silver;
  --font-weight: lighter;
  --shadow: lightgray;
  --background-image: url(../images/blogbanner2.jpg);
  --banner-height: 100px;
}
@media (prefers-color-scheme: none) {
  :root {
    --bg-primary: #2b2a2c;
    --bg-secondary: black;
    --text-primary: silver;
    --text-secondary: silver;
    --border-color: none;
    --border-thickness: none;
    --link-color: steelblue ;
    --link-hover: mediumslateblue;
    --nav-link-hover: mediumslateblue;
    --nav-link-hover-background: none;
    --accent: #111;
    --font-weight: normal;
    --shadow: none;
    --background-image: none;
    --banner-height: 0px;
  }
}

html {
    min-height: 100%;
}  
body {
    font-family: sans-serif;
    font-weight: lighter;
    min-height: 100%;
    margin-top: 20px;   
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}
h1, h2 {
    font-weight: lighter;
    letter-spacing: 5px;
    margin-left: 20px;
}
hr {
    border-color: var(--bg-primary);
}
a {color: var(--link-color);}
#bodycontainer {
    align-items: center;
    margin: auto;
    max-width: 740px;
    padding: 10px;
    padding-left: 0px;
    padding-right: 0px;
    background-color: var(--bg-primary);
    border-radius: 10px;
    box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;

}
header {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 0px;
    height: 70px;
    background-image: none;
    background-size: cover;
    background-position: center;
}
#pagetitle {
    font-size: 30px;
}
#homelink {
    text-decoration: none;
}
#sectiontitle {
    font-size: 20px;
    padding: 3px;                                                                                                       
}
.sectionheader {
    background-color: var(--accent);
    width: 100%;
}
.sectionheader > span {
    background-color: var(--bg-primary);
    margin-left: 30px;
    padding: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    letter-spacing: 5px;
}
.linkdescription {
    font-size: 13px;
    margin-right: 20px;
    margin-left: auto;
}
.blog-feed {
    margin: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
}
.blog-feed-entry {
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 2px dotted var(--text-primary);
}
.blog-feed-title {
    text-align: left;
    font-size: 16px;
}
.blog-feed-info {
    font-size: 13px;
}
.blog-feed-description {
    font-size: 14px;
}
#horizontalNav {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    
}
#horizontalNav > a {
    margin: 5px;
    font-weight: lighter;
    color: var(--link-color);
    font-size: 20px;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;
    transition: .3s;
}
#horizontalNav > a:hover {
    transform: scale(1.1);
    transition: .3s;
}
.navitem {
    display: flex;
}
.navitem > a:hover {
    text-decoration: none;
}
.main-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
main > p {
    margin-left: 20px;
    margin-right: 20px;
}
#introtext {
    font-size: 14px;
    display: flex;
    flex-direction: row;
    width: 90%;
    height: fit-content;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
    padding-right: 20px;
    padding-left: 20px;
}
#splash {
    width: 100%;
    text-align: center;
    font-weight: normal;
}
#userbadges {
    max-width: 350px;
}
#userbadges > img {
    height: 19px;
}

#buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
#buttons > a > img {
    margin: 4px;
    margin-top: 2;
    margin-bottom: 0;
}
/* marquee things */
.wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;    
}
.wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    white 2%,
    rgba(255, 255, 255, 0) 10%,
    rgba(245, 245, 245, 0) 90%,
    white 98%
  );
  z-index: 1;            
  pointer-events: none; 
}
.marquee {
  font-family: ms Pgothic;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: marquee 100s linear infinite;

}
.marquee p {
  z-index: -1;
  display: inline-block;
  margin: 8px;
  margin-left: 0;
  margin-right: 0;
}
/* animation for the marquee */
@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }}

  /* status.cafe widget*/
#status {
    border: 1px solid gray;
    margin-left: 10px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.192));
}
/* the is the titlebar of the status widget */
.boxtitle {
    color: rgba(0, 0, 0, 0.795);
    font-family: ms pGothic;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px dotted black;
    height: 40px;
}
#rssfeedlink {
    font-size: 10px;
    text-align: center;
    margin: 5px;
}
/* footer */
footer {
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}
footer > p > a {
    transition: .2s;
    padding: 1px;
    color: var(--text-secondary);
}
footer > p > a:hover {
    padding: 1px;
    background-color: var(--text-secondary);
    color: var(--bg-primary);
}
aside {
    font-style: italic;
}
.footertext {
    display: block;
    margin-top: 15px;
    color: black;
    transform:scale(1,1.5);
}
/* class to disable dead links */
.not-active {
    pointer-events: none;
    cursor: default;
    color: gray;
}