body {
    width: 100vw;
    min-height: 100vh;
    background-color: gray;
    font-family:'Courier New', Courier, monospace;
    margin: 0px;
    padding: 0px;
}

body {
    width: 100vw;
    min-height: 100vh;
    background-color: gray;
    font-family:'Courier New', Courier, monospace;
    margin: 0px;
    padding: 0px;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 25px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

button > a {
    color: white;
    text-decoration: none;
}

#container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#header > div{
    display: flex;
    text-align: center;
}

.header-text {
    width: 100vw;
}

#posts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px;
    gap: 25px;
    
}

#footer {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #393e3e;
    padding: 10px 30px;
    margin-top: auto;
    display: flex;
    justify-content: space-between; /* Separate left and right */
    align-items: center;
    color: #fff;
}

#footer .left,
#footer .right {
    display: flex;
    gap: 15px;
    align-items: center;
}

#footer .right {
    justify-content: flex-end;
}

#footer a {
    color: #fff; /* Make links white */
    text-decoration: underline;
    transition: color 0.2s;
}

#footer a:hover {
    color: #00aaaa; /* Accent color on hover */
    text-decoration: underline;
}

.child {
    flex: 1; /* Az elemek dinamikusan oszlanak el */
    border: 1px solid;
    border-color: black;
    border-radius: 10px;
    height: 125px;
    min-width: 300px;
    max-width: 300px;
    transition: width 50ms ease-in, height 50ms ease-in;
    cursor: pointer;
    overflow: hidden;
    background-color: #393e3e;
}

.child:hover {
    flex-grow: 1.001; /* Az elem szélesebb lesz */
    transform: scale(1.1); /* Méretarányos növekedés (nem nyomja el a többit) */
}

.child > a {
    display: flex;
    gap: 10px;
    text-decoration: none;
}

.child > a > h3 {
    color: #fff;
    font-size: 20px
}

.tic-tac-toe > a > img {
    width: 115px;
    margin: 5px;
}

.choose-a-username > a > img{
    width: 115px;
    margin: 5px;
}

.swear-word-generator > a > img {
    width: 115px;
    margin: 5px;
}

.guess-the-number > a > img {
    width: 115px;
    margin: 5px;
}

.music-by-year > a > img {
    width: 115px;
    margin: 5px;
}

.watch-some-youtube > a > img {
    width: 115px;
    margin: 5px;
}

.escape-game > a > img {
    width: 115px;
    margin: 5px;
}

.chat > a > img {
    width: 115px;
    margin: 5px;
}

.enter-password > a > img {
    width: 115px;
    margin: 5px;
}

.sus-link > a > img {
    width: 90px;
    margin: 5px;
}

.math > a > img {
    width: 115px;
    margin: 5px;
}

.chaos-clicker > a > img {
    width: 115px;
    margin: 5px;
}

.rock-paper-scissors > a > img {
    width: 115px;
    margin: 5px;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    #footer {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        padding: 15px 10px;
        gap: 10px;
    }
    #footer .left,
    #footer .right {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        width: 100%;
    }
    #footer .right {
        justify-content: flex-start;
    }
    #footer p, #footer a {
        font-size: 16px;
        word-break: break-word;
    }
}