html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    background: linear-gradient(135deg, #1b1b1b 25%, #f3440a 75%);
    font-family: Arial, sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px auto;
}

form input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 8px 0 0 8px;
    background-color: #f3f3f3;
    outline: none;
}

form input[type="text"]:focus {
    background-color: #e9ecef;
}

form button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056b3;
}

.middle-box {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    padding: 20px;
    width: 50%;
    max-width: 500px;
    height: 50%;
    max-height: 500px;
}

table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    padding: 12px 15px;
}

table th {
    background-color: #007BFF;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid #0056b3;
}

table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.001);
}

table tr:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

p {
    /*text-align: center;*/
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    color: #ffffff;
}

.subreddit-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}