@import "./form.css";

:root {
    --color-primary: #826A45;
    --dnavbar-zIndex: 999999999;
    --dark: #000;
}

* {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    clear: both;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    background-color: #f6f6f6;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

::-webkit-scrollbar-track {
    background-color: #fff;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
}

img {
    max-width: 100%;
}

header {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
}

.dsliders {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.dslider {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: 0.45s ease-in-out;
    transform: scale(1.1);
}

.dslider.active {
    opacity: 1;
    animation: appear 1s linear forwards;
}

@keyframes appear {
    to {
        transform: scale(1);
    }
}

.dslider img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), #000);
    /* Fundo preto com 50% de opacidade */
    z-index: 1;
}

/* Estilo para o texto da legenda (caption) */
.caption {
    position: absolute;
    top: 50%;
    /* Posição da legenda, ajustável */
    left: 20%;
    width: 50%;
    max-width: 90%;
    transform: translate(-20%, -50%);
    z-index: 2;
    /* Fica acima do overlay */
    color: #fff;
    /* Texto branco */
    font-family: 'Onest';
}

.caption .container {
    margin-top: 10rem;
    opacity: 0;
    filter: blur(20px);
}

.caption.active .container {
    opacity: 0.5;
    animation: fadeUp 1s 0.2s ease-in-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        margin-top: 0;
        filter: blur(0px);
    }
}


@media (max-width: 768px) {
    .caption {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .caption {
        width: 70%;
    }
}

.caption .container {
    display: flex;
    flex-direction: column;
}

.caption h2 {
    font-size: clamp(1.5rem, 3vw, 3rem);
    line-height: clamp(1.8rem, 3vw, 3.5rem);
    margin: 0;
    font-weight: bold;
    font-family: 'Montserrat';
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.02);
    /* Sombra no texto */
}

.caption p {
    font-size: 1rem;
    margin: 0.5rem 0 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    /* Sombra no texto */
}


.dnavbar {
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: var(--dnavbar-zIndex);
    position: absolute;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dnavbar .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.dnavbar-logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat';
    font-weight: 900;
    font-size: 1.25rem;
    color: white;
}

.dnavbar-logo i {
    font-size: 2.25rem;
    transform: rotate(-10deg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-width: 2px 2px 0px 0;
    border-radius: 50%;
}

.logo-colored {
    font-weight: 500;
    font-size: 0.70rem;
    background-color: #2DD062;
    padding: 0.15rem 0.4rem;
    border-radius: 0.15rem;
}

.dnavbar-nav {
    list-style: none;
    gap: 1.85rem;
    height: 100%;
    margin: 0;
    position: relative;
}

.dnav-list {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.dnav-link {
    font-family: 'Poppins';
    color: #fff;
    font-weight: 400;
    font-size: 1.05rem;
}

.dnav-link:hover {
    color: #fff;
    opacity: 0.5;
}


.dnav-link.link-login {
    width: 180px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
}


.dslider-btn {
    width: 190px;
    padding: 0.85rem 0.75rem;
    display: inline-block;
    text-align: center;
    color: #fff !important;
    font-family: 'Poppins';
    background-color: #2dd062;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
}


.chef-style-one {
    margin-top: 20px;
    margin-bottom: 80px;
}

.chef-thumb::before {
    position: absolute;
    height: 100%;
    width: 100%;
    background: var(--dark);
    content: "";
    border-radius: 50%;
    transition: all 0.35s ease-in-out;
    opacity: 0.7;
    transform: scale(0);
}

.chef-thumb .info {
    position: absolute;
    left: -15px;
    bottom: 0;
    background: var(--color-primary);
    right: -15px;
    padding: 15px;
}

.chef-thumb .info h4 {
    margin-bottom: 4px;
}

.chef-thumb .info span {
    color: #fff;
    display: block;
    text-transform: uppercase;
}

.chef-thumb .info::before {
    position: absolute;
    left: -20px;
    top: 0;
    content: "";
    height: 100%;
    width: 30px;
    background: var(--color-primary);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 56% 48%);
}

.chef-thumb .info::after {
    position: absolute;
    right: -20px;
    top: 0;
    content: "";
    height: 100%;
    width: 30px;
    background: var(--color-primary);
    clip-path: polygon(0% 0%, 100% 0%, 44% 50%, 100% 100%, 0% 100%);
}

.chef-thumb img {
    border-radius: 50%;
    transition: all 0.35s ease-in-out;
}

.chef-thumb ul.social {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}


.chiefPro {
    width: 290px;
    min-width: 290px;
    height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 0.25rem;
}

.chiefPro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 0.25rem;
    transition: 1s ease-in-out
}

.chiefPro:hover img {
    transform: scale(1.1);
}

.chiefPro span {
    position: absolute;
    z-index: 111;
    left: 2rem;
    bottom: 1rem;
    color: #fff;
    font-family: 'Poppins';
}

.chiefPro::after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}



/* Container do avatar */
.avatar {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Imagem dentro do círculo */
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Elementos pop-out */
.pop-out {
    position: absolute;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    padding: 10px;
}

/* Talheres (exemplo superior esquerdo) */
.pop-out.fork {
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
}

/* Selo (exemplo inferior esquerdo) */
.pop-out.seal {
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
}

/* Carne (exemplo inferior direito) */
.pop-out.steak {
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
}

/* Texto no selo */
.pop-out.seal p {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}


.rounded-slider-btn {
    width: 40px;
    cursor: pointer;
    outline: none;
    font-size: 1.25rem;
    border: 1px solid transparent;
    background-color: #2DD062;
    color: #fff;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}


.sliders-card {
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.slider-card-item {
    width: 210px;
    min-width: 100px;
    height: 280px;
    border-radius: 4px;
    position: relative;
}

@media (max-width: 992px) {
    .slider-card-item {
        min-width: 50%;
    }
}

@media (max-width: 540px) {
    .slider-card-item {
        min-width: 100%;
    }
}

.slider-card-item .card-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    position: relative;
}

.slider-card-item .overlay {
    border-radius: 5px;
}

.slider-card-item .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.item-name {
    z-index: 111;
    color: #fff;
}


.dcard {
    --dcw: 80%;
    width: var(--dcw);
    max-width: 100%;
    padding: 1rem 1.5rem 2rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.025);
    box-shadow: 0 1px 25px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
}


@media (max-width: 540px) {
    .dcard {
        width: 100%;
    }
}

.dcard-receit .icon {
    width: 50px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    z-index: 9;
    color: #fff;
    background-color: #2dd062;
    position: relative;
}

.dcard-receit .icon::before {
    content: '';
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #2dd062;
    z-index: -1;
}


.dnavbar-toggler {
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    aspect-ratio: 1/1;
    color: #fff;
    background-color: transparent;
}

.dnavbar-toggler > * {
    pointer-events: none;
}


.border-both, .border-t {
    border: 1px solid #4A6B70;
    border-width: 0px 1px 1px 1px;
    border-radius: 0 0 10px 10px;
}


.border-t {
    border-width: 1px 0 0 0;
}


.circle-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #73df96;
}


.page-auth {
    width: 30%;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .page-auth {
        width: 40%;
    }
}

@media (max-width: 992px) {
    .page-auth {
        width: 60%;
    }
}

@media (max-width: 540px) {
    .page-auth {
        width: 80%;
    }
}

@media (max-width: 475px) {
    .page-auth {
        width: 100%;
    }
}

.login-with {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 48%;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
    color: #000;
    font-family: 'Poppins';
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.login-with > * {
    margin: 0;
}

.login-with > i {
    width: 35px;
    aspect-ratio: 1/1;
    color: #fff;
    background-color: #F72670;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


.login-with:last-of-type > i {
    background-color: #07f;
}
