* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    background-color: rgba(18, 14, 14, 0.681);
}

.navbar {
    background-color: aqua;
    height: 50px;
    margin: 5px;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.intro {
    text-align: center;
    height: 120px;
    margin: 20px 0;
    color: rgba(240, 255, 255, 0.551);
    animation: fadeIn 1s ease forwards;
}

.intro h1 {
    font-size: 3em;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

.intro p {
    font-size: 1.5em;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.7s;
}

.intro button {
    animation: pulse 1.5s infinite;
}

.links {
    padding: 20px;
}

.links ul {
    display: flex;
    list-style: none;
}

.links li {
    margin: 0 15px;
    font-size: large;
    font-weight: 500;
}

.links a {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.links a:hover {
    color: rgb(255, 85, 0);
    transform: translateY(-3px);
}

.about {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(238, 238, 238, 0.7));
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.image img {
    width: 450px;
    height: auto;
    border-radius: 15px;
    border: 5px solid #007BFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: zoomIn 1s ease forwards;
}

.image:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.bio {
    width: 60%;
    margin: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

.fun-facts {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: rgba(240, 255, 255, 0.951);
}

.fun-facts ul {
    list-style: none;
    padding-left: 0;
}

.fun-facts li {
    position: relative;
    padding-left: 30px;
}

.fun-facts li:before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007BFF;
}

.h1 {
    text-align: center;
    font-size: x-large;
    color: rgba(9, 9, 9, 0.768);
    font-weight: 800;
    margin: 10px;
    cursor: pointer;
    color: rgba(240, 255, 255, 0.551);
}

.Skills {
    width: 90vw;
    font-size: x-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 500;
    color: rgba(240, 255, 255, 0.951);
    margin: auto;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.auto {
    border: 2px solid rgb(84, 208, 217);
    margin: 15px;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.head {
    cursor: pointer;
    background-color: #007BFF;
    padding: 10px;
    border-radius: 10px;
    margin: 10px 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: white;
}

.head:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.lang {
    display: none;
    margin: 10px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lang.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease forwards;
}

.lang li {
    margin: 5px 0;
    color: #0c0b0b;
    font-weight: bold;
    transition: transform 0.2s ease, color 0.2s ease;
}

.lang li:hover {
    color: #007BFF;
    transform: scale(1.05);
}

.lang ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #000;
}

.cv {
    display: flex;
    justify-content: center;
    margin: 20px;
}

#download-cv {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#download-cv:hover {
    background-color: #0056b3;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-link {
    font-size: 28px;
    color: #333;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #007bff;
}

.contact-section {
    text-align: center;
}

#contact-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-button:hover {
    background-color: #0056b3;
}

#contact-form {
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1.05);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .about {
        flex-direction: column;
        align-items: center;
    }

    .bio {
        width: 100%;
        margin: 10px 0;
    }

    .image img {
        width: 90%;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
    }

    .links ul {
        flex-direction: column;
        align-items: center;
    }

    .links li {
        margin: 10px 0;
    }

    .intro h1 {
        font-size: 2.5em;
    }

    .intro p {
        font-size: 1.2em;
    }

    .Skills {
        font-size: large;
    }

    .fun-facts {
        padding: 10px;
    }

    .fun-facts li {
        padding-left: 20px;
    }

    .contact-link {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .intro {
        height: auto;
        padding: 10px;
    }

    .intro h1 {
        font-size: 2em;
    }

    .intro p {
        font-size: 1em;
    }

    .bio {
        padding: 15px;
    }

    .Skills {
        font-size: medium;
    }

    .contact-button {
        padding: 8px 16px;
    }

    .contact-link {
        font-size: 20px;
    }
}
