@font-face {
    font-family: "Monoton";
    src: url("Monoton.ttf");
}



body {
    background-image: url("img/fondo.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    width: 200px;
    border: 2px solid black;
}

.imagenes {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 10px;
    justify-content: center;
    align-items: center;
}

/* Barra de navegación */

.logo {
    height: 85px;
    width: 85px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: left;
}

.barra {
    height: 85px;
    width: auto;
    display: flex;
    background-color: rgb(229, 229, 230);
    border-radius: 30px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    background-color: #1f85bd;
    margin: 15px;
}

.divbotones {
    margin-left: auto;
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 10px;
}


.productos {
    height: 70px;
    width: 120px;
    border-radius: 25%;
    margin-left: 30px;
    background-color: #1f85bd;
    color: whitesmoke;
    border-color: aliceblue;
    border: 3px;
    border-style: solid;
}

.registrar {
    height: 70px;
    width: 100px;
    border-radius: 25%;
    margin-left: 10px;
    background-color: #1f85bd;
    color: whitesmoke;
    border-color: aliceblue;
    border-style: solid;
}

.login {
    height: 70px;
    width: 100px;
    border-radius: 25%;
    margin-left: 10px;
    background-color: #1f85bd;
    color: whitesmoke;
    border-color: aliceblue;
    border-style: solid;

}

button {
    cursor: pointer;

}

button:hover {
    background-color: rgb(3, 59, 92);
}

button:active {
    background-color: rgb(0, 36, 57);
}

a {
    text-decoration: none;
    color: whitesmoke;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.titulo {
    font-size: 40px;
    color: whitesmoke;
    font-family: "Monoton";
    display: flex;
    align-items: center;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: end;

}




.contenedordeimagenes {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
}


h1 {
    text-align: center;
    font-family: "Monoton";
    font-size: 50px;
    color: white;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    background-color: #1f85bd;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}


.buscador {
    height: 70px;
    width: 300px;
    border-radius: 25%;
    margin: 15px;
    background-color: #1f85bd;
    color: whitesmoke;
    align-items: center;
    justify-content: left;
    margin-left: 200px;
}



.vermas {
    height: 300px;
    width: 150px;
    border-radius: 10px;
    background-color: #1f85bd;
    color: whitesmoke;
    border-color: aliceblue;
    border-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    font-weight: bold;
}

.tarjeta {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}


.banner {
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-radius: 30px !important;
}

.carousel-inner,
.carousel-item,
.carousel-item>img {
    border-radius: 30px !important;
}


.iconn {
    height: 50px;
    width: 50px;
    border: none;
    background-color: transparent;
}

.menuresponsive {
    margin-left: 0px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btnicon {
    background-color: transparent;
    border: none;
}



@media (max-width: 600px) {

    .barra {
        height: 100px;
        width: 90%;
    }


    .logo {
        width: 100px;
        height: 100px;
    }

    .titulo {
        display: none;

    }

    .productos {
        display: none;
    }

    .registrar {
        display: none;
    }

    .login {
        display: none;

    }

    .buscadorr {
        display: none;

    }

    .botonbuscador {
        display: none;
    }

    .botonbuscador2 {
        background-color: darkgreen;
        color: white;
    }

    .tarjeta {
        width: 45%;
    }

    .card {
        width: 45%;
    }

    .loginrespon {
        color: whitesmoke;
        border: solid whitesmoke;
        border-radius: 20px;
        padding: 10px;
    }

    .registrorespon {
        color: whitesmoke;
        border: solid whitesmoke;
        border-radius: 20px;
        padding: 10px;
    }

    .registroinicioresponsive {
        display: flex;
        flex-direction: row;
        align-items: end;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        align-items: center;
        justify-content: center;
    }

    .itemsresponsive {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        align-items: center;
        justify-content: center;
    }


    .linksresponsive {

        color: whitesmoke;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 8px;
        margin-bottom: 8px;
        align-items: center;
        justify-content: center;
        border: solid whitesmoke;
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 10px;
        padding-bottom: 10px;

    }

    .tablamenu {
        background-color: #1f85bd;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }


    button {
        color: whitesmoke;
        background-color: #1f85bd
    }


    .contenedordeimagenes {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    /*Era el buscador en la barra principal que al final la cambie por el buscador en offcanvas*/
    /*
.buscador {
   margin: 0px;
   display: flex;
   flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin-top: 15px;
    margin-left: 15px;
}

.botonbuscador {
    width: 90%;
    margin-right: 10px;
}
*/

}




@media (min-width: 600px) {

    .menuresponsive {
        display: none;
    }

    .tarjeta {
        width: 300px;
        height: auto;
    }

    .imagencarrusel {
        height: 400px;
        object-fit: contain;
    }
}