/* noamalize further */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Slabo 27px', serif;
    background-color: #0F2540;
    color: #fff;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body,
div,
section,
header,
footer,
h1,
h2,
h3,
p,
ul,
li {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

/* header section */
header {
    padding: 20px;
    position: relative;
}

a {
    color: #fff;
}

.btn:hover,
a:hover {
    color: #BDC193;
}

.index_title:hover {
    color: #BDC193;
}

.login_block {
    width: 100px;
    position: absolute;
    right: 20px;
    top: 20px;
    bottom: 20px;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}

/* button layout */
.btn {
    display: block;
    width: 100px;
    padding: 8px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    border: none;
    color: #fff;
    cursor: pointer;
}

.update {
    background-color: #1B813E;
}

.delete {
    background-color: #8E354A;
}

/* main section */
.container {
    padding: 20px;
}

.message {
    padding-bottom: 20px;
    color: #F596AA;
    background-color: #0F2540;
    font-weight: bold;
}

.info {
    display: flex;
}

.category_block {
    margin-right: 20px;
    width: 30%;
}

.items_block {
    width: 70%;
}

h2 {
    margin-bottom: 20px;
}

li {
    list-style-type: none;
}

.item_link {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: #CA7A2C;
}

.active {
    background-color: #1B813E;
}

.by_you {
    color: #1B813E;
}

/* login page */
.login_buttons {
    display: flex;
    justify-content: center;
}

#result {
    text-align: center;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 75px;
    -webkit-border-radius: 75px;
    -moz-border-radius: 75px;
}

/* item info page */
p {
    margin-bottom: 20px;
    background-color: #CA7A2C;
    padding: 20px;
    border-radius: 10px;
}

.buttons {
    display: flex;
}

/* add item page */
h3 {
    margin-bottom: 15px;
}

.single_line,
textarea,
select {
    margin-bottom: 15px;
    background-color: #BDC193;
    color: #0F2540;
}

/* ---- particles.js container ---- */
#particles-js{
    width: 100%;
    height: 76px;
    position: absolute;
    top: 0;
    background-image: url('');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: -1;
}

/* typed js customization */
.welcome {
    padding: 20px;
    font-size: 1.5em;
    color: #BDC193;
    background-color: #1B813E;
}
.intro {
    border-bottom: 2px solid #F596AA;
}
