@font-face {
    font-family: 'broken15';
    src: url('/res/broken15.eot');
    src:  local('broken15'),
    url('/res/broken15.ttf') format('truetype'),
    url('res/broken15.woff') format('woff');
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color:#aa2222;
}

body {
    background: #222 url('/res/bg_flak.webp') top center repeat-y;
    padding: 0;
    margin:0;
    color: #eeeeee;
}

#admin_menu {
    position: absolute;
    top: 0px;
    left: 0px;
}

.center {
    max-width: 1100px;
    padding: 0 50px;
    margin: 0 auto;
}

.header {
    margin: 0 auto -30px 0;
    padding: 0;
    max-width: 1000px;
    width: 100%;
    z-index: 1;
    position: relative;
}

.header img {
    vertical-align: top;
}

#logo {
    width: 520px;
    margin-top: 55px;
}

#logo_kapela {
    width: 340px;
    margin-left: -55px;
}

#logo_lebka {
    margin-top: 20px;
    margin-right: -55px;
}

.main_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

main {
    background: #111;
    max-width: 780px;
    margin: 0 0 0 auto;
    min-height: 750px;
    width: 100%;
    padding: 30px 20px 50vh;
}

main img {
    max-width: 100%;
    margin: -2px;
    padding: 7px;
}

main iframe {
    max-width: 100%;
    margin: -2px;
    padding: 7px;
}

.footer {
    position: fixed;
    bottom: 0;
    background: #222;
    max-width: 1100px;
    width: 100%;
    padding: 5px 20px;
    margin: 0 -50px;
    text-align: center;
}

#menu_button {
    font-size: 3em;
    border-radius: 5px;
    color: white;
    position: fixed;
    top: 2px;
    right: 2px;
    width: 55px;
    height: 55px;
}

#menu:target {
    transform: translateY(0);
    transition: transform 0.25s ease;
}

#menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;

    position: fixed;
    transform: translateY(-150%);

    padding: 30px 0 0;
    margin: 0;
    width: 100%;
    height: 100%;

    max-width: 200px;

}

#menu #menu_close {
    position: absolute;
    background: rgba(0 0 0  /0.9);
    width: 100%;
    height: 100%;
    z-index: -1;
}

#menu a {
    background: url(/res/line_lmenu.png) bottom no-repeat;
    font-size: 35px;
    font-family: 'broken15';
    display: flex;
    justify-content: center;
    flex: 200px;
    flex-wrap: wrap;
    align-items: center;
    color: #000;
    padding: 0;
    margin: 0;
}

.social_icon {
    width: 18px;
    margin: 0 5px;
}

input {
    background-color: #222;
    color: #eee;
}

textarea {
    width: 100%;
    min-width: 400px;
    min-height: 600px;
    background-color: #222;
    color: #eee;
}

#edit_form {
    position: absolute;
    left: 0px;
    top: 25px;
}

table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

table td {
    border: 1px solid #fff;
    background-color: #eee;
    padding: 3px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0 5px;
}

ul li {
    padding: 10px;
    margin-bottom: 5px;
    background-color:#111;
}


.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999;
    overflow-y: auto;   /* enable scroll */
    background: black;
}

.lightbox:target {
    display: block;
}

.lightbox img {
    width: 100%;
    height: auto;
    display: block;
}

.gust-post {
    display: none;
    animation: feedIn 0.4s ease both;
    margin-bottom: 20px;
}

@keyframes feedIn {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gust-post:first-child {
    display: block;
    animation: none;
}

.log {
    position: absolute;
    background-color:#eee;
    width: 100%;
    left: 0;
    color: black;
    margin: 0 auto;
    z-index: 999;
}

.log * {
    color: black;
}

@media only screen and (min-width: 960px) {

    #menu #menu_close {
        display: none;
    }

    #menu_button {
        display: none;
    }

    #menu {
        background: url('/res/bg_lmenu.webp');
        position: unset;
        transform: unset;
    }

    #menu a {
        height: unset;
    }
}