/* Importar la fuente de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    padding-bottom: 60px;
}

header {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
}

#language-select {
    position: absolute;
    text-align: right;
    top: 10px;
    right: 10px;
    color: white;
}

nav ul {
    list-style-type: none;
    padding: 0;
    background-color: #333;
    text-align: center;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5em 1em;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #555;
}

section {
    padding: 2em;
    background-color: white;
    margin: 1em auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

h1, h2 {
    color: #444;
}

h1 {
    color: white;
}

ul {
    padding-left: 1em;
}

footer {
    text-align: center;
    padding: 1em 0;
    background-color: #222;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    z-index: 101; 
}


/* Progress bar style */
#progressBarContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #222;
    z-index: 102;
}


#progressBar {
    height: 10px;
    background-color: #f3f3f3; /* Cambia este color según tu esquema de colores */
    width: 0%;
}


/* "Back to Top" button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 80px; /* Justo encima de la barra de progreso */
    right: 30px;
    z-index: 1000;
    font-size: 18px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#back-to-top:hover {
    background-color: #45a049;
}

/* "Back" Button */
#back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: #f3f3f3;
    background-color: #222;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#back-button:hover {
    background-color: #0056b3;
}


.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    width: 10em; /* Tamaño del círculo */
    display: block;
    margin: 0; /* Eliminar margen de la imagen */
    float: right; /* Flotar a la izquierda */
    padding-right: 20px;
}