@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

/* caja de busqueda */

#modal-desc{
  word-wrap: break-word;
}

.pseudo-search {      
  border: 2px solid #ccc;
  border-radius: 100px;
  padding: 5px 20px;
  transition: background-color 0.5s ease-in-out;
  float: right;
  margin-right: 36px;
}
#search-not-found{
  text-align: center;
 width:100%;
}
/* Estilo para el elemento input dentro de .pseudo-search */
.pseudo-search input {
  border: none;
  background-color: transparent;
  width: 100px;
  height: 30px;
  outline: none; /* Esto elimina el borde de enfoque */
  border-color: #F2F2F2;
}
input[type="text"]{
  padding: 0;
}
input[type="text"]:focus{
  padding: 0;
  border-color: none;
  box-shadow:none;
}
input[type="text"]:hover{
  border-color: none;
  box-shadow:none;
}



/* Estilo para el botón y el elemento <i> dentro de .pseudo-search */

.pseudo-search i {
  border: none;
  background: none;
  cursor: pointer;
}


/* Estilo para el elemento select dentro de .pseudo-search */
.pseudo-search select {
  border:none;
}
/* Estilo de politica generales */
.ppolitica{
   white-space: pre-line;
   margin-left: 40px;
   margin-right: 40px;
   text-align: justify;
   font-weight: 300;
   animation: textPoliticaAnimation 0.5s ease-in-out;
}
@keyframes textPoliticaAnimation {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.textpolitica{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}
 h1{
   text-align: center;
   font-size: 48px;
   color: #3d3d3d;
}
.gridContainer {
   display: grid;
   grid-template-columns: repeat(4, 1fr); /* 4 columnas */
   gap: 10px; /* Espacio entre las imágenes */
   justify-content: center;
 }
 
 .itemProduct {
   align-items: center;
   background-color: #F2F2F2;
   width: 200px;
   box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
   border-radius: 20px;
   margin: 20px auto;
   padding: 20px;
   padding-bottom: 5px;
   cursor: pointer;
 }
  
 #flecha {
  cursor: pointer;
  color: #3d3d3d
 }

 @media (max-width: 992px) {
   .gridContainer {
     grid-template-columns: repeat(3, 1fr); /* 3 columnas en pantallas más pequeñas */
   }
   h1 {
      font-size: 36px; /* tamaño de fuente en pantallas más pequeñas */
    }

    /*.modal-content {
      width: 90%; 
      height: auto; 
  } */
  .textpolitica{
   font-size: 13px;
  }
 }

 @media (max-width: 768px) {
   .gridContainer {
     grid-template-columns: repeat(2, 1fr); 
   }
    h1 {
    font-size: 24px; 
  }
   
  /* .modal{
   top: 0px !important;
   left: 0px !important;
   right: 0px !important;
  }
   .modal-content {
       width: 90%; 
       max-width: none; 
       height: auto; 
       padding: 10px; 
   } */
   .textpolitica{
      font-size: 12px;
     }
     .pseudo-search{
      margin-right: 130px;
      margin-top: 10px;
      display: block;
    }
}
  @media (max-width: 480px) {
   .gridContainer {
     grid-template-columns: 1fr; 
   }
   h1 {
      font-size: 24px; 
    }
    /*.modal-content {
      width: 90% !important;
      height: auto;
  }*/
  .textpolitica{
   font-size: 12px;
  }
  .pseudo-search{
    margin-right: 85px;
    margin-top: 10px;
    display: block;
  }
 }

      /* Titulo cont*/
      .tcontainer{
         font-weight: bold;
         color: #3d3d3d
      }
 
      /* Estilo modal  */

        .modal {
         position: fixed; /* posicion */
         z-index: 1; /* posicion */
         left: 0;
         top: 0;
         width: 100%; /* Ancho */
         height: 100%; /*Altura */
         overflow: auto; /*Desplazamiento*/
         background-color: rgb(0,0,0); /*color */ 
         background-color: rgba(0,0,0,0.4); /* color */
         transition: all 2s;
     }

     #modalcontent{
        left: 0 !important;
        right: 20px !important;
        top: 0 !important;
        width: 100% !important;
     }


    .modal-content {
         position: absolute;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         background-color: #F2F2F2;
         border-radius: 15px;
         width: 40%;
         height: auto;
         box-shadow:  0 0 10px rgba(0,0,0,0.2);
         padding: 20px 30px;  
         animation: modalOpenAnimation 0.3s forwards;
     }

     @keyframes modalOpenAnimation {
      0% {
        transform: translate(-50%, -50%) scale(0);
      }
      100% {
        transform: translate(-50%, -50%) scale(1);
      }
    }
    @keyframes modalCloseAnimation {
      0% {
        transform: translate(-50%, -50%) scale(1);
      }
      100% {
        transform: translate(-50%, -50%) scale(0);
      }
    }

  #modal-image{
        width: 150px;
        height: 150px;
        border-radius: 20px;
        margin-top: 10px;
     }
    .link{
        padding-top: 20px;
     }
     #modal-link{
        color: #2EA6F9;
        font-family: 'Poppins', sans-serif;
        font-weight: 300;
     }
     #modal-link:hover{
        color: #ff9900;
     }
     
     #modal-title{
      margin: auto;
      font-size: 18px;
      font-weight: 500;
     }
     /* descripcion del modal */

     .modal-content p{
        white-space: pre-line; /* me coloca los saltos de linea*/
        font-size: 14px; 
        font-weight: 300;
        color: #3d3d3d
       }
      .parrafo{
         height: 150px;
         overflow-y: auto;
      }
     

    
     /* Estilo para el botón de cierre del modal */

     .close-button {
         position: absolute;
         top: -5px; 
         right: -12px; 
         cursor: pointer;
         width: 28px; /* Aumentar el tamaño para que sobresalga más */
         height: 28px; /* Aumentar el tamaño para que sobresalga más */
         background-color: #F2F2F2;
         font-weight: 100;
         color: #3D3D3D;
         border: none;
         border-radius: 50%;
         text-align: center;
         line-height: 28px; /* Igualar al tamaño del botón para centrar el texto */
         font-size: 25px; /* Aumentar el tamaño de fuente para que sobresalga */
         z-index: 1000;
         box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Agregar una sombra más pronunciada para un efecto de mayor profundidad */
         transform: scale(1.2); /* Escalar el botón para que sobresalga */
       }




/*

@media (max-width: 3000px)  {
  .modal-content {
    width: 30%;
  }
}



@media (max-width: 1200px)  {
  .modal-content {
    width: 50%;
  }
}

@media (max-width: 992px)  {
  .modal-content {
    width: 60%;
  }
}

@media (max-width: 768px)  {
  .modal-content {
    width: 75%;
  }
}

@media (max-width: 576px) {
 .modal-content {
    width: 85%;
  } 
}

*/


@media (min-width: 1800px) and (max-width: 3000px)  {
  .modal-content {
    width: 20%;
  }
  .modal-content p {
    font-size: 13px;
  }
}


@media (min-width: 1400px) and (max-width: 1879px)  {
  .modal-content {
    width: 25%;
  }
  .modal-content p {
    font-size: 13px;
  }
}



@media (min-width: 1200px) and (max-width: 1399px) {
  .modal-content {
    width: 30%;
  }
  .modal-content p {
    font-size: 12px;
  }
}

@media (max-width: 992px)  {
  .modal-content {
    width: 40%;
  }
  .modal-content p {
    font-size: 12px;
  }
}

@media (max-width: 768px)  {
  .modal-content {
    width: 55%;
  }
  .modal-content p {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
 .modal-content {
    width: 75%;
  } 
}

#divlink {
    height: 4rem;
}

#modal-image {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    margin-top: 10px;
    margin: auto;
    display: flex;
    margin-top: -4rem;
}

a#modal-link {
    text-align: center;
    margin-top: -1rem;
    font-size: .9rem;
}
.modal-content {
    width: 90% !important;
    max-width: 55rem !important;
  max-height: fit-content;
}
.parrafo {
    height: fit-content;
}

img#modal-image {
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.12);
}
