/* reset */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* custom style */
html {
    background-color: white;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body {
    margin: 0;
    padding: 0;
}
[x-cloak] {
    display: none !important;
}
h1, h2, h3, h4, h5, h6, p, a, li, span, pre, code {
    font-family: 'Archivo', sans-serif;
	text-transform: lowercase;
    font-size: 3rem;
	line-height: 1.125em;
	font-weight: 200;
	letter-spacing: -1px;
	word-spacing: -1px;
}
.h-full {
    height: 48px;
}
.pb {
    padding-bottom: 3rem;
}
.o-5 {
    opacity: .5;
}
main, header, footer, article {
    color: lightcoral;
}
header {
    padding-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header > .nav-main li {
    padding: 0 .5rem;
}
header > .nav-main li span {
    position: relative;
    color: transparent; /* Hide original text */
}

header > .nav-main li span::after {
    content: attr(data-hover);
    color: lightcoral;
    position: absolute;
    left: 0;
    top: 0;
}

header > .nav-main li:hover span::after {
    content: attr(data-hover);
}

header > .nav-main li span::after {
    content: attr(data-default);
}

header > .nav-main li:hover span::after {
    content: attr(data-hover);
}
header a {
    text-decoration: none;
}
.service-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.service-list li {
    display: flex;
    text-wrap: nowrap;
    gap: 0;
    margin: 0;
    border: 1px solid;
    border-radius: 100%;
	transition: all .2s;
}
.service-list li:hover, 
.service-list li.active {
    background: lightcoral;
    color: white;
    cursor: pointer;
}
.service-list.not-link li:hover,
.service-list li.reset:hover {
    background: white;
    color: lightcoral;
    opacity: .5;
    cursor: pointer;
}
.service-list li:last-of-type::after {
    content: " ";
}
.service-list li span.title:hover + span.description {
    display: block;
    position: absolute;
    top: 3rem;
    left: 0;
}
.service-list li span.description {
    display: none;
}
.service-list #reset-filter {
    border: none;
    padding: 0 .5rem;
}
footer .wrapper p {
    margin-bottom: 0;
}
.sections {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    height: 100%;
}
.base {
    flex: 1;
}
a {
	display: inline;
	position: relative;
	color: lightcoral;
	text-decoration: none;
	transition: all .2s;
	/* opacity: .5; */
}
a:hover {
	filter: none;
}
.cards {
    padding: 0;
}
a.card {
	opacity: 1;
    margin-bottom: 1px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}
a.card span {
    margin: 0 0 0 1rem;
    padding: 0 1rem;
    border-radius: 100% 0 0 100%;
}
a.card span::before {
	content:"→ ";
    margin-left: .5rem;
}
a.card:hover {
	color: white;
	background-color: lightcoral;
}
a.card.strikeout {
    text-decoration: line-through;
    color: #ccc;
}
a.card.strikeout:hover {
    background-color: #ddd;
}

.article-head {
    display: flex;
    padding-bottom: 3rem;
}
.article-head > *:last-child {
    flex: 1;
}
.screenshot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media screen and (min-width:768px) {
    .screenshot {
        grid-template-columns: repeat(3, minmax(0, 1fr));
     }
}
.screenshot .thumb {
    background: #f08080;
}
.screenshot img {
    filter: grayscale();
    mix-blend-mode: multiply;
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    aspect-ratio: 1/1;
}
.next-prev > * {
    display: block;
}
@media screen and (min-width: 768px) {
    .next-prev {
        display: flex;
        justify-content: space-between;
    }
    .next-prev:last-child {
        text-align: right;
    }
    /* span.prev::before {
        content: "☜";
    }
    span.next::after {
        content: "☞";
    } */
}

.next-prev a {
    text-decoration: underline;
}
.about p {
    margin-bottom: 3rem;
}
strong {
    font-weight: 500; 
}
footer .wrapper {
    display: flex;
    gap: .25rem;
    width: 100%;
}
footer .cta {
    flex-grow: 0;
    gap: 0;
    margin: 0;
    border: 1px solid;
    border-radius: 100%;
	transition: all .2s;
}
/* footer .wrapper > *:last-child {
    flex: 1;
} */
footer a:hover {
    color: white;
    background-color: lightcoral;
}
/* fslightbox */
.fslightbox-fade-in-strong img {
    mix-blend-mode: normal;
}        