body{
	font-family: "Trebuchet MS", sans-serif;
	font-size: 17px;
	margin: 10px 1%;
	background: #f0f0f0;
    width: 98%;
}
header {
  text-align: center;
  padding: 20px;
}
header img {
  max-width: 120px;
  margin-bottom: 10px;
}
h1 {
  font-size: 1.6rem;
  color: #333;
  margin: 5px 0;
}
section {
  width: 90%;
  max-width: 900px;
  margin-bottom: 40px;
}
section h2 {
  font-size: 1.1rem;
  color: #276234;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.tarjeta {
  background: #fff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tarjeta:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.tarjeta a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.material-icons {
  font-size: 2.5rem;
  margin-bottom: 2px;
  color: #6200ea;
}
.titulo {
  font-weight: bold;
  margin-bottom: 2px;
  font-size: 1.1rem;
}
.descripcion {
  font-size: 0.9rem;
  color: #666;
}
a:link {
  font-size: 1rem;
  color: #6200ea;
  text-decoration: none;
  gap: 6px;
}
a:hover {
  text-decoration: underline;
}
	
#logo{
    width: auto;
    margin: 0;
    max-height: 200px;
}

h1 { 
	font-size: 150%;
	font-weight: bold;
	color: #276234;
	text-align: center;
}
h2 {
	font-size: 125%;
	font-weight: bold;
	color: #276234;
}
h3 {
	font-size: 125%;
	font-weight: bold;
	color: #FF0000;
}
h4 { 
	font-size: 150%;
	font-weight: bold;
	color: #FF0000;
}
h5 { 
	font-size: 500%;
	font-weight: bold;
	color: #FF0000;
}
.curso_grande{font-size: 500%; font-weight: bold;}
.rojoNegrita {color: #FF0000; font-weight: bold;}
.blancoNegrita {color: #FFFFFF; font-weight: bold;}
.grupo{font-size: 100%; color: #0000FF; font-weight: bold;}
.rojo {color: #FF0000;}
.red {color: #FF0000;}
.azul {color: #0000FF;}
.negro {color: #000000;}

.boton_web { padding: 10px 20px; color: white; background-color: #276234; font-size: 100%; border: none; cursor: pointer; 
	outline: none; transition: background-color 0.3s; width:180px;
	border-radius: 10px 10px 10px 10px;  }
	/* Cambia el color de fondo al pasar el mouse */
.boton_web:hover {  opacity: 0.6;}
	/* Estilo para la pestaña activa */
.boton_web.active {color: #276234; background-color: #ffffff; font-weight: bold;}

input#btn80p {
	padding: 4px 20px;
	width:90%;
	/*give the background a gradient*/
	background:#276234; /*fallback for browsers that don't support gradients*/
	border:2px outset #dad9d8;
	/*style the text*/
	font-family:Andika, Arial, sans-serif; /*Andkia is available at http://www.google.com/webfonts/specimen/Andika*/
	font-size:1.1em;
	letter-spacing:0.05em;
	/*text-transform:uppercase;*/
	color:#fff;
	text-shadow: 0px 1px 10px #000;
	/*add to small curve to the corners of the button*/
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	/*give the button a drop shadow*/
	-webkit-box-shadow: rgba(0, 0, 0, .55) 0 1px 6px;
	-moz-box-shadow: rgba(0, 0, 0, .55) 0 1px 6px;
	box-shadow: rgba(0, 0, 0, .55) 0 1px 6px;
}

input#btn50p {
    padding: 4px 20px;
    width: 50%;
    background: #276234;
    font-family: Andika, Arial, sans-serif;
    font-size: 1.1em;
    margin: 20px 25%;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    /* text-transform: uppercase; */
    color: #fff;
    text-shadow: 0px 1px 10px #000;
}

input#btn33p {
	padding: 4px 20px;
	width:33%;
	background:#276234; /*fallback for browsers that don't support gradients*/
	border:none;
	font-family:Andika, Arial, sans-serif; /*Andkia is available at http://www.google.com/webfonts/specimen/Andika*/
	font-size:1.1em;
	letter-spacing:0.05em;
	color:#fff;
	text-shadow: 0px 1px 10px #000;
}

input#btn33p2 {
	padding: 4px 10px;
	width:29%;
    margin: 0 2%;
	height: 60px;
	background:#276234; /*fallback for browsers that don't support gradients*/
	border:none;
	font-family:Andika, Arial, sans-serif; /*Andkia is available at http://www.google.com/webfonts/specimen/Andika*/
	font-size:1.1em;
	letter-spacing:0.05em;
	/*text-transform:uppercase;*/
	color:#fff;
	text-shadow: 0px 1px 10px #000;
}

input#btnPregunta {
    padding: 4px 20px;
	width:60px;
	/*give the background a gradient*/
	background:#ffae00; /*fallback for browsers that don't support gradients*/
	border:2px outset #dad9d8;
	/*style the text*/
	font-family:Andika, Arial, sans-serif; /*Andkia is available at http://www.google.com/webfonts/specimen/Andika*/
	font-size:1.1em;
	letter-spacing:0.05em;
	/*text-transform:uppercase;*/
	color:#fff;
	text-shadow: 0px 1px 10px #000;
	/*add to small curve to the corners of the button*/
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	/*give the button a drop shadow*/
	-webkit-box-shadow: rgba(0, 0, 0, .55) 0 1px 6px;
	-moz-box-shadow: rgba(0, 0, 0, .55) 0 1px 6px;
	box-shadow: rgba(0, 0, 0, .55) 0 1px 6px;
}

input[type=text] {
    padding: 5px 5px;
    margin: 8px 0;
    box-sizing: border-box;
	border-radius: 8px;
}

input[type=password] {
    padding: 5px 5px;
    margin: 8px 0;
    box-sizing: border-box;
	border-radius: 8px;
}

input[type=number] {
	width: 80px;
    margin: 0px 0;
    padding: 5px 5px;
    box-sizing: border-box;
	border-radius: 8px;
}

select {
    padding: 5px 5px;
    margin: 8px 0;
    box-sizing: border-box;
	border-radius: 8px;
}

textarea {
    width: 95%;
	padding: 5px 5px;
    margin: 8px 0;
    box-sizing: border-box;
	border-radius: 8px;
    
}

table{
	border-collapse: collapse;
	border-color: #276234;
  }

th, td {
	border-collapse: collapse;
	border-color: #276234;
	padding-left: 5px;
	padding-right: 5px;
  }


.sidebar {
    position: fixed;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #276234;
    overflow-x: hidden;
    transition: 0.4s;
    padding: 1rem 0;
    box-sizing:border-box;
}

.sidebar .boton-cerrar {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 2rem;
    display: block;
    padding: 0;
    line-height: 1.5rem;
    margin: 0;
    height: 32px;
    width: 32px;
    text-align: center;
    vertical-align: top;
}

.sidebar ul, .sidebar li{
    margin:0;
    padding:0;
    list-style:none inside;
}

.sidebar ul {
    margin: 4rem auto;
    display: block;
    width: 80%;
    min-width:200px;
}

.sidebar a {
    display: block;
    font-size: 120%;
    color: #eee;
    text-decoration: none;
    
}

.sidebar a:hover{
    color:#fff;
    background-color: #f90;

}

#contenido {
    transition: margin-left .4s;
    padding: 1rem;
}

.abrir-cerrar {
    color: #2E88C7;
    font-size:1rem;   
}

#abrir {
    
}
#cerrar {
    display:none;
}
