html {
    overflow-y: scroll;
}

header {
    background-color: transparent;
    background-image: url("/img/pub/bg.jpg");
    background-image: image-set(url("/img/pub/bg.webp") type("image/webp"), url("/img/pub/bg.jpg") type("image/jpeg"));
    background-image: -webkit-image-set(url("/img/pub/bg.webp") type("image/webp"), url("/img/pub/bg.jpg") type("image/jpeg"));
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
    width: 100%;
    font-weight: 500;
    justify-content: start !important;
    flex-direction: column;
    gap: 70px;
    position: relative;
}

/* 
https://stock.adobe.com/hu/search?filters%5Bcontent_type%3Aphoto%5D=1&filters%5Bcontent_type%3Aillustration%5D=1&filters%5Bcontent_type%3Azip_vector%5D=1&filters%5Bcontent_type%3Avideo%5D=1&filters%5Bcontent_type%3Atemplate%5D=1&filters%5Bcontent_type%3A3d%5D=1&filters%5Bcontent_type%3Aaudio%5D=0&filters%5Bcontent_type%3Aimage%5D=1&filters%5Binclude_stock_enterprise%5D=0&filters%5Bis_editorial%5D=0&k=library&order=relevance&safe_search=1&serie_id=&model_id=&native_visual_search=&similar_content_id=185877428&find_similar_by=content&limit=100&search_page=1&search_type=fsc-tile-panel-find-similar&get_facets=1&asset_id=765273581
*/

header > h1 {
    font-size: 130px;
    color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

header > .brand {
    position: relative;
    left: 0;
}

header .brand h1 {
    font-size: 30px;
    color: white;
}

header > .fc {
    gap: 30px;
}

.search-container {
    width: 90%;
    max-width: 600px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    background-color: rgba(238, 238, 238, .9);
    padding: 5px 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #dcdcdc;
    transition: background-color 300ms;
    position: absolute;
    top: 20vh;
}
    
.search-container input[type="text"] {
    width: 100%;
    border: none;
    padding: 10px;
    outline: none;
    font-size: 18px;
    background: transparent;
    color: #323232;
    font-family: "Rubik", sans-serif;
}
    
.search-container button {
    border: none;
    cursor: pointer;
    outline: none;
    background: transparent;
}
    
.search-container button img {
    width: 26px;
    height: 26px;
}

.nav {
    height: 58px;
    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.25);
}

.type-container {
    background: #eee;
    user-select: none;
    gap: 50px;
}

.type-container > a {
    width: 140px;
    height: 60px;
    font-weight: 500;
    font-size: 19px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.type-container > a.active > span {
    position: relative;
}

.type-container > a.active > span::after {
    content: '';
    position: absolute;
    background: #323232;
    height: 4px;
    width: 100%;
    bottom: -15px;
    left: 0;
    border-radius: 2px;
    box-sizing: border-box;
}

.type-container > a:last-of-type > span::after {
    bottom: -4px;
}

.pub-container {
    flex-direction: column;
    min-height: 44vh;
}

.pub-container > div {
    width: 1400px;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.pub-container > div:not(.abstract) {
    margin: 20px 0 30px 0;
    height: 250px;
    display: flex;
    gap: 50px;
}

.pub-container > div:not(.abstract)::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    background: #95CBB6;
    bottom: -30px;
}

.pub-container > .abstract.open::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    background: #95CBB6;
    bottom: 0;
}

.pub-container > div > div {
    position: relative;
}

.pub-container > div > div:nth-child(2) {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    max-width: 400px;
    max-height: 200px;
}

.pub-container > div img {
    object-fit: contain;
    max-height: inherit;
    max-width: inherit;
}

.pub-container > div label {
    display: block;
    padding: 2px 8px;
    width: fit-content;
    color: #347d39;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid #347d39;
    font-size: 12px;
    position: absolute;
    top: -30px;
}

.pub-container > div > div > span > a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #ccc;
    font-size: 21px;
    font-style: normal;
    white-space: pre-wrap;
}

.pub-container > div > div > span:first-of-type {
    font-size: 16px;
    display: block;
    margin-bottom: 20px;
    white-space: nowrap;
    font-style: italic;
}

.pub-container > div > div > span:last-of-type {
    font-size: 14px;
}

.pub-container > div > div > h3 {
    font-size: 15px;
    color: #444;
    font-weight: 400;
    margin-bottom: 4px;
    margin-right: 20px;
}

.pub-container > div > div > div:last-of-type {
    user-select: none;
}

.pub-container > div > div > div a,
.pub-container > div button {
    margin-top: 30px;
    text-decoration: none;
    background: #ddd;
    padding: 10px;
    border: none;
    font-size: 15px;
    border-radius: 2px;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
}

.pub-container > div > div > div a:hover,
.pub-container > div button:hover {
    background: #ccc;
}

.pub-container > div > div > div a {
    margin-left: 6px;
}

.pub-container > div button > img {
    width: 14px;
    margin-left: 8px;
    position: relative;
}

.pub-container .abstract {
    max-height: 0;
    overflow: hidden;
    transition: 500ms;
    margin-top: 0px;
}

.pub-container .abstract.open {
    margin-top: 30px;
    max-height: 50vh;
}

.pub-container .abstract > h2 {
    margin-bottom: 20px;
}

.pub-container .abstract > p {
    width: 70%;
    font-size: 18px;
    height: max-content;
    text-align: justify;
}

.pub-container .abstract > :last-child {
    margin-bottom: 40px;
}

.coverart-container {
    min-height: 40vh;
    flex-wrap: wrap;
    margin: 20px;
    gap: 50px;
}

.coverart-container a {
    width: 250px;
    height: 336px;
}

.coverart-container a img {
    width: 100%;
    height: 100%;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 50px 0;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.pagination ul li a {
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 0;
    cursor: pointer;
    border-radius: 4px;
    font-size: 19px;
}

.pagination ul li a:hover {
    background: #ddd;
}

.pagination ul li.active a {
    background-color: #323232;
    color: #ddd;
}

.pagination .previous a,
.pagination .next a {
    width: fit-content;
    padding: 0 10px;
}

.no-elements {
    display: none;
    font-size: 26px;
    text-align: center;
}

@media only screen and (max-width: 1500px) {
    .pub-container {
        padding: 0 50px;
    }

    .pub-container > div {
        width: 100%;
    }
}

@media only screen and (max-width: 1300px) {
    .pub-container > div > div > span > a {
        font-size: 19px;
    }

    .pub-container > div:not(.abstract) {
        min-height: 250px;
        height: unset;
    }

    .pub-container > div > div:nth-child(2) {
        max-width: 350px;
        max-height: 175px;
    }
}

@media only screen and (max-width: 1000px) {
    .pub-container > div {
        flex-direction: column-reverse;
    }

    .pub-container > div > div:nth-child(2) {
        max-width: 100%;
        max-height: 250px;
    }

    .pub-container .abstract > p {
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .pub-container {
        padding: 0 10px;
        line-height: 1.5;
    }

    .pub-container .abstract.open {
        margin-top: 20px;
        max-height: unset;
    }

    .pub-container .abstract > :last-child {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 700px) {

    .type-container {
        gap: 0;
        flex-wrap: wrap;
    }

    .type-container > a {
        width: 40%;
        flex-shrink: 0;
        font-size: 17px;
    }
}

@media only screen and (max-width: 450px) {

    .type-container > a {
        width: 50%;
        flex-shrink: 0;
        font-size: 17px;
    }

    .search-container {
        top: 15vh;
    }

    .search-container input[type="text"] {
        padding: 6px;
    }

    header {
        height: 30vh;
    }
}