* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: myFont;
    src: url(computer-art-project-try-2.ttf);
}

@font-face {
    font-family: myFont2;
    src: url(OPTIFranklinGothic-Medium.otf);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #000;
}

.container {
    width: 100%;
    position: relative;
}

.header {
    width: 100%;
    float: left;
    padding: 1%;
    color: #00ff22;
    border-bottom: 1px solid #000000;
}

.header h1 {
    font-size: 3vw;
    font-weight: 900;
    line-height: 1.1;
    font-family: myFont;
}

.left {
    width: 35%;
    height: 3000vh;
    float: left;
    padding: 1%;
    border-right: 1px solid black;
    position: relative;
}

.top-texti {
    width: 81%;
    float: left;
    font-size: 1.3vw;
    line-height: 1.1;
    font-family: myFont2;
}

.botn-texti {
    width: 50%;
    float: right;
    margin-top: 38%;
    font-size: 1.1vw;
    line-height: 1.1;
    font-family: myFont2;
    text-align: right;
}

.haegri {
    width: 65%;
    float: left;
    padding-right: 20%;
    padding-top: 0;
    position: relative;
     height: 3000vh;
}

.haegri img {
    width: 100%;
    height: auto;
    display: block;
}
#ImgDsc {
    font-size: 3vw;
    font-family: myFont;
    padding-left: 3%;
    padding-top: 2%;
}
.left img {
    width: 100%;
    height: auto;
    display: block;
}

#ada {
    padding-top: 137%;
}

#anali {
    padding-top: 38%;
}

#core {
    padding-top: 212%;
}
#maggieham {
    padding-top: 106%;
}

#littleold {
    padding-top: 285%;
}

#cyborg{
    
   padding-top: 592%; 
    
}
#matrix{
    
   padding-top: 265%; 
    
}
#boys{
    
   padding-top: 207%; 
    
}
#index{
    
   padding-top: 435%; 
    
}
/* ===== MATRIX HEADER EFFECT ===== */

.matrix-header {
    position: relative;
    overflow: hidden; /* keeps rain inside header */
}

/* Keep your chosen font */
.matrix-text {
    position: relative;
    z-index: 2;
    color: #000000; /* matches your current green */

    text-shadow:
        0 0 5px #00ff22,
        0 0 15px #00ff22,
        0 0 30px #00ff22;
}

/* Glitch layer */
.matrix-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #00ff22;
    z-index: 1;

    animation: glitch 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
}

/* Rain effect confined to header */
.rain {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;

    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 34, 0.08) 0,
        rgba(0, 255, 34, 0.2) 2px,
        transparent 4px
    );

    animation: rain 8s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rain {
    from { transform: translateY(-50%); }
    to { transform: translateY(50%); }
}

@keyframes glitch {
    0%, 100% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0);
    }
    33% {
        clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%);
        transform: translate(-4px, -4px);
    }
    66% {
        clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%);
        transform: translate(4px, 4px);
    }
}


