* {
    margin : 0;
    padding : 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    height: 100%;
}
body {
    font-family: 'Open Sans', Arial, serif;
    font-size: 15px;
    color : white;
    line-height : 1.5;
    background : black;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f8a334+0,f78d0c+100 */
    background : linear-gradient(90deg, rgb(33, 20, 3) 0%, rgb(0, 0, 0) 100%);
    background-repeat: repeat-y;
    height: 100%;
}
a {
    color : #f8a334;
    text-decoration: underline;
}
a:hover {
    color : #f8a334;
    text-decoration: none;
}
header {
    display: block;
    width: 100%;
    min-height: 200px;
    height: 30vw;
    max-height: 300px;
    position: relative;
}
header:after {
    content : '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: black url("cover.png") center center no-repeat;
    background-size: cover;
    -webkit-mask-image: -webkit-gradient(linear, left 75%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
}
header h1 {
    display : block;
    position: absolute;
    top : 80%;
    left : 50%;
    max-width: 90%;
    max-height: 90%;
    transform: translate(-50%, -50%);
    height : 314px;
    width : 891px;
    line-height: 314px;
    text-align: center;
    font-size : 6em;
    font-weight: bold;
    overflow: visible;
    text-indent: -1000%;
    z-index: 10;
}
header h1:before {
    content : '';
    display : block;
    position : absolute;
    top : 0;
    left : 0;
    width : 100%;
    height : 100%;
    z-index: 2;
    background-image: url("zlomci.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transform-origin: center;
}
nav {
    display: block;
    width: 100%;
    margin : 100px auto 50px auto;
}
nav ul {
    max-width: 900px;
    padding : 0;
    margin : 0 auto;
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    align-content: center;
}
nav ul li {
    display: block;
    padding : 0;
    margin : 0 5px;
}
nav ul li a {
    display: block;
    padding : 10px 15px;
    border: 1px solid #f8a334;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
}
nav ul li a:hover {
    background: #c5812a;
    color : white;
}

section {
    width: 100%;
    padding : 50px;
    max-width: 900px;
    margin : 0 auto;
    position: relative;
}

section:after {
    content : '';
    display: block;
    clear: both;
}

section h2 {
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: lighter;
    color: #f8a334;
    margin : 0 0 20px 0;
}

section p {
    text-align: justify;
    margin-bottom: 5px;
}

section table td {
    padding : 5px;
}

#fb {
    float : right;
    margin : 0 0 10px 30px;
}

@media only screen and (max-width: 800px) {
    #fb {
        width : 100%;
        float : none;
        margin : 0 0 10px 0;
    }
}

footer {
    width: 100%;
    height : 50px;
    background: #111;
    line-height: 50px;
    text-align: center;
    font-size: 0.8em;
}

.material-symbols-outlined {
    vertical-align: middle;
}

.event {
    display: flex;
    vertical-align: middle;
    height : 100px;
    background: #111;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin : 5px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.event > * {
    padding : 15px;
}

.event .date {
    display : block;
    width : 140px;
    height : 100px;
    text-align: center;
    background: white;
    color : black;
    line-height: 1.05;
    flex-shrink: 0;
}

.event .date strong {
    display: block;
    font-size : 3em;
    color : #f8a334;
}

.event .title {
    display: block;
    font-weight: bold;
    font-size: 1.1em;
}

.event .title .detail {
    display: block;
    font-weight: lighter;
    font-size: 0.75em;
}

.event.past {
    opacity: 0.4;
}

.event.past .date {
    background: #999;
}

.event.past .date strong {
    color : #ccc;
}

.event.past:last-of-type {
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
}

@media only screen and (max-width: 800px) {
    
    section {
        padding : 25px;
    }
    
    .event {
        height : 80px;
    }
    
    .event .date {
        width : 80px;
        height : 80px;
        line-height: 1;
    }
    
    .event .date strong {
        font-size : 2em;
    }
}
