* {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

body, html {
    display: flex;
    height: 99%;
    width: 99%;
    padding: 3px 3px 3px 3px;
    background-color: #1d1d2e;
    color: #EBDCAD;
    font-family: monospace;
    font-weight: bold;
    font-size: 11pt;
    text-align: center;
}
.page{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}
.header{
    display: flex;
    justify-content:center;
}
.content{
    display:flex;
    flex-direction:column;
    color:#41FF00;
    height:60%;
    width: 60%;
    justify-content: center;
    gap: 25px;
    align-items:center;
    border: 3px solid transparent; /* Initial state */
    border-radius: 10px;
    animation: crtBorder 1s forwards; /* Apply animation */
}
.content p{
    width: 50%;
    text-align:justify;
}
.content img{
    height: 50%;
}
.footer{
    display:flex;
    flex-direction:column;
    /* position: fixed; */
    left: 0;
    bottom: 0;
    width: 100%;
    color: #264EA1;
    text-align: center;
}

/* New styles for blinking cursor */
.cursor {
    display: inline-block;
    width: 10px;
    background-color: #EBDCAD;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to {
        background-color: transparent;
    }
    50% {
        background-color: #EBDCAD;
    }
}

/* Keyframes for CRT border effect */
@keyframes crtBorder {
    0% {
        border-color: transparent;
        border-width: 0;
        width: 0;
    }
    25% {
        border-color: #EBDCAD;
        border-width: 0 0 0 3px; /* Left border */
        transform: translateX(50%);
        width: 0;
    }
    50% {
        border-width: 3px 0 3px 3px; /* Top and bottom borders */
        transform: translateX(0%);
        width: 75%;
    }
    100% {
        border-width: 3px; /* Full border */
        border-color: #EBDCAD; /* Ensure border color is set */
    }
}
/* Scanline effect */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
            to bottom,
            rgba(65, 255, 0, 0.05),
            rgba(65, 255, 0, 0.05) 1px,
            transparent 1px,
            transparent 3px
    );
    animation: scanlineMove 0.9s linear infinite;
}

@keyframes scanlineMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(2px);
    }
}
/* Static effect */
.static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/static.gif') repeat; /* Use a static noise GIF */
    opacity: 0;
    animation: showStatic 1s forwards;
}
@keyframes showStatic {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
