/* Required height of parents of the Full Page Intro and Intro itself */
html,
body,
.view {
  height: 100%;
}

@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #e4e9ed;
  font-family: Raleway, sans-serif;
}

br {
  margin-bottom: 2%;
}

/* Header */
.header {
   width: 100%;
   height: 80vh;
   position: relative;
   display: grid;
   grid-template-rows: max-content 1fr;
   grid-template-columns: 1fr max-content;
   text-align: center;
 }

 .header__logo {
   fill: white;
   width: 3rem;
   padding: 1rem;
   cursor: pointer;
 }
.header__bg {
   width: 100%;
   height: 105%;
  background-image: url("../img/contraloria.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(50%);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.header__title {
   grid-area: 2 / 1 / 2 / 3;
   align-self: center;
   justify-self: center;
   color: #28a745;
   text-transform: uppercase;
   font-size: 4rem;
   text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
   margin-top: -5rem;
   animation: fadeInUp 1s ease-in-out;
 }
.header__log {
  display: flex;
  align-items: center;
  grid-area: 1 / 2 / 1 / 3;
  padding: 1rem 2rem;
  color: white;
  cursor: pointer;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.header__icon {
  fill: currentColor;
  margin-right: 0.5rem;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

.header__text {
  text-transform: capitalize;
}

/* About section */
.about {
  width: 100%;
  height: 60vh;
  margin-top: -7rem;
  /* Optional clip-path or background-image can be uncommented if needed */
  /* clip-path: polygon(0 27%, 100% 0, 100% 100%, 0 100%); */
  /* background-image: url('https://cdn.20m.es/img2/recortes/2018/07/13/745087-600-338.jpg?v=20180914080044'); */
}

.about__title {
  text-align: center;
  text-transform: uppercase;
}

/* Media queries */
@media (max-width: 768px) {
  .heading {
    font-size: 15px;
    color: #5d4267;
  }

  .header__title {
    font-size: 20px;
  }

  .avisos {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  .display-3 {
    font-size: 30px;
    color: #5d4267;
  }

  .header__title {
    font-size: 50px; /* Conflicting font size? Consider unifying with above */
  }
}

@media (max-width: 992px) {
  .display-3 {
    margin: 0 3rem;
    font-size: 30px;
    color: #5d4267;
  }

  .avisos {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Footer */
.politica {
  text-align: center;
}

.datos img {
  height: 150px;
  width: auto;
}

.card-header {
  height: 48px;
  padding: 0;
  text-decoration: none;
}

.card {
  text-decoration: none;
  margin-bottom: 10px;
  text-align: left;
}

.card button {
  text-decoration: none;
  margin-bottom: 5px;
  text-align: left;
}

.der {
  width: 90%;
}

.izq {
  text-align: center;
}
.datos-julio {
   background-color: #dbdbdb;
   height: 329px;
   padding: 20px;
   margin-bottom: -30px;
}
.container span {
   color: #777;
}

.datos {
   text-align: center;
 }
.datos img {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 200px;  /* Ajusté el tamaño máximo de la imagen */
  width: 100%;       /* Se adapta al 100% del contenedor si es necesario */
  height: auto;      /* Mantiene la proporción */
  border-radius: 10px; /* Opcional, para bordes redondeados */
}
