@import url('https://fonts.googleapis.com/css2?family=Smooch+Sans:wght@100..900&display=swap');

/* resset */

* {
    margin: 0;
    padding: 0;
    font-family: 'Smooch Sans', sans-serif;
}

/*body*/

body, html {
    background-image: url(../assets/fondorecreativo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* header */

    header {
    width: 100%;
    position: sticky;
    top: 0px;
    z-index: 2;
}

.navbar {
    background-image: url(../assets/FONDO\ HISTORIA\ 2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 15vh;
}

.logorecreativo-grow {
    height: 20vh;
    width: auto;
    margin: -3vh;
    padding-left: 20vw;
}

h1 {
    display: none;
}

.logo a {
    text-decoration: none;
}

.carrito-de-compras {
    height: 3vh;
    width: auto;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

nav ul li a {
    color: rgb(255, 255, 255);
    border: 2px solid rgb(141, 77, 150) !important;
    background-color: rgb(141, 77, 150) !important;
    box-shadow: 0 4px 8px rgba(5, 5, 5, 0.8) !important;
    padding: 10px !important;
    border-radius: 20px;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color: rgb(121, 0, 151) !important;
    border: 2px solid rgb(121, 0, 151) !important;
    color: rgb(255, 255, 255);
}

.nav-link {
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFDE59' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    filter: drop-shadow(0 0 2px #000);
}


/* main */
h2 {
    font-size: 2.5rem;
    color: rgb(29, 29, 29);
    text-align: center;
}

h3 {
    font-size: 2rem;
    color: rgb(39, 39, 39);
    text-align: center;
}

p {
    font-size: 2rem;
    color: rgb(59, 59, 59);
    text-align: center;
    height: auto;
} 

/* main inicio marcas */

.main {
    height: auto;
    width: 98vw;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, minmax(120px, auto));
    align-items: center;
    justify-items: center;
}

.img {
    width: 95%;
    height: 95%;
}

.img img {
    width: 90%;
    height: auto;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spyder {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
}

.sustrato {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
}

.new-coco {
    grid-column: 4 / 7;
    grid-row: 3 / 4;
}

.logoindex {
    grid-column: 1 / 4;
    grid-row: 1 / 4;

}

/* main inicio ofertas */

.ofertas {
    grid-column: 1 / 7;
    grid-row: 4 / 5;
    display: flex;
    text-align: center;
    background-color: rgb(120, 78, 126);
    border-radius: 15px;
    width: 90%;
    height: 10vh;
    align-items: center;
    box-shadow: 0 4px 8px rgba(5, 5, 5, 0.8);
}

.ofertas-titulo {
    text-align: center;
    width: 100%;
    font-size: 2rem;
    color: rgb(43, 42, 42);
    font-weight: 600;
}

.ofertas-section {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1 / 7;
    grid-row: 5 / 6;
    max-width: 98vw;

}

.card {
    width: 20vw;
    height: auto;
    margin: 5px;
    background-color: rgb(151, 99, 147);
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(5, 5, 5, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-img-top {
    width: 10vw;
    height: auto;
    margin: 3px;
}

.card-title {
    font-size: 1.2rem;
    color: rgb(255, 255, 255);
    margin: 0;
}

.card-text {
    font-size: 2rem;
    color: rgb(51, 51, 51);
    margin: 0;
    font-weight: 600;
}

.btn {
    background-color: rgb(120, 78, 126);
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: rgb(93, 2, 105);
    color: rgb(255, 255, 255);
}

/* main datos y sobre nosotros */

.sobre-nosotros {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nosotros {
    background-color: rgb(120, 78, 126);
    width: 100%;
    height: 10vh;
    text-align: center;
}

.datos-cultivo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.datos {
    background-color: rgb(120, 78, 126);
    width: 100%;
    height: 10vh;
    text-align: center;
}

.datos-y-nosotros {
    display: block;
    border: 5px solid rgb(120, 78, 126);
    background-color: rgb(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 5px;
    box-shadow: 0 4px 8px rgba(5, 5, 5, 0.8);
}

.texto {
    text-align: center;
    font-size: 1.5rem;
    color: rgb(51, 50, 50);
    font-weight: 500;
    width: 90%;
    height: auto;
    margin: 0 auto;
    line-height: 1.6;
}

.faq {
    font-size: 2rem;
    color: rgb(32, 32, 32);
    margin: 0 auto;
    font-weight: 600;
    text-decoration: underline;
}

/* tienda */

.tienda {
    background-color: rgb(120, 78, 126);box-shadow: 0 4px 8px rgba(5, 5, 5, 0.8);
    border-radius: 15px;
    width: auto;
    height: 10vh;
    text-align: center;
    margin: 15px;
}

.productos {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px;
    padding: 20px;

}

/* carrito de compras - form*/

.titulo-carrito {
    background-color: rgb(120, 78, 126);
    border-radius: 15px;
    width: auto;
    height: 10vh;
    text-align: center;
    margin: 15px;
    box-shadow: 0 4px 8px rgba(5, 5, 5, 0.8);
}

form {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: rgb(120, 78, 126);
    box-shadow: 0 4px 8px rgba(5, 5, 5, 0.8);
    border-radius: 15px;
}

form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(26, 25, 25);
}

form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid white;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
    border-color: rgb(120, 78, 126);
    box-shadow: 0 0 10px #16161633;
    outline: none;
}

form button {
    width: 100%;
    padding: 12px;
    background-color: rgb(151, 99, 147);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

form button:hover {
    background-color: rgb(121, 0, 151);
}


form label {
    font-size: 1.5rem;
    color: rgb(36, 35, 35);
    margin: 10px 0;
}

/*footer*/

.contactanos {
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
    margin: 0vh 0;
    text-align: left;
    bottom: 20px;
    font-weight: bold;
}

.redes-sociales {
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: left;
    padding: 10px;
}

.facebook {
    width: 6vh;
    height: auto;
}

.instagram {
    width: 6vh;
    height: auto;
}

.whatsapp {
    width: 6vh;
    height: auto;
}

.medios-de-pago1 {
    text-align: center;
    padding: 10px;
}

.medios-de-pago {
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
    margin: 0vh 0;
    text-align: center;
    font-weight: bold;
}

.visa {
    width: 6vh;
    height: auto;
    margin: 1vh 0;
}

.mastercard {
    width: 5vh;
    height: auto;
}


@media (max-width: 425px) {

    header {
        height: auto;
    }

    h1 {
        display: none;
    }

    .logorecreativo-grow {
    height: 17vh;
    width: auto;
    margin: -2vh;
    padding-left: 29vw;
    }

    ul {
        flex-wrap: wrap;
        gap: 10px;
    }


    h2 {
        font-size: 1.5rem;
    }

    h3{
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .texto {
        font-size: 1.2rem;
    }

/* main inicio marcas */

    .main {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(7, minmax(120px, auto));
    align-items: center;
    justify-items: center;
    }
    .spyder {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
    display: flex;
    justify-content: center;
    }

    .sustrato {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
    display: flex;
    justify-content: center;
    }

    .new-coco {
    grid-column: 1 / 3;
    grid-row: 6 / 7;
    display: flex;
    justify-content: center;
    }

    .logoindex {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
    width: 350px;
    height: auto;
    display: flex;
    justify-content: center;
    }

/* main inicio ofertas */

    .ofertas {
        grid-column: 1 /3;
        grid-row: 7 / 8;
    }

    .ofertas-section {
    grid-column: 1 / 3;
    grid-row: 8 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    }

    .card {
        width: 90%;
        height: auto;
        margin: 5px;
    }

    .card-img-top {
        width: 40%;
        height: auto;
        margin: 3px;
    }
/* form carrito de compras */

    form {
        max-width: 90%;
        margin: 20px auto;
        padding: 20px;
    }

    form h2 {
        font-size: 1.5rem;
    }

    form label {
        font-size: 1.2rem;
    }

    form input,
    form textarea,
    form select {
        font-size: 1.2rem;
    }

    form button {
        font-size: 1.2rem;
    }
/* footer */

    .contactanos {
        font-size: 1.2rem;
    }

    .facebook {
    width: 8vw;
    height: auto;
}

.instagram {
    width: 8vw;
    height: auto;
}

.whatsapp {
    width: 8vw;
    height: auto;
}

.medios-de-pago {
    font-size: 1rem;
}

.visa {
    width: 8vw;
    height: auto;
    margin: 1vh 0;
}

.mastercard {
    width: 8vw;
    height: auto;
}
}