:root{
    --color-main: #50a39b;
    --color-main-dark: #297A71;
    --color-main-blur: #50a39bBF;
    --color-text: #374151;
}

body{
    background-color: #333;
    color: var(--color-text);
}

.main-container{
    position: relative;
    width: 50em;
    max-width:100%;
    height:100dvh;
    margin: 0 auto;
    & .content{
        position:relative;
        width:100%;
        height:100%;
        & > header{
            position: absolute;
            z-index:100;
            width:100%;
            height:64px;
            display: block;
            & .logo{
                display: block;
                display: none;
                height:3em;
                margin:0 auto;
                padding-top:0.5em;
            }
            & .button_back{
                display: none;
                position: absolute;
                background-color: transparent;
                border: 0;
                left:0;
                top:0;
                z-index: 99;
                text-align: center;
                cursor: pointer;
                font-size:1.5em;
                width:64px;
                height:64px;
                color: #fff;
            }
            & .button_navbar{
                position: absolute;
                background-color: transparent;
                border: 0;
                right:0;
                top:0;
                z-index: 99;
                text-align: center;
                cursor: pointer;
                font-size:1.5em;
                width:64px;
                height:64px;
                color: var(--color-main)
            }
        }

        &:not(.home) > header{
            background-color: var(--color-main);
            & .logo{
                display: block;
            }
            & .button_back{
                display: block;
            }
            & .button_navbar{
                color: #fff;
            }
        }

        &.home{
            & .page{
                position:relative;
                width:100%;
                height:100%;
                background-image: url('../img/home-bg.jpg');
                background-size: cover;
                & .logo{
                    position:relative;
                    display: block;
                    width:60%;
                    padding-top:3em;
                    margin: 0 auto;
                }
                & footer{
                    width:100%;
                    padding:2em 0;
                    display: flex;
                    position: absolute;
                    bottom:0;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    & button{
                        font-size:1em;
                        display: block;
                        width:auto;
                        height:2.5em;
                        padding:0 1.5em;
                        text-transform: uppercase;
                        border:0;
                        background-color: var(--color-main);
                        color: #fff;
                        cursor: pointer;
                        border-radius:1.25em;
                    }
                }
            }
        }

        &.landingg{
            & .page{
                position:relative;
                width:100%;
                height:100%;
                background-color: #fff;
                overflow: auto;
                padding:0em 1em;
                padding-top:64px;
                overflow-x: hidden;
                & .page-banner{
                    display:block;
                    width:calc(100% + 8em);
                    height:16em;
                    margin-left:-4em;
                    margin-bottom:1.5em;
                    overflow: hidden;
                    & img{
                        object-fit:cover;
                        width:100%;
                        height:100%;
                    }
                    @media screen and (max-width: 480px){
                        border-radius: 0 0 16em 16em;
                    }
                }
                & h1{
                    color:var(--color-main);
                    font-size:1.25em;
                    font-weight:600;
                    margin-bottom:1.75rem;
                }
                & .page-body{
                    & img{
                        width:100%;
                    }
                    & p{
                        margin-bottom:1em;
                        overflow-wrap: break-word;
                        line-height:1.5em;
                    }
                    & strong{
                        font-weight:600;
                    }
                }
            }
        }
    }
}

.navbar{
    display: none;
    &.active{
        width: 100%;
        height: 100dvh;
        display: block;
        background-color: var(--color-main-blur);
        position: absolute;
        top:0;
        z-index:101;
    }
    & .container{
        position: relative;
        width:100%;
        height:100dvh;
        display: flex;
        align-items: flex-end;
        & div{
            width:22.5em;
            max-width:100%;
            padding: 2em 1em 6em 1em;
            display: flex;
            flex-direction: row;
            flex-wrap:wrap;
            text-align: center;
            margin: 0 auto;
            & article{
                width: 7.5em;
                max-width:33.334%;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding-bottom:1.5em;
                &:nth-child(n+7):nth-child(-n+9){
                    padding-bottom:0;
                }
                & button{
                    font-size:1em;
                    color: #fff;
                    background-color: var(--color-main);
                    border: 0;
                    width:5em;
                    height:5em;
                    border-radius:1em;
                    padding: 1em 0.5em;
                    cursor: pointer;
                    margin-bottom:0.25em;
                    & i{
                        font-size:1.5em;
                    }
                }
                & h4{
                    font-weight:400;
                    color:#565656;
                    color: #fff;
                    margin:0;
                    font-size:0.875em;
                    line-height:1.25em;
                    padding:0 0.75em;
                }
            }
        }
    }
    & .close{
        background: transparent;
        border:none;
        color:#fff;
        position: absolute;
        right:0;
        top:0;
        z-index:101;
        cursor: pointer;
        font-size:1.5em;
        width:64px;
        height:64px;
    }
}

.language{
    width:8.5em;
    position: absolute;
    top:8em;
    left:calc(50% - 4.25em);
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 102;
    background-color: #fff;
    padding:0.25em;
    border-radius:1em;
    & button{
        font-size:1.25em;
        width:3em;
        height:3em;
        margin-right:0.5rem;
        cursor: pointer;
        color: var(--color-main);
        &:last-child{
            margin-right:0;
        }
        &.active{
            color:#fff;
            background: var(--color-main);
        }
    }
}

.card-dining{
    & header{
        background: transparent;
        color: var(--color-main-dark);
        margin:2em 0 1.5em 0;
        & h2{
            font-size:1.5em;
            font-weight:700;
            text-align: center;
        }
    }
    & article{
        position:relative;
        width:32em;
        max-width:100%;
        border-radius:1em;
        margin:0 auto;
        margin-bottom:1.5em;
        padding:0.5em;
        cursor:pointer;
        box-shadow:rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
        & picture{
            width:100%;
            display:block;
            overflow:hidden;
            height:13.5em;
            border-radius:0.75em;
            & img{
                width:100%;
                height:100%;
                object-fit:cover;
            }
        }
        & footer{
            height:4.5em;
            background:var(--color-main);
            color:#fff;
            padding:1em 1.25em;
            margin-top:0.5em;
            border-radius:0.75em;
            & h3{
                font-size:1.25em;
                font-weight:500;
                text-transform:capitalize;
                margin-bottom:0.25rem;
            }
            & h4{
                font-size:1em;
                line-height:1em;
                color:#eee;
                text-transform:capitalize;
            }
        }
        &:first-child{
            margin-top:2em;
        }
    }
}

.restaurant{
    & .page{
        position:relative;
        width:100%;
        height:100%;
        background-color: #fff;
        overflow: auto;
        padding-top:64px;
        & > header{
            color: var(--color-main-dark);
            & picture:first-of-type{
                display: block;
                width:100%;
                height:16em;
                overflow: hidden;
                position: relative;
                z-index: 79;
                & img{
                    width:100%;
                    height:100%;
                    object-fit: cover;
                    object-position: 50% 50%;
                }
            }
            & .logo{
                position: relative;
                display: block;
                width:8.5em;
                height:8.5em;
                margin: -4em auto 0 auto;
                background-color: #fff;
                z-index:80;
                border-radius:100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                border: solid 2px var(--color-main-dark);
                overflow: hidden;
                & img{
                    width:100%;
                    height:100%;
                    object-fit: contain;
                }
            }
            & h1{
                font-size:1.5em;
                font-weight:700;
                text-align: center;
                margin-bottom:0.5rem;
                margin-top:2rem;
            }
            & h2{
                font-size:1em;
                font-weight:500;
                text-align: center;
                text-transform: capitalize;
            }
        }
        & ul{
            display: flex;
            flex-direction: row;
            justify-content: center;
            padding:2em 1em 0 1em;
            flex-wrap:wrap;
            & li{
                margin-right:0.5em;
                margin-bottom:0.5em;
                & button{
                    width:auto;
                    background-color:var(--color-main);
                    color:#fff;
                    padding:0 1.25em;
                    text-transform: uppercase;
                    font-weight:400;
                }
                &:last-child{
                    margin-right:0;
                }
            }
        }
        & .info{
            padding:2em 1em 1em 1em;
            & h2{
                color: var(--color-main);
                font-size:1.125em;
                font-weight:600;
                margin-bottom:0.5rem;
            }
            & h3{
                font-size:1em;
                font-weight:500;
                margin-bottom:0.5em;
            }
            & p{
                margin-bottom:0.5em;
            }
            & .horas{
                padding:1em 0;
                & h2{
                    margin-bottom:0.5rem;
                }
            }
        }
        & .galeria{
            padding:1em;
            & picture{
                position: relative;
                display: block;
                width:100%;
                padding-top:56.25%;
                margin-bottom:1em;
                &:last-child{
                    margin:0;
                }
                & img{
                    position: absolute;
                    top:0;
                    left:0;
                    height:100%;
                    width:100%;
                    object-fit: cover;
                    object-position: 50% 50%;
                }
            }
        }
    }
}

.landing{
    & .page{
        position:relative;
        width:100%;
        height:100%;
        background-color: #fff;
        overflow: auto;
        padding-top:64px;
        overflow-x: hidden;
        & > header{
            color: var(--color-main-dark);
            & picture{
                display: block;
                width:100%;
                height:16em;
                overflow: hidden;
                position: relative;
                z-index: 79;
                & img{
                    width:100%;
                    height:100%;
                    object-fit: cover;
                    object-position: 50% 50%;
                }
            }
            & h1{
                font-size:1.5em;
                font-weight:700;
                text-align: center;
                margin-bottom:0.5rem;
                margin-top:2rem;
            }
        }
        & .info{
            padding:1em;
            padding-top:2em;
            & h3{
                font-size:1.125em;
                font-weight:500;
                margin-bottom:1rem;
            }
            & p{
                margin-bottom:1em;
                & strong{
                    font-weight:600;
                }
            }
            & ul{
                margin-bottom:1em;
                padding-left:2em;
                & li{
                    list-style:disc;
                }
                &.buttons{
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    padding:2em 1em 0 1em;
                    flex-wrap:wrap;
                    & li{
                        margin-right:0.5em;
                        margin-bottom:0.5em;
                        list-style: none;
                        & button{
                            width:auto;
                            background-color:var(--color-main);
                            color:#fff;
                            padding:0 1.25em;
                            text-transform: uppercase;
                            font-weight:400;
                        }
                        &:last-child{
                            margin-right:0;
                        }
                    }
                }
            }
            & ol{
                margin-bottom:1em;
                padding-left:2em;
                & li{
                    list-style:decimal;
                }
            }
            & .galeria{
                padding:1em 0;
                & picture{
                    position: relative;
                    display: block;
                    width:100%;
                    padding-top:56.25%;
                    margin-bottom:1em;
                    &:last-child{
                        margin:0;
                    }
                    & img{
                        position: absolute;
                        top:0;
                        left:0;
                        height:100%;
                        width:100%;
                        object-fit: cover;
                        object-position: 50% 50%;
                    }
                }
            }
        }
    }
}

.card-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top:2em;
    & article{
        display: flex;
        flex-direction: row;
        align-items: center;
        box-shadow:rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
        border-radius:1em;
        padding:0.5em;
        margin-bottom:1em;
        width:35em;
        max-width:100%;
        cursor: pointer;
        & picture{
            display: block;
            width:8em;
            height:7em;
            border-radius:0.75em;
            overflow: hidden;
            margin-right:1em;
            & img{
                width:100%;
                height:100%;
                object-fit: cover;
                object-position: 50% 50%;
            }
        }
        & h2{
            width: calc(100% - 9em);
            font-size:1.125em;
            font-weight:500;
        }
    }
}

.menu{
    & .page{
        position:relative;
        width:100%;
        height:100%;
        background-color: #fff;
        overflow: auto;
        padding-top:64px;
        & > header{
            color: var(--color-main-dark);
            & picture:first-of-type{
                display: block;
                width:100%;
                height:16em;
                overflow: hidden;
                position: relative;
                z-index: 79;
                & img{
                    width:100%;
                    height:100%;
                    object-fit: cover;
                    object-position: 50% 50%;
                }
            }
            & .logo{
                position: relative;
                display: block;
                width:8.5em;
                height:8.5em;
                margin: -4em auto 0 auto;
                background-color: #fff;
                z-index:80;
                border-radius:100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                border: solid 2px var(--color-main-dark);
                overflow: hidden;
                & img{
                    width:100%;
                    height:100%;
                    object-fit: contain;
                }
            }
            & h1{
                font-size:1.5em;
                font-weight:700;
                text-align: center;
                margin-bottom:0.5rem;
                margin-top:2rem;
            }
        }
        & ul{
            display: flex;
            flex-direction: row;
            justify-content: center;
            padding:2em 1em 0 1em;
            flex-wrap:wrap;
            & li{
                margin-right:0.5em;
                margin-bottom:0.5em;
                & button{
                    width:auto;
                    background-color:var(--color-main);
                    color:#fff;
                    padding:0 1.25em;
                    text-transform: uppercase;
                    font-weight:400;
                }
                &:last-child{
                    margin-right:0;
                }
            }
        }
        & .info{
            padding:1em;
            padding-top:2em;
            & article{
                padding:1em 0;
                & h2{
                    font-size:1.25em;
                    font-weight:600;
                    margin-bottom:1rem;
                    color: var(--color-main-dark);
                    text-align: center;
                }
                & h3{
                    font-size:1.125em;
                    font-weight:500;
                    margin-bottom:0.5rem;
                }
                & p{
                    margin-bottom:1em;
                    & strong{
                        font-weight:600;
                    }
                }
            }
        }
    }
}