body {
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    user-select: none;
    font-family: 'Raleway', sans-serif;
}

.topbar {
    flex-wrap: wrap;
    display: flex;
    position: fixed;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    padding: 10px 0px;
    justify-content: center;
    z-index: 1000;
    background-color: #555;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.intopbar{
    font-family: 'Raleway', sans-serif;
    margin-top: 3px;
    margin-right: 20px;
    margin-left: 20px;
    font-weight: bold;
    font-size: 20px;
}

.topbarbutton{
    font-family: 'Raleway', sans-serif;
    font-weight: 100%;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background-color: gray;
    border-radius: 15px;
    text-decoration: none;
    outline: none;
    border: none;
    padding: 3px 15px;
}
.button-group {
    display: flex;
    gap: 10px; 
    margin-right: 20px; 
}



.authcard{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;

}

.auth-button {
    width: clamp(250px, 80%, 400px); 
    
    padding: 15px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    
    background-color: #333;
    color: white;
    transition: all 0.3s ease;
}
.auth-button:hover {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.back-link {
    color: #888;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
}
.my-button {
    padding: 12px 24px;
    border:#555;
    outline: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #555;
    background-color: #121212;
    border-radius: 8px;
    transition: all 1 ease-in-out;
    text-decoration: none;
}

.my-button:hover {
    background-color:#5555;
    box-shadow: 0 0 20px rgb(65, 65, 65);
    transform: scale(1.07);
}

.my-button:hover::before {
    opacity: 1; 
}

.my-text {
    color: gray;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    font-size: 35px;
    text-align: center;
}

.shimmer-text {
    margin-top: 80px;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    font-size: 50px;
    text-align: center;
    background: linear-gradient(90deg, #555, #fff, #555);
    background-size: 200% auto;

    -webkit-background-clip: text; /* Для Chrome и Safari */
    background-clip: text;
    /* 3. Делаем сам текст прозрачным, чтобы видеть фон под ним */
    color: transparent;
    /* 4. Запускаем анимацию */
    animation: shine 3s linear infinite;
    font-weight: bold;
}

.shimmer-text2 {
    margin-top: 30px;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
    font-size: 50px;
    text-align: center;
    background: linear-gradient(90deg, #555, #fff, #555);
    background-size: 200% auto;

    -webkit-background-clip: text; /* Для Chrome и Safari */
    background-clip: text;
    /* 3. Делаем сам текст прозрачным, чтобы видеть фон под ним */
    color: transparent;
    /* 4. Запускаем анимацию */
    animation: shine 3s linear infinite;
    font-weight: bold;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.container {
    display: flex;
    flex-direction: column; /* Ставим элементы в столбик, если их несколько */
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Вместо min-width и max-width используем box-sizing */
    box-sizing: border-box; 
    padding: 100px 20px; /* 100px сверху/снизу, 20px чтобы не липло к бокам Айфона */
    min-height: 70vh; /* Растягиваем на весь экран */
}


.feedpage {
    margin-top: 100px;
    margin-left: 250px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    background-color: #333;
    border-radius: 15px;
}

.sidebar {
    width: 250px;
    background-color:#555;
    border-top-left-radius: 15px;
}

.feed {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.post-card {
    background-color: #1a1a1a;
    border: 2px solid orange; /* Это создаст ту самую рамку */
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    margin-top: 20px;
    overflow: hidden; /* Важно! */
}

.post-description {
    font-family: 'Raleway', sans-serif;
    color: #cccccc;          /* Светло-серый текст приятнее для чтения, чем чисто белый */
    font-size: 16px;
    line-height: 1.6;        /* Увеличиваем межстрочный интервал */
    margin: 0;
}

.post-header, .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid orange; /* Линия под заголовком */
}

.post-footer {
    border-bottom: none;
    border-top: 1px solid orange; /* Линия над кнопками лайков */
}

.left-actions {
    display: flex;
    gap: 15px;
}

.post-body {
    padding: 20px;
    text-align: left; /* Чтобы текст не центрировался, если не нужно */
}
@media (max-width: 768px) {
    .container {
        padding: 50px 0; 
        min-height: 70vh;
        padding: 0; 
    }
    .my-button {
        font-size: 30px;
    }
    .shimmer-text{
        font-size: 30px;
    }
}

