/* Reset CSS */
html, body, header, footer, h1, h2, h3, p, ul, li, form, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f3f3f3;
    color: #333;
}

/* Header styles */
header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center; /* Center header content */
}

header h1 {
    margin: 0;
    font-size: 2em;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

/* Main content styles */
section {
    padding: 20px;
    margin: 20px 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center; /* Center section titles */
}

/* Estilos para la sección de Welcome */
#welcome {
    padding: 50px 0;
    background-color: #f9f9f9;
}

#welcome .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#welcome h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

#welcome h3 {
    font-size: 1.8em;
    color: #666;
    margin-top: 40px;
    margin-bottom: 15px;
}

#welcome p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

#welcome a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

#welcome a:hover {
    text-decoration: underline;
}

/* Estilos para la sección ConvPAPDetect */
#convPAPDetect {
    padding: 50px 0;
    background-color: #f9f9f9;
}

#convPAPDetect .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#convPAPDetect h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

#convPAPDetect p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

#convPAPDetect .btn {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

#convPAPDetect .btn-secondary {
    background-color: #6c757d;
}

#convPAPDetect .btn:hover {
    background-color: #0056b3;
}

#convPAPDetect .license {
    margin-top: 1em;
    font-size: 0.9em;
    color: #777;
}


/* Publications styles */
.publication, .member {
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.publication h3, .member h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.publication p, .member p {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
}

.member {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.member h3 {
	min-width: 200px;
}

.linkedin-button {
    display: inline-block;
    background-color: #0077B5;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    width: 60px; /* Ancho mínimo para el botón */
    text-align: center; /* Alineación del texto */
}

.publication {
    position: relative;
}

.publication p {
    margin-right: 60px;
}

.read-button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    position: absolute;
    top: 50%;
    right: 8px; 
    transform: translateY(-50%);
    border-radius: 12px;
}

.read-button:hover {
    background-color: #45a049;
}




/* Contact section styles */
#contact {
    text-align: center; /* Center contact section content */
}

#contact form {
    max-width: 400px;
    margin: 0 auto;
}

#contact label {
    display: block;
    margin-bottom: 10px;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#contact button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
}

#contact button:hover {
    background-color: #555;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}
