﻿:root {
    --pink-500: #ff1493;
    --pink-400: #ff5caf;
    --pink-100: #ffe5f3;
    --rose-50: #fff7fb;
    --ink-700: #3f3f4d;
    --ink-500: #6f6f7f;
    --line: #f2d4e5;
}

html {
    font-size: 14px;
    min-height: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    font-family: 'Manrope', 'Open Sans', sans-serif;
    color: var(--ink-700);
    background: transparent;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% -20%, #ffd5ea 0%, #ffd5ea00 45%),
        radial-gradient(circle at -10% 15%, #ffe9f5 0%, #ffe9f500 40%),
        linear-gradient(180deg, #fff 0%, var(--rose-50) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

h4 {
    color: #8b5d75;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 0.85rem;
}

main {
    padding-top: 78px;
}

nav.navbar {
    background: linear-gradient(120deg, var(--pink-500) 0%, #ff2d9b 55%, var(--pink-400) 100%);
    position: fixed;
    z-index: 100;
    width: 100%;
    border-bottom: 0;
}

footer {
    font-size: 12px;
    color: var(--ink-500);
    text-align: center;
    margin: 1.5rem 0 1.25rem;
}

a {
    color: #d9097b;
    transition: color 160ms ease;
}

a:hover,
a.fa {
    text-decoration: none;
}

a:hover {
    color: #b9076a;
}

a[role=button] {
    cursor: pointer;
}

a.navbar-brand {
    font-family: 'Beth Ellen', cursive;
    white-space: normal;
    text-align: center;
    word-break: break-all;
    color: #fff;
    font-size: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

.quote {
    text-align: right;
    margin: 0.25rem 0 1rem;
    display: block;
    font-size: 12px;
    color: #a06c86;
}

.btn {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 0;
    padding: 0.5rem 1.05rem;
    box-shadow: 0 10px 22px rgba(173, 17, 104, 0.2);
    transition: transform 130ms ease, box-shadow 180ms ease;
}

.btn:hover {
    box-shadow: 0 14px 28px rgba(173, 17, 104, 0.26);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 14px rgba(173, 17, 104, 0.2);
}

.btn:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 20, 147, 0.2), 0 12px 24px rgba(173, 17, 104, 0.22);
}

.btn-success {
    background: #258a48;
    border-color: #1c6a37;
    color: #fff;
}

.btn-success:hover {
    background: #1f7a3f;
    color: #fff;
}

.btn-add {
    background: #258a48;
    border-color: #1c6a37;
    color: #fff;
}

.btn-add:hover {
    background: #1f7a3f;
    border-color: #175930;
    color: #fff;
}

.btn-info {
    background: #cfefff;
    border-color: #9fd3f0;
    color: #25607d;
}

.btn-info:hover {
    background: #bddff2;
    border-color: #8ac5e6;
    color: #1f536c;
}

.btn-danger {
    background: #b72d39;
    border-color: #8f1f2b;
    color: #fff;
}

.btn-danger:hover {
    background: #a32631;
    border-color: #7a1822;
    color: #fff;
}

.btn-poop {
    background: #8a6336;
    border-color: #6b4b24;
    color: #fff;
}

.btn-poop:hover {
    background: #79572f;
    color: #fff;
}

.food-day {
    border: 1px solid var(--line);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(227, 158, 196, 0.18);
    padding: 0.95rem 1rem;
}

.food-day:not(:first-of-type) {
    margin-top: 1rem;
}

.category-label {
    padding-right: 0;
}

.category-label.category-breakfast span {
    background-color: #ff8b0d;
}

.category-label.category-lunch span {
    background-color: #007bff;
}

.category-label.category-dinner span {
    background-color: #28a745;
}

.category-label.category-snack span {
    background-color: #909090;
}

.category-label.category-poop span {
    background-color: #5a4218;
}

.category-label span {
    width: 30px;
    height: 30px;
    display: block;
    font-size: 17px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    font-weight: 800;
}

.event-item {
    margin: 0 -0.35rem;
    padding: 0.65rem 0.35rem;
    border-radius: 10px;
    color: inherit;
    transition: transform 120ms ease, background-color 120ms ease;
}

.event-item:nth-of-type(even) {
    background-color: #fff4fa;
}

.event-item:hover {
    transform: translateY(-1px);
    background-color: var(--pink-100);
}

.event-item > .col {
    padding-left: 10px;
}

#foods-list .col em {
    color: #bbb;
}

.input-validation-error {
    border-color: #dc3545;
}

.validation-summary-errors {
    margin: 10px 0 20px;
}

.validation-summary-errors li,
.validation-summary-errors ul {
    margin: 0;
    padding: 0;
}

.validation-summary-errors li {
    list-style-type: none;
    background-color: #dc3545;
    color: #fff;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 0.3rem;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    main {
        padding-top: 88px;
    }
}

@media (max-width: 480px) {
    a.navbar-brand {
        font-size: 22px;
    }

    .food-day {
        padding: 0.8rem;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}
