/**
 * index carlosvaccaro.com.ar
 *
 *carlos vaccaro
 */

body {
	
	
	font-family: "Times New Roman", Times, Georgia, serif;
	font-size: 24px;
	background-color:  #FFDAB9;
	margin-left: 150px;
  margin-right: 150px;
	
}


h1 { 
	font-size:50px; 
	font-family:verdana; 
	color:rgb(228, 15, 15); 
	text-align: center;
	}
	

#menu {
    margin:auto;
    padding-left:20px;
    padding-top:5px;    
   
    width:600px;
  /*  background-color: #FF4500;  */
	
}
#menu ul{
    list-style:none; /* Eliminamos los bullets */
    margin:0px; /* Quitamos los margenes */
    padding:0px; /* Quitamos el padding */
}
#menu ul li {
    /* float:left; /* Hacemos que el menu se muestre horizontal */
    padding-left:10px;
    padding-right:10px;
    border-right:1px solid #FFFFFF;
}
#menu ul li a{
    text-decoration:none;
    color:	#8B0000;
    font-weight:bold;
	font-size:30px; 
}
#menu ul li a:hover{
    color:#006400;
}


#imagen{
	
	height:50px;
	
	
}


hr {
	background-color: rgb(0, 0, 0);
	height: 10px;
	
}


#baseart{

  background-color: #E0FFFF;
  font-family:"Times New Roman";
  margin:30px;
  
  
  
  
  
}
	
#titulo{
	
	text-align: center; 
	font-size: 2em;
	font-weight: bold;
	color: #b22222;
}

#subtituart{
	margin-left:150px;
	text-align: left; 
	font-size: 1.2em;
	color: 	#008080;
}


#subtituart2{
	margin-left:150px;
	text-align: left; 
	font-size: 1em;
	color: 	#0b4444;
}



#normalart{
	margin:30px;
	text-align: justify; 
	font-size: 1em;
	text-indent: 1.5cm;
	
}



#imagcentro{
	
	text-align: center; 
	
}





#imagvineta{
	
	
	margin-left: 150px;
	float: left;

}

#contenedor{

		text-align: center; 

}


/* --- Contenedor exterior: fondo claro, más ancho que el pre --- */

/* --- Contenedor exterior: fondo claro, más ancho que el pre --- */
.codigo-contenedor {
    background-color: #ffffff; /* Blanco puro: el "borde blanco" */
    padding: 40px;             /* Espacio uniforme en los 4 lados */
    margin: 20px 150px;        /* Margen amplio a los lados (¡no lo reduzcas!) */
    border-radius: 8px;
}

/* --- Estilo del bloque de código dentro del contenedor blanco --- */
.codigo-contenedor pre {
    margin: 0;                 /* Elimina márgenes por defecto del <pre> */
    padding: 12px;             /* Espacio interno razonable dentro del código */
    background-color: #1e1e1e; /* Fondo oscuro (coherente con atom-one-dark) */
    border-radius: 6px;
    color: #cccccc;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    width: 100%;
    box-sizing: border-box;

    /* ✅ Aquí va el scroll y la altura fija */
    height: 600px;             /* Altura fija razonable */
    overflow-y: auto;          /* Scroll vertical si el código es largo */
    overflow-x: auto;          /* Scroll horizontal si hay líneas anchas */
}

/* Estilo opcional del scroll (mejora visual en Chromium) */
.codigo-contenedor pre::-webkit-scrollbar {
    width: 10px;
}
.codigo-contenedor pre::-webkit-scrollbar-track {
    background: #2a2a2a;
}
.codigo-contenedor pre::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}
.codigo-contenedor pre::-webkit-scrollbar-thumb:hover {
    background: #777;
}
/* Asegurar que <pre> no añada márgenes extra */
.codigo-scroll pre {
    margin: 0;
    padding: 12px; /* opcional: un poco de espacio interno */
    background: transparent;
    border: none;
}

/* Opcional: mejorar la apariencia del scroll en navegadores modernos */
.codigo-contenedor::-webkit-scrollbar {
    width: 10px;
}
.codigo-contenedor::-webkit-scrollbar-track {
    background: #2a2a2a;
}
.codigo-contenedor::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}
.codigo-contenedor::-webkit-scrollbar-thumb:hover {
    background: #777;
}


#normalart code {
    font-size: 0.85em;      /* Aprox. 20px si el cuerpo es 24px */
    font-family: 'Courier New', monospace;
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
}



/* Estilos para el índice (independientes de estilo.css) */
.indice-contenedor {
            max-width: 900px;
            margin: 30px auto;
            padding: 20px;
            background-color: #fdf6ee; /* Fondo tipo Peach Puff */
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            font-family: 'Times New Roman', Times, serif;
        }
.indice {
            list-style: none;
            padding-left: 0;
        }
.indice-item {
            margin: 10px 0;
        }
.indice-item a {
            text-decoration: none;
            color: #2c3e50;
            font-size: 1.05em;
            display: inline-block;
            padding: 4px 0;
            transition: color 0.2s;
        }
.indice-item a:hover {
            color: #d35400;
            text-decoration: underline;
        }
.indice h2 {
            margin-top: 0;
            color: #b84b03;
            text-align: center;
        }
        
.btn-descargar {
            display: inline-block;
            margin: 8px 0;
            padding: 6px 12px;
            background-color: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-size: 0.9em;
        }
.btn-descargar:hover {
            background-color: #45a049;
        }
