@font-face {
    font-family: 'ibm3270';
    src: url('Ac437_IBM_3270pc.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

html {
    background-color: #000000 !important;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100svh;
    background-color: #000000;
    overflow: hidden;
}

body {
    background-image: url('bg2.jpg');
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    font-family: 'ibm3270', monospace;
    color: #ffb7d5; 
}

.container {
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding-top: 5vh;   
    padding-left: 10vw; 
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.8));
}

.flashing-text {
    font-size: clamp(2rem, 9vw, 4rem); 
    margin: 0;
    line-height: 1.1;
    text-transform: lowercase;
    animation: glow-pulse 0.1s ease-in-out infinite;
}

.sub-text {
    font-size: clamp(1rem, 3.5vw, 1.6rem);
    margin: 5px 0 0 0;
    text-transform: lowercase;
    color: #ffb7d5; 
}

.third-text {
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    margin: 8px 0 0 0;
    text-transform: lowercase;
    color: #ffb7d5; 
}

.custom-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.custom-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #ffffff, 0 0 12px #ffffff;
    cursor: pointer;
}

@keyframes glow-pulse {
    0% { 
        text-shadow: 0 0 5px #ffb7d5, 0 0 10px #ffb7d5; 
    }
    50% { 
        text-shadow: 0 0 18px #ffb7d5, 0 0 30px #ff85b2; 
    }
    100% { 
        text-shadow: 0 0 5px #ffb7d5, 0 0 10px #ffb7d5; 
    }
}

@media (max-width: 600px) {
    body {
        background-size: contain;
        background-position: bottom center;
    }
    
    .container {
        padding-top: 10vh;
        padding-left: 8vw;
    }

    .flashing-text {
        font-size: 3rem;
    }

    .sub-text {
        font-size: 1.6rem;
    }

    .third-text {
        font-size: 1.2rem;
        margin-top: 10px;
    }
}