body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
}

.header {
    background: url('assets/background.webp') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.header h1 {
    margin: 0;
    color: #fff;
    font-size: 2.8em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header p {
    margin-top: 20px;
    color: #fff;
    font-size: 1.3em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .content {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start; /* Align items to the top */
    }
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.card-content {
    padding: 30px;
}

.card h2 {
    margin-top: 0;
    text-align: center;
    color: #2c3e50;
    font-size: 1.8em;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: block;
    border: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.card p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.card a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card a:hover {
    color: #2980b9;
}

button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1em;
}

button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.contact {
    text-align: center;
    padding: 40px 20px;
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 60px;
}

.contact h3 {
    margin-top: 0;
    font-size: 1.8em;
}

.contact p {
    margin: 10px 0;
}

.contact i {
    margin-right: 10px;
}

#elena-exhibitions {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#elena-exhibitions h3 {
    color: #2c3e50;
}

#elena-exhibitions ul {
    padding-left: 20px;
}

#elena-exhibitions li {
    margin-bottom: 10px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.2em;
}