@font-face {
  font-family: "BloggerSans";
  src: url("../fonts/BloggerSans.eot");
  src: url("../fonts/BloggerSans.eot?#iefix") format("embedded-opentype"),
    url("../fonts/BloggerSans.woff2") format("woff2"),
    url("../fonts/BloggerSans.woff") format("woff"),
    url("../fonts/BloggerSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "BloggerSans";
  src: url("../fonts/BloggerSans-Light.eot");
  src: url("../fonts/BloggerSans-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/BloggerSans-Light.woff2") format("woff2"),
    url("../fonts/BloggerSans-Light.woff") format("woff"),
    url("../fonts/BloggerSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "BloggerSans";
  src: url("../fonts/BloggerSans-Medium.eot");
  src: url("../fonts/BloggerSans-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/BloggerSans-Medium.woff2") format("woff2"),
    url("../fonts/BloggerSans-Medium.woff") format("woff"),
    url("../fonts/BloggerSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* Estilos generales */

.contenedor {
  max-width: 1366px;
  margin: auto;
  padding: 24px 48px;
}

:root {
  --primario: #f7b66f;
  --secundario: #d55e01;
  --marron: #8f4000;
  --azul: #abcde7;
}
body {
  margin: 0;
  font-family: "BloggerSans", sans-serif;
}
a {
  text-decoration: none;
  color: #0e8ec2;
  font-size: 16px;
}
a:hover {
  color: #fd9323;
}

/* Estilos tipograficos */
h1 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 40px;
  color: white;
  margin-top: 0;
  margin-bottom: 12px;
  text-align: center;
}
h2 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 25px;
  color: var(--secundario);
  margin: 12px 0;
}

h3 {
  color: var(--secundario);
}
span.accent {
  color: var(--marron);
  white-space: pre;
  font-size: 45px;
}
p#resultado span.info {
  padding-top: 15px;
  display: block;
  font-style: italic;
}

p {
  font-family: "BloggerSans", sans-serif;
  font-size: 16px;
}

/* Index */
#navbar {
  max-width: 1366px;
  margin: auto;
  padding: 24px 48px 0 48px;
  text-align: right;
}
#navbar a {
  font-size: 18px;
  font-weight: bold;
}
header {
  background-image: url(../img/ciudad.png);
  background-size: cover;
  padding: 48px 0;
  background-color: var(--primario);
  min-height: 100px;
  background-position: center;
}
.intro {
  padding-top: 24px;
  /* background-color: white;
  border-radius: 20px;
  border-style: dashed;
  border-color: var(--secundario);
  text-align: center; */
}
.cont-intro {
  padding: 24px;
  background-color: white;
  border-radius: 20px;
}
.cont-intro {
  background-color: white;
  padding: 24px;
  border-radius: 20px;
}
.mapa-femp img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.mapa-femp {
  text-align: center;
}
.bloq.txt-intro {
  background-color: white;
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bloq.txt-intro p {
  font-size: 20px;
}
p.aviso {
  font-size: 14px;
}
ul.list li {
  margin-bottom: 4px;
}
.cuadricula-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  justify-content: center;
}
.herramientas h2 {
  color: var(--secundario);
  font-size: 40px;
  font-family: "BloggerSans", sans-serif;
  text-transform: uppercase;
  text-align: center;
}
section {
  background-color: var(--primario);
}
.herramientas .bloq {
  background-color: white;
  padding: 24px;
  border-radius: 20px;
}
.herramientas .enlaces a {
  display: block;
  text-align: center;
  color: var(--azul);
  text-transform: uppercase;
  font-size: 25px;
  text-decoration: underline;
  margin-bottom: 20px;
  line-height: 1.5;
}
span.accent {
  white-space: normal;
}
.btn-pdf a {
  padding: 10px 24px;
  background-color: var(--marron);
  color: white;
  border-radius: 20px;
}
.btn-pdf {
  margin: 40px 0;
}
p#resultado {
  margin-top: 40px;
}

/* - - footer - - */
footer .cuadricula {
  display: grid;
  grid-template-columns: repeat(6, 2fr);
  gap: 24px;
  justify-items: center;
  align-items: center;
}
footer .logo {
  max-width: 100px;
}

footer {
  background-color: white;
}
footer p {
  text-align: right;
}
.regla {
  margin-top: 24px;
}
footer .bloque a {
  display: block;
}
img.logo.ministerio {
  max-width: 100%;
}
.bloque.minis {
  grid-column: 5 / 7;
  grid-row: 1;
}
.asistencia {
  text-align: center;
  margin: 10px 0;
}

/* - - MAP - -  */
#map {
  height: 400px;
  width: 100%;
}
.leaflet-control-attribution.leaflet-control a {
  font-size: 13px;
  color: black;
  text-decoration: none;
  margin: 0;
}
input#search {
  width: 300px;
  height: 24px;
}

/* - - - circulo - - -  */
.progress-circle {
  width: 100px;
  height: 100px;
}

svg {
  width: 100%;
  height: 100%;
}

.bg {
  fill: none;
  stroke: #eee;
  stroke-width: 2.8;
}

.progress {
  fill: none;
  stroke: #a6ce39;
  stroke-width: 2.8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-out;
  transform: rotate(-90deg);
  transform-origin: center;
}

.percentage {
  font-size: 0.5em;
  text-anchor: middle;
  fill: #a6ce39;
  font-family: "BloggerSans", sans-serif;
}

.cuadricula-result {
  display: grid;
  grid-template-columns: 15% 85%;
  align-items: start;
}

.ciudad-footer {
  height: 64px;
  background-image: url(../img/coches-footer.png);
  background-repeat: repeat-x;
  background-size: contain;
  margin-top: 48px;
  background-position: bottom;
}

/* Responsive Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .contenedor {
    padding: 48px 10px;
  }
  .fourth-section .cuadricula {
    width: 100%;
  }
  .fifth-section .contenedor {
    padding: 48px 10px;
  }
  .fifth-section .cuadricula {
    grid-template-columns: repeat(3, 2fr);
  }
  footer .cuadricula {
    grid-template-columns: repeat(3, 2fr);
  }
  .third-section .cuadricula .info {
    padding: 24px;
  }
  .svg-icon {
    max-width: 100%;
  }
  .regla {
    margin-top: 48px;
  }
}

/* Responsive movil */
@media (max-width: 800px) {
  header {
    padding: 0;
  }
  #navbar {
    padding: 48px 10px 0 10px;
  }
  h1 {
    font-size: 30px;
    margin-top: 0;
  }
  .contenedor {
    padding: 24px 10px;
  }
  footer .cuadricula {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 10px;
  }
  .logos {
    display: flex;
    gap: 24px;
    justify-content: center;
  }
  .bloque {
    width: 100%;
  }
  .bloque.min {
    width: 48.5%;
  }
  footer .logo {
    width: 100%;
  }
  .herramientas a {
    font-size: 20px !important;
  }
  .svg-icon {
    max-width: 60%;
  }
  footer .contenedor {
    padding: 48px 10px;
  }
  .bloque {
    text-align: center;
  }

  .cuadricula-2 {
    grid-template-columns: 1fr;
  }
  h2,
  span.accent {
    font-size: 25px !important;
  }
  .cuadricula-result {
    grid-template-columns: 40% 60%;
  }
  .cuadricula-result .bloq {
    padding: 24px 0;
  }
  .ciudad-footer {
    background-size: cover;
}
}
