/* COMMENT CODE */

/* Page Styles */

body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Cutive Mono", monospace;
    padding: 0 40px;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

/* HEADER & NAVIGATION */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-family: "Amatic SC", sans-serif;
}
h2 a {
    text-decoration: none;
    color: inherit;
    font-size: 70px;
}
.top-banner {
    flex: 0 0 30%;
    display: grid;
    grid-template-columns: 30% 1fr auto;
    gap: 20px;
    align-items: end;
    width: 100%;
}
.banner-left {
   display: flex;
   align-items: flex-end;
   gap: 20px;
}
.banner-center {
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   text-align: left;
}
.banner-right {
   display: flex;
   align-items: flex-end;
}
.headshot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #333333;
}
nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 30px;
}
.hero {
    font-family: 'Special Elite', monospace;
    font-size: 16px;
}
.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}
.hero a {
    font-size: 16px;
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 20px 20px;
    border-radius: 8px;
    display: inline-block;
}
.button {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}
.primary {
    background-color: #ffffff;
    color: #000000;
}
.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

/* Colums with their own story */

.card-container {
    flex: 1;
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-template-rows: 50% 1fr;
    grid-template-areas:
        "left top-right"
        "left bottom-right";
    gap: 0;
    box-sizing: border-box;
}
.card {
    background-color: #0f0f0f; 
    padding: 20px;
    border-radius: 16px; 
    border: 1px solid #333333; 
    font-family: 'Cutive Mono', monospace;
}
.card a {
    text-decoration: none;
    color: inherit;
}
#leftPanel {
    grid-area: left;
    overflow-y: auto;
    background-image: url('Explorer\ window.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#topRight {
    grid-area: top-right;
    overflow-y: auto;
    background-image: url('Comand\ Line\ Window\ FINAL.png');
}
#bottomRight {
    grid-area: bottom-right;
    overflow-y: auto;
    background-image: url('TERMINAL WINDOW FINAL.png');
}
.project-columns {
    display: grid;
    grid-template-columns: 0.80fr repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 3px;
    height: 100%;
    margin-top: 15px;
}
.project-box {
    border: none;
    padding: 15px;
    box-sizing: border-box;
    height: 100%;
}
/* FOOTER DESIGN */

footer {
    font-family: 'Xanh Mono', monospace;
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: auto;
}
.copyright {
    position: absolute; left: 0; bottom: 0;
}
footer a {
    font-family: 'Xanh Mono', monospace;
    text-decoration: none;
    color: rgb(236, 225, 211);
}

    /* IMAGE DESING */

section img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    z-index: -1;
}

/*PROJECTS LANDING PAGE*/

.project-list img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vh;
    height: 50vh;
    object-fit: contain;
    z-index: -1;
}
.terminal-link {
    color: #39FF14;
    text-decoration: none;
}

/* ADD ON PAGES TEMPLATES     TEMPLATES DESIGN */

   /* BLOG    BLOG    BLOG    BLOG    BLOG */

.blog-title {
    padding: 20px 20px;
    text-align: center;
    font-family: 'Special Elite', monospace;
    font-size: 3rem;
    margin-bottom: 0;
}
.blog-body {
    padding: 30px;
    text-align: center;
    border-radius:8px;
}
.blog-post {
    padding: 10px 70px 60px 70px;
    border-radius: 8px;
    line-height: 1.6;
}
.counter {
    margin-top: 20px;
    padding: 10px 20px;
    font-family: 'Cutive Mono', monospace;
    cursor: pointer;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
}
body.blog-page {
    background-image: url('blog-background.png');
    background-size: auto 100%;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}
.screen-container {
    position: absolute;
    top: 10%;
    left: 30%;
    width: 40%; 
    height:60vh;
    overflow-y: auto;
    padding: 40px;
    box-sizing: border-box;
    background-color: transparent;
}
.blog-link a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-link a:hover {
    color: bisque;
}

/*  BLINKING CURSOR -- BLINKING CURSOR  */

.cursor {
    color: #ffffff;
}
.blinking-cursor {
    display: inline-block;
    width: 15px;
    height: 1.3em;
    background-color: white; 
    margin-left: 5px;
    vertical-align: bottom;
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ARCHIVE JOURNAL BLOG UNDER CONSTRUCTION LANDING PAGE */

.construction {
    font-family: "Amatic SC", sans-serif;
    font-size: 200px;
}
.construction-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MOBILE     MOBILE     MOBILE */

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
  }
  header {
    flex-direction: column;
    gap: 15px;
  }
  nav a {
    margin: 0 10px;
  }
  nav {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  footer {
    flex-direction: column;
    align-items: center;
}
.copyright {
    position: static;
    margin-top: 20px;
}
.construction {
    font-size: 2rem;
    padding: 15px;
}
.screen-container {
    width: 90%;
    left: 5%;
    height: 80vh;
    padding: 20px;
}
.blog-post {
    padding: 10px 20px 30px 20px;
}
}