@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
    font-family: 'VT323', monospace;
    background-color: #2d2d2d;
    color: #f3f3f3;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ff8ff3 25%, #08f7fe 100%);
}

/* Base link styling */
a {
    color: #f3f3f3; /* Color for unclicked links */
    text-decoration: underline; /* Underline by default */
    position: relative; /* Needed for the pseudo-element positioning */
}

/* Link hover styling */
a:hover {
    text-decoration: underline; /* Keep underline on hover */
}

/* Additional line above the link on hover */
a:hover::before {
    content: ''; /* Empty content to create a line */
    display: block;
    position: absolute;
    top: -2px; /* Adjust the space between the text and the line */
    left: 0;
    width: 100%;
    height: 1px; /* Thickness of the line */
    background-color: #f3f3f3; /* Color of the line */
    z-index: -1; /* Ensure the line is behind the text */
}


.container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
    border: 2px solid #08f7fe;
}

h1 {
    text-align: center;
    font-size: 3em;
    color: #ff8ff3;
    margin-bottom: 20px;
    text-shadow: 0px 0px 10px #08f7fe;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2em;
}

#tr-header {
    background-color: #ff00ff;
    color: #000;

}

th, td {
    padding: 12px 15px;
    border: 1px solid #f3f3f3;
    text-align: left;
    word-wrap: break-word;
}

tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}

tbody tr:hover {
    background-color: #ff8ff3;
    color: #000;
    transition: background-color 0.3s ease-in-out;
}

/* Ensure the table remains in three columns */
table, thead, tbody, th, td, tr {
    display: table-row-group;
}

td, th {
    display: table-cell;
}

@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        width: 100%;
        padding: 10px;
    }

    h1 {
        font-size: 2em;
    }

    table {
        font-size: 1em;
    }

    th, td {
        padding: 8px 10px;
    }
}
