@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html {
    box-sizing: border-box;
}

:root {
    --color1: #D04848;
    --color2: #F3B95F;
    --color3: #FDE767;
    --color4: #6895D2;
    --colorblanco: white;
    --colornegro: black;

}

* {
    box-sizing: border-box;
}

body {
    font-family: "Rubik", sans-serif;
    margin: 0px;
    padding-top: 45px;
}

header {
    background-color: var(--color1);
    color: var(--colorblanco);
    font-size: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    justify-content: center;
    height: 45px;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
}

header a {
    color: var(--colorblanco);
    text-decoration: none;
}


main {
    display: grid;
    grid-template-columns: auto auto;
}

main nav {
    background-color: var(--color2);
    color: var(--colornegro);
}

main nav ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

main nav a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 15px;
}


main nav a:hover {
    background-color: #D04848;
    color: var(--colorblanco);
}


main section img {
    width: 100%;
    border-radius: 15px;
}


.zonas {
    padding: 25px;
    display: none;
}

#inicio {
    display: block;
    text-align: center;
}


.zproducto {
    display: block;
    display: grid;   
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}


.zproducto p{
    font-size: 0.9em;
    line-height: 1.6em;
}


.zproducto select{
    display: block;
    margin-top: 15px;
    margin: auto;
    background-color: var(--color4);
    font-size: 1.8em;
    padding: 8px;
    border-radius: 5px;
    color: var(--colorblanco);
}

#pedidos {
    background-color: var(--color3);
    padding: 25px;
}

#pedidos input {
    display: block;
    width: 95%;
    border: 1px solid var(--colornegro);
    border-radius: 3px;
    padding: 5px;
    font-size: 1.1em;
    margin: 15px;
}

#pedidos button {
    background-color: var(--color4);
    font-size: 1.2em;
    border: 0px;
    border-radius: 3px;
    color: var(--colorblanco);
    padding: 10px;
}


.derecha {
    text-align: right;
}


@media (max-width: 900px) {
    main nav {
        display: none;
    }

    .zproducto {
        display: block;
        display: grid;   
        grid-template-columns: 1fr;
        gap: 30px;
    }
}