/* Kártyák reszponzív elrendezése */
.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.create-post-card {
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
}

.profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.profile-img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#postInput {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 25px;
    color: var(--color-black);
    background-color: var(--color-bg);
    font-size: 1em;
    outline: none;
    margin-right: 10px; /* Távolság az input mező és a gomb között */
}

.input-container {
    display: flex;
    align-items: center; /* Egy sorba állítja az input mezőt és a gombot */
    gap: 10px; /* Távolság az input mező és a küldés gomb között */
}

.input-buttons {
    display: flex;
    align-items: center;
}

/* Új gomb stílus */
button {
    font-family: inherit;
    font-size: 16px; /* Csökkentett betűméret */
    background: royalblue;
    color: white;
    padding: 0.5em 0.8em; /* Csökkentett padding */
    display: flex;
    align-items: center;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

button span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

button svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

button:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

button:hover span {
    transform: translateX(5em);
}

button:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}

/* Kártyák stílusai */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
}

.card {
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.card-profile-img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.card-user-info h2 {
    margin: 0;
    font-size: 1.2em;
}

.card-user-info p {
    margin: 0;
    color: #666;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

.like-btn,
.comment-btn {
    background-color: transparent;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-black);
}

.like-btn.active i {
    color: #007BFF;
}
h2{
    color:var(--color-black);
}
