* {
        margin: 0 0 0 0;

}

html,
body {
        height: 100%;
        margin: 0;
        padding: 0;
}

body {
        font-family: "Rubik Dirt";
        font-size: 1.4rem;
        background-image: url("../images/bg.jpg");
        background-repeat: no-repeat;
        background-color: black;
        background-position: top center;
        background-size: cover;
        /* или contain/auto — зависит от нужного поведения */
        display: flex;
        justify-content: center;
        align-items: flex-start;
}

a:hover {
        color: brown;
}


.body-container {
        width: 890px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
}

.header {
        width: 100%;
        height: 500px;
        background: no-repeat center/102% url("../images/head_new.png");
        position: relative;
        z-index: 1;
        background-repeat: no-repeat;
}

.header-name {
        position: absolute;
        top: 100px;
        left: 120px;
}

.header-foto {
        position: absolute;
        left: 500px;
        top: 50px;
}

.blog-container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        background-image: url("../images/bg-blog.jpg");
        background-repeat: repeat-y;
        background-position: top center;
        background-size: 100% auto;
        /* 👈 адаптивная ширина, высота — авто */
        min-height: 500px;
        /* ← фон не будет слишком низким */
        /* min-width:; */
        /* ← фон не будет слишком низким */
        height: auto;
        /* ← контент может расширять блок */
}

.blog-container-content-left {
        margin-top: 2%;
        width: 15px;
        background: url("../images/line-right.png") repeat-y;
        background-size: 15px auto;
        color: white;
}

/* Правый бордер */
.blog-container-content-right {
        margin-top: 2%;
        width: 15px;
        height: 90%;
}

/* Контент по центру */
.blog-container-content {
        /* flex-grow: 1; */
        font-family: Arial, Tahoma, Geneva, Verdana, sans-serif;
        font-size: 0.9rem;
        padding: 3%;
        background: repeat-x top left url("../images/line-top.png");
}

.blog-container-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.4rem;
        background: top center url("../images/line-top.png") no-repeat;
}

.blog-container-menu-list {
        margin: 0 0 1rem 0;
        padding: 1rem;
        font-size: 1.6rem;
        color: maroon;
}

.blog-container-solid {
        margin: 0;
        width: fit-content;
        text-align: center;
        font-size: 0.9rem;
        font-family: Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.5;
        color: gray;
        white-space: pre-line;
}

ul {
        font-family: fantasy;
        font-size: 1.4rem;
        padding-top: 10px;
}

li {
        margin-left: -14px;
}

a {
        text-decoration: none;
        color: black;
}

.blog-container-solid a {
        color: gray;
}

.blog-container-solid a:hover {
        color: black;
        font-size: 100%;
        font-style: italic;
}

.footer {
        font-family: Tahoma, Geneva, Verdana, sans-serif;
        background: no-repeat top/102% url("../images/footer.png");
        top: -15px;
        width: 100%;
        height: 75px;
        position: relative;
        z-index: 100;
        background-repeat: no-repeat;
        font-size: 0.9rem;
        text-align: center;
        color: lightgrey;
        padding-top: 5%;
        
}

.footer a {
        color: white;
}

.footer a:hover {
        font-size: 1rem;
}

.book-desc {
        margin-bottom: 1rem;
}

.book-cover {
        width: 100%;
}

.hidden-txt {
        color: white;
}