@font-face {
    font-family: "Garamond";
    src: url("../fonts/EBGaramond-VariableFont_wght.ttf");
}
@font-face {
    font-family: "Garamond Italic";
    font-weight: italic;
    src: url("../fonts/EBGaramond-Italic-VariableFont_wght.ttf");
}

:root{
    --white: hsla(0, 0%, 100%, 0.95);
    --black: rgba(0, 0, 0, 0.80);
    --grey: rgba(0, 0, 0, 0.60);
    --soft-grey: rgba(0, 0, 0, 0.30);
    
    
    /* border-shadow, highlight, drop shadow */
    --shadow-s: 0px 0px 4px #00000012, 4px 0px 16px 2px #00000006;
    --shadow-m: 0px 0px 8px #00000012, 4px 0px 24px 8px #00000012;

    /* font sizes */
    --fs-base: 1rem;
    --fs-xs: 0.9rem;
    --fs-sm: 1rem;
    --fs-md: 1.2rem;
    --fs-lg: 1.8rem;
    --fs-xl: 2rem;
    --fs-xxl: 3rem;
    --fs-gallery-title: 1.8rem;
    --fs-gallery-title-mobile: 1.4rem;
    --fs-gallery-desc: 1rem;
    --fs-gallery-desc-mobile: 0.9rem;
    --fs-gallery-link: 0.95rem;
    --fs-gallery-link-mobile: 0.9rem;
    --fs-footer-large: 3rem;
    --fs-footer-large-mobile: 2rem;
    --fs-gallery-info-mobile: 0.95rem;

    --sansik: 'Garamond', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --serifik: Georgia, 'Times New Roman', Times, serif;

}

::selection {
    background: transparent;
}
::-moz-selection {
    background: transparent;
}


/*
     FORMS 
*/
.uniform__potty {
    position: absolute;
    left: -9999px;
}


header, main {
    padding: 3rem;
}
header {
    width: auto;
    display: flex;
    align-content: space-between;
}
nav{
    margin-left: auto;
}
nav ul {
    display: flex;
    flex-direction: row;
}
nav ul li {
    padding-inline: 1rem;
}
main {
    min-height: 100vh;
}


body {
    background-color: #fff;
    color: #1a202c;
    font-family: var(--serifik);
    font-size: var(--fs-base);
    margin: 0;
    font-variant-numeric: oldstyle-nums !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sansik);
    font-weight: normal;
}
h3, h5 {
    font-family: var(--serifik);
    font-weight: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-m);
}



.le-body {
    background-color: var(--white);
    color: var(--black);
    min-height: 100vh;
}

.text {
    align-items: last baseline;
    justify-content: start;
    padding: 0;
    max-width: 70ch;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 0;
    padding: 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--serifik);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: var(--shadow-s);
    color: var(--black);
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.btn-primary:hover {
    background-color: rgba(0, 0, 0, 95);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
}

.btn-secondary:hover {
    opacity: 0.9;
}

.breadcrumbs {
    margin-bottom: 1rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumbs li {
    margin-right: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--grey);
}

.breadcrumbs a {
    color: var(--grey);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--black);
}

.categories-sub-nav {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.categories-sub-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.categories-sub-nav a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: var(--grey);
    transition: background-color 0.2s;
}

.categories-sub-nav a:hover {
    background-color: #f0f0f0;
}

.categories-sub-nav a[aria-current="page"] {
    background-color: var(--black);
    color: var(--white);
}

.footer-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img[data-lazyload] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-lazyload="loaded"] {
    opacity: 1;
}

/* Error page styles */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-content h1 {
    font-family: var(--sansik);
    font-size: var(--fs-xxl);
    color: var(--black);
    margin-bottom: 1rem;
}

.error-content p {
    font-family: var(--serifik);
    font-size: var(--fs-md);
    color: var(--grey);
    margin-bottom: 2rem;
}

.back-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--black);
    text-decoration: none;
    font-family: var(--sansik);
    font-size: var(--fs-sm);
    border-radius: 4px;
    transition: background-color 0.3s;
}

.back-home:hover {
    color: var(--white);
    background-color: var(--black);
}

/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #000;
    color: #d3d3d3;
    padding: 0.625rem;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
    opacity: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-inline: auto;
    justify-content: center;
}
@media (max-width: 767px) {
    #cookie-banner {
        flex-direction: column;
    }
}

.cookie-banner-link {
    color: #d3d3d3;
    text-decoration: underline;
    padding-inline: 1rem;
}

.cookie-accept-btn {
    margin-left: 0.625rem;
    padding: 0.3125rem 0.625rem;
    background: transparent;
    color: #d3d3d3;
    border-radius: 0.25em;
    border: 1px solid #d3d3d368;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (max-width: 767px) {
    .cookie-accept-btn {
        margin: 1rem;
    }
}
