@charset "UTF-8";

/*
Theme Name: Medianet Abstract Gallery
Author: medianet
Author URI: https://medianet.at/
Version: 0.2
*/

/**
 Contains a selection / combination of the following reset rules:
 1. Eric A. Meyer's v2.0 | 20110126 (https://meyerweb.com/eric/tools/css/reset/)
 2. Josh's Custom CSS Reset (https://www.joshwcomeau.com/css/custom-css-reset/)
 */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

article {
    text-align: center;
}

ol,
ul {
    list-style: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

body {
    font-family: Arial, Tahoma, sans-serif;
    font-size: 13px;
}

#page {
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.admin-bar #page {
    min-height: calc(100vh - 32px);
}

#page>header:not(.has-menu) {
    display: none;
}

#page>header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 2px 2px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.25);
    width: 100%;
    font-size: clamp(12px, 2vw, 15px);
}

#page>header nav>ul {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    padding: 0.5rem;
}

.site-title {
    font-size: .7rem;
    line-height: 2em;
    font-weight: bold;
    color: #ccc;
    background: rgba(0, 0, 0, 0.8);
    padding: .5em;
}

.btn>a {
    line-height: 2em;
    font-weight: bold;
    color: #ccc;
    text-decoration: none;
    width: 100%;
    text-align: center;
    padding: 0.5em;
    background: hsla(0, 0%, 0%, 0.4);
    text-shadow: 0 0 3px hsl(0deg 0% 0% / 50%);
    border: 2px solid hsla(0, 0%, 0%, 0.1);
    border-radius: 2px;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    text-transform: uppercase;
}

.btn>a:hover,
.btn>a:focus {
    background-color: hsla(0, 0%, 0%, 0.8);
    border-color: black;
    color: #fff;
}

.btn>a:active,
#page>header nav .current-menu-item a {
    background: black;
    color: white;
    border-color: #ccc;
    ;
}

.overview_menu {
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.overview_menu .btn>a {
    background: hsla(0, 0%, 0%, 0.9);
    backdrop-filter: blur(8px);
}

.overview_menu .btn>a:hover {
    background: hsla(0, 0%, 0%, 1);
    outline: 2px solid white;
}

h1.entry-title {
    font-size: 50px;
    font-size: max(3vw, 22px);
    font-size: clamp(22px, 3vw, 50px);
    font-weight: bold;
    color: #eee;
    text-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.75);
    text-align: center;
    margin: 1em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center; 
    gap: 0.5em;
}

h1.entry-title span {
    white-space: nowrap;
}

h1.entry-title svg {
    height: 50px;
    height: max(2.22vw, 18px);
    height: clamp(18px, 2.22vw, 37px);
    filter: drop-shadow(0.1em 0.1em 0.1em rgba(0, 0, 0, 0.75));
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery a {
    box-sizing: border-box;
    padding: 10px;
    width: 320px;
    height: 320px;
    margin: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 5px 20px 20px -20px rgba(0, 0, 0, 0.75);
    overflow: hidden;
    position: relative;
}

#gallery figure {
    display: block;
}

#gallery figure img {
    display: block;
}

#gallery figure .no-thumbnail {
    width: 300px;
    padding-top: 65%;
    background: #222;
}

#gallery figure figcaption {
    transform: translateY(100%);
    opacity: 0;
    overflow: hidden;
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    transition: all 200ms ease-in-out;
    background: rgba(0, 0, 0, 0.65);
    color: #eee;
    padding: 0.75em;
    border-radius: 10px;
    text-align: center;
}

#gallery a:hover figure figcaption {
    transform: translateY(0);
    opacity: 1;
}

#gallery a[data-type="video"]:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20%;
    height: 20%;
    transform: translateX(-50%) translateY(-50%);
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 21 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5.5v13a2 2 0 0 0 3.01 1.73l11.06-6.5a2 2 0 0 0 0-3.45L7 3.78A2 2 0 0 0 4 5.5Z' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50%;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 200ms ease-in-out;
}

#gallery a[data-type="video"]:hover:after {
    opacity: 1;
}

footer#colophon {
    padding: 1em;
    background: rgba(0, 0, 0, 0.9);
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: #ccc;
}

footer#colophon nav+div {
    margin-left: 3em;
}

footer#colophon nav ul {
    display: flex;
    justify-content: flex-start;
}

footer#colophon nav ul li {
    padding: 0 1em;
}

footer#colophon nav ul li a {
    color: inherit;
    text-decoration: none;
}

footer#colophon nav ul li a:hover {
    text-decoration: underline;
}

@media all and (max-width: 640px) {
    footer#colophon {
        flex-wrap: wrap;
    }

    footer#colophon nav {
        width: 100%;
    }

    footer#colophon nav+div {
        width: 100%;
        margin-left: 0;
        margin-top: 1em;
        text-align: center;
    }

    footer#colophon nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.pswp__img,
.pswp__video-container video {
    border-radius: 15px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    gap: 10px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 50px;
    width: fit-content;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid transparent;
    color: #333;
    text-decoration: none;
    border-radius: 50%;
    background: transparent;
    font-weight: bold;
    line-height: 1;
}

.pagination .page-numbers:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

.pagination .page-numbers:active, 
.pagination .page-numbers:focus {
    background-color: rgba(0, 0, 0, 0.2);
    outline: 2px solid #000;
    outline-offset: 2px;
}

.pagination .page-numbers.current {
    background-color: #000;
    color: #fff;
    border-color: #000;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: #333;
    width: auto;
    height: auto;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}