@font-face {
    font-family: "PixelFont", monospace;
    src: url("PixelCode.woff2") format("woff2");
}

@font-face {
    font-family: 'PixelCode';
    src: local('PixelCode'),
        url('PixelCode.woff2') format('woff2'),
        url('PixelCode.ttf') format('truetype');
        text-transform: uppercase;
}


@font-face {
    font-family: 'Antilag';
    src: local('Antilag'),
        url('Antilag.woff2') format('woff2');
        url('Antilag.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'RetroByte';
    src: local('RetroByte'),
        url('RetroByte.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeueBit-Bold';
    src: local('NeueBit-Bold'),
        url('PPNeueBit-Bold.woff2') format('woff2');
}

body {
    background: url("background.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
      font-family: 'RetroByte';
    font-weight: 500;
    font-style: normal;
}

/* Container */
.container {

    width: 90vw;
    height: 90vh;
    text-align: left;
    border: 3px solid #F5F5F5;
}

/* Fading text effect */
.fade-text {
    opacity: 0;
    font-size: 24px;
    animation: fadeInText 3s ease-in-out forwards;
     padding: 20px;
    margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  max-width: 500px;
}

.line1 { animation-delay: 0s; }
.line2 { animation-delay: 2s; }
.line3 { animation-delay: 4s; }

@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive font sizes */
@media (max-width: 600px) {
    .fade-text {
        font-size: 2vw;
    }
}

/* 8-bit ENTER button */
.enter-button {
    display: inline-block;
      font-family: 'RetroByte';
    font-weight: 500;
    font-style: normal;
        font-size: 24px;
    color: #F5F5F5;
    text-decoration: none;
    background-color: black;
    padding: 15px 30px;
    border: 3px solid #F5F5F5;
    box-shadow: 4px 4px 0 #a1a1a1;
    transition: all 0.2s;
    margin-top: 50px;
    position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
}

.enter-button:hover {
    box-shadow: 6px 6px 0 #808080;
    color: #ff0033;
    border-color: #ff0033;
}

/* Adjust text for smaller screens */
@media (max-width: 600px) {
    .fade-text {
        font-size: 3vh;
    }
}