:root {
	--bg: #444;
	--panel: rgb(51,51,51);
	--purple: #996BEF;
	--purple-2: #ab7fff;
	--muted: #999;
	--muted-2: #777;
	--card-shadow: 9px 7px 18px 2px black;
}

body {
    background-color: rgb(248, 248, 248);
	background-color: var(--bg);
    color: white;
    font-family: Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
}

.bubble1, .bubble2 {
    position: fixed;
    right: 0;
    bottom: 0;

    width: 0;
    height: 40%;
    padding: 70%;
    background-color: var(--panel);

    transform: translate(36%, 60%);

    border-radius: 50%;
    box-shadow: inset 0px 0px 20px 8px black;

    z-index: -1;
}

.icon:hover {
    color: rgba(255,255,255,1);
}


a.active > .icon {
	color: #000;
	background-color: #FFF;
}

.icon-twitter {
	background-image: url("https://nimos.ws/images/twitter.svg");
}

.icon-bsky {
	background-image: url("https://nimos.ws/images/bsky.svg");
}

.icon-mstdn {
	background-image: url("https://nimos.ws/images/mastodon.svg");
}

.icon-email {
	background-image: url("https://nimos.ws/images/email.png");
}

.icon-github {
	background-image: url("https://nimos.ws/images/github.png");
}

.icon-discord {
	background-image: url("https://nimos.ws/images/discord.png");
}

.bubble2 {
	background-color: var(--purple);
    transform: translate(50%, 80%);
}

.purple {
	color: var(--purple);
}

.menu {
    background-image: none;
    transition: background-image .5s linear;
    -webkit-transition: background-image .5s linear;
}

a.menuitem {
    color: rgb(51,51,51);
    text-decoration: none!important;
}

.menuitem {
    margin: 0;
    width: 90px;
}

.brand {
    margin: 0;
    margin-top: -25px;
    font-size: 45px;
    font-family: 'Staatliches', cursive;
}

.menuwrapper {
    background-image: url(https://nimos.ws/images/nimos.svg);
	background-size: 104px;
	background-position: top;
    background-repeat: no-repeat;
    padding-top: 164px;
    margin-top: 66px;
    text-align: center;
    z-index: 1;
	filter: drop-shadow(6px 5px 3px black);
}


.icon {
	background-position: center 15px;
	background-repeat: no-repeat;
	padding-top: 40px;
	padding-bottom: 10px;
	display: inline-block;
	width: 90px;
	color: rgba(255,255,255,0);
	margin-left: 0px;
	margin-right: 0px;
	transition: color .5s linear;
	background-size: 32px;
    background-position-y: center;
}

span.icon::before {
    content: "";
    height: 25px;
    width: 10px;
    display: block;
}

.well {
	border-right: 2px dotted #000;
	width: 400px;
	margin: 0px;
	float: left;
	
}

.query {
	display: none;
}

a.menuitem {
	color: var(--panel);
	text-decoration: none!important;
}

a {
	color: var(--purple-2);
	text-decoration: none;
}
a:hover, a:focus {
	color: var(--purple);
	text-decoration: underline;
}

h4 {
	color: var(--purple-2);
	font-weight: normal;
	line-height: 1.1;
}

h2 {
	padding-top: 0;
	margin-top: 0;
}



.content {
	margin: auto;
	width: 1200px;
	max-width: 95vw;
	padding-bottom: 110px;
}


.icon:hover {
	color: rgba(255,255,255,1);
}

a.active > .icon {
	color: #000;
	background-color: #FFF;
}




.images {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
	margin-left: auto;
	margin-right: auto;
	height: auto;
	border-top: 1px solid var(--purple);
    width: 100%;
    justify-content: center;
}


.image {
	width: 160px;
	height: 80px;
    margin: 9px;
    border: 1px solid #DDD;
    background-size: cover;
}

.bottomed .image {
	height: 80px;
	width: 140px;
	margin: 4px;
	border: 1px solid #DDD;
	max-width: 140px;
}

.image:hover {
	border: 2px solid var(--purple);
	margin: 8px;
}

.bottomed .image:hover {
	margin-left: 3px;
	margin-right: 3px;
	margin-bottom: 3px;
	margin-top: 3px;
}


.image.active {
	border: 2px solid var(--purple);
	margin: 8px;
	margin-top: -8px;
}

h4 {
	font-size: 24px;
	margin-top: 10px;
    margin-bottom: 10px;
}

.bottomed .image.active:hover {
	border: 2px solid #AA7FFF;
	margin: 8px;
	margin-top: -8px;
}

.projects {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	height: 100px;
	width: 100%;
	margin-top: 50px;
	position: fixed;
	bottom: 0;
	padding-bottom: 20px;
	background-color: var(--panel);
}

.projects a {
	transition: all 0.2s linear;
}

.projecttext {
	width: 37%;

	padding-left: 35px;
	padding-right: 35px;
}


.heading {
	margin-bottom: 20px;
	font-size: 24pt;
	color: white;
}


.project img {
	width: 33%;
	/*border: 1px solid #996BEF;*/
	border-radius: 2px;
	max-height: 225px;
    cursor: pointer;
}

.project {
    display: flex;
    align-items: flex-start;
    background-color: var(--panel);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--purple);
	margin-bottom: 45px;
	max-width: calc(100vw - 150px);
}

@media screen and (max-width: 767px) {
	/* hello block and project cards share one centered column width;
	   border-box so padding/border stay inside 90vw and don't overflow */
	.project {
		flex-flow: column;
		align-items: center;
		width: 90vw;
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.project * {
		width: 100% !important;
		box-sizing: border-box;
	}

	.hello {
		flex-flow: column;
		align-items: center;
		gap: 24px;
	}

	/* higher specificity than the base .hello-text rule below so the
	   card centers instead of inheriting its desktop left margin */
	.hello .hello-text {
		margin: 0;
	}

	/* shrink the dock icons so the row isn't cramped */
	.icon, .menuitem {
		width: 70px;
	}

	.icon {
		background-size: 26px;
		padding-top: 34px;
	}
}

img {
	max-height: 100%;
}

hr{
	border-color: #555;
}

.brand {
	margin: 0;
	margin-top: -25px;


	font-size: 45px;

	font-family: 'Staatliches', cursive;
}


body.attached {
  padding-top: 360px;
}

.attached .brand {

	float: left;
	margin: 0;
	margin-left: 80px;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);

	font-size: 32px;

}

@media screen and (max-width: 825px) {
	.attached .brand {
		display: none;
	}
}

.attached .menuitem, .attached .icon {
	color: white;
}

.attached .menuwrapper {
	background: none;
	position: fixed;
	top: 0;
	height: 80px;
	margin-top: 0px;
	padding-top: 0;
	border-bottom: 1px solid var(--purple);
	width: 100%;
	background-color: var(--panel);;
	left: 0;
	background-image: url("//nimos.ws/images/logo.png");
	background-position: 25px 15px;
	background-repeat: no-repeat;
	background-size: 35px;
}

.attached .menu {
	margin-top: -15px;
    margin-left: auto;
    margin-right: auto;
	transition: background-image .5s linear;
	-webkit-transition: background-image .5s linear;
}

.attached .spacer {
	display: block;
	height: 349px;
}

/* line the apps button up with the icon glyphs (which sit high because
   their labels push them up), not the vertical center of the dock */
.attached .apps {
	top: 14px;
}

.purple {
	color: var(--purple);
}

.technologies {
	color: var(--muted);
	margin: 0 auto;
}

.technologies h5 {
	font-size: 20px;
	margin-top: 10px;
    margin-bottom: 10px;
	font-weight: normal;
}

img.zoom {
	height: initial;
	width: initial;
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-height: 80%;
    max-width: 80%;
    z-index: 1;
}

.dark::before {
	content: "";
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	background-color: #000;
	filter: opacity(0.9);
}

ul {
    padding-left: 17px;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
	z-index: -1;
}


.projects-root {
	margin-top: 50px;
}


img.cat {
	position: fixed;
	bottom: 0;
	left: 80vw;
	pointer-events: none;
	opacity: 0;
	transition: opacity 500ms;
	filter: drop-shadow(2px 4px 6px black);
	z-index: -1;
}

canvas.cat {
	position: fixed;
	opacity: 0;
	transition: opacity 500ms;
}

.hello {
	width: 800px;
	display: flex;
	align-items: center;
	padding-bottom: 0;
	margin-top: 50px;
}

.hello-divider {
	width: 70vw;
	max-width: 700px;
	border-top: 1px solid var(--purple);
	margin: 70px auto;
	box-shadow: var(--card-shadow);

}

.hello-portrait-wrapper {
	border-radius: 50%;
	height: 150px;
	width: 150px;
	overflow: hidden;
	border: 2px solid var(--purple);
	box-shadow: var(--card-shadow);
	flex-shrink: 0;
	position: relative;
}

.hello-portrait-wrapper img {
	max-width: 100%;
	opacity: 0;
	transition: opacity 500ms;
	position: absolute;
	left: 0;
	top: 0;
}

.hello-portrait-wrapper img.loaded {
	opacity: 1
}

.hello-text {
	margin-left: 50px;
	flex-flow: column;
	padding: 20px 50px;
	margin-bottom: 0;
}

.hello-text p {
	margin: 5px 0;
}