/* user styles */

/* styles are what change the color and sizes of stuff on your site. */

/* these are variables that are being used in the code
 * these tended to confuse some people, so I only kept 
 * the images as variables */

:root {
	--header-image: url('https://sadhost.neocities.org/images/layouts/wp.jpeg');
	--body-bg-image: url('./images/dog-tiling.png');

	/* colors */
	--content: #040610;
}

/* if you have the URL of a font, you can set it below */
/* feel free to delete this if it's not your vibe */

/* this seems like a lot for just one font and I would have to agree 
 * but I wanted to include an example of how to include a custom font.
 * If you download a font file you can upload it onto your Neocities
 * and then link it! Many fonts have separate files for each style
 * (bold, italic, etc. T_T) which is why there are so many! */

@font-face {
	font-family: Chewy;
	src: url('./fonts/Chewy-Regular.ttf');
}

@font-face {
	font-family: SourGummy;
	src: url('./fonts/SourGummy-Regular.ttf');
}

@font-face {
	font-family: SourGummy;
	src: url('./fonts/SourGummy-Bold.ttf');
	font-weight: bold;
}

@font-face {
	font-family: SourGummy;
	src: url('./fonts/SourGummy-Italic.ttf');
	font-style: italic;
}

@font-face {
	font-family: SourGummy;
	src: url('./fonts/SourGummy-BoldItalic.ttf');
	font-style: italic;
	font-weight: bold;
}

body {
	font-family: 'SourGummy';
	margin: 0;
	background-color: #08031A;
	/* you can delete the line below if you'd prefer to not use an image */
	background-size: 500px;
	color: #fceaff; /* main text colour */
	background-image: var(--body-bg-image);
}

* {
	box-sizing: border-box;
}

/* below this line is CSS for the layout */

/* this is a CSS comment
 * to uncomment a line of CSS, remove the * and the /
 * before and after the text */

/* the "container" is what wraps your entire website */
/* if you want something (like the header) to be Wider than
 * the other elements, you will need to move that div outside
 * of the container */

#container {
	max-width: 900px;
	/* this is the width of your layout! */
	/* if you change the above value, scroll to the bottom
	 * and change the media query according to the comment! */
	margin: 0 auto;
	/* this centers the entire page */
}

/* the area below is for all links on your page
 * EXCEPT for the navigation */

#container a {
	color: #e9a8f5;
	font-weight: bold;
	/* if you want to remove the underline
	 * you can add a line below here that says:
	 * text-decoration:none; */
}

#header {
	width: 100%;
	background-color: #172663;
	/* header color here! */
	height: 150px;
	/* this is only for a background image! */
	/* if you want to put images IN the header, 
	 * you can add them directly to the <div id="header"></div> element! */
	/* background-image: var(--header-image); */
	background-size: 100%;
}

/* navigation section!! */

#navbar {
	height: 40px;
	background-color: #0b112d;
	/* navbar color */
	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: #e9a8f5;
	/* navbar text color */
	font-weight: 800;
	text-decoration: none;
	/* this removes the underline */
}

/* navigation link when a link is hovered over */

#navbar li a:hover {
	color: #a49cba;
	text-decoration: underline;
}

#flex {
	display: flex;
}

/* this colors BOTH sidebars
 * if you want to style them separately,
 * create styles for #leftSidebar and #rightSidebar */

aside {
	background-color: #121e4c;
	width: 300px;
	padding: 20px;
	font-size: smaller;
	/* this makes the sidebar text slightly smaller */
}

/* this is the color of the main content area,
 * between the sidebars! */

main {
	background-color: #1f3383;
	flex: 1;
	padding: 20px;
	order: 2;
}

/* what's this "order" stuff about??
 * allow me to explain!
 * if you're using both sidebars, the "order" value
 * tells the CSS the order in which to display them.
 * left sidebar is 1, content is 2, and right sidebar is 3! */

#leftSidebar {
	order: 1;
}

#rightSidebar {
	order: 3;
}

footer {
	background-color: #0b112d;
	/* background color for footer */
	width: 100%;
	height: 40px;
	padding: 10px;
	text-align: center;
	/* this centers the footer text */
}

h1,
h2,
h3 {
	font-family: 'Chewy';
	color: #e9a8f5;
}

h1 {
	font-size: 25px;
}

strong {
	/* this styles bold text */
	color: #e9a8f5;
}

/* this is just a cool box, it's the darker colored one */

.box {
	background-color: #13092D;
	border: 1px solid #ED64F5;
	padding: 10px;
}

/* CSS for extras */

#topBar {
	width: 100%;
	height: 30px;
	padding: 10px;
	font-size: smaller;
	background-color: #13092D;
}

/* centred elements */

.centredcontents {
	  display: flex;
	  justify-content: center;
	  align-items: center;
}

/* Tooltips */

/* Tooltip container */
tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted #fceaff; /* If you want dots under the hoverable text */
}

/* Tooltip text */
tooltip tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: #080d1f;
	color: #fceaff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;

	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -60px;

	/* Fade in tooltip */
	opacity: 0;
	transition: opacity 0.3s;
}

/* Tooltip arrow */
tooltip tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #080d1f transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
tooltip:hover tooltiptext {
	visibility: visible;
	opacity: 1;
} 

/* Gaymering */

#gbmig-webring {
        position: relative;
        display: inline-block;
        font-size: 0;
        width: 200px;
        height: 98px;
}
#gbmig-webring a {
        display: block;
        transform: none;
        transition: transform 0.1s, filter 0.1s;
        cursor: pointer;
        transform-origin: center;
}

#gbmig-webring a.infoDiv:hover {
        filter: drop-shadow(0px 0px 4px black);
        transform: scale(1.2) translate(-12px, -9px);
}

#gbmig-webring a.buttonDiv:hover {
        filter: drop-shadow(0px 0px 4px black);
        transform: scale(1.2) translate(9px, -8px);
}

#gbmig-webring .left {
        position: absolute;
        top: 45px;
        left: 27px;
        clip-path: inset(0px 20px 0px 0px);
}
#gbmig-webring .right {
        position: absolute;
        top: 45px;
        left: 73px;
        clip-path: inset(0px 0px 0px 20px);
        transform: translateX(-45px);
}

#gbmig-webring .info {
        position: absolute;
        top: 47px;
        left: 165px;
}

/* BELOW THIS POINT IS MEDIA QUERY */

/* so you wanna change the width of your page? 
 * by default, the container width is 900px.
 * in order to keep things responsive, take your new height,
 * and then subtrack it by 100. use this new number as the 
 * "max-width" value below */

@media only screen and (max-width: 800px) {
	#flex {
		flex-wrap: wrap;
	}

	aside {
		width: 100%;
	}
	
	/* the order of the items is adjusted here for responsiveness!
	 * since the sidebars would be too small on a mobile device.
	 * feel free to play around with the order! */
	
	main {
		order: 1;
	}
	
	#leftSidebar {
		order: 2;
	}
	
	#rightSidebar {
		order: 3;
	}
	
	#navbar ul {
		flex-wrap: wrap;
	}
}
