/*Colores*/
:root {
    --blanco:#FFFFFF;
    --principal:#ac7227;
    --secundario:#83571e;
    --rosa:#fba6ae;
    --negro:#000000;
    --pastel:#ffd8dc;
    --claro:#fff0f2;
    --oscuro: rgb(0 0, 0, 90%);
}

html{
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
}

body::-webkit-scrollbar {
    width: 0.4rem;               /* width of the entire scrollbar */
  }
  
  body::-webkit-scrollbar-track {
    background: linear-gradient(
        var(--principal) 4.2rem,
        var(--oscuro) 2rem
    );        /* color of the tracking area */
  }
  
  body::-webkit-scrollbar-thumb {
    background-color: var(--blanco);    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 1px solid var(--principal);
  }

/* .Bienvenida, .Nosotros, .Catalogo, .Rastreo, footer{
    scroll-snap-align: center;
    scroll-snap-stop: always;
} */

*,*:before, *:after {
    box-sizing: inherit;
}

body{
    background-color: var(--pastel);
    font-family: Krub;
}

h1, p{
    color: var(--blanco);
}
h1{
    margin-left: 3rem;
}
h2{
    display: flex;
    color: var(--blanco);
    text-align: center;
}
a{
    text-decoration: none;
    color: var(--blanco);
    text-shadow: 0rem 0rem 0.8rem var(--negro);
}



.Navegador img{
    width: 6rem;
    margin-left: 1rem;
    margin-right: 1rem;
    justify-content: center;
}

.Navegador{
    background-color: #ac7227;
    color: var(--blanco);    
    position: absolute;
    width: 100%;
    z-index: 1;
    justify-content: center;
}

.Navegador nav{
    display: flex;
    align-items: center;
    justify-content: center;
}

.Navegador input{
    margin-right: 1rem;
    width: 50%;
    border-radius: 2rem;
    border: none;
    border-color: var(--principal);
    height: 2rem;
    padding: 0rem 1rem;
    margin: 0;
    color: var(--principal);
}

input[type=text]:focus {
    background-color: var(--claro);
  }

::placeholder{
    color: var(--principal);
}

.Navegador select{
    border: none;
    background: none;
    color: var(--blanco);
}

.Bienvenida{
    background-image: url(../IMG/Portada.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 58rem;
    position: relative;
    background-position: right 10% center;
}

.Fondo{
    position: absolute;
    background-color: rgb(0, 0, 0, 70%);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    font-size: 1.4rem;
    text-align: center;
    text-shadow: 0rem 0rem 4rem var(--negro);
}

.Fondo .PDF{
    background-color: var(--principal);
    color: var(--blanco);
    padding: 1rem 5rem;
    border-radius: 1rem;
    font-size: 1.8rem;
    border-color: var(--blanco);
    margin-top: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0rem 0rem 4rem var(--negro);
}

.Fondo .PDF:hover{
    color: var(--principal);
    background-color: var(--blanco);
}


.Canteras{
    font-size: 3.7rem;
}

footer p, footer a{
    color: var(--secundario);
    text-shadow: 0rem 0rem 0rem var(--negro);
}

footer p{
    font-size: 1rem;
    text-align: center;
    text-shadow: 0rem 0rem 0rem var(--negro);
}

footer a:hover{
    color: var(--principal);
}

.Redes{
    margin-left: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.5rem;
    align-items: center;
    justify-content: center;
    text-align: start;
    padding: 0 0 1rem 0;
    text-shadow: 0rem 0rem 0rem var(--negro);
}

.Inter{
        -webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
        -moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
        box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
        background-color: var(--pastel);
        padding: 1rem 1rem 4rem 1rem;
        margin: 0 auto;
}
.Productos{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.Cat img{
    width: 15rem;
    height: 18rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.3rem;
}

.Producto{
    background-image: url(../IMG/RESP/Fondo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 95%;
    height: 23rem;
    position: relative;
    background-position: center center;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.Cat{
    position: absolute;
    background-color: rgba(255, 181, 181, 0.7);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    font-size: 1rem;
    text-align: center;
}
.Cat h3, .Cat p{
    margin: auto;
}
.Cat p{
    padding: 0 0 0.5rem 0;
    color: var(--secundario);
    text-shadow: 0rem 0rem 0.8rem var(--rosa);
    margin: 0 1rem;
}



@media (min-width: 768px){
    h1{
        margin-left: 0rem;
    }
    h2{
        display: flex;
        color: var(--blanco);
        text-align: center;
        margin-right: 3rem;
    }
    .Navegador img{
        width: 10rem;
        margin-right: 1;
    }
    .Navegador input{
        margin-right: 1rem;
        width: 80%;
        border-radius: 2rem;
        border: none;
        height: 2.5rem;
        padding: 0rem 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    ::placeholder{
        color: var(--principal);
    }
    
    .Navegador select{
        border: none;
        background: none;
        color: var(--blanco);
    }

    footer p, footer a{
        color: var(--secundario);
    }
    
    footer p{
        font-size: 2.1rem;
        margin: 1rem 2.7rem 0.2rem 0;
        text-align: center;
    }
    
    .Redes{
        margin-left: 15.9rem;
        margin-right: 19rem;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        align-items: center;
        justify-content: center;
        text-align: center;
        column-gap: 0rem;
        padding: 0 0 1rem 0;
    }

    .Inter{
        padding: 4rem 0 0 0;
        width: 95%;
        background-color: var(--pastel);
        display: grid;
        grid-template-columns: 1fr 5fr;
    }
    .Inter a{
        text-shadow: 0rem 0rem 0.8rem var(--rosa);
        color: var(--principal);
    }
    
    .Bienvenida{
        background-image: url(../IMG/Portada.png);
        background-repeat: no-repeat;
        background-size: cover;
        height: 41rem;
        column-gap: 0;
        position: relative;
        background-position: center center;
        background-size: 100%;
        grid-column: 1 / 3;;
    }

.Fondo{
    position: absolute;
    background-color: rgb(0, 0, 0, 30%);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    font-size: 2rem;
    text-align: center;
}

.Fondo .PDF{
    background-color: var(--principal);
    padding: 1rem 8rem;
    border-radius: 1rem;
    font-size: 1.8rem;
    border-color: var(--blanco);
    margin-top: 1rem;
    margin-left: 0rem;
    transform: scale(var(--escala, 1));
    transition: transform 0.25s;
}

.Fondo .PDF:hover{
    color: var(--principal);
    background-color: var(--blanco);
    --escala: 1.05;
}

    .Canteras{
        font-size: 9.8rem;
    }

    footer a{
        transform: scale(var(--escala, 1));
        transition: transform 0.25s;
    }
    footer a:hover{
        --escala: 1.05;    
    }
    .Productos{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .Cat img{
        width: 15rem;
        height: 18rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
        margin-bottom: 0.3rem;
    }
    
    .Producto{
        background-image: url(../IMG/RESP/Fondo.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 95%;
        height: 23rem;
        position: relative;
        background-position: center center;
        border-radius: 0.5rem;
        margin-bottom: 1rem;
    }
    .Cat{
        position: absolute;
        background-color: rgba(255, 181, 181, 0.7);
        width: 100%;
        height: 100%;
    
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; 
        font-size: 1rem;
        text-align: center;
    }
    .Cat h3, .Cat p{
        margin: auto;
    }
    .Cat p{
        padding: 0 0 0.5rem 0;
        color: var(--secundario);
        text-shadow: 0rem 0rem 0.8rem var(--rosa);
        margin: 0 1rem;
    }
    
  .Pr{
    background-color: rgba(255, 185, 185, 1);
  }

  #resultados {
    position: absolute; /* Posicionamos los resultados de manera absoluta */
    top: 100%; /* Los colocamos debajo de la barra de navegación */
    left: 0;
    width: 100%;
    background-image: url(../IMG/RESP/Fondo.png);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.6;

    border: 1px solid var(--secundario);
    padding: 10px;
    display: none; /* Ocultamos los resultados inicialmente */
    z-index: 1000; /* Aseguramos que los resultados estén sobre otros elementos */
    color: var(--principal);
}

#resultados.visible {
    display: block; /* Mostramos los resultados cuando sea necesario */
    color: var(--principal);
    display: grid;
    grid-template-columns: repeat(3,1fr);
    font-size: 1.5rem;
    align-items: center;
    opacity: 1;
}

#resultados img {
    width: 4rem; /* Tamaño de la imagen */
    height: 4rem; /* Tamaño de la imagen */
    margin-right: 10px;
    vertical-align: middle;
    margin-bottom: 0.2rem;
}

#resultados a {
    color: var(--principal);
    text-shadow: 0rem 0rem 1 var(--negro);
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 1rem;
}

.imagen-grande-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imagen-grande {
    max-width: 100%;
    height: auto;
    margin: auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.miniaturas {
    display: grid;
    grid-template-columns: repeat(10,1fr);
/*     display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none; */
}

.miniaturas::-webkit-scrollbar {
    display: none;
}

.miniatura-producto {
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    margin-right: 0.1rem;
    margin-top: 0.2rem;
    border-radius: 0.5rem;
}

.miniatura-producto:last-child {
    margin-right: 0;
}

.miniatura-producto:hover {
    opacity: 0.7;
}

.detalles {
    display: flex;
    flex-direction: column;
    color: var(--principal);
    margin-top: auto;
}

.Visita{
    text-align: center;
    color: var(--principal);
}
.Mas{
    width: 95%;
    justify-content: center;
    margin-top: 5rem;
}
.Opciones{
    width: 95%;
    background-image: url(../IMG/RESP/Fondo.png);
    -webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
    -moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
    background-color: var(--pastel);
    padding: 1rem 1rem 1rem 1rem;
    margin: 0 auto;
}
.Visita, .Mas h2, .Mas p{
    color: var(--principal);
}
.Visita{
    margin-top: 4.5rem;
}

.Mas p{
    font-size: 2rem;
    font-family: Krub;
    margin-top: 0rem;
}
.Mas h2{
    margin-top: -2rem;
    font-size: 3rem;
    font-family: Krub;
    margin-bottom: 0rem;
}
.Colores{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(8,1fr);
    grid-column-gap: 1rem;
}
.Colores img{
    width: 5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background-image: url(../IMG/RESP/Fondo.png);
}
}

@media only screen and (max-width: 768px) {
    .Inter{
        padding: 4rem 0 0 0;
        width: 95%;
        background-color: var(--pastel);
        display: flex;
        flex-direction: column;
    }
    .Productos{
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
        margin-bottom: 1rem;
        justify-content: center;
        margin-left: 1.2rem;
    }
    .Bienvenida{
        background-image: url(../IMG/Portadas.png);
        background-repeat: no-repeat;
        background-size: cover;
        height: 25rem;
        column-gap: 0;
        position: relative;
        background-position: center center;
        background-size: 100%;
        grid-column: 1 / 3;
    }
    .Fondo{
        position: absolute;
        background-color: rgb(0, 0, 0, 30%);
        width: 100%;
        height: 100%;
    
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; 
        font-size: 1rem;
        text-align: center;
    }
    .Fondo .PDF{
        background-color: var(--principal);
        color: var(--blanco);
        padding: 1rem 5rem;
        border-radius: 1rem;
        font-size: 1rem;
        border-color: var(--blanco);
        margin-top: 1rem;
        text-transform: uppercase;
        font-weight: bold;
        text-shadow: 0rem 0rem 4rem var(--negro);
    } 

    #resultados {
        position: absolute; /* Posicionamos los resultados de manera absoluta */
        top: 100%; /* Los colocamos debajo de la barra de navegación */
        left: 0;
        width: 100%;
        background-image: url(../IMG/RESP/Fondo.png);
        background-repeat: no-repeat;
        background-size: cover;
        opacity: 0.6;
    
        border: 1px solid var(--secundario);
        padding: 10px;
        display: none; /* Ocultamos los resultados inicialmente */
        z-index: 1000; /* Aseguramos que los resultados estén sobre otros elementos */
        color: var(--principal);
    }
    
    .Pr{
        background-color: rgba(255, 185, 185, 1);
      }
      
    #resultados.visible {
        display: block; /* Mostramos los resultados cuando sea necesario */
        color: var(--principal);
        font-size: 0.8rem;
        align-items: center;
        opacity: 1;
    }
    
    #resultados img {
        width: 4rem; /* Tamaño de la imagen */
        height: 4rem; /* Tamaño de la imagen */
        margin-right: 10px;
        vertical-align: middle;
        margin-bottom: 0.2rem;
    }
    
    #resultados a {
        color: var(--principal);
        text-shadow: 0rem 0rem 1 var(--negro);
    }
    
    .imagen-grande-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.2rem;
    }
    
    .imagen-grande {
        width: 18rem;
        height: 18rem;
        margin: auto;
        display: flex;
        justify-content: center;
        position: relative;
    }
    
    .miniaturas {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: center;
    }
    
    .miniaturas::-webkit-scrollbar {
        display: none;
    }
    
    .miniatura-producto {
        width: 5rem;
        height: auto;
        cursor: pointer;
        margin-right: 5px;
    }
    
    .miniatura-producto:last-child {
        margin-right: 0;
    }
    
    .miniatura-producto:hover {
        opacity: 0.7;
    }
    
    .detalles {
        display: flex;
        flex-direction: column;
        color: var(--principal);
        margin-top: auto;
    }
    
    .Visita{
        text-align: center;
        color: var(--principal);
    }
    .Mas{
        width: 95%;
        justify-content: center;
        margin-top: 4rem;
    }
    .Opciones{
        width: 95%;
        background-image: url(../IMG/RESP/Fondo.png);
        -webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
        -moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
        box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.54);
        background-color: var(--pastel);
        padding: 1rem 1rem 1rem 1rem;
        margin: 0 auto;
    }
    .Visita, .Mas h2, .Mas p{
        color: var(--principal);
    }
    .Visita{
        margin-top: 4.5rem;
        justify-content: center;
    }
    .Mas p{
        font-size: 1.5rem;
        font-family: Krub;
        margin-top: 0rem;
        text-align: justify;
    }
    .Mas h2{
        margin-top: -2rem;
        font-size: 1.8rem;
        font-family: Krub;
        margin-bottom: 0rem;
        margin:  0 auto;
    }
    .Colores{
        margin-top: 1rem;
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-column-gap: 1rem;
        margin: auto;
        justify-content: center;
    }
    .Colores img{
        width: 5rem;
        margin-top: 1rem;
        padding: 0.5rem;
        border-radius: 1rem;
        background-image: url(../IMG/RESP/Fondo.png);
    }


  }

  @media only screen and (max-width: 768px) {
    .imagen-grande-container {
        order: 2;
    }

    .detalles {
        order: 1;
    }
}

li {
    color: var(--principal);
    /* Bullet Color */
}

.Lista a{
        text-decoration: none;
        color: var(--principal);
        text-shadow: 0rem 0rem 0 var(--negro);
}

/* Estilos para el modal */
.modal {
    display: none; /* Por defecto, el modal está oculto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
  }
  .modal img{
    display: flex;
    width: 20rem;
    height: 20rem;
    justify-content: center;
    align-items: center;
    margin: auto;
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 10rem auto; /* Ajusta la posición del modal */
    padding: 1rem;
    border: 1px solid #888;
    width: 22rem; /* Ancho del modal */
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  