*{
    font-family: 'Comfortaa', cursive;
}
html,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #5c5b5b;
}
body{
    background: 
	radial-gradient(ellipse farthest-corner at right bottom, #fedb37 0%, #FDB931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%),
	radial-gradient(ellipse farthest-corner at left top, #ffffff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    }
a{
    text-decoration: none;
    color: inherit;
}

/*
    HEADER MENU
 */
header{
    background: #262727;
    height: 70px;
}
header *{
    color: #ffffff;
}
header h1 {
    margin-top: 13px;
}
header h1 a{
    color: #ffffff;
    text-decoration: none;
}
header h1 a:hover{
    color: #ffffff;
}
header ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    float: right;
}
header ul li{
    float: left;
    position: relative;
}
header ul li a{
    display: block;
    font-size: 1.2rem;
    text-decoration: none;
    color: #ffffff;
    padding: 22px;
}
header ul li a:hover {
    background: #757575;
    transition: 0.5s;
    color:#fff;
}
header ul li ul {
    position: absolute;
    top: 70px;
    right: 0px;
    width: 180px;
    display: none;
    z-index: 111;
}
header ul li:hover ul{
    display: block;
}
header ul li ul li {
    width: 100%;
}
header ul li ul li a {
    padding: 10px;
    background: white;
    color: #008489;
}

/*
    Footer
 */
.footer {
background: #303036;
color: #d3d3d3;
position: relative;
margin-top: auto;
}

.footer .footer-section{
padding: 55px;
}

.footer h4, .footer h3{
color: white;
}

.footer .about .contact span{
display: block;
font-size: 1.1em;
margin-bottom: 8px;
}

.footer .about .socials a{
border: 1px solid gray;
width: 45px;
height: 41px;
padding-top: 5px;
margin-right: 5px;
text-align: center;
display: inline-block;
font-size: 1.3em;
border-radius: 5px;
transition: all .3s;
color: #ffffff;
}

.footer .about .socials a:hover{
border: 1px solid white;
color: white;
transition: all .3s;
}

.footer .links ul a{
display: block;
margin-bottom: 10px;
font-size: 1.2em;
transition: all .3s;
color: #ffffff;
text-decoration: none;
}

.footer .links ul a:hover{
color: white;
margin-left: 15px;
transition: all .3s;
}

.footer .button .btn{
position: absolute;
margin-bottom: 200px;
}

.footer .contact-form .contact-input{
background: #272727;
color: #bebdbd;
margin-bottom: 10px;
line-height: 1.3rem;
padding: 1rem 3rem;
border: none;
width: 130%;
}

.footer .contact-form .contact-input:focus{
background: #1a1a1a;
}

.footer .contact-form .contact-btn {
position: absolute;
margin-bottom: 30px;
}

.footer .footer-bottom{
background: #343a40;
color: #686868;
height: 57px;
width: 100%;
text-align: center;
position: absolute;
bottom: 0px;
left: 0px;
padding-top: 10px;
}

.footer .contact-form{
text-align: center;
}
/*
    SINGLE_POST
 */
.single_post{
    margin-bottom: 30px;
}
.single_post .info{
    margin: 20px 0;
}
.single_post .info i{
    display: inline-block;
    margin-right: 20px;
}
.single_post a{
    text-decoration: underline;
}
.single_post a:hover{
    text-decoration: none;
    color: #4e4e4e;
}
/*
FORMS
 */
.reg_form h2{
    text-align: center;
    margin: 30px 0;
}
.reg_form input{
    height: 3.3rem;
}
.reg_form a {
    font-size: 1.2em;
    transition: all .3s;
    color: #5c5b5b;
    text-decoration: underline;
    margin-left: 60px;
}

.reg_form a:hover {
    margin-left: 55px;
    transition: all .3s;
}

/*
FORMS
 */

form div.err p {
    color: red;
    font-style: italic;
    font-size: 0.8rem;
}

/*
SIDEBAR
 */

.sidebar{
    margin: 1rem 0;
    min-height: 600px;
}

.sidebar ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
    color: #ffffff;
}

.sidebar ul a{
    padding: 18px;
    display: block;
    border-bottom: 1px solid #fff;
}

.sidebar ul a:hover{
    padding-left: 10px;
    transition: all 0.3s;
    color: #ff0000;
    text-decoration: none;
}

.posts{
    height: 100%;
    padding: 40px 100px 100px;
}

.posts h2{
    text-align: center;
    margin: 2rem 0 0 0.4rem;
    color: rgb(0, 0, 0);
}

.posts .title-table div{
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ffffff;
    font-weight: 700;
}

.posts .post div{
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #000000;
}
.posts .post .red{
    color: #ffd901;
}
.posts .post .del{
    color: red;
}
.posts .post .id{
    font-weight: bold;
}

/*.add-post form div{*/
/*    margin: 2rem 0;*/
/*}*/

/*
error msg
 */
.add-post .err{
    padding: 1rem 0;
    color: #A52A2A;
}
.add-post .err ul{
    list-style-type: none;
    color: #f50101;
    padding-left: 10px;
    font-weight: 500;
}