@font-face {
    font-family: 'SansationBold';
    src: url('misc/SansationBold.woff') format('woff');
}

html, body {
    background-color: #000000;
    color: #00ff00;
    font-family: 'SansationBold', Terminal, monospace;
    background-image: url('misc/bkg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    background-attachment: fixed;
}

:root {
	color-scheme: dark light;
}

a:link,
a:visited {
    color: #00ff00;
    text-decoration: underline;
	transition:.3s;
}

a:hover,
a:focus {
    color: orange;
    text-decoration: underline;
}

a:active {
    color: grey;
    text-decoration: none;
}

.content {
	font-size: 22px;
	text-shadow:
	0 0 2px rgba(0, 255, 0, 0.6),
    0 0 4px rgba(0, 255, 0, 0.4);
	margin-top: 5%;
	margin-left: 10%;
	margin-right: 10%;
	margin-bottom: 10%;
	position: relative;
	z-index: 1;
}

header {
	font-size: 30px;
}

h2 {
	font-size: 26px;
}

h3 {
	font-size: 16px;
}

footer {
	font-size: 10px;
}

input { 
	font-size:16px; color:#00ff00; background-color:transparent;
	text-shadow:none; box-sizing:border-box;
	border:3px solid #FFFFFF; border-radius:6px;
}

.button {
	font-size:24px; color:#00ff00; background-color:transparent;
	text-shadow:none; box-sizing:border-box; box-shadow:0px 0px 30px 0px #00ff00;
	border:3px solid #FFFFFF; border-radius:6px;
}

#chatnick { 
	border:3px solid #FFFFFF; box-shadow:0px 0px 12px 0px #00ff00; padding: 4px; 
	width: 10vw; min-width: 60px; text-shadow:none;
}

#chatmsg { 
	border:3px solid #FFFFFF; box-shadow:0px 0px 12px 0px #00ff00; padding: 4px;
	width:55vw; text-shadow:none; 
}

.chatlog { font-size:18px; cursor:default;}

textarea {
	background-color:transparent;
	width:80vw; min-width:250px; height:60vh;
	overflow-x:hidden; resize:none; padding-left:20px;
	padding-right:20px; box-sizing:border-box;
	border:3px solid #FFFFFF; border-radius:12px;
	box-shadow:0px 0px 30px 0px #00ff00;
	font-size:16px; color:#00ff00; cursor:default;
	/* text-shadow: 0 0 2px rgba(0, 255, 0, 0.6), 0 0 5px rgba(0, 255, 0, 0.4); */
	text-shadow: none;
	font-family: Terminal, sans-serif;
}
	
.centered {
	text-align: center;
	position: relative;
	z-index: 1;
    width: 80vw;
    margin: 0 auto;
}

/* list area in shared folder index.php */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    padding: 6px 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

li a {
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
}

li a:hover {
    text-decoration: underline;
}

/* for videos page  */
.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	width: 100%;
	max-width: none;
	font-size: 14px;
}

.video-item video {
	width: 100%;
	max-height: 180px;
	background: black;
	border-radius: 6px;
}

.video-item a {
	display: inline-block;
	margin-top: 8px;
	text-decoration: none;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal !important;
      
}
/* end of videos page css  */

/* VIDEO BACKGROUND */
.bgvideo {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

/* BEZEL ON TOP OF EVERYTHING */
.bezel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/*  "Home" or "Back" links upper left screen  */
.stuck {
    position: fixed;
    top: 0;
    left: 0;
    padding: 8px;
    z-index: 11;
	font-size: 16px;
}

/* context menu in Members' Area, on right-click files */
#contextMenu {
    display: none;
    position: fixed;
	padding: 4px;
    z-index: 9999;
    background: #303234;
	border:2px solid #FFFFFF;
	border-radius:12px;
	box-shadow:0px 0px 30px 0px #00ff00;
    min-width: 200px;
    overflow: hidden;
}

#contextMenu div {
    color: #00ff00;
	font: inherit;
	cursor: pointer;
    padding: 6px 12px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

#contextMenu div:hover {
    background: #00ff00;
    color: #000;
	transition: background-color .3s, color .3s;
}

/* right-click properties menu */
#propertiesAlert {
	display: none;
    position: fixed;
	top: 20%;
    left: 50%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    width: 500px;
	transform: translateX(-50%);
	padding: 4px;
    z-index: 9999;
    background: #303234;
	border:2px solid #FFFFFF;
	border-radius:12px;
	box-shadow:0px 0px 30px 0px #00ff00;
    min-width: 200px;
	min-height:80px;
	max-width: 70vw;
    max-height: 70vh;
	overflow-y: auto;
    overflow-wrap: anywhere;
	box-sizing: border-box;
}

/* emojis */
.emoji {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    font-size: 1.25em;
    margin: 0 2px;
    position: relative;
    z-index: 2;
    transition: transform .14s ease;
}

.emoji:hover {
    transform: scale(1.2);
}

.emoji:active {
    transform: scale(0.9);
}

#emojiPanel {
    display: none;
}

#emojiPanel.open {
    opacity: 1;
    pointer-events: auto;
}

.emojiToggle {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    font-size: 1.8em;
    line-height: 0.8;
    margin-left: 20px;
    position: relative;
    z-index: 3;
    color: #00ff00;
    transition: transform .14s ease, color .14s ease;
}

.emojiToggle:hover {
    transform: scale(1.3);
    color: orange;
}