 @import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            overflow: scroll;
            font-family: 'Share Tech Mono', monospace;
            background-color: #000000;
            color: #FFFFFF;
        }

        .dystopian-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: 100px 100px;
            background-color: #000;
        }

        .pipboy-screen {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) perspective(1000px) rotateX(5deg);
            width: 80vw;
            height: 80vh;
            background-color: rgba(0, 20, 0, 0.8);
            border: 2px solid #484d60;
            box-shadow: 0 0 20px #484d60, 0 0 40px #484d60;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .screen-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            padding: 20px;
             overflow-y: scroll;
        }

        .tabs {
            display: flex;
            border-bottom: 2px solid #484d60;
        }

        .tab {
            padding: 10px 20px;
            cursor: pointer;
            background-color: #20232e;
            border-right: 1px solid #484d60;
        }

        .tab:hover, .tab.active {
            background-color: #484d60;
        }

        .tab-content {
            display: none;
            flex-grow: 1;
            overflow-y: scroll;
        }

        .tab-content.active {
            display: block;
             overflow-y: scroll;
        }

        .glitch {
            animation: glitch 1s linear infinite;
        }

        @keyframes glitch {
            2%, 64% {
                transform: translate(2px,0) skew(0deg);
            }
            4%, 60% {
                transform: translate(-2px,0) skew(0deg);
            }
            62% {
                transform: translate(0,0) skew(5deg); 
            }
        }

        .terminal::before {
            content: "> ";
        }

        .scan-line {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background-color: rgba(0, 255, 0, 0.1);
            animation: scan 6s linear infinite;
        }

        @keyframes scan {
            0% { top: 0; }
            100% { top: 100%; }
        }

        #status-bar {
            padding: 10px;
            border-top: 2px solid #484d60;
            text-align: center;
        }
        
        a:link {
  color: #5a6799;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #5a6799;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: #5a6799;
  background-color: transparent;
  text-decoration: underline;
}

/* Create a responsive grid layout for the gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 16px;
    padding: 16px;
}

/* Style each gallery item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Optional rounded corners for items */
}

/* Remove default anchor link styles */
.gallery-item a {
    display: block;
    text-decoration: none; /* Remove underline on link */
}

/* Apply fixed height to images and ensure they scale proportionally */
.gallery-item img {
    width: 100%; /* Full width of the container */
    height: 300px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures images cover the area, cropping if necessary */
    transition: filter 0.3s ease, transform 0.3s ease; /* Smooth hover transition */
    filter: grayscale(100%); /* Initial grayscale */
}

/* Hover effect to remove grayscale and add zoom */
.gallery-item:hover img {
    filter: grayscale(0%); /* Remove grayscale on hover */
    transform: scale(1.05); /* Slight zoom on hover */
}