@font-face {
	font-family: "mondabold";
	src: url("../fonts/monda-bold-webfont.woff2") format("woff2"),
		url("../fonts/monda-bold-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "poiret_oneregular";
	src: url("../fonts/poiretone-regular-webfont.woff2") format("woff2"),
		url("../fonts/poiretone-regular-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "ralewaythin";
	src: url("../fonts/raleway-variablefont_wght-webfont.woff2") format("woff2"),
		url("../fonts/raleway-variablefont_wght-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "ralewayregular";
	src: url("../fonts/Raleway-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
		Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	/* background: #0c0c0c; */
	font-family: "ralewayregular";
}
.body {
	background: #1d1d1d;

	width: 100%;
	height: 100vh;
	top: 0;
	position: fixed;
	z-index: -1;
}
#particles-js {
	background: #0c0c0c;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: -1;
}

#mainDiv {
	width: 30px;
	height: 30px;
	margin: 13px auto;
	perspective: 150px;
	transition: transform 1s ease-in;
	/* position: absolute;
	left: 30px;
	top: 0; */
}

#boxDiv {
	width: 30px;
	transform-style: preserve-3d;
	animation: rotate 15s linear infinite;
}
#mainDiv:hover {
	transform: scale(0.9);
}

#boxDiv div {
	position: absolute;
	width: 30px;
	height: 30px;
	opacity: 0.7;
}

#front {
	transform: translateZ(15px);
	background: transparent;
	/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid white;
}

#back {
	transform: rotateY(180deg) translateZ(15px);
	background: transparent;
	/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid white;
}

#left {
	transform: rotateY(-90deg) translateX(-15px);
	transform-origin: left;
	background: transparent;
	/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid white;
}

#right {
	transform: rotateY(90deg) translateX(15px);
	transform-origin: right;
	background: transparent;
	/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid white;
}

#top {
	transform: rotateX(-90deg) translateY(-15px);
	transform-origin: top;
	background: transparent;
	/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid white;
}

#bottom {
	transform: rotateX(90deg) translateY(15px);
	transform-origin: bottom;
	background: transparent;
	/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid white;
}

@keyframes rotate {
	0% {
		transform: rotateY(0);
	}
	100% {
		transform: rotateY(360deg);
	}
}

/* .shadow {
	width: 400px;
	height: 400px;
	background: rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 50px 50px rgba(0, 0, 0, 0.5);
	-webkit-transform: rotateX(90deg) translateZ(-250px) rotateY(180deg)
		translateX(0px);
} */

nav {
	width: 100%;
	position: fixed;
	border-bottom: 1px solid white;
	background: black;
	top: 0;
	z-index: 2;
}
nav a {
	margin: 0;
	color: white;
	padding: 20px 30px;
	border-right: 1px solid white;
	border-left: 1px solid white;
	text-decoration: none;
}
.max-width {
	max-width: 1000px;

	margin: 0 auto;
}
.nav {
	display: flex;
	justify-content: space-between;
}
.container {
	margin-top: 140px;
	color: white;
	position: relative;
}
.intro-container {
	background: hsla(0, 0%, 0%, 0.7);
	padding: 30px;
	max-width: 800px;
	font-family: "mondabold";
	font-size: 23px;
}
.window {
	background-color: white;
	width: 100%;
	max-width: 156px;

	font-size: 15px;
	border-bottom: 2px solid #4b4b4b;
	border-right: 2px solid #4b4b4b;
	border-top: 2px solid #d8d8d8;
	border-left: 2px solid #d8d8d8;
	padding: 6px;

	position: absolute;
	right: 0;
	top: 300px;
}
.window-heading {
	background-color: #1e3c89;
	padding: 6px;
	color: white;
	margin-bottom: 6px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.button-window-heading {
	background-color: #d0cbc9;

	width: 19px;
	height: 19px;
	line-height:0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15px;
	border-bottom: 2px solid #4b4b4b;
	border-right: 2px solid #4b4b4b;
	border-top: 2px solid #e6e6e6;
	border-left: 2px solid #e6e6e6;
}
/* .img-container {
	border-bottom: 2px solid #4b4b4b;
	border-right: 2px solid #4b4b4b;
	border-top: 2px solid #e6e6e6;
	border-left: 2px solid #e6e6e6;
} */
.img-container img {
	width: 100%;
	height: auto;
	border-bottom: 1px solid #4b4b4b;
	border-right: 1px solid #4b4b4b;
	border-top: 1px solid #e6e6e6;
	border-left: 1px solid #e6e6e6;
}
.moon {
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100px;
	height: 100px;
	background-color: transparent;
	border-radius: 50%;
	box-shadow: 25px 10px 0px 0px #fff;
	border: 25px 10px 0px 0px red;
}
.grid-lines {
	width: 100%;
	max-width: 1000px;
	margin: 49px auto;
	height: 100vh;
	background-size: 100px 100px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	background-image: linear-gradient(to right, #292929 1px, transparent 1px),
		linear-gradient(to bottom, #292929 1px, transparent 1px);
	border-right: 1px solid #292929;
	border-bottom: 1px solid #292929;
	position: absolute;
	z-index: -1;
}
progress {
	position: fixed;
	top: 59px;
	left: 0;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 5px;
	border: none;
	background: transparent;
}

progress::-webkit-progress-bar {
	background: transparent;
}

progress::-webkit-progress-value {
	background: white;
	background-attachment: fixed;
}

progress::-moz-progress-bar {
	background: white;
	background-attachment: fixed;
}

.projects {
	margin-top: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
}
.padding-projects {
	padding: 20px;
	margin-top: 300px;
}

.project-image {
	width: 100%;
	max-width: 700px;
	height: auto;
}

.wrapper {
	display: flex;
	margin-top: 320px;
}

.demo-text .text {
	font-size: clamp(4rem, 15vw, 7rem);
	line-height: 1;

	font-weight: 900;
	color: #000000;
	position: absolute;
	z-index: -1;
	font-family: "mondabold";
}
.view {
	width: 100%;
	max-width: 700px;
	height: 540px;
	/* margin: 10px; */
	/* float: left; */
	/* border: 10px solid #fff; */
	overflow: hidden;
	position: relative;
	text-align: center;
	/* box-shadow: 1px 1px 2px #e6e6e6; */
	cursor: default;
	/* background: #fff url(../images/bgimg.jpg) no-repeat center center; */
	position: relative;
	object-fit: cover;
}
.view .mask,
.view .content {
	width: calc(100% - 28px);
	max-width: 700px;
	height: calc(540px - 28px);
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	object-fit: cover;
}
.window-square-bottom {
	background: white;
	width: calc(100% + 28px);
	height: 20px;
	margin-left: -6px;
	position: absolute;
	bottom: 0;
}
.window-square-top {
	background: white;
	width: calc(100% + 20px);
	height: 80px;
	margin-left: -6px;
	position: absolute;
	top: 0;
}
.window-square-left {
	background: white;
	width: 10px;
	height: calc(100% + 28px);
	margin-left: -10px;
	position: absolute;
	top: 0;
}
.window-square-right {
	background: white;
	width: 10px;
	height: calc(100% + 20px);
	/* margin-left: -10px; */
	position: absolute;
	right: 0;
}
.view img {
	display: block;
	position: relative;
	height: 100%;
	width: 100%;
	object-fit: cover;
	filter: grayscale(1);
}
.view h2 {
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	position: relative;
	font-size: 17px;
	padding: 10px;
	background: rgba(0, 0, 0, 0.8);
	margin: 20px 0 0 0;
}
.view p {
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 12px;
	position: relative;
	color: #fff;
	padding: 10px 20px 20px;
	text-align: center;
}
.view .info {
	display: inline-block;
	text-decoration: none;

	background: #000;
	color: #fff;

	/* box-shadow: 0 0 1px #000; */
	position: absolute;
	left: 0;
	bottom: 20px;
	width: calc(100% - 20px);
	margin-left: 10px;
	border-top: 1px solid white;
	display: flex;
	justify-content: space-between;
}
.bold {
	font-family: "mondabold";
}
.view .more-info-class {
	background-color: white;
	width: 100%;
	position: absolute;
	bottom: 79px;
	text-align: left;
	padding: 10px 0;
	height: 357px;
	margin-left: -1px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}
.view #more-info {
	opacity: 0;
}

.view #more-info-2 {
	opacity: 0;
}

.view #more-info-3 {
	opacity: 0;
}

.view #more-info-4 {
	opacity: 0;
}

.view #more-info-5 {
	opacity: 0;
}

.view #more-info-6 {
	opacity: 0;
}
.view #more-info-7 {
	opacity: 0;
}
.view #more-info-8 {
	opacity: 0;
}

.view .info a {
	text-decoration: none;
	color: white;
}
.view .info a:first-of-type {
	border-right: 1px solid white;
	padding: 20px 30px;
}
.view .info a:last-of-type {
	border-left: 1px solid white;
	padding: 20px 30px;
}

.view a.info:hover {
	box-shadow: 0 0 5px #000;
}
.view-first img {
	transition: all 0.2s linear;
}
.view-first .mask {
	opacity: 0;
	background-color: rgba(255, 255, 255, 0);
	transition: all 0.4s ease-in-out;
	border-bottom: 4px solid #4b4b4b;
	border-right: 4px solid #4b4b4b;
	border-top: 4px solid #d8d8d8;
	border-left: 4px solid #d8d8d8;
	padding: 10px;
}
.view .window-heading {
	position: absolute;
	z-index: 2;
	padding: 20px 10px;
	width: calc(100% - 40px);
}
.view-first h2 {
	transform: translateY(-100px);
	opacity: 0;
	transition: all 0.2s ease-in-out;
}
.view-first p {
	transform: translateY(100px);
	opacity: 0;
	transition: all 0.2s linear;
}
.view-first a.info {
	opacity: 0;
	transition: all 0.2s ease-in-out;
}
.view-first:hover img {
	transform: scale(1.1);
	filter: none;
}
.view-first:hover .mask {
	opacity: 1;
}
.view-first:hover h2,
.view-first:hover p,
.view-first:hover a.info {
	opacity: 1;
	transform: translateY(0px);
}
.view-first:hover p {
	transition-delay: 0.1s;
}

.intro-container-desktop {
	color: black;
	text-align: center;
	font-size: 30px;
	font-family: "mondabold";
	background-color: white;
	max-width: 400px;
	margin: 0 auto -20px;
	padding-bottom: 15px;
	line-height: 30px;
	padding-top: 1px;
}
.view-first:hover a.info {
	transition-delay: 0.2s;
}
.intro-container-mobile {
	display: none;
}
#contact {
	width: 100%;
	max-width: 1000px;
	margin: 200px auto 100px;
	color: white;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
#contact h1 {
	font-size: 69px;
	line-height: 0;
	font-family: "mondabold";
}
#contact a {
	/* text-decoration: none; */
	color: white;
	font-family: "ralewayregular";
	font-size: 20px;
}
#contact span {
	/* text-decoration: none; */
	color: white;
	font-family: "ralewayregular";
	font-size: 20px;
}
#contact p {
	font-size: 23px;
	color: white;
	display: grid;
	align-items: center;
	font-family: "mondabold";
	grid-template-columns: 130px 0.5fr;
}
.footer {
	/* background: black; */
	padding: 10px 0 10px 0;
	position: absolute;
	width: 100%;
	/* border-top: 1px solid white; */
	display: flex;
	justify-content: center;
}
/* .footer boxDiv {
	margin-top: -10px;
} */

@media only screen and (max-width: 1000px) {
	.container {
		padding: 20px;
	}
	.window {
		top: 400px;
	}
	nav p:first-of-type {
		margin: 0;
		color: white;
		padding: 17px 25px;
		border-right: 1px solid white;
		border-left: none;
	}
	nav p:last-of-type {
		margin: 0;
		color: white;
		padding: 17px 25px;
		border-right: none;
		border-left: 1px solid white;
	}
	#mainDiv {
		width: 20px;
		height: 20px;
		margin: 13px auto;
		perspective: 50px;
		transition: transform 1s ease-in;
		/* position: absolute;
		left: 20px;
		top: 0; */
	}

	#boxDiv {
		width: 20px;
		transform-style: preserve-3d;
		animation: rotate 15s linear infinite;
	}
	#mainDiv:hover {
		transform: scale(0.9);
	}

	#boxDiv div {
		position: absolute;
		width: 20px;
		height: 20px;
		opacity: 0.7;
		color: white;
	}

	#front {
		transform: translateZ(10px);
		background: transparent;
		/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
		background-position: center;
		background-repeat: no-repeat;
		border: 1px solid white;
	}

	#back {
		transform: rotateY(180deg) translateZ(10px);
		background: transparent;
		/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
		background-position: center;
		background-repeat: no-repeat;
		border: 1px solid white;
	}

	#left {
		transform: rotateY(-90deg) translateX(-10px);
		transform-origin: left;
		background: transparent;
		/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
		background-position: center;
		background-repeat: no-repeat;
		border: 1px solid white;
	}

	#right {
		transform: rotateY(90deg) translateX(10px);
		transform-origin: right;
		background: transparent;
		/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
		background-position: center;
		background-repeat: no-repeat;
		border: 1px solid white;
	}

	#top {
		transform: rotateX(-90deg) translateY(-10px);
		transform-origin: top;
		background: transparent;
		/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
		background-position: center;
		background-repeat: no-repeat;
		border: 1px solid white;
	}

	#bottom {
		transform: rotateX(90deg) translateY(10px);
		transform-origin: bottom;
		background: transparent;
		/* background-image: url(http://i72.photobucket.com/albums/i189/MrMagic13/a_logo_white2.png); */
		background-position: center;
		background-repeat: no-repeat;
		border: 1px solid white;
	}

	@keyframes rotate {
		0% {
			transform: rotateY(0);
		}
		100% {
			transform: rotateY(360deg);
		}
	}
	/* progress {
		top: 52px;
	} */
}

@media only screen and (max-width: 800px) {
	.window {
		top: 490px;
	}
}
@media only screen and (max-width: 700px) {
	.window {
		max-width: 126px;

		position: absolute;
		right: 0;
		top: 415px;
	}
	.view #more-info div {
		padding: 11px;
	}
	.intro-container {
		font-size: 16px;
	}
	.padding-projects {
		position: relative;
		margin-top: 300px;
	}
	.projects {
		margin-top: 0;
	}
	.intro-container-mobile {
		font-size: 15px;
		color: #000000;
		display: block;
		background: #ffffff;

		margin: 0 20px;
		padding: 2px 5px 30px;
		text-align: center;
		margin-bottom: -15px;
		max-width: 800px;
		font-family: "mondabold";
	}
		.intro-container-mobile p {
		font-size: 15px;
		line-height: 17px;
		margin-top: -10px;
	}
	p {
	   	line-height: auto;
	}
	.intro-container-desktop {
		display: none;
	}
	.container {
		margin-top: 10vh;
		padding: 20px;
	}
	.projects {
		grid-template-columns: 1fr;
	}
	.view .info a:first-of-type {
		padding: 20px 15px;
	}
	.view .info a:last-of-type {
		padding: 20px 15px;
	}
	.view {
		height: 420px;
	}
	.view .mask,
	.view .content {
		width: calc(100% - 28px);
		max-width: 700px;
		height: calc(420px - 28px);
	}
	#contact {
		width: 100%;
		max-width: 1000px;
		margin: 100px auto 50px;
		color: white;
		display: grid;
		grid-template-columns: 1fr;
	}
	#contact p {
		margin-left: 17px;
	}
	#contact h1 {
		font-size: 40px;
		margin-left: 20px;
	}
	#contact p {
		grid-template-columns: 110px 0.5fr;
		font-size: 20px;
	}
	.view .more-info-class {
		height: 238px;
	}
	.body {
	background: #1d1d1d;

	width: 100%;
	height: 100vh;
	top: 0;
	position: fixed;
	z-index: -1;
}
}
