/* GERAL */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    background-color: #f8f9fa;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

:root {
    --bs-primary-color: #258cfb;
}

body {
    margin-bottom: 60px;
}

/* BOOTSTRAP */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow:
        0 0 0 0.1rem white,
        0 0 0 0.25rem #258cfb;
}

.card {
    border-radius: 12px;
}

.form-label {
    font-weight: 500;
    align-self: center;
}

.form-control {
    border-radius: 10px;
}

.btn {
    transition: 0.2s;
    border-radius: 10px;
}

.btn:hover {
    transform: translateY(-2px);
}

/* BARRA DE NAVEGAÇÃO */

.logo{
  width: 20vh;
}

.nav-link {
    color: #000000;
    transition: 0.2s;
}

.nav-link:hover {
    color: #0044ff;
    transform: translateY(-2px);
}

.btn-link {
    display: flex;
    align-items: center;

    background-color: var(--bs-primary-color);
    color: #ffffff;

    font-weight: 500;
    text-decoration: none;

    border: 1px solid #fcfcfc;
    border-radius: 4px;

    padding: 0.375rem 0.75rem;
}

.btn-link:hover {
    background-color: var(--bs-primary-color);
    color: #ffffff;
}

/* PÁGINA HOME */

.hero-section {
    background: linear-gradient(
        135deg,
        #0d6efd,
        #0a58ca
    );

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .15);
}

.hero-section .btn {
    font-weight: 600;
}

.title {
    margin: 40px;

    text-align: center;

    font-size: 2.5rem;
    font-weight: bold;
}

/* CATÁLOGO DE PRODUTOS */

.produto-card {
    border: none;
    overflow: hidden;

    transition: all .25s ease;
}

.produto-card:hover {
    transform: translateY(-5px);
}

.produto-card img {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;

    transition: .3s;
}

.produto-imagem {
    height: 250px;
    width: 100%;

    object-fit: contain;
    padding: 12px;

    background-color: #f8f9fa;
}

.produto-card:hover img {
    transform: scale(1.03);
}

.text-success {
    font-size: 1.15rem;
}

/* SOBRE */

.sobre-hero {
    background: linear-gradient(
        135deg,
        #0d6efd,
        #0a58ca
    );

    border-radius: 0 0 20px 20px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .15);
}

.sobre-card {
    transition: .25s;
}

.sobre-card:hover {
    transform: translateY(-5px);
}

.sobre-card h3 {
    font-weight: 700;
}

.sobre-card p,
.sobre-card li {
    color: #6c757d;
}

/* CONTATO */

.contato-hero {
    background: linear-gradient(
        135deg,
        #0d6efd,
        #0a58ca
    );

    border-radius: 0 0 20px 20px;

    box-shadow:
        0 4px 12px rgba(0,0,0,.15);
}

.contato-card {
    transition: .25s;
}

.contato-card:hover {
    transform: translateY(-5px);
}

/* LOGIN */

.login-page {
    min-height: 70vh;

    display: flex;
    align-items: center;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ÁREA ADMIN */

.table td {
    vertical-align: middle;
}

.produto-thumb {
    width: 70px;
    height: 70px;

    object-fit: cover;

    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.dashboard-card {
    transition: .25s;
}

.dashboard-card:hover {
    transform: translateY(-4px);
}

.dashboard-card h2 {
    font-size: 2.2rem;
}

/* FOOTER */

footer {
    margin-top: 60px;
}