﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
#btback {
    float: right;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
margin-left:5px;
}
#Tabela {
    border-collapse: collapse;
    width: 100%;
    align-content: center;
    border-radius: 4px 4px 4px 4px;
}

    #Tabela th, td {
        padding: 8px;
        text-align: left;
        border-bottom: 1px solid #F2F2F2;
        color: #F2F2F2;
    }

    #Tabela tr:hover td {
        background-color: #B4DAFF !important;
        color: #1A0933;
    }

/* Estilo para o loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Garante que o loader fique por cima de tudo */
}

.loader {
    border: 8px solid #f3f3f3; /* Cor de fundo do loader */
    border-top: 8px solid #3498db; /* Cor da parte giratória */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
.footer {
    backdrop-filter: blur(6px);
    background-color: rgba(33, 33, 33, 0.8);
}
/* Animação de rotação */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* Hover para os links da sidebar */
.offcanvas-body .nav-link:hover {
    background-color: #C83885;
    color: #ffffff !important;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

/* Apenas no mobile */
@media (max-width: 768px) {
    a {
        font-size: 18px !important;

    }
}
@media (max-width: 768px) {
    p {
        font-size: 18px !important;
    }
}
@media (max-width: 768px) {
    .nav-link,
    .navbar-nav a,
    .dropdown-item {
        font-size: 22px !important;
    }
}

@media (max-width: 768px) {
    .card-title {
        font-size: 24px !important;
    }
}


@media (max-width: 768px) {
    .card-text {
        font-size: 22px !important;
    }
}
@media (max-width: 768px) {
    .btn-cart {
        font-size: 20px !important;
        padding: 12px 20px !important;
    }
}
/* Checkboxes maiores no mobile */
@media (max-width: 768px) {
    .form-check-input.custom-checkbox {
        width: 24px;
        height: 24px;
    }

    .form-check-label {
        font-size: 20px; /* aumenta o texto também */
        margin-left: 6px;
    }
}


/*imagem da imagem do chef na pagina principal- “Float” (flutuar suavemente para cima e para baixo)*/

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.img-float {
    animation: float 4s ease-in-out infinite;
}


/*imagem da imagem do chef na pagina principal-“Pulse suave” (bem leve, nada de pular!)*/

@keyframes softpulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.img-softpulse {
    animation: softpulse 3.5s ease-in-out infinite;
}
