:root {
	font-size: 12px;
	vertical-align: top;
}
* {
	vertical-align: top;
}

body {
	font-family: Rubik, "Adwaita Sans", Roboto, "Comic Sans MS", "Liberation Sans", fantasy, sans-serif, Ubuntu; /*hahahahahahaha no Ubuntu for youuu*/
	background-color: #ffb3cc;
	background-color: hsl(340, 100%, 85%);
	background: #ffb3cc url(/res/img/w.gif) repeat;
	font-weight: normal;
	color: white;
}

a {
	color: cyan;
	text-decoration: none;
}
a:visited {
	color: #00bbff;
	text-decoration: none;
}
a:hover {
	color: pink;
	text-decoration: underline;
}
a:active {
	color: red;
	text-decoration: wavy;
}

iframe {
	border: none;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}

.pagetitle {
	color: red;
	text-align: center;
	font-size: 4.2rem;
	font-weight: bold;
	padding: 0rem;
	-webkit-text-stroke: white 0.15rem;
	font-weight: 600;
}

.pagenav {
	background: #7167ff;
	background: #0000ff44;
	margin: auto;
	padding: 0.4rem;
	margin-bottom: 0.5rem;
	border: 0.2rem solid #0077ff;
	font-size: 1.25rem;
	max-width: fit-content;
	align-self: center;
}

.pagenav a {
	display: inline-block;
	color: white;
	background: #8800ff;
	background: #bb00ff77;
	border-width: 2px;
	border: solid;
	border: 0.2rem solid #00ffff;
	text-decoration: none;
	width: 5.8rem;
	height: 1.25rem;
	text-align: center;
	margin: 0.2rem;
	padding: 0.5rem;
	padding-bottom: 0.7rem;
	/*-webkit-text-stroke: white 0.05rem;*/
	font-weight: 500;
	vertical-align: middle;
}
.pagenav a:hover {
	color: aqua;
	background: red;
}
.pagenav a:active {
	color: red;
	background: aqua;
}

.pagebody {
	display: block;
	/*display: grid;*/
	/*display: flex;*/
	margin: auto;
	align-self: center;
	align-content: center;
	justify-content: center;
	text-align: center;
	gap: 2rem;
	width: auto;
	width: 50rem;
}

.box {
	border-width: 2px;
	border: solid;
	border-color: blue;
	border: 0.2rem solid #0000ffbb;
	border: 0.2rem solid blue;
	display: inline-block;
	background: #dd00ff;
	background: #cc00ff99;
	padding: 1rem;
	margin: 0.5rem 0.5rem;
	width: 20rem; /* Default incase something goes wrong */
	height: 15rem; /* Default incase something goes wrong */
	text-align: left;
	vertical-align: top;
	font-size: 1rem;
	width: auto;
	height: auto;
}
#box404, #box404 .pagenav {
	background: none;
	border: none;
}

ul {
	margin: 0;
	padding: 0;
	margin-left: 2rem;
	font-size: 1.1rem;
}

.boxtitle {
	display: block;
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

#box404 {
	color: red;
	font-size: 3rem;
	font-weight: bold;
	width: auto;
	height: auto;
}

#pagebody-home #box1 {
	width: 31rem;
	height: 10rem;
}
#pagebody-home #box2 {
	width: 11rem;
	height: 10rem;
}
#pagebody-home #box3 {
	width: 15rem;
	height: max-content;
	padding-bottom: auto;
	height: 4.65rem;
	height: 5.96666rem;
}
#pagebody-home #box4 {
	width: 27rem;
	height: 5.96666rem;
	height: fit-content;
	text-align: center;
	display: inline-block;
}
#pagebody-home #box5,
#pagebody-home #box6 {
	width: 21rem;
	height: 10rem;
}

.button8831,
img .button8831,
.friendsbuttonsbox a img {
	width: 88px;
	height: 31px;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: pixelated;
}

.introimage img,
.introimage {
	display: inline;
	height: 9.5rem;
	width: 9.5rem;
}
.introtext {
	display: inline-block;
	width: 19.7rem;
	text-align: justify;
	font-size: 1.15rem;
}

#navelement-photo::after {
    /*content: "graphs";*/
	content: "s";
}

.mybuttonbox div {
	display: inline;
}
.mybuttonbox div div {
	display: inline-block;
}
#mybuttontext {
	display: block;
}

.code {
	background: grey;
	color: white;
	font-family: monospace;
}
#mybuttoncode {
	padding: 0;
	margin: 0;
	border: 0;
	width: 88px;
	height: 31px;
}

#buttonguidelinestext {
	display: block;
	width: 100%;
	text-align: center;
}

.friendsbuttonsbox a img{
	margin-top: 0.2rem;
	margin-bottom: 0.2rem;
	margin-left: 0.1rem;
	margin-right: 0.1rem;
}

.wiptext {
	font-size: 3rem;
	text-align: center;
	margin-top: 1rem;
}


/*@media (max-width: 900000px) {
	:root {
		font-size: 36px;
	}
	.button8831,
	img .button8831, #mybuttoncode, .friendsbuttonsbox a img {
		width: 176px;
		height: 62px;
	}
	#pagebody-home #box3 {
		height: 4.2rem;
	}
}
@media (max-width: 3500px) {
	:root {
		font-size: 18px;
	}
	.button8831,
	img .button8831,
	#mybuttoncode,
	.friendsbuttonsbox a img {
		width: 88px;
		height: 31px;
}
}
@media (max-width: 1300px) {
	:root {
		font-size: 16px;
	}
	#pagebody-home #box3 {
		height: 4.65rem;
	}
}*/
@media (max-width: 620px) {
	:root {
		font-size: 12px;
	}
	.pagetitle {
		font-size: 3.5rem;
	}
	.pagenav a {
		width: 4.15rem;
	}
	.pagebody {
		width: auto;
		width: 40rem;
	}
	.boxtitle {
		font-size: 1.3rem;
		margin-bottom: 0.1rem;
		margin-top: 0.1rem;
	}
    #navelement-photo::after {
        content: "";
    }
	.box {
		font-size: 1rem;
	}
	#pagebody-home #box1 {
		width: 25rem;
		height: 8rem;
	}
	#pagebody-home #box2 {
		width: 7rem;
		height: 8.5rem;
		padding-top: 0.5rem;
	}
	#pagebody-home #box3 {
		width: 9rem;
		height: 8.9rem;
	}
	#pagebody-home #box4 {
		width: 23rem;
		height: 7rem;
		height: fit-content;
		text-align: center;
	}
	#pagebody-home #box5,
	#pagebody-home #box6 {
		width: 35.6rem;
		height: 11rem;
	}
	
	ul {
		margin-left: 1rem;
		font-size: 1rem;
	}
	#pagebody-home #box5 div {
		display: inline-block;
	}
	.introtext {
		width: 17.7rem;
		font-size: 1rem;
	}
	.introimage img {
		height: 7rem;
		width: 7rem;
	}
	.pagetitle::after {
		content: " is too big to display for your display. Please unzoom.";
	}
	.pagetitle::after {
		content: " (Experimental compact layout)";
	}
}
@media (max-width: 490px) {
	:root {
		font-size: 10px;
	}
	.pagetitle::after {
		content: " is too big to display for your display. Please unzoom.";
	}
}
@media (max-width: 410px) {
	.pagetitle {
		font-size: 30px;
	}
	:root {
		font-size: 8px;
	}
	.pagetitle::after {
		content: " is too big to display for your display. Please unzoom.";
	}
}
