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

.gallery_content {
    display: flex;
    justify-content: space-between;
    height: auto;
    width: 80%;
    min-height: 60vh;
    border-radius: 15px;
    border: none;
    gap: 25px;
}

.post-gallery {
    flex-direction: row;
    text-align: center;
    width: 50%;
    min-height: 50vh;
    border-radius: 15px;

    img {
        margin: 5px;
        height: 200px;
        width: 200px;
    }
    border: 1px solid black;
}

.post-content {
    position: relative;
    flex-direction: column;
    align-items: center;
    width: 50%;
    border: 1px solid black;
    min-height: 50vh;
    border-radius: 15px;
}

.post_meta {
    position: absolute;
    bottom: 0;
    width: 80%;
    margin: 10px;
    gap: 5px;
}

.comments-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 80%;
    min-height: 20vh;
    margin-top: 5vh;
}

.add-comment {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: auto;
    min-height: 10vh;
    text-align: center;

    textarea {
        margin: 10px;
        width: 80%;
        min-height: 10vh;
        border-radius: 8px;
    }
    button {
        padding: 12px;
        background-color: yellow;
        border: 1px solid black;
        border-radius: 12px;
        &:hover {
            padding: 14px;
            border-bottom: aqua;
            transition: 0.1s;
            
        }
    }
}

.comments-list {
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: start;
}

.comment {
    margin: 3px;
    position: relative;
    height: auto;
    min-height: 20vh;
    border: 1px solid black;
    border-radius: 8px;
    padding: 10px;
    width: 100%;

    &:hover {
        border-bottom: 1px solid #9e810034;
        transition: 0.5s;
    }

    button {
        border: none;
        padding: 8px;
        border-radius: 8px;
        background-color: rgb(38, 193, 255);
        &:hover {
            background-color: rgb(0, 151, 211);
            color: wheat;
            transition: 0.5s;
        }
    }
}

.comment-header {
    color: white;
    font-weight: 500;
    font-size: 25px;
    img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
}

.comment-text {
    font-size: 18px;
    color: rgb(180, 180, 180);
}

#loadMoreComments {
    margin-top: 15px;
    padding: 10px;
    color: black;
    background-color: yellowgreen;
    border-radius: 18px;
    border: 1px solid black;
}




.all_content {
    height: auto;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 10vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width:768px) {
    .gallery_content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .post-gallery {
        border: none;
        width: 100%;

        img {
            width: 150px;
            height: 150px;
        }
    }

    .post-content {
        width: 100%;
    }
}


/* 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;
}
}

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