/* 
Paleta de Colores => 

Amarillo: #EAC926;
Azul: #03264C;
Celeste: #1259c3;
Gris oscuro: #666;
Gris claro: #ebebeb;
Verde: #39b54a;

 */

/* Importing the styles from each view */

@import url(register-style.css);
@import url(login-style.css);

 *{
    margin: 0px;
    padding: 0px;  
    box-sizing: border-box;
 }

body {
    font-family: 'Roboto';
    margin: 0;
    background-color: #ebebeb;
}

/* Nav bar & Header */

header {
    width: 100%;
    max-height: 167px;
    background-color:#EAC926;
    position: fixed;
    z-index: 10;
    top: 0;
}

header div.upper-header {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
}

header div.upper-header div.header-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 11px;
    margin-bottom: 1rem;
    width: 100%;
}

header div.upper-header div.header-container a.logo-link {
    width: 40%;
    max-width: 200px;
}

header div.upper-header div.header-container a img.logo-img {
    width: 100%;
    max-width: 125px;
    margin-right: 30px;
    position: relative;
    /* animation: increase 1s ease-in infinite alternate; */
}

@keyframes increase {
    from {
        transform: scale(1);
        left: 0;
        top: 0;
    }
    to {
        transform: scale(1.5);
        left: 50px;
        top: 50px;
    }
}

header div.upper-header div.header-container div.buscador {
    display: flex;
    align-items: center;
    width: 50%;
    max-height: 45px;
    max-width: 600px;
    border-radius: 1.5rem;
    flex-grow: 0.5;
}


header div.upper-header div.header-container div.buscador form {
    position: relative;
    border-radius: 1.5rem;
    width: 100%;
}

header div.upper-header div.header-container div.buscador form div{
    position: absolute;
    top: 25%;
    right: 5%;
    border: none;
}

header div.upper-header div.header-container div.buscador form input {
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    background-color: #fff;
    border: none;
    color: #666;
    text-align: left;
    padding: 8px 5px;
    margin: 0;
}

header div.upper-header div.header-container div.buscador form div i {
    background-color: #ffffffa8;
    border: none;
    color: #666;
    padding: 1px;
}

header div.upper-header div.head-quote {
    order: 1;
    margin: auto;
    height: 38px;
}

header div.upper-header div.head-quote p{
    font-size: 1rem;
    text-align: center;
}

header nav {
    display: none;
}

header nav ul {
    margin-bottom: 0px;
    padding: 0;
    margin-bottom: 10px;
}

header nav ul li {
    text-align: center;
    list-style-type: none;
    transition: all 250ms;
}

header nav ul li:hover{
    background-color: #f1d64a;
}

header nav ul li a {
    font-size: 0.9rem;
    text-decoration: none;
    color: black;
}

header div.burger-menu {
    text-align: center;
}

header div.burger-menu i {
    color: #fff;
    background-color: #1259c3;
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
    margin: 7px 0 14px 0;
    border-radius: 5px;
}

/* Wild Banner */
section img.banner-img {
    width: 100%;
    margin-top: 164px;
}

/* productos & main section */

main {
    margin: 0 auto;
    width: 90vw;
}


main section h2 {
    font-size: 24px;
    margin: 15px 0 30px 0;
}

main section article {
    margin-bottom: 10px;
    margin-left: 10px;
    transition: all 1000ms;
}

main section article img{
    width: 100%;
}

main section article div.description {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 15px;
    /* border-top: 1px solid #ebebeb; */
    text-align: left;
    background-color: #fff;
}


main section article div.description i {
    position: absolute;
    display: block;
    color: #39b54a;
    font-size: 16px;
    padding: 5px;
    width: 30px;
    height: 30px;
    border: 1px solid #39b54a;
    background-color: #FFF;
    border-radius: 50%;
    right: 20px;
    top: -15px;
    transition: all 500ms;
}

main section article div.description div.precios {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
}

main section article div.precios p.precio {
    text-align: left;
    font-size: 18px;
}

main section article div.precios p.descuento {
    text-align: center;
    font-size: 16px;
    color: #39b54a;
    padding-left: 10px;
}

main section article h3 {
    font-size: 16px;
    height: 35px;
    margin-top: 10px;
    /* opacity: 0.5; */
    transition: all 400ms;
    width: 100%;
    /* display: none; */
}

/* Footer */

footer section{
    display: flex;
    flex-direction: column;
    margin: 30px 0;
}

footer section article {
    text-align: center;
    padding-top: 10px;
}

footer section article div i {
    font-size: 2em;
    color: #1259c3;
    margin-bottom: 10px;
}

footer section article h3 {
    font-size: 16px;
    margin-bottom: 1px;
    margin-top: 0px;
}

footer section article p {
    font-size: 12px;
    margin-top: 1px;
}

footer p.copyright{
    font-size: 12px;
    text-align: center;
}

/* Tablets */

@media (min-width: 361px) {

    header div.upper-header div.head-quote{
       padding-top: 10px;
    }

    header div.upper-header div.header-container div.buscador {
        max-width: none;
    }

    main section article {
        width: 45%;
    }

    main section div.products-1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    main#formulario-registro {
        margin-top: 188px;
    }

}

/* Desktops */

@media (min-width: 768px) {

    header div.upper-header {
        flex-wrap: nowrap;
    }

    header div.upper-header div.header-container div.buscador {
        flex-grow: 0.8;
        margin-left: 5px;
    }

    header div.upper-header div.head-quote {
        flex-grow: 0.2;
    }

    header div.upper-header div.head-quote p {
        font-size: 1rem;
        text-align: right;
        padding-right: 1.5rem;
    }

    header div.burger-menu {
        display: none;
    }

    header nav {
        display: flex;
        justify-content: space-between;
        margin: 0 20px;
    }

    header nav ul {
        display: flex;
        flex-grow: 0.2;
        justify-content: space-between;
    }

    header nav ul li {
        flex-grow: 0.2;
    }

    section img.banner-img {
        margin-top: 103px;
    }

     main#formulario-registro {
        margin-top: 129px;
    }

    div.description h3{
        opacity: 0;
    }

    main section article:hover {
        box-shadow: 0px 0px 10px rgb(100, 100, 100);
    }

    article:hover h3 {
        opacity: 1;
    }

    article:hover div.description i {
        transform: rotate(270deg);
    }

    footer section{
        flex-direction: row;
        justify-content: space-evenly;
    }

    footer section article {
        width: 25%;
    }
}

@media (min-width: 1200px) {

    header div.upper-header, header nav {
        max-width: 100%;
        align-items: center;
    }

    header div.upper-header div.header-container {
        width: 72%;
    }

    header div.upper-header div.header-container div.buscador {
        height: 45px;
        flex-grow: 0.7;
    }

    main section article {
        width: 22.5%;
    }
}
