@font-face {
    font-family: 'Nexa-Heavy';
    src: url('Nexa-Heavy.ttf') format('truetype');
  }
  
/* Segunda Seccion: Divisiones */

#divisionesbanner{
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: #444;
    margin-top: 0px;
    width: 100%;
}

#divisionesbanner div{
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
#divisionesbanner img{
    margin-right: 7px;
    height: 41px;
    width: 41px;
}

   /* Quienes somos */


#quienessomos{
    text-align: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0px auto;
}
#divbutton{
    position: relative;
    height: 60px;
}

   #divbutton button {
    font-size: 20px;
    padding: 0.6em 2.2em;
    border: transparent;
    box-shadow: 2px 2px 4px rgba(177, 177, 177, 0.226);
    background: dodgerblue;
    color: white;
    border-radius: 4px;
    margin-top: 12px;
    z-index: 50;
   }
   #divbutton button:hover {
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(0,212,255,1) 100%);
    z-index: 50;
   }
   #divbutton button:active {
    transform: translate(0em, 0.2em);
   }
   /* Quienes somos */

   /* Sherpa S.A Whatsapp */

   
#slogan{
    text-align: center;
    color: #444;
}
#slogan button {
    font-size: 22px;
    padding: 0.6em 2.2em;
    border: transparent;
    box-shadow: 2px 2px 4px rgba(177, 177, 177, 0.226);
    background: dodgerblue;
    color: white;
    border-radius: 4px;
    margin-top: 5px;
    z-index: 50;
   }
#slogan button:hover {
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(0,212,255,1) 100%);
    z-index: 50;
   }
#slogan button:active {
    transform: translate(0em, 0.2em);
   }

/* Tercera Sesion:  Equipo Sherpa S.A. base de datos */

#comentarios-list {
    display: flex;
    flex-direction: row;
    align-items: start;
    padding: 25px 25px 12px 25px;
    overflow-x: scroll;
    gap: 20px;
}
#comentarios-list .comentario {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 220px;
    height: auto;
    border-radius: 5px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

#comentarios-list .comentario-header {
    display: flex;
    align-items: start;
    margin-bottom: 15px;
}

#comentarios-list .comentario img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

#comentarios-list .comentario .nombre {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-decoration: none;
    color: black;
}

#comentarios-list .comentario .categoria {
    font-size: 14px;
    font-weight: normal;
    color: #888;
    margin-top: auto; 
}

#comentarios-list .comentario .comentario-text {
    text-align: start;
    font-size: 16px;
    margin: 15px 0 0 0;
    line-height: 1.4;
}
.titular-header{
    display: flex;
    flex-direction: row;
}
.comentario-header{
    display: flex;
    flex-direction: column;
}

/* primera seccion de base de datos */

/* segunda seccion de base de datos*/
#items-list {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 12px;
    height: 500px;
    overflow-y: auto;
}

#items-list .item {
    max-width: 100%;
    height: 180px;
    padding: 12px;
    background-color: white;
}

#items-list .item a:hover {
    text-decoration: underline;
}

.item-row {
    position: relative;
    display: flex;
    flex-direction: row;
    margin-right: 50px;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin-left: 12px;
    top: 0px;
    width: 240px;
}

.text-container h3 {
    text-align: start;
    padding-top: 0px;
    margin-top: 0px;
    font-size: 22px;
    height: 55px;
    margin-left: 1px;
    width: 600px;
}

.text-container p {
    font-size: 16px;
    color: gray;
}

.text-container a {
    text-decoration: none;
    color: black;
}

.item-image {
    height: 180px;
    width: auto;
    object-fit: contain; 
}

/* boton de libreria */
.buttoninfo {
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0px 15px;
    border-radius: 10px;
    border: none;
    position: relative;
    cursor: pointer;
    transition-duration: .2s;
}

.buttoninfo label {
    color: black;
}

.arrow {
    position: absolute;
    right: 0;
    width: 30px;
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttoninfo:hover {
    background-color: rgba(83, 83, 83, 0.39);
    transition-duration: .2s;
}

.buttoninfo:hover .arrow {
    animation: slide-right .6s ease-out both;
}
  /* arrow animation */
  @keyframes slide-right {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.button:active {
    transform: translate(1px, 1px);
    transition-duration: .2s;
}

  /* boton de libreria */
  

/* segunda seccion de base de datos*/
#titlelistaproductos{
    margin-left: 50px;
}
/* productos destacados seccion de base de datos*/
#contenido-personalizado-list {
    text-align: start;
    display: flex;
    flex-direction: row;
    align-items: start;
    margin: 0px auto;
}
.categoria p{
    font-size: 12px;
    color: #888;
}
.contenido a{
    text-decoration: none;
    color: black;
}
.contenido {
    width: 330px;
    display: flex;
    flex-direction: column;
    align-items: start;
    border-radius: 5px;
    margin-left: 15px;
    margin-right: 15px;
    background-color: white;
    padding-bottom: 0px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contenido img {
    width: 300px;
    height: auto;
    margin-bottom: 10px;
}

.contenido .titulo {
    font-size: 17px;
    margin: 0;
    font-weight: bold;
}

.contenido .descripcion-texto {
    font-size: 12px;
    margin: 0;
    color: #333;
}

#line{
    height: 1px;
    width: 230px;
    background-color: #d7d9db;
    align-items: center;
    justify-content: center;
    margin: 0px auto;
    margin-top: 12px;
}

.precio-boton-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 0px;
}

.contenido .precio {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

#contenido-personalizado-list .mas-informacion-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    color: #111;
}

#contenido-personalizado-list .mas-informacion-btn:hover {
    cursor: pointer;
    color: #647883;
}

/* Final de stylo para contenido personalizado */

#divisiones{
    text-align: center;
}
.division {
    position: relative;
    width: 100%;
}

.division img {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 0;
}

.buttonvermas {
    cursor: pointer;
    padding: 1em;
    font-size: 1em;
    width: 7em;
    aspect-ratio: 1/0.25;
    color: black;
    background: white;
    background-size: cover;
    background-blend-mode: overlay;
    border-radius: 0.5em;
    border: 0;
    box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 0; /* Posiciona el botón en la parte superior */
    left: 50%; /* Centra horizontalmente el botón */
    transform: translate(350%, -200%); /* Mueve el botón hacia arriba */
    z-index: 1; /* Asegura que el botón esté por encima de la imagen */
}


.buttonvermas:hover {
    transform: translate(360%, -210%) scale(1.1); /* Asegura que el botón se agrande al pasar el mouse */
    box-shadow: 0 0 1em 0.45em rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #d1d1d1, #d3d3d3);
    background: radial-gradient(circle at bottom, rgba(238, 238, 238, 0.801) 10%, #d4d4d4 70%);
    outline: 0;
}

.icon {
    fill: black;
    width: 1em;
    aspect-ratio: 1;
}
.input-container{
    display: flex;
    flex-direction: row;
}
#emailmarketing input[type="text"] {
    width: 55%;
    padding: 10px;
    margin-top: 12px;
    border: 2px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

#emailmarketing input[type="text"]:focus {
    border-color: #4A90E2;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    outline: none;
}
#emailmarketing input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    border: 2px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

#emailmarketing input[type="email"]:focus {
    border-color: #4A90E2;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    outline: none;
}
#emailmarketing{
    position: relative;
    display: flex;
    flex-direction: row;
    padding-left: 100px;
    padding-right: 100px;
}

#footertext{
    margin: 0px auto;
    align-items: center;
    justify-content: center;
}
#footertext h6{
    padding: 12px;
}
#titlelistaproductos{
    margin-left: 12px;
    display: flex;
    flex-direction: row;
}

#hacemospersonalizados{
    position: absolute; 
    bottom: 1px; 
    left: 50px;
}
#hacemospersonalizados img{
    height: 250px; 
    width: auto; 
    border-radius: 5px;
}
.rating:not(:checked) > input {
    position: absolute;
    appearance: none;
    display: none;
  }
  
  .rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: #666;
  }
  
  .rating:not(:checked) > label:before {
    content: '★';
  }
  
  .rating > input:checked + label:hover,
  .rating > input:checked + label:hover ~ label,
  .rating > input:checked ~ label:hover,
  .rating > input:checked ~ label:hover ~ label,
  .rating > label:hover ~ input:checked ~ label {
    color: #e58e09;
  }
  
  .rating:not(:checked) > label:hover,
  .rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
  }
  
  .rating > input:checked ~ label {
    color: #ffa723;
  }
  .button2 {
    display: inline-block;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #090909;
    padding: 0.5em 1.6em;
    cursor: pointer;
    font-size: 17px;
    border-radius: 0.5em;
    background: #e8e8e8;
    border: 1px solid #e8e8e8;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  }
  
  .button2:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
  }
  
  .button2:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button2:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: black;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button2:hover {
    color: #ffffff;
    border: 1px solid black;
  }
  
  .button2:hover:before {
    top: -35%;
    background-color: black;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
  }
  
  .button2:hover:after {
    top: -45%;
    background-color: black;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
  }
  
  
@media only screen and (max-width: 600px){
    #hacemospersonalizados img{
        height: 220px; 
        width: auto; 
        border-radius: 5px;
    }
    #hacemospersonalizados{
        position: relative; 
        bottom: 1px; 
        left: 0px;
        align-items: center;
        justify-content: center;
    }
    #titlelistaproductos{
        margin-left: 0px;
        display: flex;
        flex-direction: column;
        margin-bottom: 12px;
    }
    #emailmarketing{
        position: relative;
        height: 525px;
        display: flex;
        flex-direction: column;
        padding-left: 12px;
        padding-right: 12px;
    }
    #emailmarketing h3{
        margin-bottom: 0px;
        margin-top: 0px;
    }
    #emailmarketing h5{
        margin-top: 0px;
    }
    .buttonvermas {
        transform: translate(80%, -150%); /* Mueve el botón hacia arriba */
    }
    
    .buttonvermas:hover {
        transform: translate(81%, -155%) scale(1.1); /* Asegura que el botón se agrande al pasar el mouse */
    }

    .footerdivisiones{
        display: flex;
        flex-direction: column;
    }

    .carrusel button {
        top: 15%;
    }
    #divisionesbanner div{
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

 
    #divisionesbanner img{
        margin-right: 4px;
        height: 25px;
        width: 25px;
    }
    #divisionesbanner h3{
        font-size: 10px;
    }
    #slogan{
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    left: 0px;
    top: 0px;
    }
    .slide img {
    width: 100%;
    margin: 0 auto; /* Center images horizontally */
    }
    
    #items-list {
        justify-content: center;
        align-items: center;
        padding: 5px;
        height: auto;
        overflow-y: visible;
    }

    #items-list .item {
        padding: 5px;
        position: relative;
        width: 100%;
        height: auto; /* Ajustar la altura automáticamente */
    }

    .text-container {
        text-align: start !important;
        margin-right: 0 !important;
        max-width: 350px;
    }

    .text-container h3 {
        font-size: 15px;
        height: 50px;
        margin-left: 0px;
        width: 250px;
    }

    .item-row {
        display: flex;
        flex-direction: row;
        align-items: start;
    }

    .item-image {
        margin: 0 !important;
        width: 100%;
        max-width: 100px;
        margin: 12px;
    }

    .buttoninfo {
        width: 200px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 0px 15px;
        border-radius: 10px;
        border: none;
        position: relative;
        cursor: pointer;
        transition-duration: .2s;
    }

    /* Asegurarse de que el primer documento no esté cortado */
    #items-list .item:first-child {
        margin-top: 0;
    }
    
}