
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    animation: fadeIn 1s ease;
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
.container {
    width: 100%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    box-sizing: border-box;
    border-radius: 10px;
}
.sidebar {
    flex: 0 0 350px;
    max-width: 350px;
    background-color: #222;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    border-radius: 10px 0 0 10px;
}
.sidebar img {
    display: block;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s;
}
.sidebar img:hover {
    transform: scale(1.05);
}
.main {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}
h1 {
    color: #009fe3;
    margin-bottom: 5px;
    font-size: 32px;
}
h2 {
    border-bottom: 2px solid #009fe3;
    padding-bottom: 5px;
    margin-top: 30px;
    font-size: 22px;
}
h3 {
    font-weight: 300;
    margin-top: 0;
    color: #666;
}
.section {
    margin-bottom: 30px;
}
.bar {
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin: 5px 0 15px;
    height: 10px;
}
.bar-fill {
    background: #009fe3;
    height: 100%;
    width: 0;
    transition: width 1.5s ease-out;
}
.contact p, .otros p {
    margin: 5px 0;
}
a {
    color: #00baff;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #ffffff;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }
    .main {
        flex: 1 1 100%;
    }
}
