
@font-face {
  font-family: Bariol_Regular;
  src: url(font/Bariol_Regular.woff);
}


@font-face {
  font-family: Bariol_Bold;
  src: url(font/Bariol_Bold.woff);
}

::-moz-selection {
	background: #f6ab99
}

::selection {
	background: #f6ab99
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
  background-color: #232323;
}

*,
:after,
:before {
	-webkit-box-sizing: inherit;
	box-sizing: inherit
}

body {
	margin: 0;
	padding: 6rem;
    font-family: Bariol_Regular;
    font-display: swap;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	height: 100vh;
	width: 100vw;
	min-height: 36rem;
  background-color: #232323;
  background: linear-gradient(270deg, #ff0000, #ffd800, #7dff00, #00ffd4, #006bff, #6000ff, #dc00ff, #ff0000);
  background-size: 1600% 1600%;
  -webkit-animation: gradient 600s ease infinite;
  -moz-animation: gradient 600s ease infinite;
  -o-animation: gradient 600s ease infinite;
  animation: gradient 600s ease infinite;
}

/*
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/svg/spacestars.svg);
    background-size: cover;
    z-index: -1;
}
*/

#main {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center
}

h1 {
    font-family: Bariol_Bold;
	font-size: 5.4vw;
	color: #111;
	line-height: 1.1;
	margin: 0
}

a {
	color: inherit;
	text-decoration: none;
	position: relative;
	-webkit-transition: opacity .1s;
	-o-transition: opacity .1s;
	transition: opacity .1s
}

a:hover {
	opacity: .8;
    text-decoration: underline;
}

small {
	font-size: 1rem;
	color: #757575;
	line-height: 1.65;
	display: block;
	max-width: 35rem
}

body:hover h1 {
    color: #fff;
}

body:hover small {
    color: #fff;
}

body:hover #social a:nth-child(1),
body:hover #social a:nth-child(2),
body:hover #social a:nth-child(3) {
		-webkit-filter: contrast(0) brightness(2) saturate(0);
		filter: contrast(0) brightness(2) saturate(0)
	}

footer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
	margin-top: 6rem
}

#social {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center
}

#social a,
#social img {
	display: block
}

#social a {
	margin-left: 2rem;
	width: 1rem
}

#header {
    display: contents;
}

#name {
    display: contents;
}

#title {
    display: contents;
}

@-webkit-keyframes gradient {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes gradient {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes gradient {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes gradient {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

/* body:hover, body:active {
  background: #232323;
} */

h1 {
  color: #fff
}
small {
  color: #fff
}
h1 a::after,
small a::after {
  background: #fff
}
#social a:nth-child(1),
#social a:nth-child(2),
#social a:nth-child(3) {
  -webkit-filter: contrast(0) brightness(2) saturate(0);
  filter: contrast(0) brightness(2) saturate(0)
}

/* @media (prefers-color-scheme:dark) {
	body:hover, body:active {
    background: #232323;
	}
} */


@media (max-width:75rem) {
	body {
		padding: 4rem
	}
	h1 {
		font-size: 8vw
	}
	footer {
		margin-top: 4rem;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start
	}
	#social a {
		margin-top: 2rem;
		margin-right: 2rem;
		margin-left: 0
	}
}

@media (max-width:48rem) {
	body {
		padding: 2rem
	}
	h1 {
		font-size: 10vw
	}
	footer {
		margin-top: 2.4rem
	}
	#social a {
		margin-right: 1.5rem
	}
}

@media (max-width:30rem) {
    	h1 {
		font-size: 12vw;
	}
}
