/* custom font - zomboid loading font */
@import url('https://zomboid.pro/fonts/Constantine.tff');
@import url('https://zomboid.pro/fonts/Corbel.tff');




/* base */
:root {
    --background-color: #000;
    --content-background-color: #000000aa;
    --sidebar-background-color: #00000000;

    --text-color: #ffffff;
    --sidebar-text-color: #ffffff;
    --link-color: #ffffff;
    --link-color-hover: #c5c5c5;

    --font: 'Corbel', sans-serif;
    --heading-font: 'Constantine', sans-serif;
    --font-size: 14px;

    --margin: 10px;
    --padding: 10px;
    --border: 2px solid #ffffff;
    --sidebar-width: 120px;
}

#statuscafe {
    margin: 20px;
    padding: 0.5em;
    color: #ffffff;
    background-color: #00000000;
    border: 2px solid #ffffff;
}
#statuscafe-username {
    margin-bottom: .5em;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}

#statuscafe a:link { color: #ffffff; }
#statuscafe a:visited { color: #ffffff; }
#statuscafe a:hover { color: #ffffff; }
#statuscafe a:active { color: #ffffff; }

body {
    min-height: 100vh;
    background-image: url("/img/zomboidbg.png");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-color);
    font-size: var(--font-size);
    font-family: var(--font);
    margin: var(--margin);
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

.content {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.open {
    background: var(--content-background-color);
    border: var(--border);
    padding: var(--padding);
    margin: 6em;
    width: 68vw;
    height: 73vh;
    margin-bottom: 12em;
}

.inner {
    display: flex;
    flex-direction: row;
    background: var(--content-background-color);
    border: 1px solid #ffffff;
    min-width: 100%;
    min-height: 65.5vh;
    max-height: 60vh;
}

::selection {
    background-color: transparent;
    color: #ff6600;
}

::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: underline;
}

a:visited {
    color: var(--link-color-hover);
}

a,
a:hover,
a:focus {
    color: var(--link-color);
    text-decoration: none;
}

nav {
    margin-left: 4em;
    margin-bottom: 5em;
    font-size: 1.5em;
    line-height: 1em;
}

nav ul {
    margin: 0px;
    padding: 0;
    list-style: none;
    user-select: none;
}

nav ul li {
    margin-bottom: 0.5em;
}

nav > ul li > a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin-bottom: 0.5em;
    line-height: 1.3em;
    padding-left: 0.7em;
}

ul a {
    text-decoration: underline;
}

main hr {
    margin: 0;
}

main h1,
main h2,
main h3,
main h4,
main h5 {
    text-align: center;
    margin-top: 0em;
    margin-bottom: 0.2em;
}

main h6 {
    font-size: 16px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

iframe {
    overflow-y: scroll;
    border: none;
    height: 63vh;
    width: 42vw;
}

iframe::-webkit-scrollbar {
  display: none;
}


/* menu */
aside {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    background: var(--sidebar-background-color);
    color: var(--sidebar-text-color);
    border: #00000000;
    margin: var(--margin);
}

.test {
    position: fixed;
    top: 25%;
    left: 25%;
    background-color: #000000;
    color: #ff0000;
    border: 1px solid #ffffff;
    padding: 20px;
    font-size: 20px;
}

.menu {
    display: flex;
    align-items: flex-end;
    font-family: 'Corbel', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1em;
}

.columns {
    display: flex;
    margin: 1em;
    flex-direction: row;
    justify-content: center;
}

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

.half {
    display: flex;
    width: 45%;
    height: auto;
    flex-direction: column;
}

.third {
    display: block;
    width: 31%;
    height: 400px;
    padding: 1.3em;
    overflow-y: scroll;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

.button {
    width: 88px;
    height: 31px;
    padding: 2px;
}

.blinkie {
    padding: 2px;
}

.abtmenu {
    width: 20vw;
    height: 59vh;
    overflow-y: scroll;
    padding: 20px;
    scrollbar-width: none;
}

.abtcontent {
    border: 1px solid #ffffff;
    margin: 1em;
    width: 45vw;
    overflow-y: auto;
    overflow-x: hidden;
}

.aboutContent {
    display: none;
    background: #00000000;
    padding: 1em;
    color: #ffffff;
    overflow-y: hidden;
    overflow-x: hidden;
    min-height: 59vh;
    scrollbar-color: transparent transparent;
}

.recs {
  background: none;
  border: solid 1px #ffffff;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  height: 130px;
  display: inline-block;
  width: 97%;
  padding:  0 0 0 15px;
  scrollbar-color: transparent transparent;
}

.rec {
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  width: auto;
  height: 90px;
  transition: transform 0.5s;
  margin: 5px;
}

.rec:hover {
  transform: scale(1.2);
}

.recinfo {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  height:350px;
  overflow-y: scroll;
  scrollbar-color: transparent transparent;
}

.artContent {
    display: none;
    background: #00000000;
    padding: 1em;
    color: #ffffff;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 59vh;
    scrollbar-color: transparent transparent;
}

.sample {
  display: inline-block;
  vertical-align: top;
  width: 98%;
  margin: 5px 5px 0px;
  background: rgba(63, 63, 63, 0.6);
  color: #ffffff;
  border: 1px solid #ffffff;
  text-align: left;
}

.example {
  width: 30%;
  height: auto;
  margin: 2px 40px 2px 2px;
  float: left;
}

.title {
  width: 90%;
  background: rgba(63, 63, 63, 0.6);
  color: #ffffff;
  text-transform: uppercase;
  border: 1px solid #ffffff;
  text-align: center;
  margin: 1em;
}

.folio {
  width: 100%;
  height: auto;
  margin: -1px;
}

.blogmenu {
    border-right: 1px solid #ffffff;
    width: 24vw;
    min-height: 100%;
    overflow-y: auto;
}

.blogentry {
    border-bottom: 1px solid #ffffff;
    min-width: fit-content;
    padding: 10px;
}

.blogtext {
    width: 20vw;
    margin: 2px;
}

.blogContent {
    display: none;
    background: #000000;
    padding: 1em;
    color: #ffffff;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 63vh;
    min-width: 39vw;
    scrollbar-color: transparent transparent;
}

.blogframe {
    width: 40vw;
    height: 62vh;
}

.ctabs {
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: none;
    width: 100%;
    background-color: transparent;
    margin-bottom: -0.8em;
    padding: 1em;
}

.ctabs button {
    color: #ffffff;
    background-color: #000000;
    float: left;
    border: 1px solid #ffffff;
    outline: none;
    padding: 8px;
    margin: 3px;
    margin-bottom: -1px;
}
.ctabs button:hover {
    background-color: #1f1f1f
}
.ctabs button.active {
    background-color: #c25d4baf;
}

.connectionsPage {
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: var(--padding);
    margin: 6em;
    width: 66vw;
    height: 70vh;
    margin-bottom: 12em;
    margin-top: 2em;
}

.floatStack {
    display: flex;
    flex-direction: column;
    height: 90%;
}

.connectContainer {
    align-self: flex-start;
    background: var(--content-background-color);
    border: var(--border);
    width: 40vw;
    height: 70vh;
    overflow-y: scroll;
    margin-bottom: -5.5em;
    scrollbar-color: transparent transparent;
}

.ConContent {
    display: none;
    background: #00000000;
    padding: 1em;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 96%;
    scrollbar-color: transparent transparent;
}

.connectSidebar {
    background: var(--content-background-color);
    border: var(--border);
    width: 23vw;
    height: 64.5vh;
    margin-top: 3.4em;
    margin-bottom: 4em;
    margin-left: 2em;
    padding: 5px;
}

.ConnectInner {
    background: var(--content-background-color);
    border: 1px solid #ffffff;
    width: 98%;
    height: 98%;
    margin: 5px;
}

.sideHeader {
    object-fit: cover;
    width: 99%;
    height: 100px;
    padding: 0px;
    margin-bottom: 0;
}

.sideIcon {
    position: relative;
    margin-top: -2em;
    margin-left: 0.5em;
    border-radius: 50%;
    border: 5px solid #683028;
    width: 95px;
    height: auto;
}

.sideInfo {
    background-color: #683028;
    height: 20vh;
    width: 100%;
    color: #e9aa77;
    margin-top: 0;
    display: block;
}

.buttonContainer {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.linkback {
    margin-top: -5.5em;
    margin-right: 1em;
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
}

.linktext {
    margin-top: -5.5em;
    margin-right: 1em;
    display: flex;
    flex-direction: row-reverse;
    text-align: right;
}

.sideText {
    margin: 1em;
}

.ring {
    margin-top: 0.2em;
    padding: 1em;
    background-color: rgba(63, 63, 63, 0.6);
    width: 100%;
}

.ringinfo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.2em 1em 0.2em 1em;
    margin: 0.2em 0 0.2em 2em;
    background-color: rgba(63, 63, 63, 0.6);
    width: 100%;
}

.holding {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 0.2em;
    width: 13em;
}

.buttons {
    justify-self: left;
}


.footer {
    display: block;
    position: fixed;
    bottom: 2em;
    right: 10em;
    margin: 1em;
}

.footText {
    display: block;
    position: relative;
    text-align: right;
    font-size: 14px;
}

/* images...? */

img {
    margin: 2px;
}

.mini {
    height: 25px;
    width: auto;
    margin: 2px;
}

.floatright {
    display: flex;
    float: right;
    margin: 0.3em;
    width: 32%;
    height: auto;
}

.floatleft {
    display: flex;
    float: left;
    margin: 0.3em;
    width: 20%;
    height: auto;
}

.blinkiestack {
    display: flex;
    flex-direction: column;
    float: left;
    margin: 0.3em;
    width: 25%;
    height: auto;
}

.rainbowtext {
  margin-top: 0px;
  margin-bottom: 10px;
  font-family: sans-serif;
  font-size: var(--font-size);
  background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}


/* this feels important. taken from petrapixel's base code */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* mobile responsive, hopefully */

@media (max-width: 1500px) {
    body {
        font-size: 14px;
        overflow-y: auto;
    }

    .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-content: center;
    }

    .open {
        height: 90vh;
        width: 85vw;
        align-content: center;
        margin: 1em;
        padding-bottom: 1em;
    }
    
    .inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding-bottom: -5px;
    }

    aside {
        margin-bottom: 0.1em;
    }

    
    .menu {
        margin-bottom: 0.1em;
        margin-right: 0.1em;
    }

    .abtmenu {
        width: 90%;
    }

    .abtcontent {
        height: 70vh;
        width: 95%;
        padding: 0px;
    }

    .blogmenu {
        display: block;
        width: 100%;
        height: 200px;
        border-bottom: 1px solid #ffffff;
    }

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

    .connectContainer {
        width: 100%;
        height: 100vh;
    }

    .connectSidebar {
        margin: 10em -0.5em;
        display: block;
        width: 100%;
        height: 30
    }
    
    .sideIcon {
        width: 15%;
        height: auto;
        margin: 0 0 -10px 10px;
    }

    .footer {
        display: block;
        position: relative;
        left: 1em;
        bottom: -25em;
    }
}