body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    background-color: #959494;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

#top-left-logo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#top-left-logo img {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 10px;
    left: 10px;
    object-fit: cover;
}

#hackerztext {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'cool-text';
    font-size: 50px;
}

@font-face {
    font-family: 'cool-text';
    src: url("/SuperRugged-4nBy9.ttf");
}

.container {
    margin-top: 150px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 90%; /* Adjust container width */
    max-width: 1200px; /* Limit maximum width */
    padding: 0 20px; /* Add padding for small screens */
    box-sizing: border-box;
}

#downloads, #documents, #templates {
    flex: 1;
    min-width: 250px; /* Increase min-width to better fit content */
    max-width: 400px; /* Limit maximum width */
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 10px;
    overflow: hidden; /* Prevent overflow */
    word-wrap: break-word; /* Ensure text wraps within the box */
}

#links {
    flex: 1;
    min-width: 250px;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 10px;
    overflow: visible; /* Allow overflowing content */
    height: auto; /* Make the height adjust based on content */
    padding: 10px;
}

#links ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

#links ul li {
    margin: 5px 0;
}

#links ul li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    word-wrap: break-word; /* Ensure long URLs wrap correctly */
}
