html, body, ul, li {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Roboto', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: rgba(24, 20, 37, 1);
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(48, 40, 72, 1);
    z-index: 9;
}
#container {
    width: 1200px;
    /* width: 90%; */
    min-height: 90vh;
    margin: auto;
    color: white;
}
#footer {
    width: 100%;
    padding: 20px 0;
    background-color: white;
}

a {
    color: white;
}

a.block {
    position: relative;
    display: inline-block;
    width: 200px;
    /* height: 285px; */
    margin: 5px 10px;
    padding-bottom: 10px;
    background-color: rgba(57, 47, 88, 1);
    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 {
    /* position: absolute; */
    display: block;
    /* top: 80%; */
    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: rgba(100,160,200,1);
}

.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 {
        background-color: rgba(61, 52, 92, 1);
    }

    #container {
        width: 100%;
    }
    #container > * {
        padding-left: 15px;
        padding-right: 15px;
        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;
    }
}
