body {
    background-color: #f9f9f9;
}

li {
    list-style-type: none;
    /* Убираем маркеры */
}

ul {
    margin-left: 0;
    /* Отступ слева в браузере IE и Opera */
    padding-left: 0;
    /* Отступ слева в браузере Firefox, Safari, Chrome */
}


.sidebar {
    height: 100vh;
    background-color: #fff;
    border-right: 1px solid #ddd;
    padding-top: 20px;
    transition: transform 0.3s ease-in-out;
    }
.sidebar.hidden {
    transform: translateX(-100%);
}
.sidebar a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 5px;
}
.sidebar a:hover {
    background-color: #f1f1f1;
}

.checkedMeny {
    background-color: #f1f1f1;
}

.preventImage {
    width: auto;
    height: 5em;
    padding-right: 0.2em;
    margin-bottom: 0.3em;
}

.book-card {
    border: 1px solid #ddd;
    /*padding: 5px 0 !important;*/
    text-align: center;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: -0.3em;

}

.myRow {
    margin-bottom: 0.5em;
}

.book-card > a {
    width: 70%;
    height: 250px; /* Фиксированная высота для блока с изображением */
    display: block;
    overflow: hidden; /* Скрываем излишки изображения */
    /*position: relative;*/
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.2em;
}


.book-card > .author-image {
    width: 70%;
    height: 200px; /* Фиксированная высота для блока с изображением */
    /*margin-top: -1em;*/
}

.book-card img {
    width: 100%; /* Изображение заполняет ширину */
    height: 100%; /* Высота подстраивается под родительский блок */
    object-fit: cover; /* Пропорциональное заполнение с обрезкой */
    display: block; /* Убираем отступы */

}


.shelf {
    /*padding: 15px 0;*/
    /*background-color: #e9e9e9;*/
    /*margin-bottom: 15px;*/
    /*border-radius: 4px;*/
    position:relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.1) inset;
    height: 100%;
}

.shelf:before, .shadow6:after
{
    content: "";
    position: absolute;
    z-index: -1;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
    top: 10px;
    bottom: 0;
    left: 30px;
    right: 30px;
    border-radius:30%;
}

.book-wrap {
    margin-bottom: 0.6em;
}

.book-card h5 {
    font-size: 16px;
    margin: 10px 0;
}

.book-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}


.menu-toggle {
    position: fixed;
    top: 15px;
    left: -23px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.menu-toggle:focus {
    outline: none;
}

.hero {
    position: relative;
    height: 100vh;
    background: url('/img/back.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    margin: 0;
    font-size: 8rem;
    font-family: "Pacifico", serif;
    font-weight: 400;
    font-style: normal;
    color: #556B2F;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #fff,
        0 0 20px #fff;

}

.hero .subtitle {
    font-family: "RRegular";
    color: #D2691E !important;
    font-size: 2rem;
}


.add-entity-button {
    position: fixed;
    top: 2%;
    right: 2%;
    font-size: 24px;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.myBox {
    border: 2px solid #b9b9b9;
    margin: 1.5em 0;
    padding: 0.5em;
}



.form-control:focus {
    border-color: #C0C0C0;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #C0C0C0;
}


.spinnerButton {
    width: 20px;
    height: 20px;
    margin-left: 0.2em;
}

.cover {
    width: 100%;
    box-shadow: 0 8px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
}

.button-img {
    max-width: 30px;
}



.lieInput {
    border: 1px lightgray solid;
    /*display: inline-block;*/
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    background-color: white;
    z-index: 100;

}

.lieInput .itemRow {
    border-top: 1px lightgray solid;
    display: block;
    padding: 0.2em 0.8em;
}

.lieInputTrigger {
    cursor: pointer;
}

.lieInput .itemRow:hover {
    background-color: rgba(190, 207, 233, 0.4);
}

#trashButton:hover {
    color: red;
}

#myThoughtsBlock {
    background-color: #e7e7e7;
    padding: 1em;
    border-radius: 0.5em;
    font-size: 1.1rem;
    font-family: Rlight;
}

#footer {
    background-color: #F4F2EF;
    margin-top: 2em;
    margin-left: -1em;
    margin-right: -0.6em;
    padding-top: 1.5em;
    padding-bottom: 0.5em;
    margin-bottom: -2em;
}


.myDateForm {
    border: none;
    background-color: #f8fafc;
}

.myDateForm:focus {
    outline: none;
    box-shadow: none;
}


.site-footer {
    /*background-color: #f8f8f8;*/
    /*padding: 20px 10px;*/
    text-align: center;
    /*border-top: 1px solid #ddd;*/
}

.footer-menu {
    margin-bottom: 10px;
}

.footer-menu a {
    margin: 0 10px;
    color: #8B4513;
    text-decoration: none;
    font-family: Rlight;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #007bff;
}

.footer-info {
    /*font-size: 12px;*/
    color: #999;
}

.quotes {
    margin-top: 2em;
    /*font-family: Rlight;*/
}


.quote-block {
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.quote-block .quote-text {
    line-height: 1.6;
}

/*.quote-block:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    opacity: 0.1;*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    z-index: 0;*/
/*}*/

.quote-block .quote-buttons {
    position: absolute;
    top: 1px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.quote-block .quote-buttons button {
    /*background: rgba(255, 255, 255, 0.7);*/
    border: none;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.quote-block .quote-buttons button:hover {
    background: rgba(255, 255, 255, 1);
}

.quote-block .quote-buttons button svg {
    width: 14px;
    height: 14px;
    /*fill: #333;*/
}

/* Железобетонная */
.concrete {
    background: #7d7d7d;
    border: 3px solid #444;
    text-shadow: 1px 1px 2px #000;
}

.concrete:before {
    background-image: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
}

/* Гранитная */
.granite {
    background: linear-gradient(135deg, #4f4f4f, #6b6b6b);
    border: 3px solid #555;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 3px #000;
}

.granite:before {
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
}

/* Серебряная */
.silver {
    background: linear-gradient(145deg, #d4d4d4, #f0f0f0);
    border: 3px solid #b5b5b5;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    color: #333; /* Более тёмный текст */
}

.silver:before {
    background-image: url('https://www.transparenttextures.com/patterns/brushed-alum.png');
}

/* Золотая */
.gold {
    background: linear-gradient(145deg, #ffcc00, #ffea88);
    border: 3px solid #cc9900;
    box-shadow: 0px 4px 10px rgba(255, 200, 0, 0.3);
    color: #663300; /* Более тёмный текст */
}

.gold:before {
    /*background-image: url('https://www.transparenttextures.com/patterns/gold.png');*/
}

/* Бриллиантовая */
.diamond {
    background: linear-gradient(145deg, #e0e0ff, #ffffff);
    border: 3px solid #c8c8ff;
    box-shadow: 0px 6px 12px rgba(200, 200, 255, 0.6);
    color: #333366; /* Более контрастный текст */
}

.diamond:before {
    /*background-image: url('https://www.transparenttextures.com/patterns/squares.png');*/
}

.quote-block p {
    margin-top: 8px;
}


.progress,
.progress-stacked {
    --bs-progress-height: 0.6rem;
    --bs-progress-font-size: 0.475rem;
    --bs-progress-bg: var(--bs-secondary-bg);
    --bs-progress-border-radius: var(--bs-border-radius);
    --bs-progress-box-shadow: var(--bs-box-shadow-inset);
    --bs-progress-bar-color: #fff;
    --bs-progress-bar-bg: #696969;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius);
}


.status-wrap {
    background-color: #ebebeb;
    padding: 0.8em;
    margin-left: -0.8em;
    border-radius: 0.3em;
}


.first-section {
    min-height: 85vh;
}


.empty-shelf {
    /*border: 2px dashed coral;*/
    color: #b5b6b7;
}

.myDrop > li {
    padding: 0.3em 1em;
    border-bottom: 1px solid lightgray;
    font-size: 1rem;
    font-family: RRegular;
}

.myDrop > li:hover {
    background-color: #e9eaeb;
}

.myDrop > li > a:hover {
    background-color: #e9eaeb;
    color: red;
    /*font-family: RRegular;*/
}


.checked-li {
    background-color: #d4d5d6;
    font-family: RBold;
}


.img-cover {
    max-width: 20em;
    margin: 0 auto;
}
