/* En este archivo se agregan los estilos a las secciones de la página especies vegetales (Cacao, forestales, frutales, ordamentales, palmas, aromaticas y medicinales, cormos de platano, café, caña, hortalizas, agrícolas, pastos) y sus respecivas ventanas módales */

@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&family=Ubuntu:wght@700&display=swap");

/* Encabezado */
header {
  background-image: url(../img/especies-vegetal/general/fondo.jpg);
  background-size: 100% 100%;
}

/* filtro */

.contenedor-busqueda {
  align-items: center;
  justify-content: center;
  display: flex !important;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.icono-busqueda {
  position: relative;
  width: 34px;
  margin-right: 20px;
  cursor: pointer;
  left: 18%;
}

#input-busqueda {
  display: block;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border: solid 2px #519019;
  color: #f18900;
  font-weight: bold;
  outline-color: #519019;
  border-radius: 30px;
  width: 60%;
  margin: auto;
  outline-style: none;
}

figure:after {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  color: #fff;
  content: attr(title);
  opacity: 0;
  padding: 6px 12px;
  position: absolute;
  left: 110%;
  top: 30px;
  transition: all 0.25s ease;
  visibility: hidden;
  white-space: nowrap;
}

figure:after {
  left: auto;
  right: 110%;
}

/* Contenido */
.container-fluid {
  padding: 0px 60px 0px 60px;
}

.grid {
  display: grid;
  grid-template-columns: 100%;
  width: 100%;
}

@media only screen and (min-width: 1160px) {
  .grid {
    grid-template-columns: 50% 50%;
  }
}

@media only screen and (min-width: 1770px) {
  .grid {
    grid-template-columns: 33% 33% 33%;
  }
}

@media only screen and (min-width: 2360px) {
  .grid {
    grid-template-columns: 25% 25% 25% 25%;
  }
}

.contenedor-item {
  position: relative;

  justify-content: center;
  float: left;
  padding: 0px 15px 0px 15px;
  margin-top: 2rem !important;
}

.item {
  position: relative;
  margin: auto;
  width: 550px;
  height: 345px;
  display: flex;
  align-items: center;
}

.item > img {
  position: absolute;
  width: 60%;
  border-radius: 50%;
  float: left;
  z-index: +1;
}

.item > img:hover {
  animation: rotar 3s infinite;
}

@keyframes rotar {
  0% {
    -webkit-transform: rotateZ(0deg);
  }
  50% {
    -webkit-transform: rotateZ(-5deg) scale(0.95);
  }
  100% {
    -webkit-transform: rotateZ(0deg);
  }
}

.marco {
  position: absolute;
  border: dotted 3px #134c1b;
  padding: 13px;
  width: 62%;
  height: 84%;
  top: 0px;
  right: 20px;
  z-index: -4;
}

.titulo-item {
  position: absolute;
  width: 65%;
  height: 27%;
  right: 0px;
  top: 15px;
  right: 0px;
  padding-left: 21%;
  display: flex;
  align-items: center;
  background-color: #519019;
  box-shadow: 0px 1px 5px #000;
}

.titulo-item > h1 {
  position: relative;
  margin: auto;
  margin-top: 0px;
  margin-bottom: 0px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-family: "Ubuntu";
  filter: drop-shadow(0px 0px 2px black);
}

/* Se establecerán diferentes tamaños de letras en el titulo del item o nombre de la plantula para cada sección. Las excepciones son tamaños diferentes de titulo dentro de la misma sección para respetar el diseño*/

.titulo-plantulas-cacao {
  font-size: 3.3rem;
}
.titulo-plantulas-cacao-excepciones {
  font-size: 2.7rem;
}
.titulo-plantulas-forestales {
  font-size: 2.6rem;
}
.titulo-plantulas-forestales-excepciones {
  font-size: 2.1rem;
}
.titulo-plantulas-frutales {
  font-size: 2.5rem;
}
.titulo-plantulas-frutales-excepciones {
  font-size: 2rem;
}
.titulo-plantulas-ornamentales {
  font-size: 2.2rem;
}
.titulo-plantulas-ornamentales-excepciones {
  font-size: 1.6rem;
}
.titulo-palmas {
  font-size: 2.2rem;
}
.titulo-palmas-excepciones {
  font-size: 2.2rem;
}
.titulo-aromaticas-y-medicinales {
  font-size: 2.2rem;
}
.titulo-platano {
  font-size: 2.2rem;
}
.titulo-maderables {
  font-size: 2.3rem;
}
.titulo-hortalizas {
  font-size: 2.2rem;
}
.titulo-hortalizas-excepciones {
  font-size: 1.6rem;
}
.titulo-agricolas {
  font-size: 2rem;
}
.titulo-pastos {
  font-size: 1.7rem;
}
/* Fin tamaños de letras para los titulos de los items */

.info-item {
  position: absolute;
  width: 40%;
  height: 22%;
  right: 7.5%;
  padding-left: 7%;
  display: flex;
  align-items: center;
  text-align: center;
  box-shadow: 0px 1px 4px #000;
}

/* Colores de los items */
.naranja > img {
  border: 3px solid #f18900;
}

.naranja > .info-item {
  background-color: #f18900;
}

.amarillo > img {
  border: 3px solid #ffc107;
}

.amarillo > .info-item {
  background-color: #ffc107;
}

.naranja-oscuro > img {
  border: 3px solid #dc8016;
}

.naranja-oscuro > .info-item {
  background-color: #dc8016;
}

.rojo > .titulo-item {
  background-color: #570000;
}

.rojo > img {
  border: 3px solid #e4ad06;
}

.rojo > .info-item {
  background-color: #e4ad06;
}

.rojo > a {
  background-color: #770404 !important;
  border: solid 3px #570000 !important;
}

.rojo > button {
  background-color: #770404 !important;
  border: solid 3px #570000 !important;
}

.rojo > .marco {
  border: dotted 3px #770404 !important;
}

/* Fin colores items */

.info-item > h3 {
  position: relative;
  margin: auto;
  font-size: 1.5rem;
  font-style: normal;
  font-family: "Quicksand";
}

/* Para plántulas ornamentales se necesita un tamaño menor en .info-item*/
.info-item > h4 {
  position: relative;
  margin: auto;
  font-size: 1.5rem;
  font-family: "Quicksand";
  font-style: normal;
}

.item > button {
  position: absolute;
  top: 68.5%;
  margin-left: 68%;
  font-family: "Quicksand";
  font-weight: 400;
  padding: 2px 10px;
  text-decoration: none;
  background-color: #62b01d;
  border: solid 3px #519019;
  color: #fff;
  border-radius: 25px;
  text-shadow: 1px 1px 1px #0009;
}

.item > a {
  position: absolute;
  top: 68.5%;
  margin-left: 68%;
  font-family: "Quicksand";
  font-weight: 400;
  padding: 2px 10px;
  text-decoration: none;
  background-color: #62b01d;
  border: solid 3px #519019;
  color: #fff;
  border-radius: 25px;
  text-shadow: 1px 1px 1px #0009;
}

.boton-ultimo {
  position: relative;
  margin: auto;

  padding: 0.5rem 1rem 0.5rem 1rem;
  text-align: center;
  color: #dc8016;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: bold;
  border: solid 3px #b06814;
  animation: parpadeo 4s infinite 1s;
  border-radius: 25px;
}

.boton-ultimo:hover {
  color: rgb(255, 255, 255);
  box-shadow: 0px 1px 7px #dc8016 !important;
  background-color: #f18900;
  border: solid 1px #ff8f27;
  animation: none;
}

@keyframes parpadeo {
  0% {
    background-color: #fff;
    color: #dc8016;
  }
  50% {
    background-color: #f18900;
    color: #fff;
  }
  100% {
    background-color: #fff;
    color: #dc8016;
  }
}

/* Puntos de interrupción */
@media only screen and (max-width: 544px) {
  .item {
    width: 370px;
    height: 249px;
    min-width: 370px;
  }
  .titulo-plantulas-cacao {
    font-size: 2.7rem;
  }
  .titulo-plantulas-cacao-excepciones {
    font-size: 1.8rem;
  }
  .titulo-plantulas-forestales {
    font-size: 1.6rem;
  }
  .titulo-plantulas-forestales-excepciones {
    font-size: 1.4rem;
  }
  .titulo-plantulas-frutales {
    font-size: 1.6rem;
  }
  .titulo-plantulas-frutales-excepciones {
    font-size: 1.4rem;
  }
  .titulo-plantulas-ornamentales {
    font-size: 1.5rem;
  }
  .titulo-plantulas-ornamentales-excepciones {
    font-size: 1.2rem;
  }
  .titulo-palmas {
    font-size: 1.7rem;
  }
  .titulo-palmas-excepciones {
    font-size: 1.4rem;
  }
  .titulo-aromaticas-y-medicinales {
    font-size: 1.4rem;
  }
  .titulo-platano {
    font-size: 1.4rem;
  }
  .titulo-maderables {
    font-size: 1.6rem;
  }
  .titulo-hortalizas {
    font-size: 1.5rem;
  }
  .titulo-hortalizas-excepciones {
    font-size: 1.1rem;
  }
  .titulo-agricolas {
    font-size: 1.3rem;
  }
  .titulo-pastos {
    font-size: 1rem;
  }
  .info-item > h3 {
    font-size: 1.3rem;
  }
  .info-item > h4 {
    font-size: 1rem;
  }
  .item > button {
    margin-left: 64%;
    font-size: 12px;
  }
}

/* Ventana modal */
.modal-content {
  padding-bottom: 25px;
  padding-left: 15px;
  padding-top: 25px;
  padding-right: 15px;
}

.modal-item {
  background-color: #519019;
}

.contenedor-boton {
  position: relative;
  height: 2rem;
  background-color: #519019;
}

.linea-1 > hr {
  width: 95%;
  height: 0;
  color: #fff;
  border: medium none;
  border-top-color: currentcolor;
  border-top-style: none;
  border-top-width: medium;
  border-top: 3px dotted white !important;
  left: -10px;
  position: absolute;
}

.linea-2 > hr {
  width: 100%;
  height: 0;
  margin-top: 5px;
  color: #fff;
  border: medium none;
  border-top-color: currentcolor;
  border-top-style: none;
  border-top-width: medium;
  border-top: 3px dotted white !important;
  left: 0px;
  position: absolute;
}

span {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 4px;
  border-radius: 50%;
  display: inline-block;
  color: #519019;
  background-color: rgb(255, 255, 255);
  z-index: 100;
}

.close {
  position: relative;
  z-index: 1000;
}

.titulo-item-modal {
  position: relative;
  font-family: "Ubuntu";
  text-align: center;
  background-color: #fff;
}

.titulo-item-modal > h1 {
  position: relative;
  margin: auto;
  text-transform: uppercase;
}

.vista-exterior {
  position: relative;
  margin-top: 15px;
  color: #fff;
  font-family: "Quicksand";
  text-align: right;
  border-right: 1px solid white;
}

.vista-exterior > img {
  position: absolute;
  height: 311px;
  left: 55px;
  top: -231%;
  z-index: 1;
  transform: rotateZ(-19deg);
}

.vista-interior {
  position: relative;
  margin-top: 15px;
  font-family: "Quicksand";
  color: #fff;
  text-align: left;
  border-left: 1px solid white;
}

.vista-interior > img {
  position: absolute;
  height: 311px;
  right: 55px;
  top: -231%;
  z-index: 1;
  transform: rotateZ(20deg);
}

.contenedor-medida > div:first-of-type {
  position: relative;
  margin: auto;
  width: 8rem;
  margin-top: 10px;
  font-family: "Quicksand";
  text-align: center;
  background-color: white;
}

.contenedor-medida > div:last-of-type {
  position: relative;
  margin: auto;
  width: 38%;
  margin-top: 10px;
  margin-bottom: 5px;
  font-family: "Quicksand";
  text-align: center;
  background-color: #f18900;
}

.desc-deta {
  position: relative;
  margin-top: 20px;
  padding-top: 10px;
  font-family: "Ubuntu";
  font-weight: bold;
  text-align: center;
  background-color: #fff;
}
.contenedor-descripcion {
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  display: flex;
  align-items: center;
}
.contenedor-descripcion > img {
  width: 290px;
  position: relative;
  margin: auto;
}
.contenedor-descripcion > div {
  position: absolute;
  margin-top: -4%;
  padding-top: 15px;
  padding-bottom: 15px;
  z-index: +1;
}

.contenedor-descripcion > div > p {
  position: relative;
  margin: auto;
  text-align: justify;
  width: 66%;
  font-size: 14px;
  font-family: "Quicksand";
  color: #fff;
  left: -2.5%;
}

.contenedor-caracteristicas {
  display: flex;
  align-items: center;
}

.marco-1-caracteristicas {
  position: absolute;
  width: 40%;
  height: 55%;
  border: 4px solid #f18900;
  border-bottom: transparent;
  border-right: transparent;
  left: 30px;
  top: 20px;
}

.figura-1-caracteristicas {
  position: relative;
  margin: auto;
  font-size: 5rem;
  color: #1d6e2b;
  background: none;
  right: 52px;
  margin-bottom: 20px;
  transform: rotateZ(-90deg);
}

.figura-2-caracteristicas {
  position: relative;
  margin: auto;
  font-size: 5rem;
  color: #1d6e2b;
  background: none;
  margin-top: 20px;
  transform: rotateZ(90deg);
  left: 52px;
}

.marco-2-caracteristicas {
  position: absolute;
  width: 40%;
  height: 55%;
  border: 4px solid #f18900;
  border-top: transparent;
  border-left: transparent;
  right: 30px;
  bottom: 20px;
}

.contenedor-caracteristicas > ul {
  position: relative;
  margin: auto;
  width: 90%;
  margin-top: 50px;
  margin-bottom: 50px;
  color: #fff;
  font-family: "Quicksand";
  font-size: 14px;
  text-align: justify;
}

#detalles-item {
  list-style: none;
  font-family: "Quicksand";
}

#variedades {
  width: 65% !important;
  left: 4% !important;
  text-align: center;
  font-family: "Quicksand";
  font-size: 14px !important;
}

.contenedor-descripcion > div > h6 {
  position: relative;
  left: 4% !important;
  font-family: "Quicksand";
  color: #fff;
}

/* Para plantulas forestales */
.contenedor-descripcion > div > ul {
  position: relative;
  margin: auto;
  padding: 0px;
  text-align: left;
  width: 77%;
  font-size: 14px;
  color: #fff;
  left: 7.5%;
}

.contenedor-caracteristicas > p {
  position: relative;
  margin: auto;
  width: 78%;
  padding-bottom: 50px;
  padding-top: 50px;
  font-family: "Quicksand";
  text-align: justify;
  font-size: 14px;
  color: #fff;
}
/* Puntos de interrupción */

@media only screen and (max-width: 991px) {
  .vista-exterior > img {
    height: 195px;
    left: 5px;
    top: -30%;
  }
  .vista-interior > img {
    height: 195px;
    right: 5px;
    top: -30%;
  }
  .contenedor-descripcion > img {
    width: 100%;
    position: relative;
    margin: auto;
  }
}

@media only screen and (max-width: 575px) {
  .vista-exterior > img {
    width: 46%;
    height: auto;
    left: 2%;
    top: -30%;
  }
  .vista-interior > img {
    width: 44%;
    height: auto;
    left: 54%;
    top: -30%;
  }
  .contenedor-descripcion > img {
    margin: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .container-fluid {
    padding: 0px !important;
  }
}
