/*
    LiveG Website

    Copyright (C) LiveG. All Rights Reserved.

    https://liveg.tech
    Licensed by the LiveG Open-Source Licence, which can be found at LICENCE.md.
*/

nav {
    z-index: 2!important;
}

nav.black {
    background-color: black;
    color: white;
}

nav.black img[aui-icon="dark embedded"] {
    filter: contrast(0) brightness(10);
}

nav.fadeColours {
    transition: 0.5s background-color, 0.5s color;
}

img.full {
    width: 100%;
    max-width: unset;
    border-radius: 0;
}

.footer_logo {
    height: 4rem;
}

.showcaseCard {
    padding: 0;
}

.showcaseCard img[aui-mode="background"] {
    position: static;
    margin-bottom: -0.5rem;
}

.showcaseCard_main img {
    min-height: 50vh;
}

.showcaseCard_constrained {
    max-height: 60vw;
}

.showcaseCard_constrained img {
    min-height: 35vh;
}

.showcaseCard_slogan {
    position: absolute;
    top: 0;
    width: 50%;
    min-width: 20rem;
    padding: 1rem;
    color: black;
}

.showcaseCard_slogan h2 {
    margin: 0;
    font-size: 1.4rem;
}

.showcaseCard_slogan p {
    margin: 0;
    font-size: 1rem;
}

.showcaseCard:has(a:focus-visible) {
    outline: auto;
}

.showcaseCard a {
    outline: none;
}

.showcaseCard_slogan.visuallyHidden {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.showcaseCard_main .showcaseCard_slogan h2 {
    font-size: 4vw;
}

.showcaseCard_main .showcaseCard_slogan p {
    font-size: 2vw;
}

.showcase_topLeft {
    text-align: left;
}

.showcase_topLeft img {
    object-position: top right;
}

.showcase_topLeft .showcaseCard_slogan, .showcase_topLeft .showcaseCover_info {
    left: 0;
}

.showcase_bottomLeft {
    text-align: left;
}

.showcase_bottomLeft img {
    object-position: bottom right;
}

.showcase_bottomLeft .showcaseCard_slogan, .showcase_bottomLeft .showcaseCover_info {
    top: unset;
    bottom: 0;
    left: 0;
}

.showcase_topRight {
    text-align: right;
}

.showcase_topRight img {
    object-position: top left;
}

.showcase_topRight .showcaseCard_slogan, .showcase_topRight .showcaseCover_info {
    right: 0;
}

.showcase_bottomRight {
    text-align: right;
}

.showcase_bottomRight img {
    object-position: bottom left;
}

.showcase_bottomRight .showcaseCard_slogan, .showcase_bottomRight .showcaseCover_info {
    top: unset;
    bottom: 0;
    right: 0;
}

.showcase_dark .showcaseCard_slogan, .showcase_dark .showcaseCover_info {
    color: white;
}

.showcaseCover {
    position: relative;
    height: 60vh;
}

.showcaseCover_info {
    position: absolute!important;
    top: 0;
    width: 50%;
    min-width: 20rem;
    max-width: 30rem;
    padding: 2rem;
    color: black;
}

.cardGrid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(18rem, 100%  / 3)), 1fr))!important;
}

.bigFigure {
    font-size: 2rem;
}

.bigGap {
    gap: 2rem;
}

.fadeInOnScroll {
    opacity: 0;
}

.birthdayCake {
    max-width: 20rem;
}

.bdayTimeline h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.2);
}

.bdayTimeline p {
    font-size: 1.5rem;
}

.bdayTimeline.smallerText h2 {
    font-size: 2rem;
}

.bdayTimeline.smallerText p {
    font-size: 1.2rem;
}

.videoLink {
    position: relative;
}

.videoLink img:nth-child(1) {
    max-width: 40rem;
    filter: brightness(0.8);
    transition: 0.5s filter;
}

.videoLink:hover img:nth-child(1) {
    filter: brightness(1);
}

.videoLink img:nth-child(2) {
    position: absolute;
    top: calc(50% - 2rem);
    bottom: calc(50% - 2rem);
    left: calc(50% - 2rem);
    right: calc(50% - 2rem);
    width: 4rem;
    height: 4rem;
    margin: 0;
    opacity: 1;
    transition: 0.5s opacity;
}

.videoLink:hover img:nth-child(2) {
    opacity: 0.8;
}

.error404 {
    padding-top: 20vh;
}

@media (prefers-color-scheme: dark) {
    .bdayTimeline h2 {
        color: rgba(255, 255, 255, 0.2);
    }
}

@media (min-width: 1001px) {
    .showcaseCover {
        height: 80vh;
    }
}

@media (max-width: 600px) {
    .showcaseCard img[aui-mode="background"] {
        filter: brightness(0.8);
    }

    .showcaseCard_slogan {
        top: unset;
        bottom: 0;
        left: 0;
        right: unset;
        text-align: start;
        color: white;
    }

    [dir="rtl"] .showcaseCard_slogan {
        left: unset;
        right: 0;
    }

    .showcaseCard_slogan h2, .showcaseCard_main .showcaseCard_slogan h2 {
        font-size: 1.4rem;
    }

    .showcaseCard_slogan p, .showcaseCard_main .showcaseCard_slogan p {
        font-size: 1rem;
    }

    .showcaseCover {
        display: flex;
        flex-direction: column-reverse;
        height: unset;
        min-height: 50vh;
        padding: 0!important;
    }

    .showcaseCover img[aui-mode="background"] {
        filter: brightness(0.6);
    }

    .showcaseCover_info {
        position: static!important;
        top: unset;
        bottom: 0;
        left: 0;
        right: unset;
        width: 100%;
        min-width: unset;
        max-width: unset;
        text-align: start;
        color: white;
    }

    .error404 {
        padding-top: 10vh;
    }
}

@media (max-width: 360px) {
    .showcaseCard_slogan {
        width: 100%;
        min-width: unset;
    }
}