:root {
    --highlight: #1eff00; 
}

h1 {
    color: aliceblue;
    font-size: 5em;
    font-family: 'Deluxe';
}
h2 {
    color: aliceblue;
    font-size: 3em;
    font-family: 'Deluxe';
}
h3 {
    color: aliceblue;
    font-size: 2.2em;
    font-family: 'Deluxe';
}
h4 {
    color: aliceblue;
    font-size: 1.85em;
    font-family: 'Deluxe';
}
p {
    color: aliceblue;
    font-size: 2em;
    font-family: monospace;
}
.text-button {
  font-size: 36px;
  font-family:'Alien Encounters';
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  padding: 0;
}

.text-button:hover {
  font-size: 52px;
  color: var(--highlight);
}

.static-text-button {
  font-size: 36px;
  font-family:'Alien Encounters';
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  padding: 0;
}

.static-text-button:hover {
  color: var(--highlight);
}


.fake-scrollbar {
    position: fixed;
    top: 50%;
    right: 1em;
    width: 12px;
    transform: translateY(-50%);
    border-radius: 8px;
    height: 50vh;
    background-color: #eeeeee24;
    z-index: 99 !important;
}

.scroll-thumb {
    position: absolute;
    pointer-events: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-color: #9d9d9d;
    border-radius: 8px;
    cursor: grab;
}

.scroll-thumb:active {
    cursor: grabbing;
}

@property --scroll-position {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}
@font-face {
    font-family: 'DOS'; 
    src: url('resources/fonts/Perfect\ DOS\ VGA\ 437\ Win.ttf'); 
}
@font-face {
    font-family: 'Alien Encounters'; 
    src: url('resources/fonts/AlienEncounters.ttf')
}
@font-face {
    font-family: 'Deluxe';
    src: url('resources/fonts/Deluxe.otf');
}
@font-face {
    font-family: 'engebrechtre';
    src: url('resources/fonts/engebrechtre/Engebrechtre\ Rg\ It.otf');
}
.canvas-container{
    position: relative;
    width: 500px;
    height: 500px;
}

.fullwindow {
    position: sticky;
    top: 0px;
    left: 0px;
    margin: 0px;
    border: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    z-index: -1;
}

.overlay-text {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    font-family: sans-serif;
    z-index: 1;
    white-space: pre-wrap;
    pointer-events: none; /* allows clicks to pass through to canvas */
}

.scrollbox-element {
    background-color: rgba(240, 248, 255, 0);
    position: absolute;
    margin: 20px 20px 20px 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.project-thumb {
    display:flex;
    flex-direction: column;
    height: 100%;
    border: 6px double var(--highlight);
    padding: 1em;
}

.double-border {
    border: 6px double var(--highlight);
    padding: 1em;
}

.project-thumb-button {
    width: 100%;
    height: 100%;
}

/* Project Page */
.center{
	margin: auto;
}

.vertical-align{
	margin-top: auto;
	margin-bottom: auto;
}

.centerImg{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.centerText {
	text-align: center;
}

.container {
	max-width: 1200px;
	margin: 0px auto;
}

.summary-wrapper{
	display: flex;
	justify-content: flex-start;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 50%;
}

.video-wrapper {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 0px;
}

.video-wrapper:nth-child(even) .video {
	justify-content: flex-end;
	margin-left: auto;
}

.video {
	width: 60%;
	position: relative;
	padding-top: 33.75%; 
}


.video-text {
	position: absolute;
	top: 10%;  
	left: 10%;  
	z-index: 2;  
    color: aliceblue;
    font-size: 5em;
    font-family: 'Deluxe';
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  
}

.video-text:hover {
	text-decoration: underline;
	color:var(--highlight);
}

.home-page{
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#scrollbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: transparent;
}

#heartVideo {
    width: 177.77777778vh; 
    min-height: 56.25vw; 

	top: 0;
	z-index: -1;
	
    left: 50%; 
    top: 50%;
}