/*
Howdy, if you're looking here then you probably want to know how I did something.
If that's the case, DONT ACTUALLY LOOK HERE LOL, I am Not good with CSS.
Instead, check out Kevin Powell on YouTube, he has great CSS and front-end dev videos.
https://www.youtube.com/@KevinPowell
*/

body, html {
    height: 100%;
    margin: 0;
    font-size: 20px;
    color: #e0d9ec;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-weight: 400;
    font-style: normal;
}

p {
    margin: 1em .5em;
}
h2 {
    margin: .2em;
}

hr {
    color: #c7a6ff;
    width: 80%;
}

.atkinson-hyperlegible-regular {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.atkinson-hyperlegible-bold {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.atkinson-hyperlegible-regular-italic {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.atkinson-hyperlegible-bold-italic {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.sixtyfour {
  font-family: "Sixtyfour", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" -20;
}

.workbench {
  font-family: "Workbench", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" -15;
}

.center {
    text-align: center;
    margin: auto;
}

.eighty-container {
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    image-rendering: pixelated;
}

header, footer {
    background-color: #281A42;
}

footer {
    padding: 8px auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main {
    margin-inline: auto;
    width: calc(100% - 2rem);
    margin: auto;
}

.bgimg {
    background-attachment: local;
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
}
.bgimg__1 {
    background-image: url("img/bg1.png");
    min-height: 100%;
}

.bgimg__2 {
    background-image: url("img/stars_purple.png");
    min-height: 100%;
    background-color: black;
}

.bgstars {
    background-attachment: fixed;
    background-repeat: round;
    background-image: url("img/stars.gif");

}

article {
    background-color: #281A42;
    margin: 15px auto;
}

.marquee {
    overflow:hidden;
    position:relative;
    /* border: 1px solid #333; */
    width: 100%;
    white-space: nowrap;
}

.marquee p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 50px;
    text-align: center;
    transform: translate(100%, 0);
    animation: scroll-left 10s linear infinite;
}

.marquee-header {
    max-width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    background-color: black;
    border-style: ridge;
}

#motd {
    font-size: 24px;
    margin: 0;
    padding: 0;
    color: white;
}

.red {
    color: red;
}

.trans_blue {
    color: #5BCEFA;
}

.trans_pink {
    color: #F5A9B8;
}

@keyframes scroll-left {
    0%   { transform: translate(100%, 0);}
    100% { transform: translate(-100%, 0);}
}

.aside {
    display: none;
}

.hide {
    display: none;
}

a:link, a:visited {
    text-decoration: underline;
    color: #c7a6ff;
}
a:hover {
    color: #ff62f2;
}

.spacer {
    height:20px;
}

.mobile-hide {
    display:none;
}

.moon-container {
    position: relative;
    max-width: 230px;
    font-size: 1.6rem;
    -webkit-text-stroke: 2px #281A42;
}
.moon-phase { 
    position: absolute;
    top: -5%;
    bottom: 0;
    left: 10%;
    right: 0;
}
.moon-phase-text-N {
    position: absolute;
    top: 33%;
    bottom: 0;
    left: 45%;
    right: 0;

}
.moon-phase-text-D {
    position: relative;
    color: #7a7bb1;
    top: .25em;
    font-size: 1.5rem;
}
.flip {
    transform: rotate(180deg);
}

.new {
    display: inline;
}

.timestamp {
    font-size: .6rem;
    text-align: right;
    float: right;
}
.large-only {
    display: none;
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
}
.flex-grid > * {
    flex: 1 1 10em;
}
.navbar {
    padding-bottom: 2px;
    padding-top: 2px;
}
.navbar > * {
    text-align: center;
}

@media only screen and (min-width: 768px) {
    /* Styles for medium and large screens */
    .main {
        /*max-width: 900px; */
        margin: 0 auto auto;
    }
    .header, footer {
        max-width: 900px;
        margin: 0 auto auto;
    }
    .content {
        max-width: 900px;
        margin: 0 auto auto;
    }
    .aside {
        max-width: 234px;
        display: block;
    }
    .left-col {
        margin-right: 12px;
    }
    .right-col {
        margin-left: 12px;
    }
    .bgimg {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .bgimg__1 {
        background-image: url("img/bg1.png");
        min-height: 100%;
    }
    .mobile-hide {
        display: block;
    }
    .mobile-only {
        display: none;
    }
    .marquee p {
        animation: scroll-left 8s linear infinite;
    }
    
    .grid-ish {
        display: flex;
        flex-wrap: wrap;
    }
    .grid-ish > * {
        flex: 1 1 10em;
    }
}

@media only screen and (min-width:1440px) {
    /* large screen only */
    .moon-container-desktop {
        position:fixed;
        top: 15px;
        left: 5px;
    }
    /*
    .content {
        max-width: 1000px;
    }
        */
}