main {
    margin-top: 10em;
    margin-bottom: 8em;
}

main img {
    cursor: pointer;
}

h2 {
    text-align: center;
    margin-bottom: 2em;
}

#games {
    font-size: 18px;
    line-height: 28px;
}

#games > div:first-of-type {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1em;
    margin: 1em;
}

#games > div:first-of-type > div:first-of-type p {
    margin-bottom: 1em;
    max-width: 965px;
}

#games > div:first-of-type img {
    max-width: 400px;
}

.image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image p {
    text-align: center;
    background-color: var(--tertiary);
    border-radius: 5px;
    max-width: 400px;
    padding: 5px 0;
}

.image img {
    max-width: 460px;
    width: 90%;
    align-self: center;
    border: 3px solid var(--tertiary);
    border-radius: 5px;
}

#games > div:last-child {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1em;
}