/* Animatie pentru text */
@keyframes fade-in-text {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Opțional: adaugăm o mică translație în sus */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animatie pentru imagine */
@keyframes fade-in-image {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Opțional: adaugăm o mică translație în sus */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stiluri pentru elementele care vor fi animate */
.fade-in-element {
    opacity: 0;
    /* Elementele sunt inițial invizibile */
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: rgb(2, 0, 36);
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
    color: #333;
    margin: 0;
    padding: 0;
}

.content {
    background-color: rgba(255, 255, 255, .8);
    border-radius: .25em;
    box-shadow: 0 0 .25em rgba(0, 0, 0, .25);
    box-sizing: border-box;
    left: 50%;
    padding: 10vmin;
    position: fixed;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

/* Header */
header {
    background: #007BFF;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    color: #ffdf00;
    transform: scale(1.1);
}

/* Secțiunea Bio */
.bio {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-wrap: wrap;
}

.bio img {
    margin-right: 20px;
    max-width: 100%;
    max-height: 300px;
    flex: 1 1 200px;
}

.bio div {
    max-width: 600px;
    flex: 2 1 300px;
}

.bio h2 {
    margin-top: 0;
    font-weight: bold;
}

.bio p {
    line-height: 1.6;
    font-weight: bold;
    font-size: large;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Secțiunea Aptitudini */
.skills {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 40px 0;
}

.skills h2 {
    margin-top: 0;
}

.skills ul {
    list-style: none;
    padding: 0;
}

.skills ul li {
    background: #007BFF;
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

.skills ul li:hover {
    background: #0056b3;
    transform: translateY(-5px);
}

/* Secțiunea Contact */
.contact {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 40px 0;
    font-weight: bold;
}

.contact h2 {
    margin-top: 0;
    font-weight: bold;
}

.contact ul {
    list-style: none;
    padding: 0;
}

.contact ul li {
    background: #f0f2f5;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.contact ul li a {
    color: #007BFF;
    text-decoration: none;
}

.contact ul li a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* Media Queries */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .content {
        padding: 5vmin;
    }

    .bio {
        flex-direction: column;
        text-align: center;
    }

    .bio img {
        max-height: 200px;
        margin: 0 auto 20px auto;
        margin-left: 18px;
    }

    .bio div {
        max-width: 100%;
    }

    .skills ul {
        padding: 0;
    }

    .skills ul li {
        font-size: 0.9em;
        padding: 8px;
    }

    .contact ul li {
        font-size: 0.9em;
        padding: 8px;
    }
}