@font-face {
    font-family: 'm5x7';
    src: url('../m5x7.ttf') format('truetype');
}

@font-face {
    font-family: 'm6x11';
    src: url('../m6x11.ttf') format('truetype');
}


body {
    font-family: m5x7, sans-serif;
}

h1 {
    font-size: 4em;
}

h2 {
    font-size: 3em;
    margin-bottom: 0;
}

h3 {
    font-size: 2em;
}

h1,
h2,
h3 {
    font-family: m6x11, sans-serif;
    text-align: center;
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

img {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
}

.steam-widget {
    width: 100%;
    max-width: 600px;
    margin: 20px;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

p {
    text-align: center;
    font-size: 1.9em;
}

.horizontal-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 70%;
}

.vertical-button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.orange-background {
    background-color: #f0603d;
}

.blue-background {
    background-color: #94c2ff;
}

.purple-background {
    background-color: #a77bff;
}

.black-background {
    background-color: #333;
}

.yellow-background {
    background-color: #53ad76;
}

.styled-button {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    font-size: 3em;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
    flex: 1 1 auto;
    min-width: 150px;
}

.styled-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.styled-button:active {
    transform: scale(0.95);
}

.profile-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.styled-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    align-self: center;
}

.image-row-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    padding: 10px;
}

.image-row-container img {
    width: 100%;
    /* Allow scaling within the flex item */
    max-width: 30%;
    /* Or use a % if you prefer */
    height: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    border-radius: 10px;
    /* Optional: duplicates global, here for clarity */
    flex: 0 1 auto;
}

@media (max-width: 600px) {
    .styled-button {
        font-size: 1.5em;
        padding: 15px 30px;
    }

    .profile-pic {
        width: 25px;
        height: 25px;
    }

    .profile-content {
        gap: 6px;
    }
}