@import url('https://fonts.googleapis.com/css?family=Crimson+Text');
/*   font-family: 'Crimson Text', serif;   */
@import url('https://fonts.googleapis.com/css?family=Pathway+Gothic+One');
/*   'Pathway Gothic One', sans-serif;   */
:root {
    --titulos: 'Crimson Text', serif;
    --textos: 'Pathway Gothic One', sans-serif;
    --ancho: 90%;
    --ancho-max: 1000px;
    --color1: #1864ab;
    --color2: #1c7ed6;
    --color3: #0d2943;
    --color4: #ffffff;
    --color5: #f1f3f6;
    --color6: #b20c2d;
    --color7: #e5e8ed;
    --color8: #f9fd00;
}

* {
  box-sizing:border-box;
  margin:0;
  padding:0}

body {
  font-family: var(--textos);
  background: var(--color5);
  color: var(--color3);
  font-size: 18pt;
}


.encabezado {
  background: var(--color3);
  color: var(--color4);
  padding: 10px 30px;
  border-radius: 0 0 35px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap:20px;
  box-shadow:0 3px 12px rgba(0,0,0,.08);
}
.item__escudo {
  width: 10%;
}
.item__header1 {
  flex: 1;
  width: auto;
  padding: 0;
}
.item__header2 {
  width: 30%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
}
.encabezado .item__escudo img {
  max-width: 140px;
}
.encabezad img {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.encabezado h1 {
font-size: 2em;
color: var(--color4);
}

.encabezado p {
margin-top: 5px;
color: var(--color4);
}

.btn-pdf,
.btn-volver {
width: fit-content;
background: var(--color6);
color: var(--color4);
border: 0;
padding: 12px 20px;
border-radius: 7px;
cursor: pointer;
font-size: 15px;
font-weight: bold;
transition: all ease .4s;
}
.btn-volver {
  background: var(--color2);
}
.btn-pdf:hover,
.btn-volver:hover {
background: var(--color1);
}

a,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

.contenedor {
  width:95%;
  max-width:1400px;
  margin:30px auto;
}
.controles {
margin: 20px 0;
background: var(--color4);
padding: 15px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}

.controles h2 {
min-width: 230px;
text-align: center;
color: var(--color3);
}
.btn-navegacion {
width: 42px;
height: 42px;
border: 0;
border-radius: 50%;
background: var(--color3);
color: var(--color4);
font-size: 25px;
line-height: 25px;
padding: 5px;
cursor: pointer;
text-align: center;
}

.btn-hoy {
border: 0;
padding: 10px 16px;
background: #e9edf2;
border-radius: 6px;
cursor: pointer;
}

#filtroCategoria {
padding: 10px;
border: 1px solid #ddd;
border-radius: 6px;
}

.dias-semana {
display: grid;
grid-template-columns: repeat(7,1fr);
background: var(--color3);
color: var(--color4);
border-radius: 8px 8px 0 0;
}

.dias-semana div {
text-align: center;
padding: 13px;
font-weight: bold;
}

.calendario {
display: grid;
grid-template-columns: repeat(7,1fr);
background: var(--color4);
border-left: 1px solid #ddd;
border-top: 1px solid #ddd;
}

.dia {
min-height: 130px;
padding: 8px;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
position: relative;
background: var(--color4);
}
.dia.vacio {
background: #f7f7f7;
}

.numero-dia {
font-weight: bold;
margin-bottom: 7px;
color: #555;
}

.dia.hoy {
background: #eef6ff;
}

.dia.hoy .numero-dia {
background: var(--color3);
color: var(--color4);
display: inline-flex;
width: 28px;
height: 28px;
align-items: center;
justify-content: center;
border-radius: 50%;
}

.actividad {
padding: 7px;
margin-bottom: 5px;
border-radius: 5px;
background: #e8f1fb;
border-left: 4px solid var(--color2);
cursor: pointer;
font-size: 14pt;
}

.actividad:hover {
background: #d9e8f7;
}

.actividad .hora {
font-weight: bold;
color: #555;
}

.actividad .titulo {
font-weight: bold;
margin-top: 3px;
}

.detalle {
background: var(--color4);
margin-top: 20px;
padding: 25px;
border-radius: 10px;
box-shadow: 0 3px 12px rgba(0,0,0,.08);
position: relative;
}

.detalle h2 {
color: var(--color3);
margin-bottom: 20px;
}

.detalle-info p {
margin-bottom: 8px;

}
.descripcion {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #ddd;
}

.descripcion p {
margin-top: 8px;
line-height: 1.6;
}

.cerrar {
position: absolute;
right: 15px;
top: 10px;
border: 0;
background: none;
font-size: 2em;
cursor: pointer;
}
.oculto {
display: none;
}
footer {
  width: 100%;
  padding: 20px;
  text-align: center;
  margin: 25px;
  background: var(--color3);
  color: var(--color4);
  margin: 0 auto;
}

@media(max-width: 800px) {
.contenedor {
width: 100%;
margin: 0;
}

.encabezado {
border-radius: 0;
flex-direction: column;
text-align: center;
}
.item__escudo,
.item__heade1,
.item__header2 {
  width: 100%;
}
.item__header2 {
  justify-content: center;
}

.calendario {
grid-template-columns: repeat(7,minmax(110px,1fr));
overflow-x: auto;
}

.dias-semana {
grid-template-columns: repeat(7,minmax(110px,1fr));
overflow-x: auto;

}
.dia {
min-height: 120px;
}
}

@media(max-width: 600px) {
.encabezado h1 {
font-size: 22px;
}
.controles {
border-radius: 0;
}
.controles h2 {
order: -1;
width: 100%;
}
.btn-pdf {
width: 100%;
}

}

