/* Punch Software Copyright 2025 */

/* A general purpose CSS */

@import url(https://db.onlinewebfonts.com/c/5819da06bd6f5ca70e7c9d49d8e3b6ce?family=RM+Typerighter+Regular); 

:root {
    --jet-black: #0E0E10;
    --ghost-white: #F8F8FF;
}

* { color: var(--jet-black); margin: 0; padding: 0; }

body {
	background-image: linear-gradient( var(--ghost-white), rgb(252, 255, 255) );
	min-height: 100vh;
	min-height: 100dvh;
	display: flex; flex-direction: column;
	position: relative;
	overflow-x: hidden;
}

@media ( prefers-color-scheme: dark ) {
	body { background-color: #333; color: var(--ghost-white); }
}

iframe { width: 100%; height: 100%; }
h1 {  font-family: Bebas Neue;  font-size: 2.8em;  }
a { text-decoration: none; }
h3,h4,p,a,p,th { font-family: Marzo W00 Regular, serif; }
p { margin: 2em; padding: 1rem; }

header {
	padding: 1em 0 3em 0;
	text-align: center;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

#header-top {
	display:flex;
	justify-content:space-between;
	align-items: baseline;
	column-gap: 6em;
	row-gap: 1em;
}

#title {
	display: flex;
	align-items: baseline;
	margin-left: 4em;
	gap: 2em;
}

nav {
	margin: 0 0.8rem 0.8rem 0;
  	display: inline-block;
	margin-right: 6em;
}

nav > ul {
	display: flex;
	gap: 1rem;
	list-style-type: none;
	overflow: hidden;
	white-space: nowrap
}

nav > ul > li {
	text-decoration: none;
}

.thumbnail { width: 100%;height: 100%;object-fit: cover; }
.icon { position: absolute; right: 0; top: 100%; margin-top: 4px; width: 1em; height: 1em; }
a { text-decoration: none; outline: none; }

.router-link {
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.router-link:hover {
  opacity: 75%;
}

main {
	padding: 2rem 0 2em 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
    transform: translateY(1em);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.element {
	width: 25em; 
	height: 15em; 
	margin: 1em; 
	background-color: rgba( 0, 0, 0, 0.8);
	animation: fadeInAnimation 1s ease-out 0s 1 forwards;
}

footer { text-align: center; margin-top: auto; margin-bottom: 0.5em; }

section.element {
	position: relative;
}

.contact-form {
	margin: 2rem auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	font-family: Marzo W00 Regular;
	gap: 1rem;
}

.contact-form input,
.contact-form textarea {
	align-self: center;
	width: 100%;
	padding: 0.5rem 0;
	font-size: 1rem;
}

.contact-form button {
	width: 100%;
	padding: 0.75rem;
	font-size: 1rem;
	justify-self: center;
	align-self: center;
	background-color: #333;
	color: white;
	border: none;
	cursor: pointer;
}

.contact-form button:hover {
	background-color: #555;
}

.element.photo p {
	bottom: 85%;
	right: 75%;
	position: absolute;
	background-color: black;
	color: white;
	z-index: 5;
	display: none;
}

/*.icon {
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 4px;
	width: 1em;
	height: 1em;
}*/

.element:hover {
	transform: scale( 1.03 );
}


#marquee-wrapper {
	width: 100%;
	overflow: hidden;
	height: 1.8rem;
	margin-top: 2rem;
	position: relative;
}
#marquee {
	font-family: "Minecart LCD", monospace;
	font-size: 1.2em;
	position: absolute;
	white-space: nowrap;
	z-index: 2;
}


/* For mobile compatability */
@media (max-width: 1010px) {
	#title {
		flex-direction: column;
		align-items: center;
		margin: 0;
		gap: 0;
	}

  #header-top {
	padding: 0;
	flex-direction: column;
	align-items: center;
	text-align: center;
  }

  nav {
		margin: 0;
  }

	#overlay-video {
		display: none;
		width: 70%;
		height: 50%;
	}

#overlay {
	flex-direction: column;
}

#overlay img {
	max-height: 80%;
	max-width: 70%;
}

#overlay-description {
		width: 40%;
}

}
