/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 20px;
}

a {
    text-decoration: none;
    color: #007BFF;
}

a:hover {
    text-decoration: underline;
}

/* Menu Bar */
.menu-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    position: fixed; /*sticky;*/
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(0); 
    transition: transform 0.3s ease-in-out; 
}

.menu-bar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.menu-bar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu-bar nav ul li {
    margin: 0;
}

.menu-bar nav ul li a {
    color: white;
    font-weight: bold;
}

/* Sections */
.section {
    padding: 40px 20px;
    text-align: center;
    background-color: white;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section h2 {
    margin-bottom: 20px;
    color: #007BFF;
}

/* Responsive Menu */
@media (max-width: 768px) {
    .menu-bar nav ul {
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 10px; 
    }
    
    .menu-bar {
        flex-wrap: wrap; 
        padding: 15px;
    }
    
}

/* Footer */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #007BFF;
    color: white;
    margin-top: 20px;
}


/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-links a {
    color: #007BFF;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0056b3;
}

.social-links i {
    vertical-align: middle;
}

/* Talks section */
.centered-list {
    list-style-position: inside; 
    list-style-type: disc;      
    padding: 0;                 
    margin: 0 auto;             
    text-align: center;         
    display: inline-block;      
}

.centered-list li {
    position: relative;         
    margin-bottom: 10px;        
    text-align: left;           
    padding-left: 1.5em;                  
}

/* Home Section Layout */
#home {
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.home-container {
    display: flex;
    flex-wrap: nowrap;           
    justify-content: space-between;   
    align-items: center;       
    gap: 20px;                 
}

/* Left Content */
.left-content {
    flex: 1 1 50%;             
    max-width: 400px;          
    text-align: left;          
}

/* Right Content */
.right-content {
    display: flex;              
    flex-direction: column;     
    align-items: center;        
    flex: 1 1 50%;             
    max-width: 400px;          
    text-align: center;     
}

/* Image Content */
.image-container {
    flex: 1 1 300px;             
    max-width: 300px;         
    width: 100%;                 
    margin-bottom: 20px;          
}

/* Styling the Image */
.image-container img {
    width: 100%;               
    height: auto;              
    border-radius: 50%;        
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* CV Section */
#cv {
    background-color: #ffffff;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 20px auto;
}

.cv-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv-section {
    margin-bottom: 20px;
}

.cv-section h3 {
    color: #007BFF;
    margin-bottom: 10px;
}

.cv-section ul {
    list-style: disc;
    padding-left: 20px;
}

.cv-section ul li {
    margin-bottom: 5px;
}

