@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Regular.otf') format('opentype');
}
@font-face {
    font-family: 'ShareTechMono';
    src: url('../fonts/ShareTechMono-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'SpecialElite-Regular';
    src: url('../fonts/SpecialElite-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Sixtyfour';
    src: url('../fonts/sixtyfour.ttf') format('truetype');
}
@font-face {
    font-family: 'Atkinson-Hyperlegible';
    src: url('../fonts/Atkinson-Hyperlegible-Regular.ttf') format('truetype');
}

html{height: 100%;}
*{
    cursor: url('../images/cursors/default.cur'), default;
}
body {
    background-color: black;
    color: white;
    font-family: 'SpecialElite-Regular', sans-serif;
    font-size: 1.3em;
    margin: 0;
    padding: 0 0 1% 0;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 2%;
    height: 90%;
    width: 80%;
    overflow: hidden;
    border: 2px solid #9e9e9e;
}
@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

.stars, .twinkling {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.gb_entry_header{
  color: #1e1e1e;
}
.gb_entry_text {
  color: #fff;
}

.stars {
  background:#000 url(/images/background/stars.webp) repeat top center;
  z-index:-50;
}

.twinkling{
  background:transparent url(/images/background/twinkling.webp) repeat top center;
  z-index:-40;

  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}
.content{
    width: 100%;
    height: 100%;
    border: none;
    overflow: scroll;
}
.content img {
    width: 30%;
}
.projecttable th{
    width: 20%;
    text-align: left;
    border: 2px solid #9e9e9e;
}
.projecttable td{
    width: 20%;
    text-align: left;
    border: 2px solid #9e9e9e;
}
.projecttable img {
    width: 50%;
    height: auto;
}
a {
    cursor: url('../images/cursors/pointer.cur'), pointer;
    color: #b9b9b9;
}
summary {
    cursor: url('../images/cursors/pointer.cur'), pointer;
    color: #b9b9b9;
    text-decoration-line: underline;
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #9e9e9e;
    height: 10%;
}
.title {
    display: flex;
    text-align: center;
    align-items: center;
}
.title h1 {
    display: flex;
    align-items: center;
}
.title h1 img {
    height: 2em;
    width: auto;
}
main {
    display: flex;
    justify-content: center;
    height: 85%;
}
.left {
    width: 10%;
    height: 100%;
    float: left;
    border-right: 2px solid #9e9e9e;
}
.align-helper {
    float: left;
    height:50%;
    width: 100%;
    position: relative;
}
.bottom-align {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
.webring-container {
    height: auto;
}
.webring-container img {
    width: 100%;
    height: auto;
}
.webring-container-alt {
    display: none;
}
.socialsmenu {
    display: none;
}
#navscale {
    height: 50%;
}
#content-buttons {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    text-align: center;
}
#content-buttons li {
    position: relative;
    width: 100%;
    border-bottom: 2px solid #9e9e9e;
    height: 2em;
    vertical-align: text-bottom;
}
#content-buttons li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none; /* Optional: removes underline from links */
    color: inherit; /* Optional: makes sure the link takes the color of the li */
    padding: 10px; /* Optional: adjust padding for better clickable area */
    box-sizing: border-box; /* Optional: ensures padding is included in the element's total width and height */
}
#font-selector {
    width: 100%;
    text-align: center;
    color: #fff; /* Change font color */
    background-color: #00000000; /* Change background color */
    padding: 10px; /* Add padding */
    border: 0px; /* Add border */
    border-top: 2px solid #9e9e9e; 
    border-bottom: 2px solid #9e9e9e; 
    border-radius: 0px; /* Add border radius */
}
#volumeControl {
    width: 40%;
    margin-left: 6%;
}
#playPauseBtn, #skipBtn {
    height: 40px;
    width: 40px;
    border-radius: 0%;
    color: #fff;
    background-color: #000;
    border: 2px solid #9e9e9e; 
}
#font-selector option {
    color: #fff; /* Change font color */
    background-color: #000; /* Change background color */
}
.center {
    width: 80%;
    float: left;
    padding: 20px;
}
#subscribeForm input, #subscribeForm textarea{
    width: 100%;
    border-radius: 0%;
    border: 2px solid #9e9e9e;
    background-color: #000;
    color: #fff;
    margin: .25%;
    margin-left: 0%;
}
#subscribeForm input {
    height: 2em;
}
#subscribeForm input:last-child {
    margin-left: .25%;
}
#subscribeForm textarea{
    height: 500px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gallery img {
    width: 150px;
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
}
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}
.right {
    width: 10%;
    float: left;
    border-left: 2px solid #9e9e9e;
    overflow: scroll;
}
.last_played {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #9e9e9e;
}
.last_played img {
    width: 80%;
    height: auto;
    border: 2px solid #9e9e9e;
    /* center align */
    margin-left: auto;
    margin-right: auto;

}
.status img {
    width: 100%;
    height: auto;
}
.status {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #9e9e9e;
}
.socials {
    width: 100%;
    text-align: center;
}
.socials img {
    height: 1em;
    width: auto;
}

footer {
    display: flex;
    align-items: end;
    justify-content: center;
    border-top: 2px solid #9e9e9e;
}
.visitor {
    float: left;
    width: 22em;
    margin-left: 1%;
    text-align: left;
}
.visitor img {
    max-width: 8%;
    height: auto;
}
.banners {
    float: right;
    width: 79%;
    margin-right: 1%;
    text-align: right;
}
.star {
    transform-style: preserve-3d;
    width: 1px;
    height: 1px;
    position: absolute;
    color: red;
}
.star:before {
position: absolute;
content: '\2726';
color: inherit;
inset: 0;
text-shadow: 0 0 .8em #fff5;
}
  
#bg {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: -1;
    width: auto;
    height: 25%;
    filter: brightness(80%);
}
/* changes when the window is less than 1000 wide */
@media screen and (max-width: 2370px) {
    body {
        font-size: .9em;
    }
}

@media screen and (max-width: 1770px) {
    .left {
        width: 15%;
    }
    .right {
        width: 15%;
    }
}

@media screen and (max-width: 1550px) {
    .left {
        width: 15%;
    }
    .right {
        width: 15%;
    }
}

@media screen and (max-width: 1300px) {
    .left {
        width: 20%;
    }
    .right {
        width: 20%;
    }
    body {
    padding: 0 0 4% 0;
    }
}

@media screen and (max-width: 1050px) {
    .left {
        width: 25%;
    }
    .right {
        width: 25%;
    }
    main {
        height: 80%;
    }

}
@media screen and (max-height: 850px) {
    body {
        height: 95%;
    }
    main {
        height: 80%;
    }
}
@media screen and (max-height: 790px) {
    body {
        height: 100%;
        width: 100%;
        margin: 0;
        border: 0;
    }
    main {
        height: 80%;
    }
}

@media screen and (max-height: 650px) {
    .webring-container {
        display: none;
    }
    .webring-container-alt {
        height: auto;
        display: inline;
    }

}

@media screen and (max-width: 800px) {
    header {
        display: block;
        border-bottom: none;
    }
    .left {
        width: 100%;
        height: 50%;
        border: none;
    }
    .webring-container {
        display: none;
    }
    .webring-container-alt {
        height: auto;
        display: inline;
    }
    #font-selector {
        border-top: none;
    }
    #volumeControl {
        width: 70%;
    }
    .center {
        width: 100%;
        height: 100%;
        border-bottom: 2px solid #9e9e9e;
    }
    .right {
        display: none;
    }
    .socialsmenu {
        display: block;
    }
    main {
        display: block;
        height:auto;
    }
    body {
        overflow: visible;
        overflow-x: hidden;
        height: auto;
        width: 100%;
        margin: 0;
        border: 0;
    }
    .nav h2 {
        display: none;
    }
    footer {
        display: block;
    }
    #oneko {
        display: none;
    }
    .star {
        display: none !important;
    }
    .visitor {
        float: none;
        width: 100%;
        text-align: center;
    }
    .banners {
        float: none;
        width: 100%;
        text-align: center;
    }
    .align-helper {
        float: none;
        height: auto;
        width: auto;
        position: static;
    }
    
    .bottom-align {
        position: static;
        bottom: auto;
        left: auto;
        width: auto;
    }
}

.font-OpenDyslexic {
    font-family: 'OpenDyslexic', sans-serif;
}
.font-ShareTechMono {
    font-family: 'ShareTechMono', sans-serif;
}
.font-SpecialElite-Regular {
    font-family: 'SpecialElite-Regular', sans-serif;
}
.font-Sixtyfour {
    font-family: 'Sixtyfour', sans-serif;
}
.font-Atkinson-Hyperlegible {
    font-family: 'Atkinson-Hyperlegible', sans-serif;
}