html, body, ul, li {
    margin: 0;
    padding: 0;
}
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    /* background-image: url('/static/img/container_bg.webp'); */

    background: linear-gradient(to right, #410B07 60%, #310705 40%);
    background-size: 40px 100%;
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9;
    opacity: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
#container {
    width: 1200px;
    min-height: 90vh;
    margin: auto;
    color: white;
}
#footer {
    width: 100%;
    padding: 20px 0;
    background-color: rgb(0, 0, 0);
}

a {
    color: white;
}

a.block {
    position: relative;
    display: inline-block;
    width: 200px;
    margin: 5px 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    text-decoration: none;
    word-break: break-word;
    vertical-align: top;
}
a.block.row-size-2 {
    width: calc(100% / 2 - 25px) !important;
}
a.block.row-size-3 {
    width: calc(100% / 3 - 25px) !important;
}
a.block.row-size-4 {
    width: calc(100% / 4 - 25px) !important;
}
a.block.row-size-5 {
    width: calc(100% / 5 - 25px) !important;
}
a.block > img {
    width: 100%;
    /* height: 80%; */
    height: 285px;
    object-fit: cover;
}
a.block.landscape {
    width: 190px;
}
a.block.landscape > img {
    height: 180px;
    border-radius: 0px;
    object-fit: scale-down;
}
a.block > div.title {
    display: block;
    width: 100%;
    max-height: calc(1.2 * 3em + 5px);
    overflow: hidden;
}
a.block > div.title > span {
    display: block;
    width: 100%;
    line-height: 1.2;
    color: white;
    text-align: justify;
    text-align-last: center;
}
a.block > div.title > span:first-of-type {
    margin-top: 5px;
}
a:hover.block > div.title {
    max-height: none;
}
a:hover.block > div.title > span {
    color: #6E3E3E;
}

.hidden {
    display: none !important;
}

.expandable {
    width: 150px;
    margin: 0 auto;
    margin-top: 30px;
    padding: 5px;
    color: white;
    /* background-color: rgba(61, 52, 92, 1); */
    font-weight: bold;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
}
.expandable > .angle {
    display: inline-block;
    padding: 0 10px;
    transform: rotate(90deg) scaleY(2) scaleX(0.5);
}
.expandable:hover {
    background: rgba(48, 40, 72, 1);
}


@media only screen and (max-width: 1024px) {
    #header {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    body {
        background-size: 50px 100%;
    }
    

    #container {
        width: 100%;
        padding-bottom: 50px;
    }
    #container > * {
        box-sizing: border-box;
    }
    
    div.slideshow ~ div.section {
        padding-top: 0;
    }
    
    a.block {
        width: calc((100% / 2) - 7px);
        margin: 10px 0px;
    }
    a.block:nth-child(odd) {
        margin-right: 5px;
    }
    a.block:nth-child(even) {
        margin-left: 5px;
    }
    a.block > div.title {
        max-height: none;
        overflow: unset;
    }
}
