html {
    overflow-x: hidden;
}

body {
    padding: 1rem;
    padding-bottom: 100px;
}

header,
main,
footer,
section {
    display: block;
}

h1, h2, h3 {
    font-family: serif;
    font-weight: bold;
    margin-bottom: .5rem;
    margin-top: 2rem;
    display: block;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

footer {
    text-align: center;
    font-size: .8rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

#about a {
    font-weight: bold;
    text-decoration: underline;
    color: #24405e;
}

#about {
    text-align: center;
}

#about div {
    display: inline-block;
    width: 100%;
    max-width: 600px;
    text-align: justify;
}

#gallery {
    text-align: center;
}

#gallery .text {
    margin-bottom: 2rem;
}

#gallery ul {
    display: block;
    text-align: center;
    padding: 0;
    position: relative;
    user-select: none;
}

#gallery ul li {
    transition: all .3s ease;
    display: inline-block;
    width: 100%;
    max-width: 210px;
    aspect-ratio: 1;
    overflow: clip;
    position: relative;
    vertical-align: top;
    margin: 0px;
    padding: 0;
    background: #555;
    border: 1px solid #fff;
    cursor: pointer;
}


@media (orientation: portrait) {
    #gallery ul {
        margin-top: -1rem;
    }
    #gallery ul li {
        max-width: 50%;
        border: none;
        outline: 2px solid #fff;
    }
}
/*
#gallery ul li:hover:not(:active) {
    transform: scale(1.05);
    z-index: 122;
}*/

#gallery ul li img {
    transition: all 1s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#gallery ul li.active {
    position: initial;
    background: transparent;
}

#gallery ul li.active img {
    transition: all .3s ease;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    left: 50%;
    transform: translateX(-50%) scale(1.2);
    object-fit: initial;
    z-index: 1000;
    box-shadow: 0 10px 50px #000;
}

#zoom {
    transition: all .3s ease;
    position: fixed;
    z-index: 10000;
    inset: 0;
    border: 1rem solid transparent;
    background: rgba(0 0 0 / .8);
    backdrop-filter: blur(2rem) saturate(200%);
    -webkit-backdrop-filter: blur(2rem) saturate(200%);
}

.zoomOut {
    transform: scale(1.2);
    opacity: 0;
    pointer-events: none;
}

#zoom img {
    transition: all 1s ease;
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#zoom div:not(#close) {
    width: 40vw;
    top: 0;
    bottom: 0;
    position: absolute;
    cursor: pointer;
}
/*
#zoom div:hover {
    background: rgba(255 255 255 / .05);
}*/

#zoom div:not(#close):active {
    background: rgba(255 255 255 / .1);
}

#prev {
    left: 0;
}

#next {
    right: 0;
}

#hero {
    margin-top: -1rem;
    margin-left: -1rem;
    margin-bottom: 2rem;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #232d19;
}

#hero .intro {
    content: '';
    width: 100%;
    z-index: 100;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

#hero .intro > img {
    width: 80%;
    max-width: 230px;
    height: auto;
    margin-bottom: 1rem;
}

#hero .intro div span {
    display: inline-block;
    width: 80%;
    max-width: 600px;
}

#hero .intro div {
    background: rgba(0 0 0 / .6);
    background: linear-gradient(90deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.2) 100%);
    display: block;
    padding: 2rem 0;
}

#hero .img {
    width: 100%;
    height: 100%;
}

#hero .img img {
    transition: all 1s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;

}
/*
@media (orientation: portrait) {
    #hero  > img {
        height: 100vh;
        width: auto;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}*/


#hero.zoom .img img {
    transform: translate(-50%, -50%) scale(1.2);
}
/*
@media (orientation: portrait) {
    #hero.zoom > img {
        transform: translate(-50%, -50%) rotate(90deg) scale(1.2);
    }
}*/

#whats {
    background-image: url(square-whatsapp.svg);
    aspect-ratio: 1;
    width: 60px;
    color: transparent;
    overflow: hidden;
    background-size: contain;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

#floatw {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255 255 255 / .9);
    backdrop-filter: blur(1rem) contrast(200%);
    border-radius: .6rem;
    border: 1px solid #fff;
    box-shadow: 0 0 20px -5px #024b50;
    z-index: 9999999;
    white-space: nowrap;
    padding-right: 60px;
}

#floatw:before {
    content: 'Faça sua reserva';
    display: block;
    height: 60px;
    line-height: 60px;
    padding: 0 1rem;
    padding-left: 1.2rem;
    font-weight: bold;
    font-size: 1rem;
    color: #024b50;
}

#close {
    background-image: url(x.svg);
    aspect-ratio: 1;
    width: 30px;
    margin-top: 1rem;
    color: transparent;
    overflow: hidden;
    background-size: contain;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    bottom: 1rem;
}


@media (orientation: landscape) {
        
    #close {
        bottom: initial;
        top: 1rem;
        background-color: rgba(0 0 0 / .5);
        border: 1rem solid transparent;
        border-radius: 100%;
        cursor: pointer;
    }
}