:root {
    --primary: #8B5B29;
    --secondary: #F8EBD7;
    --cta: #F9A800;
}

body {
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background: var(--secondary);
    font-size: 14pt;
}

main {
    padding-bottom: 5rem;
}
a {
    color: black;
}
a svg {
    width: .9rem;
    margin: auto 0 2px .5rem;
}

.treat-image {
    position: relative;
}
.treat-image figure {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 1rem;
}
.treat-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-tab {
    position: relative;
    box-shadow: 0 0 4px #00000020;
    height: 5rem;
    border-radius: 4px;
    font-size: 16pt;
    padding: 0 1rem 0 7rem;
    background: var(--primary);
    color: var(--secondary);
    margin: 2rem 0;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contact-tab:hover {
    color: var(--secondary);
}
.contact-tab svg {
    height: 2rem;
    margin: auto;
    fill: var(--primary);
}
.tab-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary);
}
.tab-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#contactCard {
    background: var(--primary);
    max-width: 32rem;
    height: 100vh;
    overflow: hidden;
}
@media (min-width: 768px) {
    #contactCard {
        box-shadow: 0 0 8px #00000050;
        height: unset;
    }
}


.card-head {
    position: relative;
    height: 35vh;
    text-align: center;
    color: white;
    padding: 1rem;
}
.profile-image {
    position: absolute;
    padding: 0;
    height: 100%;
    width: 100%;
    background: var(--primary);
    left: 0;
    top: 0;
    margin: 0;
}
.profile-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.profile-image svg {
    fill: var(--secondary);
}
.contact-logo {
    position: relative;
    right: .5rem;
    height: 4rem;
    width: 4rem;
    margin: 0;
    padding: 0;
}
.profile-image img, .contact-logo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.card-body {
    position: relative;
    height: 65vh;
    background: var(--secondary);
    padding: .5rem;
    display: flex;
    flex-direction: column;
    z-index: 3;
}
@media (min-width: 768px) {
    #contactCard {
        max-height: 90vh;
        border-radius: 12px;
    }
    .card-head {
        min-height: 10rem;
    }
    .card-body {
        height: 50vh;
    }
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:active {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.top-shape {
    position: absolute;
    padding: 0;
    top: 0;
    left: 0;
    transform: translateY(calc(-100% + 2px));
}
.top-shape svg {
    position: absolute;
    left: 0;
    bottom: 0;
    fill: var(--secondary);
    z-index: 2;
}
.top-shape svg:nth-child(2) {
    fill: var(--primary);
    z-index: -1;
    rotate: 3deg;
    bottom: .6rem;
    left: -2px;
}
.top-shape::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -7px;
    height: 8px;
    width: 100%;
    background: var(--secondary);
}

.title {
    position: relative;
    display: flex;
    justify-content: space-between;
    color: var(--primary);
    border-left: 2px solid var(--primary);
    margin-left: 3%;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}
.title a {
    color: var(--primary);
}

.link {
    background: white;
    color: var(--primary);
    box-shadow: 0 0 8px #00000020;
    display: flex;
    justify-content: start;
    align-items: center;
    height: 3rem;
    padding: .5rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-decoration: none;
    cursor: pointer;
    transition: .25s;
}
.link.link-social {
    width: 3rem;
    margin-right: 1rem;
    margin-top: 0;
}
.link:hover {
    color: var(--primary);
}
@media (min-width: 768px) {
    .link:not(.link-social):hover {
        padding: 1rem;
        height: 4rem;
        color: var(--primary);
        transition: .25s;
    }
}
.link svg {
    fill: var(--primary);
    height: 2rem;
    width: 2rem;
    margin-right: 1rem;
}
.link.link-social svg {
    margin: 0;
}

.flex-grow {
    flex-grow: 1;
}

.footer {
    padding-bottom: 4rem;
}

#shareContact {
    background: var(--secondary);
    color: var(--primary);
}
#shareContact .btn-close {
    position: absolute;
}
.offcanvas-title {
    width: 100%;
    text-align: center;
}
@media (max-width: 768px) {
    #shareContact {
        width: 100vw;
    }
}

.logo {
    width: 19rem;
    max-width: 60vw;
    margin: 0 auto;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


.qr {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    margin: 0 0 2rem 0;
    background:
        linear-gradient(to right, var(--primary) 4px, transparent 4px) 0 0,
        linear-gradient(to right, var(--primary) 4px, transparent 4px) 0 100%,
        linear-gradient(to left, var(--primary) 4px, transparent 4px) 100% 0,
        linear-gradient(to left, var(--primary) 4px, transparent 4px) 100% 100%,
        linear-gradient(to bottom, var(--primary) 4px, transparent 4px) 0 0,
        linear-gradient(to bottom, var(--primary) 4px, transparent 4px) 100% 0,
        linear-gradient(to top, var(--primary) 4px, transparent 4px) 0 100%,
        linear-gradient(to top, var(--primary) 4px, transparent 4px) 100% 100%;
    padding: 1rem;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}
.qr figure {
    position: relative;
    height: 6rem;
    width: 6rem;
    margin: 0;
    
}

.qr img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.menu-image {
    position: relative;
    height: 100%;
    margin: auto;
}
.menu-image figure {
    width: 100%;
    height: 100%;
}
.menu-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: .5rem;
}

@media (min-width: 768px) {
    .ads {
        border-left: 1px solid #00000050;
    }
}
.ad-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    margin: 0;
}
.ad-image:not(:last-child) {
    margin-bottom: 1rem;
}
.ad-image img {
    height: 100%;
    width: 100%;
    border-radius:.5rem;
    object-fit: contain;
}