

*{
    padding: 0;
    margin: 0;
}

body{
    font-family: 'Montserrat';
    font-size: 16px;
}

.txo{
    color: #ff6e00;
}

nav{
    width: 25%;
    height: 100vh;
    background-color:#333333;
    font-size: 12px;
    position: fixed;
    top: 0;
    overflow: scroll;
}

.logobar{
    width: 170px;
    margin: 0 auto;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
}

.dad{
    margin-top: 10px;
}

nav ul{
    list-style: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
}

nav ul li{
    color: #ff6e00;
    padding-top: 5px;
    padding-bottom: 5px;
}

nav ul li a{
    color: white;
    text-decoration: none;
}

nav ul li a:hover{
    color: #ff6e00;
}

nav ul li ul{
    list-style: disc;
}

.wrapper {
    width: 75%;
    height: 100vh;
    margin-left: auto;
    position: relative;
}

.title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    width: 300px;
    height: 300px;
}

.logotitle{
    display: block;
    margin: 10px auto;
    width: 50px;
}

.bold{
    font-weight: 600;
}

.productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

.producto {
    flex: 0 1 30%; /* Cada caja toma aproximadamente el 30% del contenedor, permitiendo 3 elementos por fila */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: left;
}

.producto h2{
    font-size: 1.2em;
}

.producto img {
    width: 100%;
    max-width: 300px; /* Ajusta la anchura máxima de la imagen para que sea responsive */
    height: auto;
    border-radius: 4px;
}

.producto p{
    padding-top: 5px;
    padding-bottom: 5px;
}

@media (max-width: 768px) { /* Ajustes para tablets y dispositivos móviles */
    .producto {
        flex: 0 1 48%; /* 2 columnas en pantallas pequeñas */
    }
}

@media (max-width: 480px) { /* Ajustes para pantallas muy pequeñas, típicamente móviles */
    .producto {
        flex: 0 1 100%; /* 1 columna en pantallas muy pequeñas */
    }
}
