/* Continer general */
.chronologie-container {
    text-align: center;
    padding: 20px;
    background-color: #0e0e0e;
    width: 100%;
    height: 270px; /* adaptiv pentru conținut */
    position: relative; /* esențial pentru ca .personaj-dreapta să se poziționeze relativ la el */
    overflow: hidden;   /* opțional, dacă vrei să ascunzi orice depășire */
}

/* titlul continerului general */
.titlu {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
    position: relative;
    top: -150px;  /* mai puțin agresiv */
    left: 160px;
    display: inline-block;  /* Ajustează dimensiunea după conținut */
    padding: 0 10px;  /* Adaugă un pic de spațiu pentru aspect mai plăcut */
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 15px;
    width: fit-content; /* cât conținutul */
    position: relative;
    top: -170px;
    left: 506px;
    box-sizing: border-box;
}


/* Butoanele Left / Right */
.buton-left,
.buton-right {
    font-size: 70px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
    background: linear-gradient(135deg, #ffffff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.buton-left:hover,
.buton-right:hover {
    transform: scale(1.2);
}

.buton-right {
    position: relative;
    left: 0px;
    top: 5px;
}

.buton-left {
    position: relative;
    top: 5px;
}

/* Zona scrollabilă cu ani */
.timp {
    overflow-x: auto;
    padding: 10px 0;
    width: 685px;
}

.ani {
    display: flex;
    gap: 15px;
}

.ani div {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ffffff, #ffcc00);
    color: black;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 5px white;
}



.share-text {
    font-size: 18px;
    margin: 15px 0;
    color: #ffffff;
    font-weight: bold;
    position: relative;
    top: -185px;
    left: -10px;
    display: inline-block; /* <=== acest lucru face ca dimensiunea să urmeze textul */
}

.share-buttons {
    display: inline-flex; /* se mulează pe conținut */
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px 0;
    position: relative;
    top: -175px;
    left: -10px;
}


.share-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.share-buttons img {
    width: 24px;
    height: 24px;
}

/* Culori specifice pentru fiecare platformă */
.facebook   { background-color: #3b5998; }
.twitter    { background-color: #000000; }
.messenger  { background-color: #0084ff; }
.whatsapp   { background-color: #25d366; }
.tiktok     { background-color: #010101; }
.instagram  {
    background: radial-gradient(circle at 30% 107%, 
        #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.share-buttons a:hover {
    transform: scale(1.1);
    opacity: 0.9;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}


.personaj {
    height: 150px; /* Ajustează în funcție de preferințe */
}

.personaj-stanga {
    left: -890px;
    position: relative;
    top: 35px;
}

.personaj-dreapta {
  position: relative;
  top: 30px;
  left: 650px;
}

