@font-face {
    font-family: Regular-Roboto;
    src: url(../font/Roboto-Regular.ttf);
}
@font-face {
    font-family: Black-Roboto;
    src: url(../font/Roboto-Black.ttf);
}
@font-face {
    font-family: LaPropia;
    src: url(../font/LaPropia.otf);
}
@font-face {
    font-family: LaPropia2;
    src: url(../font/LaPropia2.ttf);
}
html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    cursor: pointer;
}

:root {
    --title: 3.5rem;
    --subtitle: 2.5rem;
    --parrafos: 1rem;
    --footer: .7rem;
    --color1: #ffffff;
    --color2: #000000;
    --color3: #B57D2F;
    --color4: #FDF7D0;
    --color5: #707070;
    --color6: #F2D77A;
    --color7: #AA3939;
    --color8: #735526;
    --color9: #3A7326;
    --gradient: linear-gradient(180deg, rgba(255, 255, 255,1) 20%, rgba(255, 255, 255,1) 40%, rgba(255, 255, 255,.8) 60%, rgba(255, 255, 255,.5) 80%, rgba(255, 255, 255, 0) 100%);
    --gradient2: linear-gradient(180deg, rgb(242, 215, 122) 20%, rgb(242, 215, 122) 40%, rgb(211, 169, 83) 60%, rgb(181, 125, 47) 80%, rgb(181, 125, 47) 100%);
    --gradient3: linear-gradient(180deg, rgb(211, 169, 83) 20%, rgb(181, 125, 47) 40%, rgb(181, 125, 47) 60%, rgb(181, 125, 47) 80%, rgb(181, 125, 47) 100%);
    --gradient4: linear-gradient(180deg, rgb(181, 125, 47) 20%, rgb(181, 125, 47) 40%, rgb(211, 169, 83) 60%, rgb(242, 215, 122) 80%, rgb(242, 215, 122) 100%);
}
.body{
    position: relative;
}
.left {
    width: 5%;
    height: auto;
}

.right {
    width: 5%;
    height: auto;
}

/* Header Inicio */
header {
    width: 100%;
    height: 8em;
    background: var(--gradient);
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}

.logo {
    width: 45%;
    height: auto;
    position: relative;
}

.logo img {
    width: 9em;
    height: auto;
    position: absolute;
    top: 0.2em;
    left: 0;
    z-index: 20;
}

.nav2 {
    display: none;
}

.nav {
    width: 45%;
    height: auto;
}

.ulCelu {
    width: 100%;
    height: auto;
    font-family: Black-Roboto;
    position: absolute;
    top: 5em;
    left: 0;
    z-index: 10;
    color: var(--color2);
    background: var(--color5);
    padding: 4em 0 3em 0;
    text-align: center;
    display: none;
}

.ulCelu a {
    color: var(--color3);
}

#hamburger {
    float: right;
    margin-top: .5em;
}

#hamburger button {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 5em;
    height: 5em;
}

#hamburger button span {
    width: 60%;
    height: 0.3em;
    border-radius: 2em;
    background: var(--color2);
    display: block;
    margin: 5px auto;

    animation-duration: .5s;
    animation-fill-mode: forwards;
}

#hamburger button.open .top-line {
    animation-name: top-line-animation;
}

#hamburger button.open .middle-line {
    animation-name: middle-line-animation;
}

#hamburger button.open .bottom-line {
    animation-name: bottom-line-animation;
}

#hamburger button .top-line {
    animation-name: top-line-animation-close;
}

#hamburger button .middle-line {
    animation-name: middle-line-animation-close;
}

#hamburger button .bottom-line {
    animation-name: bottom-line-animation-close;
}

@keyframes top-line-animation {

    50%,
    100% {
        margin: 0 auto;
        transform: translateY(4px) rotate(-45deg);
    }
}

@keyframes bottom-line-animation {

    50%,
    100% {
        margin: 0 auto;
        transform: translateY(-4px) rotate(45deg);
    }
}

@keyframes middle-line-animation {

    20%,
    100% {
        margin: 0 auto;
        width: 0;
        opacity: 0;
    }
}

@keyframes top-line-animation-close {
    0% {
        margin: 0 auto;
        transform: translateY(5px) rotate(-45deg);
    }

    50%,
    100% {
        margin: 5px auto;
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes bottom-line-animation-close {
    0% {
        margin: 0 auto;
        transform: translateY(-5px) rotate(45deg);
    }

    50%,
    100% {
        margin: 5px auto;
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes middle-line-animation-close {
    0% {
        margin: 0 auto;
        width: 0;
        opacity: 0;
    }

    20%,
    100% {
        margin: 0 auto;
        width: 60%;
        opacity: 1;
    }
}

.active {
    width: 100%;
    background: var(--color4);
    color: var(--color2);
    transition: all 1s;
    display: flex;
    flex-direction: column;
    gap: 2em;
    box-shadow: 0px 10px 20px var(--color6);
    overflow: hidden;
    animation: activeMenu .5s normal ease-out;
}
@keyframes activeMenu {
    0% {
        height: 1px;
    }
    100% {
        height: 11em;
    }
}
.textPedido {
    width: 10em;
    height: 2em;
    background: var(--gradient2);
    border-radius: 1em;
    display: flex;
    justify-content: center;
    margin: auto;
}
.textPedido:hover{
    background: var(--gradient3);
}
.textPedido p {
    margin: auto 0;
    color: var(--color2);
}
.pedido {
    width: 100%;
    height: auto;
    position: relative;
}
.pedido input[type="checkbox"] {
    width: 10em;
    height: 2em;
    position: absolute;
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    left: 30%;
}
.pedido input[type="checkbox"]:checked~.submenu {
    height: auto;
    display: inherit;
    transition: all .3s;
}
.submenu {
    width: 100%;
    height: 0;
    background: var(--color1);
    margin-top: 1em;
    display: none;
    padding: .1em 0;
    overflow: hidden;
    animation: activeMenu .5s normal ease-out;
}
.submenu li {
    margin: 2em 0;
}
.submenu a {
    color: var(--color2);
}
/* Header Fin */
@media only screen and (min-width:481px) and (max-width:768px){
    /* Header Inicio */
    .logo {
        width: 25%;
    }
    .logo img {
        width: 9em;
        height: auto;
        position: absolute;
        top: 0.2em;
        left: 0;
        z-index: 20;
    }
    .nav {
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: right;
    }
    .ulCelu {
        position: relative;
        top: 0;
        color: var(--color2);
        background: none;
        padding: 0;
        display: flex;
        gap: 1em;
        align-items: center;
    }
    .ulCelu li {
        width: auto;
    }
    .ulCelu a {
        color: var(--color3);
    }
    #hamburger {
        display: none;
    }
    .textPedido:hover{
        background: var(--gradient3);
    }
    .pedido input{
        display: none;
    }
    .submenu {
        display: none;
    }
    /* Header Fin */
}
@media only screen and (min-width: 769px) and (max-width: 1279px) and (orientation: portrait){
    /* Header Inicio */
    .logo {
        width: 25%;
    }

    .logo img {
        width: 10em;
        height: auto;
        position: absolute;
        top: 0.2em;
        left: 0;
        z-index: 20;
    }

    .nav {
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: right;
    }

    .ulCelu {
        position: relative;
        top: 0;
        color: var(--color2);
        background: none;
        padding: 0;
        display: flex;
        gap: 1em;
        align-items: center;
    }
    .ulCelu li {
        width: auto;
    }
    .ulCelu a {
        color: var(--color3);
    }

    #hamburger {
        display: none;
    }
    .textPedido:hover{
        background: var(--gradient3);
    }
    .pedido input{
        display: none;
    }

    .submenu {
        display: none;
    }

    /* Header Fin */
}
@media only screen and (min-width: 769px) and (max-width: 1279px) and (orientation: landscape){
    /* Header Inicio */
    .logo {
        width: 25%;
    }

    .logo img {
        width: 10em;
        height: auto;
        position: absolute;
        top: 0.2em;
        left: 0;
        z-index: 20;
    }

    .nav {
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: right;
    }

    .ulCelu {
        position: relative;
        top: 0;
        color: var(--color2);
        background: none;
        padding: 0;
        display: flex;
        gap: 1em;
        align-items: center;
    }
    .ulCelu li {
        width: auto;
    }
    .ulCelu a {
        color: var(--color3);
    }

    #hamburger {
        display: none;
    }
    .textPedido:hover{
        background: var(--gradient3);
    }
    .pedido input{
        display: none;
    }

    .submenu {
        display: none;
    }

    /* Header Fin */
}
@media only screen and (min-width:1280px){
    .left{
        width: 10%;
    }
    .right{
        width: 10%;
    }
    /* Header Inicio */
    .logo {
        width: 10%;
    }

    .logo img {
        width: 12em;
        height: auto;
        position: absolute;
        top: 0.2em;
        left: 0;
        z-index: 20;
    }

    .nav {
        width: 70%;
        display: flex;
        align-items: center;
        justify-content: right;
    }

    .ulCelu {
        position: relative;
        top: 0;
        color: var(--color2);
        background: none;
        padding: 0;
        display: flex;
        gap: 2em;
        align-items: center;
    }
    .ulCelu li {
        width: auto;
    }
    .ulCelu li:hover a {
        color: var(--color2);
    }
    .ulCelu a {
        color: var(--color3);
    }

    #hamburger {
        display: none;
    }
    .textPedido:hover{
        background: var(--gradient3);
        color: var(--color1);
        transition: all 3s;
    }
    .textPedido:hover p{
        color: var(--color1);
    }
    .pedido input{
        display: none;
    }

    .submenu {
        display: none;
    }

    /* Header Fin */
}