
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:wght@100..900&display=swap');

  

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    min-height: 100vh;
    width: 100%;
    height: 100vh;
    font-family: "Noto Sans Display", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}


/*карточка*/
.main {
    border-radius: 48px;
    display: flex;
    height: 550px;
    width: 1080px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: row;
    border: 3px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
    background-clip: padding-box;
}

.sosal {
    display: flex;
    flex-direction:column;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px); /* для Safari */
    background-color: rgba(255, 255, 255, 0.226); /* ← чтобы видеть эффект */
    border: 16px solid rgba(255, 255, 255, 0.2);
    padding: 100px 200px;
    border-radius: 100px;
    display: none;
    color: white;
    text-align: center;
    font-weight: 600;
  }

  .sosal .top {
    font-size: 350px;
  }
  
  .sosal .bottom {
    font-size: 80px;
    font-weight: 300;
  }
  


@media screen and (min-width: 4320px) {
    .main {
      display: none;
    }
    
    .sosal {
        display: flex;
    }
}

.hero-img {
    width: 50%;
    height: 100%;
    overflow: hidden;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none
}


/* пикчи */
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Растягивает фото на весь блок */
    object-position: center; /* Центрирует изображение */
    
    /* Запреты для пользователя */
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
    
    /* Плавное появление */
    transition: opacity 0.5s;
}


.content {
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
}

.top-row {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-weight: 600;
    font-size: 24px;
}

.likes {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.heart {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.heart.is-liked svg {
    fill: #E60023;
}


.heart:active svg {
    transform: scale(0.8);
}


.heart svg {
    transition: 
        transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
        fill 0.3s ease, 
        opacity 0.3s ease, 
        filter 0.3s ease;
}

.heart.is-waiting {
    cursor: not-allowed;
}

.heart.is-waiting svg {
    opacity: 0.5;
}

.save-btn {
    border: none;
    background: #E60023;
    color: white;
    padding: 20px 30px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 700;
    font-size: 20px;
    transition: 0.3s ease;
}

.save-btn:hover {
    background: #ff3b3b;
    transform: scale(1.05);
}

.save-btn:active {
    transform: scale(0.9);
}

.post-body{
    display: flex;
    gap:8px;
    flex-direction: column;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px; 
}

.author-info{
    display: flex;
    gap: 10px;
    align-items: center;
	font-weight: 600;
    font-size: 20px;
}

.author-info img{
    width: 30px;
    height: 30px;
    border-radius: 100%;
    object-fit: cover;
}

.description{
    display: flex;
    flex-direction: row;
    font-size: 20px;
    justify-content: space-between;
    align-items: center;  
}

.views{
    font-size: 15px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;  
	gap: 3px;
}

.views .icon-views{
    fill: rgba(0, 0, 0, 0.5);
}

.comments{
    display: flex;
    justify-content: space-between;
}

.comments img {
    width: 24px;
    height: 24px;
}

.comments p{
    font-weight: 600;
    font-size: 20px;
}

.test {
    display: flex;
    justify-content: center; /* Центрирует по горизонтали */
    align-items: center;     /* Центрирует по вертикали */
    height: 100px;           /* Обязательно задайте высоту или min-height */
    width: 100%;             /* Чтобы блок занимал всю ширину */
    margin-top: auto;
}

.comment-input {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.comment-input input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    font-size: 16px;
    font-family: "Noto Sans Display", sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
    background: transparent;
}

.comment-input input:focus {
    border-color: rgba(0, 0, 0, 0.3);
}

.comment-input .send-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: #E60023;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    padding: 0;
}

.comment-input .send-btn:hover {
    background: #ff3b3b;
    transform: scale(1.05);
}

.comment-input .send-btn:active {
    transform: scale(0.9);
}

.comment-input .send-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.links{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:8px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.links .tg{
    display: flex;
    cursor: pointer;
    gap: 8px;
    border: none;
    border-radius: 21px;
    padding: 9px 17px;
    background-color: #2AABEE;
    color: white;
    font-size: 20px;
    transition: filter 0.2s ease;
}


.links .yt{
    display: flex;
    cursor: pointer;
    gap: 8px;
    border: none;
    border-radius: 21px;
    padding: 9px 17px;
    background-color: #ee2a2a;
    color: white;
    font-size: 20px;
    transition: filter 0.2s ease;

}

.links .tw{
    display: flex;
    cursor: pointer;
    gap: 8px;
    border: none;
    border-radius: 21px;
    padding: 9px 17px;
    background-color: #9146FF;
    color: white;
    font-size: 20px;
    transition: filter 0.2s ease;

}

.links .tg:hover, .links .yt:hover,.links .tw:hover{
    filter: brightness(1.3);
}