body {
    font-family: 'Rubik', sans-serif;
}

header {
    background-color: #10249A;
    height:50px;
}

.up-menu {
    position: relative;
    margin-top: 16px;
    float: right;
    padding-right: 35px;
    padding-left: 35px;
}

.about {
    position: relative;
    color: white;
    text-decoration: none;
    padding-right: 30px;
    cursor: pointer;
    display: inline-table;
    padding-bottom: 15px;
}

.about:hover, .about:active {
    letter-spacing: 2px;
    cursor: pointer;
    transition-duration: 0.5s;
}

.h1 {
    color: white;
    font-size: 25px;
    margin-left: 88px;
    padding-top: 9px;
    display: inline-block;
    border-bottom: 1px solid;
    padding-inline: 15px;
}

.logo img {
    width: 17px;
    margin-left: -3px;
    border: 1px solid;
    border-radius: 10px;
    background-color: white;
}

@media screen and (max-width: 850px) {
    header {
        height: 120px;
    }
    div.logo {
        width: 100%;
        text-align: center;
    }
    div.up-menu {
        float: none;
        text-align: center;
        margin-top: 0;
        padding-top: 25px;
    }
    div.h1 {
        margin: 0;
        padding-top: 10px;
    }
}

@media screen and (max-width: 620px) {
    header {
        height: 160px;
    }
    div.h1 {
        padding-top: 15px;
    }
}

@media screen and (max-width: 400px) {
    div.up-menu {
        font-size: 15px;
        padding-inline: 15px;
    }
}

/* частина 2 */

.text-area {
    margin-left: 15%;
    width: 70%;
}

h1 {
    color: gray;
    font-size: 22px;
    padding-block: 25px;
    border-bottom: 1px solid #c9c9c9;
}

.text {
    font-size: 14px;
}
.comments {
    width: 70%;
    margin-left: 15%;
    padding-bottom: 50px;
}

.comments .comment_header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 10px;
    align-items: center;
}
.comments .comment_header .total {
    color: #777777;
    font-size: 14px;
}
.comments .comment_header .write_comment_btn {
    margin: 0;
}

.comments .write_comment_btn, .comments .write_comment button {
    display: inline-block;
    background-color: #565656;
    color: #fff;
    text-decoration: none;
    margin: 10px 0 0 0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    border: 0;
}
.comments .write_comment_btn:hover, .comments .write_comment button:hover {
    background-color: #636363;
}
.comments .write_comment {
    display: none;
    padding: 20px 0 10px 0;
}
.comments .write_comment textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 150px;
    margin-top: 10px;
}
.comments .write_comment input {
    display: block;
    width: 250px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}
.comments .write_comment button {
    cursor: pointer;
}
.comments .comment {
    padding-top: 10px;
}
.comments .comment .name {
    display: inline;
    padding: 0 5px 3px 0;
    margin: 0;
    font-size: 16px;
    color: #555555;
}
.comments .comment .date {
    color: #888888;
    font-size: 14px;
}
.comments .comment .content {
    padding: 5px 0 5px 0;
}
.comments .comment .reply_comment_btn {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    color: #888888;
}
.comments .comment .replies {
    padding-left: 30px;
}

