/*
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;
}

.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;
}

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 15s linear infinite;
}

.marquee-header {
    max-width: 900px;
    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);}
}

.grid-ish {
    display: flex;
    flex-wrap: wrap;
}

.grid-ish > * {
    flex: 1 1 10em;
}

.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;
}

@media only screen and (min-width: 768px) {
    /* Styles for medium and large screens */
    .main {
        max-width: 900px;
        margin: 0 auto auto;
    }
    .aside {
        max-width: 234px;
        display: block;
        margin-right: 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;
    }
}