body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
}

.data-container {
    max-width: 900px;
    margin: 0 auto;
}

.publication {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.publication-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.text-content {
    max-width: 70%;
}

.container-image {
    flex-shrink: 0;
}

.publication-image {
    width: 150px;
    height: 100px;
    object-fit: contain;
    margin-left: 20px;
    border-radius: 5px;
}

.publication h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #d73b30;
}

.publication h6 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #d73b30;
}

.experience h3 span {
    float: right;
    font-weight: normal;
    font-size: 14px;
    color: #666;
}

.experience h6 span {
    float: right;
    font-weight: normal;
    font-size: 14px;
    color: #666;
}

.authors {
    font-weight: bold;
}

.details {
    color: #666;
    font-size: 14px;
}

.links a {
    display: inline-block;
    margin-right: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.links a:hover {
    text-decoration: underline;
}

.publication-type {
    font-style: italic;
    font-size: 13px;
}

.title {
    font-weight: 600;
    font-size: 15px;
}


/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .data-container {
        padding: 0 10px;
    }

    .publication {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .text-content {
        max-width: 100%;
    }

    .container-image {
        margin-top: 10px;
    }

    .publication h3 {
        font-size: 16px;
    }
    
    .publication h6 {
        font-size: 16px;
    }

    .details {
        font-size: 12px;
    }

    .title {
        font-size: 12px;
    }

    .links a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        margin: 10px;
    }

    .publication {
        padding: 8px;
    }

    .publication h3 {
        font-size: 14px;
    }

    .publication h6 {
        font-size: 14px;
    }

    .details {
        font-size: 12px;
    }

    .title {
        font-size: 12px;
    }

    .links a {
        font-size: 12px;
        margin-right: 5px;
    }

    .publication-image {
        width: 100px;
        height: 130px;

        margin-left: 0;
        margin-top: 10px;
    }
}
