#sterg{
    margin-left: 9%;
    margin-top: 1%;
}

#aleg{
    height: 25px;
}

#stergepostare {
    background: #7FDBCC;
    color: black;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.8em;
    border-radius: 20px;
}

#stergepostare:hover {
    background-color: #FF9F8E;
    background: linear-gradient(90deg, #7FDBCC, #A0E4B8, #DAA520, #FF9F8E);
    background-size: 200% 200%;
    animation: gradientHover 1.5s infinite alternate;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes gradientHover {
    0% { background-position: left; }
    100% { background-position: right; }
}

#postari{
    margin-right: 9%;
    margin-left: 9%;
    display: flex;
    flex-direction: column;
    margin-top: 3%;
    gap: 50px;
    margin-bottom: 3%;
}

#postare_comentarii{
    height: 750px;
    border: 1px solid #4E342E;
    border-radius: 20px;
}

#postare{
    width: 50%;
    height: 100%;
    float: left;
    background-color: #00a9af;
    color: white;
    border-radius: 20px;
}

#poza{
    width: 100%;
    height: 60%;
    position: relative;
    border-radius: 20px;
}

#descriere{
    padding: 10px;
    min-height: 5%;
    max-height: 40%;
}

#utilizator{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 10%;
    opacity: 0;
    background-color: #4a4a4a;
    transition: opacity 0.4s ease-in-out; 
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#apreciere{
    position: absolute;
    bottom: 0;
    float: left;
    width: 100%;
    height: 10%;
    opacity: 0;
    background-color: #4a4a4a;
    transition: opacity 0.4s ease-in-out; 
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

#poza:hover #utilizator{
    opacity: 0.7;
}

#poza:hover #apreciere{
    opacity: 0.8;
}

#sterg{
    position: absolute;
    all: unset; 
    cursor: pointer;
    float: right;
    width: 3%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center; 
    text-align: center;
    margin-right: 2%;
}

#sterg:hover {
    color: red;
}

#sterg i{
    transition: color 0.1s ease-in-out;
}

#apre{
    position: absolute;
    all: unset; 
    cursor: pointer;
    float: left;
    width: 6%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center; 
    text-align: center;
    margin-left: 2%;
}

#apre p{
    margin-left: 5px;
}

#comentarii{
    width: 46%;
    height: 86%;
    padding: 20px 2% 20px 2%;
    float: right;
    background-color: white;
    overflow-y: scroll; 
  scrollbar-width: none; 
  -ms-overflow-style: none;
    overflow-x: hidden;
    border-radius: 20px;
}

#comentarii::-webkit-scrollbar{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: white;
    display: none;
}

#imgprofil_nume{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

#imgprofil{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

#imgprofil i{
    width: 30px;
    height: 30px;
}

#com_trim{
    height: 100%;
    width: 100%;
}

#comentariu{
    background-color: #4a4a4a;
    border-radius: 20px;
    margin-bottom: 10px;
    margin-top: 5px;
    display: inline-block; 
    width: fit-content; 
    max-width: 80%; 
    padding: 7px 12px;
    word-wrap: break-word; 
    background-color: #E0D7C6;
    color: white;
}

#trimmesaj{
    position: sticky;
    display: flex;
    align-items: center;
    background:linear-gradient(to top, #4E342E 93%, #7CFC00 7%);
    width: 47%;
    margin: 0 auto;
    border-radius: 20px;
    padding: 5px;
    height: 40px;
    color: white;
}

#mesaj{
    all: unset;
    width: 88%;
    margin-left: 1%;
    height: 20px;
    font-size: 20px;
    background-color: #00000000;
}

#adauga{
    position: absolute;
    width: 60px;
    height: 60px;
    place-content: center;
    border-style: none;
    position: fixed;
    border-radius: 50%;
    background-color: #7FDBCC;
    color: white;
    font-size: 1.2em;
    text-align: center;
    cursor: pointer;
    margin-left: 93.7%;
    margin-top: 37%;
}

#adauga:hover{
    background-color: #FF9F8E;
    background: linear-gradient(90deg, #7FDBCC, #A0E4B8, #DAA520, #FF9F8E);
    background-size: 200% 200%;
    animation: gradientHover 3s infinite alternate;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes gradientHover {
    0% { background-position: left; }
    100% { background-position: right; }
}

#postcom{
    all: unset; 
    cursor: pointer;
    margin-left: 25px;
}

#numec{
    color: #4E342E;
}

#intro{
    text-align: center;
    margin-top: 3%;
}

#titlu{
    font-size: 34px;
}