/* Full-screen terminal style */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Courier New', monospace;
    background-color: #000;
    color: #00FF00;
    overflow: hidden; /* Prevent scrolling */
}

/* Static TV Noise Background */
.static-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/noise.gif') repeat;
    animation: noise 0.1s infinite;
}

@keyframes noise {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Hlaisitech Solution Network Background inside the monitor (Linux terminal style) */
.hlaisitech-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: bold;
    color: rgba(0, 255, 0, 0.2); /* Faded green color */
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    opacity: 0.1; /* Slight transparency for background text */
    text-align: center;
    max-width: 100%;
}

/* Monitor style */
.monitor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 20px solid #4d4d4d;
    border-radius: 5px;
    background-color: #1e1e1e;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2; /* Above the background */
}

.monitor-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #00FF00;
    font-size: 1.5rem;
    font-family: 'Courier New', monospace;
    overflow: auto;
    box-sizing: border-box;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center all content vertically */
    align-items: center; /* Center all content horizontally */
}

.typing-text {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    white-space: nowrap;
    display: block;
    animation: typing 4s steps(40) 1s forwards;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Countdown Timer Styling - Positioned Inside the Monitor */
.countdown-container {
    font-size: 1.5rem;
    color: #FF6347;
    font-weight: bold;
    text-align: center;
}

/* Centered Information Section inside the monitor */
.center-info {
    font-size: 1.5rem;
    color: #00FF00;
    font-weight: bold;
    text-align: center;
    white-space: pre-wrap; /* Allows for multiple lines of text */
    line-height: 1.5;
    font-family: 'Courier New', monospace;
}

/* Heart shape CSS */
#heart { 
    position: absolute; /* Position it relative to the page */
    top: 50%; /* 50% from the top */
    left: 50%; /* 50% from the left */
    width: 100px; 
    height: 90px; 
    transform: translate(-50%, -50%); /* Offset by 50% to center it perfectly */
} 

#heart:before, #heart:after { 
    position: absolute; 
    content: ""; 
    left: 50px; 
    top: 0; 
    width: 50px; 
    height: 80px; 
    background: red; 
    border-radius: 50px 50px 0 0; 
    transform: rotate(-45deg); 
    transform-origin: 0 100%; 
} 

#heart:after { 
    left: 0; 
    transform: rotate(45deg); 
    transform-origin :100% 100%; 
}

/* Code block look */
.code-block {
    border: 2px solid #00FF00;
    padding: 10px;
    background-color: #1e1e1e;
    font-size: 1.2rem;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

/* Contact Form inside Monitor */
.contact-form {
    display: none; /* Hidden by default */
    text-align: center;
    background-color: #1e1e1e;
    padding: 20px;
    border: 2px solid #00FF00;
    width: 80%;
    margin-top: 20px;
    color: #00FF00;
    font-size: 1rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #00FF00;
    background-color: #000;
    color: #00FF00;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #00FF00;
    border: none;
    color: #000;
    cursor: pointer;
}

/* Contact Us Link inside the monitor */
.contact-link, .home-link {
    color: #00FF00;
     background-color: #e60000;
    font-size: 1.2rem;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
}

.contact-link:hover, .home-link:hover {
    text-decoration: underline;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4d4d; /* red color */
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #e60000; /* darker red on hover */
}
