/*  style.css   */ 

:root { 
    /* --matrix-green: #00ff41; */
    --matrix-green: #01ff00;
    --dark-green: #003b00;
    --light-green: #42f042;
    --alt-green: #00b600;
    --black: #000000;
    --off-white: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--matrix-green);
    font-family: "Courier Prime", monospace;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    padding: 0 20px;
    position: relative;
}

a {
  color: var(--light-green);
  text-decoration: none;
  border-bottom: 1px dotted var(--light-green);
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAA30lEQVRoge3ZSw6DMAwFwHlAD9r7X5UuKlWIj9jYqWdLsogS480k0NbaG5EZIH4D/DWQKSAiIiIiIiLyV8i8m8Rxja98FvNzPJLtYT4SyZZgnookWzFPQZI9mLsiyZ7MXZAU2phbI2ltZm6JpLWZWRtJxmJmTSQZi5m1kGRsZtZAkrGZWRpJpmJmSSRZ48wmf4ueRtLj3ea8/zxmdDKSgbl9uEhKMbOpSEozs2lISjezKUjKM7PHkZRvZo8iKd/M1tgX7MV8FUn5ZraKpP7MXEXu78xH+Y+ZR/kApHNWF+UHjQUAAAAASUVORK5CYII=");
    background-repeat: repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 50px;
    position: relative;
    width:  100%; 
    z-index: 2;
    /* overflow: visible; */
}

header {
    margin-bottom: 30px;
    text-align: left;
    margin-left: -75PX;
    gap: 0px;
    display: flex;
    flex-direction: column;
    animation: glitch 5s infinite;
    /*! border-left: 15px solid #01ff00a3; */
    padding-left: 30px;
    position: relative;
    float: left;
    margin-top: 15px;
}

header::before {
    content : " ";
    height: 100%;
    width: 15px;
    position: absolute;
    left: -15px;
    background: #01ff000f;
    display: inline-block;
    border: 1px solid rgba(54, 255, 12, 0.15);
    box-shadow: -4px 9px 0px var(--matrix-green);
    
    top: 0;
    float: left;
}

.avi {
    content: " ";
    padding: 25px;
    position: absolute;
    backdrop-filter: blur(5px);
    position: sticky;
    top: 25px;
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    border: 1px solid rgba(54, 255, 12, 0.15);
    z-index: 9999999;
    margin-top: 35px;
    float: right;
    margin-right: -38px;
}


.avi::after{
    content: "";
    width: 25px;
    height: 25px;
    display: block;
    background: var(--matrix-green);
}

header h1 {
    word-spacing: -0.75rem;
    margin-bottom: 0 !important;
    font-size: 4rem;
    word-spacing: -25px;
    font-weight: normal; 
}

header img {
    width: 100px;
    float: right;
}

header .title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--matrix-green);
    opacity: 0.9;
    text-align: left; 
    display: flex;
    gap: 5px;
    margin-top: -10px;
    font-family: "VT323", monospace;
    letter-spacing: 4px;
    word-spacing: -6px;
    justify-content: stretch;
    text-shadow: 0 0 2px var(--matrix-green), 0 0 1px var(--matrix-green);
    animation: glitch 10s infinite;
}

header .logo {

}

.bottom-bar {
    position: fixed;
    bottom: 0px;
    left: 0;
    z-index: 1000;
    width: 100%;
    text-align: right;
    margin: 0;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--matrix-green);
    display: flex;
    justify-content: stretch;
    padding: 10px 50px;
    text-shadow: 0 0 2px var(--matrix-green), 0 0 1px var(--matrix-green);
    font-size: 11px;
}

.bottom-bar .logo {
    content: "";
  width: 25px;
  height: 25px;
  position: relative;
  display: inline-block;
  background: var(--matrix-green);
  align-self: center;
}

.bottom-bar .right {
    margin-left: auto;
}

.glitch-text {
    font-weight: normal;
    text-transform: uppercase;
    position: relative;
    color: var(--matrix-green);
    letter-spacing: 0px;
    margin-bottom: 10px;
    font-family: "Courier Prime", monospace;
    text-shadow:
        0 0 5px var(--matrix-green),
        0 0 10px var(--matrix-green);
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%,
    100% {
        text-shadow:
            0 0 5px var(--matrix-green),
            0 0 10px var(--matrix-green);
    }
    25% {
        text-shadow:
            -2px 0 var(--light-green),
            2px 0 var(--dark-green);
    }
    26% {
        text-shadow:
            0 0 5px var(--matrix-green),
            0 0 10px var(--matrix-green);
    }
    50% {
        text-shadow:
            2px -1px var(--light-green),
            -1px 2px var(--dark-green);
    }
    51% {
        text-shadow:
            0 0 5px var(--matrix-green),
            0 0 10px var(--matrix-green);
    }
    75% {
        text-shadow:
            1px 1px var(--light-green),
            -1px -1px var(--dark-green);
    }
    76% {
        text-shadow:
            0 0 5px var(--matrix-green),
            0 0 10px var(--matrix-green);
    }
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -3px 0 var(--light-green);
    animation: glitch-anim-1 2.85s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -3px;
    text-shadow: 2px 0 var(--dark-green);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(20px, 9999px, 15px, 0);
    }
    20% {
        clip: rect(37px, 9999px, 98px, 0);
    }
    40% {
        clip: rect(87px, 9999px, 59px, 0);
    }
    60% {
        clip: rect(24px, 9999px, 34px, 0);
    }
    80% {
        clip: rect(65px, 9999px, 5px, 0);
    }
    100% {
        clip: rect(7px, 9999px, 90px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(87px, 9999px, 25px, 0);
    }
    20% {
        clip: rect(10px, 9999px, 28px, 0);
    }
    40% {
        clip: rect(37px, 9999px, 31px, 0);
    }
    60% {
        clip: rect(85px, 9999px, 92px, 0);
    }
    80% {
        clip: rect(3px, 9999px, 75px, 0);
    }
    100% {
        clip: rect(56px, 9999px, 3px, 0);
    }
}

.notice {
    border: 2px solid var(--matrix-green);
    display: flex;
    width: calc(100% + 12px);
    margin-bottom: 25px;
    /* align-items: center; */
    margin-left: -12px;
    /* justify-content: center; */
    /* vertical-align: middle; */
    align-content: center;
}

.notice .n-label {
    background: var(--matrix-green);
    color: #000;
    padding: 5px 20px;
    /* height: -webkit-fill-available; */
    display: flex;
    /* vertical-align: middle; */
    align-items: center;
    /* align-content: center; */
    font-weight: 900;
    font-family: "VT323", "Courier New", monospace;
    font-weight: bold;
    letter-spacing: 3PX;
}

.notice .n-content {
    padding: 7px 20px; 
    align-self: center; 
    font-size: 12px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-shadow: 0 0 5px var(--matrix-green), 0 0 10px var(--matrix-green);
}

.divider {
    width: calc(100%+12px);
    height: 2px;
    background-color: var(--matrix-green);
    margin: 40px 0;
    position: relative;
    margin-left: -12px;
    display: none;
}

.divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px var(--matrix-green);
}

h2 {
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--matrix-green);
    font-weight: bold;
    text-shadow: 0 0 3px var(--matrix-green);
    display: inline-block;
    padding: 2.5px;
    padding-left: 10px;
    border: 2px solid var(--matrix-green);
    border-left-width: 10px;
    padding-left: 15px;
    margin-left: -12px;
    padding-right: 15px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 10px;
    color: var(--light-green);
}

section {
    margin-bottom: 30px;
    padding: 0;
}

.card {
    background: linear-gradient(45deg, rgba(44, 255, 0, 0.045), rgba(55, 253, 13, 0.025));
    border: 2px solid var(--matrix-green);
    padding: 15px 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 10px;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 255, 65, 0.03), transparent 3px) 0
            0 / 100% 15px,
        linear-gradient(
                90deg,
                rgba(0, 255, 65, 0.03),
                transparent 3px
            )
            0 0 / 15px 100%;
    background-repeat: repeat;
    pointer-events: none;
    margin-right: 20px;
}

.card:hover {
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    border-color: var(--alt-green) !important;
    box-shadow: 0 0 25px #01ff004a;
    background: rgba(44, 255, 0, 0.1);
}

.card .desc {
    border-left: 1px solid var(--matrix-green);
    margin-left: 4px;
    padding: 0px;
    padding-left: 15px;
    margin: 5px 0;
    margin-left: 1px;
}

.card p {
    font-size: 0.8rem;
    font-family: monospace;
}

.card h3 {
    display: flex;
    justify-content: stretch;
    margin: 0;
    font-weight: 900;
    text-shadow: 0 0 2px var(--matrix-green), 0 0 1px var(--matrix-green);
    letter-spacing: 3px;
    word-spacing: -4px;
}

.card .date {
    float: right;
    font-size: 0.75rem;
    font-weight: normal;
    opacity: 0.65;
    align-self: self-start;
    margin: 0;
    margin-left: auto;
    border: 1px solid var(--dark-green);
    letter-spacing: 2.5px;
    margin-right: -10px;
}

.card .card-top {
    background-color: rgba(0, 255, 65, 0.1);
}

.card .position {
    font-weight: bold;
    display: block;
    font-size: 1rem;
    margin-top: -4px;
    /*! border-bottom: 1px solid; */
    padding-bottom: 0;
    font-family: "VT323", "Courier Prime", monospace;
    letter-spacing: 5px;
    /*! text-shadow: 0 0 2px var(--matrix-green), 0 0 1px var(--matrix-green); */
    text-transform: uppercase;
    /*! margin-bottom: 5px; */
}

.card .position::before {
    content: " ";
    width: 10px;
    height: 10px;
    background: var(--matrix-green);
    display: inline-block;
    margin-right: 15px;
}

p {
    margin-bottom: 2.5px;
    line-height: 1.65;
}

ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

ul li {
    position: relative;
    padding-left: 25px;
    font-size: .85rem;
}

ul li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--matrix-green);
    opacity: 0.5;
}

ul li:hover::before {
    opacity: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

.tag {
    background-color: rgba(0, 255, 65, 0.1);
    color: var(--matrix-green);
    padding: 5px 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--matrix-green);
    opacity: 0.65;
    cursor: default;
    font-family: "VT323", monospace;
}

.tag:hover {
    opacity: 1;
}

.highlight {
    color: var(--light-green); 
    font-weight: bold;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 15px;
}

.background-box {
    border: 2px solid var(--matrix-green);
    padding: 20px;
    background-color: rgba(0, 15, 0, 0.5);
    position: relative;
    gap: 5px;
    margin-top: 5px;
    display: flex;
    font-family: "VT323", monospace;
    flex-direction: column;
    padding-bottom: 10px;
}

.background-box::before {
    content: "// SYS.INFO";
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--black);
    padding: 0 10px;
    font-size: 0.9rem;
    color: var(--matrix-green);
    font-family: monospace;
    font-family: "VT323", monospace;
}

footer {
    text-align: center;
    padding: 40px 0;
    /* border-top: 2px solid var(--matrix-green); */
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    opacity: 65%;
    padding-bottom: 65px;
    gap: 35px;
}

.quote {
    max-width: 800px; 
    margin: 0 auto;
    font-size: 1rem;
    color: var(--matrix-green); 
    font-family: "VT323", monospace; 
}

footer .notice .n-content p {
    font-size: 0.45rem;
}




@media (max-width: 1000px) {

    .avi {
      right: 30px;  
    }

    body {
        font-size: 90%;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .two-column ul {
        margin-bottom: 0;
    }

    .container {
        padding: 15px;
        gap: 20px;
    }

    header {
        margin-bottom: 30px;
        margin-left: -15px;
        padding-left: 25px;
        margin-left: 0px;
        position: relative;
        line-height: 1.3;
        gap: 5px;
    }

    header h1 {
        font-size: 2.5rem;
        word-spacing: -16px !important;
    }

    header .title {
        display: flex;
        text-align: left;
        flex-direction: column;
        gap: 0px;
    }

    .card {
        /* padding: 10px 15px; */
    }

    .card h3 {
        flex-direction: column-reverse;
        gap: 3px;
    }

    .card .date {
        width: 100%;
        z-index: 0;
        background: none;
        border: none;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .card p {
        line-height: 1.65;
    }
}

@media (max-width: 590px) {
    body {
        font-size: 80%;
    }

    .avi {
        position: fixed;
        top: unset;
        bottom: 10px;
        left: 10px;
        right: unset;
        margin-left: auto;
    }
}

@media (max-width: 490px) {

    header {
        line-height: 1;
    }

    header .title {
        line-height: 1.1;
    }
}


/* Matrix Binary Rain */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.75;
}

canvas {
    display: block;
    pointer-events: none;
}

.access-denied {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 0, 0, 0.7) !important;
    border: 2px solid #ff0000 !important;
    text-align: center;
    padding: 10px !important;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 0, 0, 0.3);
    transition:
        height 0.4s ease,
        padding 0.4s ease;
    cursor: pointer;
    opacity: 0.25;
}

.access-denied:hover {
    opacity: 0.5;
    border-color: #ff0000 !important;
    box-shadow: 0 0 25px #ff0000 !important;
    background-color: rgba(20, 0, 0, 0.7) !important;
}

 .access-denied.open {
    opacity: 1;
    padding-top: 40px !important;
    padding-bottom: 40px !Important;
    transition:
        height 0.4s ease,
        padding 0.4s ease;
}

.access-denied::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1),
        rgba(255, 0, 0, 0.1) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
    z-index: 1;
}

.access-denied-content {
    color: #ff0000;
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.access-denied:not(.open)
    .access-denied-content
    > *:not(.glitch-text) {
    display: none;
}

.access-denied:not(.open) .glitch-text {
    margin: 0;
}

.access-denied .glitch-text {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff0000;
    animation: glitch-denied 0.5s infinite;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
}

.error-code {
    font-family: monospace;
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.8;
}

@keyframes glitch-denied {
    0% {
        text-shadow:
            2px 0 0 rgba(255, 0, 0, 0.5),
            -2px 0 0 rgba(0, 255, 255, 0.5);
        transform: translate(0);
    }
    25% {
        text-shadow:
            -2px 0 0 rgba(255, 0, 0, 0.5),
            2px 0 0 rgba(0, 255, 255, 0.5);
        transform: translate(-1px, 1px);
    }
    50% {
        text-shadow:
            2px 0 0 rgba(255, 0, 0, 0.5),
            0 0 0 rgba(0, 255, 255, 0.5);
        transform: translate(1px, -1px);
    }
    75% {
        text-shadow:
            -2px 0 0 rgba(255, 0, 0, 0.5),
            0 0 0 rgba(0, 255, 255, 0.5);
        transform: translate(-1px, -1px);
    }
    100% {
        text-shadow:
            2px 0 0 rgba(255, 0, 0, 0.5),
            -2px 0 0 rgba(0, 255, 255, 0.5);
        transform: translate(0);
    }
}

@keyframes scan {
    0% {
        left: -30%;
    }
    100% {
        left: 100%;
    }
}
