/* Import a custom font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

body {
    background: #111;
    color: #eee;
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center everything horizontally */
}

a {
    color: purple;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 24x 16px 48px;
}

#hero {
    margin: 24x auto 12px;
    width: 100%;
    text-align: center;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

h1 {
    text-align: center;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-style: italic;
    font-size: 96px;
}

p,
.secondary-text {
    font-size: 24px;
    line-height: 1.6;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    color: #eee;
}

.secondary-text {
    font-size: 24px;
    line-height: 1.6;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    color: #eee;
    padding: 0;
    margin: 0 auto;
}

.secondary-text li {
    margin: 12px 0;
}

.secondary-text a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b366ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.secondary-text a:hover {
    color: #fff;
    text-decoration: underline;
}

.secondary-text .icon {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 0;
}

#hero h1 { /* # why r u stupid */
    text-align: center;
    font-size: 72px;
    font-weight: 700;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 20px;
}

#hero img {
    height: 120px;
    margin-top: auto;
    margin-bottom: auto;
}

.header-with-icon {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.header-with-icon img {
    border-radius: 16px;
    width: 80px;
    height: 80px;
}

.header-with-icon h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.links-section {
    max-width: 800px;
    width: 90vw;
    margin: 0 auto;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content inside section */
}

.intro-text {
    text-align: center;
    font-size: 1.5rem;
    margin: 32px 0 16px 0;
    color: #bbb;
}

.links-list {
    display: flex;
    flex-direction: row;    /* Arrange link boxes horizontally */
    gap: 24px;              /* Space between boxes */
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 0 24px 0;
    flex-wrap: wrap;        /* Allows wrapping on smaller screens */
}

.link-card {
    width: 320px;           /* Set a fixed width for each box */
    max-width: 400px;
    min-height: 80px;
    padding: 28px 32px;
    font-size: 1.2rem;
    gap: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #18181b;
    border-radius: 12px;
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s;
    border: 1px solid #232329;
    margin-bottom: 0;
}

.link-card:hover {
    background: #232329;
    color: #fff;
}

.link-card .icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: transparent;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 2px #b366ff);
}

.category {
    color: #bbb;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 24px 0 12px 0;
    letter-spacing: 1px;
    text-align: center;
}

.main-content-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: stretch;
    width: 100%;
    margin-top: 24px;
    gap: 32px;
    min-height: 600px; /* Adjust as needed */
}

.side-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 440px; /* Increase height to add space between images */
    justify-content: space-between; /* Push images to top and bottom */
}

.side-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 32px;
    background: #222;
    border: 2px solid #232329;
}

.center-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}