@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#content {
    max-width: 800px;
    margin: 0 auto;
}

#profile_img {
    margin: 10px;
    border: 2px solid #35A6A6;
    padding: 1px;
    max-width: 300px;
}

body {
    background-color: #0a0a0a;
    font-family: 'VT323', 'Courier New', Courier, monospace;
    color: #FFFFFF;
    padding: 20px;
    font-size: 18px;
    text-shadow: 0 0 5px #35A6A6;
    overflow-x: hidden;
}

/* CRT scanline effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.3) 2px,
            rgba(0, 0, 0, 0.3) 4px);
    pointer-events: none;
    z-index: 1000;
}

/* CRT screen curvature glow */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 999;
}

h1 {
    font-size: 48px;
    text-align: left;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 0 10px #35A6A6;
}

p {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 18px;
}

p strong {
    font-size: 30px;
}

.bio {
    color: #35A6A6;
    margin-bottom: 15px;
    max-width: 400px;
}

.red {
    color: #ff3333;
    text-shadow: 0 0 10px #ff3333;
}

a {
    color: #00ff00;
    text-decoration: none;
    border-bottom: 1px dashed #35A6A6;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px #35A6A6;
}

::selection {
    background-color: #35A6A6;
    color: #0a0a0a;
}

/* Blinking cursor effect for inputs */
@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

input,
textarea {
    background-color: transparent;
    border: none;
    color: #35A6A6;
    font-family: 'VT323', 'Courier New', Courier, monospace;
    font-size: 24px;
    padding: 5px 10px;
    caret-color: #35A6A6;
    caret-shape: block;
}

input:focus,
textarea:focus {
    outline: none;
}

#main_page {
    height: 100%;
    width: 100%;
    position: relative;
    border-style: solid;
    border-color: #35A6A6;
    border-width: 2px;
}

#top_row {

    text-align: center;
    margin-top: 20%;
    top: 10px;
    width: 100%;
    height: 350px;
}

#bottom_row {
    text-align: center;
    bottom: 10px;
    width: 100%;
    height: 350px;
}

#user_db {
    border-width: 2px;
    border-style: solid;
    border-color: #35A6A6;
    padding: 0px;
    vertical-align: top;
    text-align: left;
}

#agora {
    border-width: 2px;
    border-style: solid;
    border-color: #35A6A6;
    padding: 10px;
    vertical-align: top;
    text-align: left;
}

#terminal {
    border-width: 2px;
    border-style: solid;
    border-color: #35A6A6;
    padding: 10px;
}

.user_btn {
    background-color: #0a0a0a;
    color: #35A6A6;
    border: 2px solid #35A6A6;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    margin: 5px;
    width: 200px;
}

.modal {
    display: flex;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    padding: 10px;
    border: 4px solid #35A6A6;
}

#profileModal {
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
}

#chatModal {
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
}


.close {
    color: #35A6A6;
    float: right;
    vertical-align: top;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 0 10px #35A6A6;
}

#username,
#password {
    background-color: #0a0a0a;
    border: 2px solid #35A6A6;
    color: #35A6A6;
    padding: 10px;
    font-size: 18px;
    width: 80%;
    margin-bottom: 15px;
}

#GS_iframe {
    width: 100%;
    height: 300px;
    border: none;
    background-color: #0a0a0a;
    background: #0a0a0a;
}

.GSText {
    color: #59a6ff;
    font-size: 25px;
    line-height: 1.5;
    /* white-space: pre-wrap; */
    font-family: monospace;
    text-align: left;
    width: 70%;
}

.MCText {
    color: #ffffff;
    font-size: 25px;
    line-height: 1.5;
    /* white-space: pre-wrap; */
    font-family: monospace;
    text-align: right;
    width: 70%;
    margin-left: auto;
}

.bossText {
    color: #ff3333;
    font-size: 25px;
    line-height: 1.5;
    /* white-space: pre-wrap; */
    font-family: monospace;
    text-align: left;
    width: 70%;
    margin-right: auto;
}

#dialogue_options {
    margin-top: 20px;
    vertical-align: top;
}

.textbg {
    background-color: #1a1a1a;
    border: 2px solid #35A6A6;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

#current_site {
    width: 100%;
    height: 500px;
    border: none;
    background-color: #0a0a0a;
}

.dcd_ifo {
    color: #000000;
    font-family: 'VT323', 'Courier New', Courier, monospace;
}

p.dcd_ifo {
    font-size: 20px;
}

#bossImg {
    border: 2px solid #35A6A6;
    padding: 1px;
    max-width: 200px;
    margin-bottom: 10px;
}

#chat-content {
    width: 80%;
    max-width: 1100px;
    margin-top: auto;
}

#contact-details {
    width: 30%;
    vertical-align: top;
    padding-right: 10px;
    border-right: 2px solid #35A6A6;
}

#chat-box {
    width: 70%;
    padding-left: 10px;
}

#creditsModal {
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
}