.win95-btn {
	/* Classic 90s OS interface colors */
	background-color: #c0c0c0; /* Standard retro grey */
	color: #000000;

	/* Typography & Layout */
	font-family: 'W95FA', sans-serif;
	font-size: 14px;
	padding: 4px 12px;
	cursor: pointer;

	/* Crucial 90s constraints: perfectly sharp corners, no rounding */
	border-radius: 0; 

	/* The Fake 3D Emboss: Bright top/left, Dark bottom/right */
	box-shadow: 
	    /* 1. Pure white on top & left (1px wide) */
	    inset 3px 3px 0 0 #ffffff, 
	    /* 2. Pitch black on bottom & right (1px wide) */
	    inset -3px -3px 0 0 #000000,
	    /* 3. The light grey surface buffer (nested 2px in, top/left) */
	    inset 3px 3px 0 0 #dfdfdf,
	    /* 4. The dark grey shadow (nested 2px in, bottom/right) */
	    inset -3px -3px 0 0 #808080;

	/* Optional: Standard Windows 95 thin black outer edge */
	outline: 1px solid #000000;
	outline-offset: -1px; 
	}

	/* The 90s Click Effect: Inverting the borders makes it look pressed down */
	.win95-btn:active {
	/* Flip the border colors: Dark top/left, Bright bottom/right */
	border-top: 2px solid #808080;
	border-left: 2px solid #808080;
	border-bottom: 2px solid #ffffff;
	border-right: 2px solid #ffffff;

	/* Authentic retro detail: Text physically nudges down and right by 1px when pressed */
	padding: 5px 11px 3px 13px; 
	}

	/* Fix focus outline for that true internet explorer look */
	.win95-btn:focus {
	outline: 1px dotted #000000;
	outline-offset: -4px;
	}
	}
	}
}
*, *::before, *::after {
  box-sizing: border-box;
}


html, body {
    width:100%;
    height:100%;
    margin:0;
    padding:0;
}

.main-grid{
	display: grid; 
	grid-template-columns: 1fr 3fr;  
	grid-gap: 10px; 
	width: 100%;
}

.head-webring{
	position: relative;
	top:0px;
	font-family: 'W95FA', sans-serif;
	box-sizing: border-box;
	width:100%;
	height:11%;
	color: white;
	padding-left:3px;
	background-color: #020082;
}

.base-webring{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding:3px;
	gap: 10px;
	background:#c0c0c0;
	background-color: #c0c0c0;

	box-shadow: 
		    /* 1. Pure white on top & left (1px wide) */
		    inset 3px 3px 0 0 #ffffff, 
		    /* 2. Pitch black on bottom & right (1px wide) */
		    inset -3px -3px 0 0 #000000,
		    /* 3. The light grey surface buffer (nested 2px in, top/left) */
		    inset 3px 3px 0 0 #dfdfdf,
		    /* 4. The dark grey shadow (nested 2px in, bottom/right) */
		    inset -3px -3px 0 0 #808080;
	outline: 1px solid #000000;
	outline-offset: -1px;
	margin-bottom: 50px;
	flex-shrink: 0;
	min-width: max-content;
	max-width: max-content; 
}

.webring-buts{
	font-family: 'W95FA', sans-serif;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	gap: 20px;
	margin-bottom: 5px;
	width:100%;
}

.webring-inter{
	border-style: inset; 
	padding: 3px 10px; 
	width:fit-content; 
	height:fit-content;
	
}

body{
	background:url('ss175.gif');
	image-rendering: crisp-edges;
	color:white;
}

.anton {
  font-family: "Anton", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.rainbow{
		@extend .anton
		font-style: italic;
		animation: rainbow 2.5s linear;
		animation-iteration-count: infinite;
}

@keyframes rainbow{
		100%,0%{
			color: rgb(255,0,0);
		}
		8%{
			color: rgb(255,127,0);
		}
		16%{
			color: rgb(255,255,0);
		}
		25%{
			color: rgb(127,255,0);
		}
		33%{
			color: rgb(0,255,0);
		}
		41%{
			color: rgb(0,255,127);
		}
		50%{
			color: rgb(0,255,255);
		}
		58%{
			color: rgb(0,127,255);
		}
		66%{
			color: rgb(0,0,255);
		}
		75%{
			color: rgb(127,0,255);
		}
		83%{
			color: rgb(255,0,255);
		}
		91%{
			color: rgb(255,0,127);
		}
}


.general-inter{
	border-radius: 10px; 
	border: double 5px red; 
	background:rgba(0,0,0,0.5);
	padding: 10px 10px; 
	padding: 20px;
	box-sizing: border-box;
	width: auto;
	height: auto;
	grid-column: span 1;
	justify-content: center;
	align-items: center;
	
}

.director-w{
	padding:30px;	
}

.director {
	height: 10%;
	display: flex;
	flex-direction:column;
	align-items: center; 
	gap: 50px;
	max-width:100%;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.vl {
  border-left: 6px solid white;
  height: 100px;
}

button {
	transition: color .2s ease-in;
	background: transparent;
	border: none;
	margin: 0;
	padding: 0;
	color: white;
}

button:hover{
	color: #939597;
}

.button-2 {
	transition: color .2s ease-in, border .2s ease-in;
	background: transparent;
	border: dashed 4px red;
	margin: 0;
	padding: 0px 10px;
	color: red;
}

.button-2:hover{
	color: #939597;
	border: solid 4px red;
}

.shadow-dance-text {
    text-shadow: 5px 5px 0 #ff005e, 10px 10px 0 #00d4ff;
    animation: shadow-dance 2s infinite;
}

@keyframes shadow-dance {
    0%, 100% {
        text-shadow: 5px 5px 0 #ff005e, 10px 10px 0 #00d4ff;
    }
    50% {
        text-shadow: -5px -5px 0 #00d4ff, -10px -10px 0 #ff005e;
    }
}

.webring-grid{
	display: grid; 
	grid-template-columns: auto auto auto;  
	box-sizing: border-box;  
	grid-auto-flow: dense; 
	grid-gap: 10px; 
}

.nav{
	display:block;
	width:100%;
	
}

.nav.show{
	display:none;
}


.forumbar
{
	width:100%;
	display: flex;
	align-items: center; 
	gap: 15px;
}

.row
{
	display: grid;
	width: 75%;
	margin: auto;
	
	margin-bottom: 150px;
}

input
{
	font-size: 15px;
	padding: 5px;
	border: none;
}

.burger{
	transition: opacity .2s ease-in;
	opacity:1 !important;
	filter: invert();
	height:50px;
}

.burger:hover{
	opacity:0.5 !important;
}

.secret{
	transition: color .2s ease-in;
	background: transparent;
	border: none !important;
	margin: 0;
	padding: 0;
	color: rgba(255,255,255,0) !important;
}

.secret:hover{
	color: rgba(255,255,255,255) !important;
}

.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.backrooms-background{
margin: 0;
  padding: 0;
  min-height: 100vh;
	background-image: url('backrooms.webp');
	background-position: center;
	background-repeat: no-repeat;
	image-rendering: crisp-edges; 
	background-attachment: fixed;
	background-size: cover;
}

.page-container{
	display:grid;
		
	grid-template-columns: repeat(3, 1fr);
	grid-auto-flow: dense;
	grid-template-rows: repeat(auto-fill, minmax(max-content, auto));
	gap: 20px;
	padding: 20px;
	  justify-items: center; 
  align-items: center; 
}

.grid-container{
	width: 100%;
	 height: auto;
	 display: block;
	 justify-items: center;
	 align-items: center;
}

.gif{
	
	image-rendering: crisp-edges;
}
.container {
  display: grid; /* Enables CSS Grid */
  place-items: center; /* Centers both horizontally and vertically */
  height: 100vh; /* Full height to demonstrate vertical centering */
}

/* wiggle stuff */

.animated { 
    -webkit-animation-duration: 1s; 
    animation-duration: 1s; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both; 
} 

@-webkit-keyframes wiggle { 
    0% { -webkit-transform: skewX(9deg); } 
    10% { -webkit-transform: skewX(-8deg); } 
    20% { -webkit-transform: skewX(7deg); } 
    30% { -webkit-transform: skewX(-6deg); } 
    40% { -webkit-transform: skewX(5deg); } 
    50% { -webkit-transform: skewX(-4deg); } 
    60% { -webkit-transform: skewX(3deg); } 
    70% { -webkit-transform: skewX(-2deg); } 
    80% { -webkit-transform: skewX(1deg); } 
    90% { -webkit-transform: skewX(0deg); } 
    100% { -webkit-transform: skewX(0deg); } 
} 
@keyframes wiggle { 
    0% { transform: skewX(9deg); } 
    10% { transform: skewX(-8deg); } 
    20% { transform: skewX(7deg); } 
    30% { transform: skewX(-6deg); } 
    40% { transform: skewX(5deg); } 
    50% { transform: skewX(-4deg); } 
    60% { transform: skewX(3deg); } 
    70% { transform: skewX(-2deg); } 
    80% { transform: skewX(1deg); } 
    90% { transform: skewX(0deg); } 
    100% { transform: skewX(0deg); } 
} 
.wiggle { 
    -webkit-animation-name: wiggle; 
    animation-name: wiggle; 
    -webkit-animation-timing-function: ease-in; 
    animation-timing-function: ease-in; 
} 
.animated.wiggle, .animated.wobble { 
    -webkit-animation-duration: 0.75s; 
    animation-duration: 0.75s; 
}


/*******************************************/

@-webkit-keyframes wobble { 
    0% { -webkit-transform: skewX(9deg); } 
    10% { -webkit-transform: skewX(-8deg); } 
    20% { -webkit-transform: skewX(7deg); } 
    30% { -webkit-transform: skewX(-6deg); } 
    40% { -webkit-transform: skewX(5deg); } 
    50% { -webkit-transform: skewX(-4deg); } 
    60% { -webkit-transform: skewX(3deg); } 
    70% { -webkit-transform: skewX(-2deg); } 
    80% { -webkit-transform: skewX(1deg); } 
    90% { -webkit-transform: skewX(0deg); } 
    100% { -webkit-transform: skewX(0deg); } 
} 
@keyframes wobble { 
    0% { transform: skewX(-9deg); } 
    10% { transform: skewX(8deg); } 
    20% { transform: skewX(-7deg); } 
    30% { transform: skewX(6deg); } 
    40% { transform: skewX(-5deg); } 
    50% { transform: skewX(4deg); } 
    60% { transform: skewX(-3deg); } 
    70% { transform: skewX(2deg); } 
    80% { transform: skewX(-1deg); } 
    90% { transform: skewX(0deg); } 
} 

.wobble { 
    -webkit-animation-name: wobble; 
    animation-name: wobble; 
    -webkit-animation-timing-function: ease-in; 
    animation-timing-function: ease-in; 
} 

.submitter{
	transition: color .2s ease-in;
	font-size:20px; 
	background:white; 
	color: black;
	padding:10px;
	padding-left:15px;
	padding-right:15px;
}

.submitter:hover{
	color: #939597
}

.big-hold{
	
}

#username{
	width:50px;
}

#messages{
	height:400px; 
	overflow-y: scroll; 
	border: 5px solid #000; 
	padding: 10px; 
	width:100%;
}

.f-contain{
	width: 100%; 
	border: 5px solid #000;
	background: black;
	padding: 10px;
	display: flex;
}

/* mobile */
@media only screen and (max-width: 991px)  {
	.page-container{
		grid-template-columns: repeat(2, 1fr); 
		box-sizing: border-box;
		grid-auto-flow: row;
		min-width: 0;
		width: 100%;
	}

	body{
		max-width:100%;
	}

	.big-hold{
		flex-direction: column;
	}

	.anton{
		font-size: 45px;
	}

	.roboto{
		font-size: 40px;
	}

	.director{
		font-size: 20px;
	}

	.win95-btn:not(#btn-immune){
		font-size: 28px;
	}

	button:not(#btn-immune){
		font-size: 30px;
	}

	img:not(#img-immune) {
		min-width: 50%;
		height: auto;
	}

	#img-immune{
		min-width:none;
	}

	#logo{
		font-size: 30px;
	}

	#copyright{
		font-size: 30px;
		margin-top:100px;
	}

	.row{
		width:100%;
		margin-bottom: 500px;
		
	}

	.trigger-cont{
		height: 100px;
		display:flex;
	}

	#messages{
		height: 1500px;
		border: 20px solid #000; 
	}

	#send_message{
		font-size: 50px;
		
	}

	#username{
		font-size: 45px;
		width: 200px;
		height: 100px;
	}
	
	#my_message{
		font-size: 45px;
		width: 400px;
		height: 100px;
	}

	.forumbar{
		font-size: 100px;
	}

	.f-contain{
		padding: 30px;
		
	}

	.webring-grid{
		grid-template-columns: auto; 
	}

	.main-grid{
		grid-template-columns: minmax(0, 1fr); 
		box-sizing: border-box;
	}

	.nav{
		display:none;
	}
	
	.nav.show{
		display:block;
	}

	.grid-container{
		grid-row: auto !important;
	}

	#mobile-spanfix{
		grid-column: span 2 !important;
	}
}
