@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Oldenburg&family=Pangolin&display=swap");
* {
  color: white;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
}

header h1 {
  text-align: center;
  font-size: 700%;
  color: white;
  font-family: "Pangolin", cursive;
  margin: 20px;
}
header .nav-horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
}
@media (min-width: 1024px) and (max-width: 1366px) {
  header h1 {
    font-size: 600%;
  }
  header .nav-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 40px;
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (min-width: 431px) and (max-width: 768px) {
  header h1 {
    font-size: 400%;
  }
  header .navbar-brand img {
    width: 100px;
    height: auto;
  }
}
@media (min-width: 320px) and (max-width: 430px) {
  header h1 {
    font-size: 300%;
  }
  header .navbar-brand img {
    width: 80px;
    height: auto;
  }
}

main h2 {
  font-family: "Oldenburg", serif;
  text-align: center;
  margin: 20px;
  font-size: 400%;
}
main img {
  width: 450px;
  height: 550px;
}
main .presentacion img:hover {
  transform: scale(0.85);
  transition: transform 1s ease;
}
main .presentacion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin: 30px;
}
main h3 {
  font-size: 250%;
  font-family: "Oldenburg", serif;
  text-align: center;
  margin: 20px;
}
main form {
  margin-left: 80px;
  margin-right: 80px;
}
main form div {
  margin: 10px;
}
main form div label {
  font-family: "Oldenburg", serif;
  font-size: 150%;
  margin-bottom: 10px;
}
main form button {
  margin: 10px;
}
@media (min-width: 1024px) and (max-width: 1366px) {
  main .presentacion {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 431px) and (max-width: 768px) {
  main h2 {
    text-align: center;
    margin: 20px;
    font-size: 300%;
  }
  main .presentacion {
    grid-template-columns: repeat(2, 1fr);
  }
  main img {
    width: 40vw;
    /* 40% del ancho de la ventana */
    height: 50vw;
    /* Mantiene la proporción de la imagen */
    margin: 1vh 2vw;
    /* Margen de 1% de la altura de la ventana y 2% del ancho */
    pointer-events: none;
    /* Desactiva los eventos de puntero, deshabilitando el hover */
  }
}
@media (min-width: 320px) and (max-width: 430px) {
  main h2 {
    text-align: center;
    margin: 20px;
    font-size: 250%;
  }
  main .presentacion {
    grid-template-columns: 1fr;
  }
  main img {
    width: 70vw;
    /* 70% del ancho de la ventana */
    height: 80vw;
    /* Mantiene la proporción de la imagen */
    margin: 1vh 2vw;
    /* Margen de 1% de la altura de la ventana y 2% del ancho */
    pointer-events: none;
    /* Desactiva los eventos de puntero, deshabilitando el hover */
  }
}

section {
  margin-bottom: 60px;
}
section .animal-info {
  display: flex;
  align-items: flex-start;
}
section .imagen-animal {
  width: 500px;
  height: 300px;
  margin: 30px;
}
section .animal-texto {
  flex: 1;
}
@media (min-width: 431px) and (max-width: 768px) {
  section {
    margin-bottom: 30px;
  }
  section .animal-info {
    flex-direction: column;
    align-items: center;
  }
  section .animal-info .imagen-animal {
    width: 60vw;
    height: auto;
    margin: 1vh 2vw;
  }
  section .animal-info .animal-texto {
    margin: 10px 30px 0 30px;
  }
}
@media (min-width: 320px) and (max-width: 430px) {
  section {
    margin-bottom: 30px;
  }
  section .animal-info {
    flex-direction: column;
    align-items: center;
  }
  section .animal-info .imagen-animal {
    width: 80vw;
    height: auto;
    margin: 1vh 2vw;
  }
  section .animal-info .animal-texto {
    margin: 10px 30px 0 30px;
  }
}

.imagen-ave-carrusel {
  max-width: 70%; /* Ajusta el ancho máximo a un porcentaje de su contenedor */
  height: auto; /* Mantiene la proporción original de la imagen */
  margin: 0 auto; /* Centra la imagen en su contenedor */
}

#carouselExampleFade {
  max-width: 1400px; /* El mismo tamaño que querías para tu imagen */
  margin: 0 auto;
}

.nombre-cientifico {
  font-style: italic;
  font-size: 200%;
  margin: 5px auto;
  font-family: "Oldenburg", serif;
  color: black;
  font-weight: bold;
  background-color: #876146;
  max-width: 75%;
  width: fit-content;
  transform: translateY(30px);
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .nombre-cientifico {
    font-size: 150%;
  }
}
@media (min-width: 431px) and (max-width: 768px) {
  .nombre-cientifico {
    font-size: 100%;
  }
}
@media (min-width: 320px) and (max-width: 430px) {
  .nombre-cientifico {
    font-size: 50%;
    transform: translateY(40px);
  }
}
.grid-peces-record {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 40px;
  justify-items: center;
  align-items: start;
}
.grid-peces-record img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.grid-peces-record figcaption {
  text-align: center;
  font-family: "Oldenburg", serif;
  font-size: 1.3em;
  margin-top: 10px;
}
@media (min-width: 1024px) and (max-width: 1366px) {
  .grid-peces-record figcaption {
    font-size: 1.2em;
  }
}
@media (min-width: 320px) and (max-width: 430px) {
  .grid-peces-record {
    grid-template-columns: 1fr;
    margin: 20px;
    gap: 10px;
  }
  .grid-peces-record figcaption {
    font-size: 1em;
  }
}

.zona-votacion {
  margin-bottom: 40px;
}
.zona-votacion .boton-votacion {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  align-items: center;
}
.zona-votacion .boton-votacion .btn-votar {
  background-color: steelblue;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 50px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.zona-votacion .boton-votacion .btn-votar:hover {
  background-color: #2F8A8A;
}
.zona-votacion .boton-votacion .btn-votar:active {
  transform: translateY(2px);
}
.zona-votacion .grid-votacion {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  align-items: center;
}
.zona-votacion .grid-votacion label {
  cursor: pointer;
  position: relative;
  width: 100%;
}
.zona-votacion .grid-votacion label:hover figcaption {
  background-color: #2936A3;
}
.zona-votacion .grid-votacion figure {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.zona-votacion .grid-votacion figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.zona-votacion .grid-votacion figure figcaption {
  background-color: steelblue;
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.zona-votacion .grid-votacion .input-oculto {
  display: none;
}
.zona-votacion .grid-votacion .input-oculto:checked + figure {
  box-shadow: 0 0 0 4px #2F8A8A;
  transform: scale(1.02);
}
.zona-votacion .grid-votacion .input-oculto:checked + figure figcaption {
  background-color: #2F8A8A;
}
.zona-votacion .grid-votacion .input-oculto:checked + figure figcaption::after {
  content: " ✔";
  font-weight: bold;
  margin-left: 5px;
}
@media (min-width: 431px) and (max-width: 768px) {
  .zona-votacion .grid-votacion {
    width: 95%;
    margin: 20px auto;
    gap: 15px;
  }
  .zona-votacion .grid-votacion label:hover figcaption {
    background-color: steelblue;
  }
  .zona-votacion .grid-votacion figure img {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
  }
}
@media (min-width: 320px) and (max-width: 430px) {
  .zona-votacion .grid-votacion {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .zona-votacion .grid-votacion figure img {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
  }
  .zona-votacion .grid-votacion label:hover figcaption {
    background-color: steelblue;
  }
}

footer h4 {
  font-family: "Oldenburg", serif;
  font-size: 180%;
}
footer p {
  font-family: "Oldenburg", serif;
  font-size: 180%;
}
footer div {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-content: auto;
  padding: 20px;
}
footer ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}
@media (min-width: 1024px) and (max-width: 1366px) {
  footer div {
    padding: 20px 80px;
  }
  footer div h4 {
    font-size: 130%;
  }
  footer div p {
    font-size: 130%;
  }
}
@media (min-width: 431px) and (max-width: 768px) {
  footer div {
    flex-direction: column;
    align-items: center;
    font-size: 70%;
  }
  footer ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
@media (min-width: 320px) and (max-width: 430px) {
  footer div {
    flex-direction: column;
    align-items: center;
    font-size: 50%;
  }
  footer ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/*# sourceMappingURL=styles.css.map */
