@font-face {
    font-family: 'chakrapetch-light';
    src: url('/assets/fonts/chakrapetch-light.woff2') format('woff2'),
        url('/assets/fonts/chakrapetch-light.woff') format('woff');
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}
@font-face {
    font-family: 'jetbrainsmono-medium';
    src: url('/assets/fonts/jetbrainsmono-medium.woff2') format('woff2');
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}
@font-face {
    font-family: 'jetbrainsmono-regular';
    src: url('/assets/fonts/jetbrainsmono-regular.woff2') format('woff2');
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}
@font-face {
    font-family: 'minecraftia';
    src: url('/assets/fonts/minecraftia.woff') format('woff');
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--neutral1);
    outline: 1px solid var(--accent1-light);
}

::-webkit-scrollbar-track {
    background-color: var(--neutral1);
}

body {
    font-family: 'chakrapetch-light';
    font-weight: normal;
    font-style: normal; 
    text-decoration: none;
    margin: 0;
    background-color: #08031A;
    background-size: 612px;
    color: #fceaff;
    background-size: 300px 300px;
    font-weight: var(--text-thickness);
}

input, textarea, button {
    font-family: inherit;
}

/* shows custom pointer cursor */
html * {
    cursor: var(--cursor-pointer-path), auto !important;
}

/* shows custom hand cursor */
a:hover {
    cursor: var(--cursor-hand-path) 5 0, auto !important;
}

* {
    box-sizing: border-box;
}

p {
    font-size: 16px;
}

#container {
    width: 1000px;
    margin: 0px auto 0px auto;
}

a {
    /* for all links on page */
    color: var(--accent1-light);
    font-weight: bold;
    text-decoration: none; /* removes underline */
}

a:hover {
    text-decoration: underline;
}

#end-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#end-portal-canvas {
    width: 100%;
    height: 100%;
}

#header {
    width: 100%;
    background-color: #5e4e8c;
    height: 218px;
    background-image: url('/assets/bannerthin.png');
    background-size: 100%;
    margin: 0;
    box-sizing: border-box;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: var(--neutral1);
    margin-bottom: 75px;
    box-sizing: border-box;
}

#top-space {
    width: 100%;
    height: 0px;
    margin-bottom: 75px;
    box-sizing: border-box;
}

#navbar {
    height: 40px;
    background-color: var(--neutral1);
    width: 100%;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

/* navigation links */
#navbar li a {
    color: var(--accent1-light);
    font-weight: 800;
    text-decoration: none;
}

/* navigation link when a link is hovered over */
#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

table {
    table-layout:fixed;
    width:100%;
}

td {
    vertical-align: top !important;
}

#maintd {
    width: 700px;
    vertical-align: baseline;
    padding: 10px;
    margin: 0;
}

#sidetd {
    width: 300px;
    vertical-align: baseline;
    padding: 10px;
    margin: 0;
}

footer {
    background-color: var(--neutral1);
    /* background color for footer */
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
    /* this centers the footer text */
}

h3 {
    color: var(--accent1-light);

}

h2 {
    color: var(--accent1-light);
    text-align: center;
    font-size: 16px;
    margin: 10px;
    /* font-weight: bold; */
    font-weight: normal;
}

h1 {
    color: var(--accent1-light);
    font-size: 25px;
}

strong {
    /* this styles bold text */
    color: var(--accent1-light);
}

.window-main, .window-side {
    background-color: var(--neutral1);
    margin: 0px 0px 20px 0px;
}

.window-body-main {
    padding: 20px;
}

.window-body-side {
    padding: 10px;
}

.title-bar {
    box-sizing: content-box;
}

.title {
    text-align: center;
}

#maintd .title {
    font-size: 24px;
}

#profile-window {
    line-height: 1.5;
}

#profile-window-body {
    padding: 20px;
}

#profile-window p {
    margin: 8px 0px 8px 8px; 
}

#tylersfoot {
    font-family: 'minecraftia';
    color: var(--accent1-light);
    font-size: 20px;
    vertical-align: bottom;
    display: inline-block;
    margin-left: 1px;
}

.pfp {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 10px;
    margin: 8px 16px 0px 0px;
    float: left;
}

#profile-bullets {
    margin-block-start: 5px;
}

.project-title {
    padding-left: 10px;
    font-size: 20px;
    font-weight: 800;
}

.project-text {
    position: relative;
    padding-left: 30px;
    line-height: 1.3;
}

.project-text::before { 
    /* line on the left of the text */
    content: "";
    position: absolute;
    left: 10px;
    top: 0px;
    bottom: 0px;
    width: 3px;
    background-color: var(--accent1-light);
    border-radius: 2px;
}

.project-not-updating {
    color: #fc6e6e;
}

.project-button-container {
    display: flex;
    justify-content: space-evenly;
}

.project-button {
	width: 200px;
	height: 40px;
	line-height: 30px;
	user-select: none !important;
    background-color: var(--neutral1-light);
    /* margin-right: 6px; */
    /* margin-bottom: 6px; */
    margin: 6px 0px 6px 0px;
    padding: 5px;
    color: var(--text-color1);
    font-size: 14px;
}

.project-button img {
	height: 15px;
	margin: 0 4px 0 0;
	vertical-align: middle;
	position: relative !important;
	bottom: 1px !important;
}

/* #now-playing {
    display: flex;
    flex-direction: column;
    justify-content: center;
} */

.marquee {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee a, .marquee p {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    30% {
        transform: translateX(0%);
    }
    64.99% {
        transform: translateX(-100%);
    }
    65% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0%);
    }
}

#spotify-title {
    font-size: 18px;
    margin-top: 12px;
    margin-bottom: 15px;
}

.album-cover {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
    float: left;
}

.song {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    max-width: 70%;
    margin-left: 8px
}

.song-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.song-info p, .song-info a {
    color: var(--text-color1);
    margin: 2px;
    padding: 0px;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    text-decoration: none;
    font-weight: normal;
}

.song-info a {
    vertical-align: baseline;
}

.song-info a:hover, .song-info a:active {
    text-decoration: underline;
}

.song-name, .song-name a {
    font-size: 16px;
    margin: 0px;
}

.album a {
    font-size: 12px;
    margin: 0px;
}

.artist {
    font-size: 12px;
}

.time-ago {
    text-align: center;
    font-size: 14px;
    margin: 8px;
}

.status-presence {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 15px 0px 15px 0px;
}

.status-presence-intro {
    margin: 0px;
    font-size: 20px;
}

.status-presence-text {
    margin: 0px;
    font-size: 22px;
    font-weight: bold;
}

.status-activity {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0px 0px 15px 0px;
}

.status-activity-type {
    margin: 0px;
    font-size: 18px;
}

.status-activity-name {
    margin: 0px;
    font-size: 19px;
    font-weight: bold;
    color: var(--accent1-light);
}

#clock-title {
    font-size: 18px;
    margin-top: 12px;
    margin-bottom: 2px;
}

.clock-info {
    display: flex;
    justify-content: center;
    align-items: end;
    position: relative;
    height: 48px;
}

.clock-time {
    color: var(--accent1-light);
    font-size: 36px;
    margin: 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
}

/* .clock-ampm {
    font-family: 'jetbrainsmono-regular';

    color: var(--accent1-light);
    font-size: 20px;
    margin: 0px;
    padding-bottom: 4px;
    width: 45px;
    right: 0;
    position: absolute;
    font-weight: 500;
} */

.clock-date {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0px;
    color: var(--accent1-light);
    font-size: 16px;
    font-weight: 500;
}

.cursortrail {
    pointer-events: none;
}

.cursor {
    width: 12px;
    height: 19px;
    background-image: var(--cursor-pointer-path);
    position: absolute;
    z-index: 99;
}

#fps-counter {
    position: fixed;
    bottom: 0;
    left: 0;
    color: var(--accent1-light);
    padding: 5px;
    font-size: 20px;
    font-weight: 600;
}

#settings-title {
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 20px;
}

#settings-inputs {
    margin: 0px 10px 10px 10px;
}

.setting {
    font-size: 16px;
    line-height: 1.6;
    display: grid;
    grid-template-columns: 16px auto;
    gap: 14px;
    align-items: center;
    height: 30px;
}

/* custom checkbox */

input[type="checkbox"] {
    /* checkbox general style (unchecked) */
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
    margin: 0;
    width: 20px;
    height: 20px;
    transform: translateY(-1px);
}

/* custom dropdown menu */

/* chat box */

#chatbox-window {
    /* height: 350px; */
    width: 100%;
    background-color: var(--neutral1-dark);
    border: 2px solid var(--accent1-light);
    border-radius: 10px;
    overflow: hidden; /* hide overflowed content */
    overflow-wrap: break-word;
    position: relative; /* needed for absolute positioning of the bottom bar */
    padding: 0px;
    box-shadow: none;
}

#chatbox-body {
    padding: 0px;
    height: 350px;
    width: 100%;
    overflow: hidden; /* hide overflowed content */
    overflow-wrap: break-word;
    position: relative; /* needed for absolute positioning of the bottom bar */
    padding: 0px;
    box-shadow: none;
}

.chat-messages {
    height: calc(100% - 50px); /* adjust the height to leave space for the bottom bar */
    overflow-y: auto; /* adds a vertical scrollbar when messages overflow */
    padding: 10px; /* padding for messages */
}

.message {
    padding: 0px 2px 0px 2px;
    line-height: 130%;
}

.message-date {
    font-family: 'jetbrainsmono-regular';
    font-size: 11px;
    letter-spacing: -0.5px;
    color: #8897a6;
    width: 55px;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(-0.5px);
}

.message-discord-logo {
	height: 18px;
	margin: 0 4px 0 0;
	vertical-align: middle;
	position: relative !important;
	bottom: 1px !important;
    filter: invert(31%) sepia(11%) saturate(7462%) hue-rotate(215deg) brightness(94%) contrast(95%);
}

.chat-bar {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0px;
    width: 100%;
}

#settings-button, #send-button {
    width: 75px;
    height: 100%;
    /* cursor: pointer; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    background-color: var(--neutral1);
    border: 0px;
    border-top: 2px solid var(--accent1-light);
    color: var(--text-color1);
    transition: background-color ease 100ms, border ease 100ms;
}

#settings-button img, #send-button img {
	height: 28px;
	vertical-align: middle;
	position: relative !important;
	bottom: 1px !important;
    filter: invert(46%) sepia(99%) saturate(1233%) hue-rotate(210deg) brightness(96%) contrast(99%);
}

#chat-settings {
	opacity: 0;
	visibility: hidden;
	width: 256px;
    height: 256px;
	text-align: center;
	/* padding: 5px 0; */
	/* padding: 0.25rem; */
	/* Position the tooltip */
	position: absolute;
	z-index: 1;
	bottom: 50px;
	/* transition: opacity 0.3s, visibility 0.3s; */
    background-color: var(--neutral1);
    padding: 10px;
    border-radius: 10px 10px 10px 0px;
    box-shadow: 0 0 0 1.5px var(--accent1-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#chat-settings-title {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
}

#chat-settings-username-input {
    padding: 16px;
    width: 100%;
    height: 36px;
    /* position: relative; */
    outline: none;
    font-size: 16px;
    background-color: var(--neutral1);
    border: 0px solid var(--accent1-light);
    box-shadow: 0 0 0 1.5px var(--accent1-light);
    border-radius: 5px;
    color: var(--text-color1);
    resize: none;
}

#settings-button:hover, #send-button:hover {
	background-color: var(--neutral1-light);
}

#settings-button:active, #send-button:active {
	position: relative;
	top: 1px;
}

#message-input {
    padding: 16px;
    width: 100%;
    height: 100%;
    position: relative;
    outline: none;
    font-size: 16px;
    background-color: var(--neutral1);
    border: 2px solid var(--accent1-light);
    border-bottom: 0px;
    color: var(--text-color1);
    resize: none;
}

#links-window-body {
    padding: 10px 20px 20px 20px;
}

#links-title {
    font-size: 20px;
    margin: 12px;
}

.navlink {
    font-size: 16px;
    line-height: 1.6;
    display: grid;
    grid-template-columns: 16px auto;
    gap: 4px;
    align-items: center;
}

.navlink-star {
    color: var(--accent1-light);
    font-weight: bold;
    margin-right: 5px;
    margin: 0;
}

.navlink-text {
    color: var(--text-color1);
    font-weight: normal;
    margin: 0;
}

#siteinfo-title {
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 20px;
}

#siteinfo-window-body {
    padding: 5px 10px 10px 25px
}

.mobile-popup-background {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.mobile-popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.mobile-popup-content {
    background-color: var(--neutral1);
    color: var(--text-color1);
    border-radius: 8px;
    box-shadow: 0 0 0 4px var(--accent1-light);
    width: 320px;
    aspect-ratio: 1.7;
    padding: 16px;
    font-size: 16px;
    text-align: center;
    overflow-wrap: break-word;
}

#mobile-popup-text {
    font-size: 20px;
}

#mobile-popup-button {
    background-color: var(--neutral1-light);
    margin: 8px;
    padding: 8px 16px;
    color: var(--text-color1);
    font-size: 16px;
    border: none;
    outline: none;
    border-radius: 4px;
    box-shadow: 0 0 0 2px var(--accent1-light);
}
