/* Style Sheet for Final Project */
body {
    background-color: black;
    color: green;
    font-family: 'Courier New', Courier, monospace;
	text-align: center;
	margin: 0;
	padding-top: 60px;
}
.title {
    font-size: 32px;
    font-weight: bold;
    padding: 5px;
	border-top: 2px solid green;
    border-bottom: 2px solid green;
    background-color: black;
    justify-content: center;
	width: 100%;
}

.nav-bar {
    left: 0;
    width: 100%;
    background-color: black;
    padding: 10px;
    border-bottom: 2px solid green;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.nav-bar a {
    text-decoration: none;
    color: green;
    border: 1px solid green;
    padding: 8px 16px;
    font-weight: bold;
    background-color: transparent;
}
.nav-bar a:hover {
    background-color: green;
    color: black;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.gallery img {
    width: 150px;
    margin: 5px;
    cursor: pointer;
    border: 2px solid green;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}
.overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 80%;
	max-height: 90%;
}
.overlay img {
    max-width: 80%;
    max-height: 80%;
}
.button {
    padding: 15px;
    background-color: black;
    color: green;
    border: 2px solid green;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.button:hover {
    background-color: green;
    color: black;
}
#prev {
    left: 5%;
}
#next {
    right: 5%;
}
.terminal {
    width: 800px;
	height: 600px;
    margin: 50px auto;
    padding: 20px;
    border: 4px solid #00ff00;
    box-shadow: 0 0 10px #00ff00;
    position: relative;
    overflow: auto;
	background-color: black;
}

@keyframes scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 -100px; }
}

@keyframes flicker {
    0% { filter: brightness(100%); }
    25% { filter: brightness(90%); }
    50% { filter: brightness(110%); }
    75% { filter: brightness(95%); }
    100% { filter: brightness(100%); }
}

.terminal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 0, 0.15) 50%, rgba(0, 255, 0, 0.05) 50%);
    background-size: 100% 4px;
    animation: scanlines 0.2s infinite linear, flicker 2s infinite ease-in-out;
    pointer-events: none;
	
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 16px;
    background-color: #00ff00;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}