*{padding:0; margin:0;}
body {
    background-image: url(../../png/fon.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.posts-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.posts-list {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 80%;
    gap: 15px;
}

.post-card {
    width: 80%;
    min-height: 22.5vh;
    height: auto;
    border: 1px solid black;
    border-radius: 5px;
    position: relative;
}

.post-meta {
    position: absolute;
    bottom: 0;
    right: 1%;
}

.page_btn {
    padding: 12px;
    margin: 5px;
    background-color: yellow;
    color: black;
    border-radius: 12px;
    border: 1px solid black;
}

.add-btn {
    position: absolute; 
    bottom: 5%;
    margin: 15px;

    a {
        color: black;
        background-color: yellowgreen;
        padding: 5px;
        border: 1px solid black;
        border-radius: 5px;
        &:hover {
            padding: 6px;
            background-color: rgb(131, 175, 43);
        }
    }
}

.all_content {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding-bottom: 10vh;
}

/* header */
a {
    color: #fff;
    text-decoration: none;
}
.header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #4a423f;
    color: white;
}
.header_section {
    display: flex;
    align-items: center;
}
.header_item {
    padding: 10px 15px;
    font-size: 30px;
    margin-left: 5px;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}
.header_item:hover {
    background-color: #ff9900;
    border-radius: 3px;
}
.logo {
    font-size: 50px;
    font-weight: bold;
    padding: 10px 15px;
    color: aqua;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}
.headerlogo {
    display: flex;
}
.logoimg {
    padding-top: 5;
    width: 80px;
    height: 80px;
}

/* Настройка под расширения*/
@media (max-width:768px) {
.block11 {
    display: block;
    justify-content: space-between;
    width: 99%;
    height: auto;
    padding: 0;
    background: #0004;
    border:1px solid black;
}
.a111 {
    text-decoration: none;
    width: 125px;
    height: 50px;
    background: #0009;
    padding: 5px;
    text-align: center;
    border-radius: 18px;
    color: white;
    font-weight: bold;
    line-height: 55px;
    font-size: 20;
}
.a111:hover {
    text-decoration: none;
    width: 130px;
    height: 50px;
    background: #0009;
    padding: 8px;
    text-align: center;
    border-radius: 16px;
    color: yellowgreen;
    font-weight: bold;
    line-height: 55px;
    font-size: 22;
}
.divka {
    padding: 15px;
    display: block;
    text-align: center;
}
    
.p11 {
    display: block;
}
.p112 {
    font-size: 20px;
    padding-bottom: 50;
}
.a01 {
    display: none;
}
.p011 {
    display: block;
}
.a0 {
    display: block;
}
.div11 {
    align-items: start;
    display: flex;
    
    justify-content: space-around;
}
.img1 {
    width: 175px;
    height: 140px;
}
.p111 {
    display: none;
}
.button1 {
    text-decoration: none;
    width: 250px;
    height: 50px;
    background: #0019;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    line-height: 55px;
}
.button1:hover {
    text-decoration: none;
    width: 255px;
    height: 55px;
    background: #0009;
    padding: 25px;
    text-align: center;
    border-radius: 11px;
    color: aqua;
    font-weight: bold;
    line-height: 60px;
    border: 2px solid black;
}
/* header */
.headerButton2 {
        display: none;
}
.header_item {
    padding: 1px 2px;
    font-size: 15px;
}
.header_item:hover {
    background-color: #ff9900;
}
.logo {
    font-size: 25px;
    padding: 1px 2px;
}
/* footer */
.p12 {
    display: none;
}
.logoimg {
    display: none;
}
}

@media (max-width:368px) {
.img1 {
    width: 140px;
    height: 110px;
} 
}