@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');

:root {
    --pri: #12121C;
    --sec: #595e64;
    --highlights: #FFB106;
    --text: #d8dddf;

    /* Standardized size for the character showcase images
       (.cassidy, .donaldlove, .catalina, .claude, .kenrosenberg, .leone) */
    --char-img-w: 450px;
    --char-img-h: 550px;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--highlights);
}

body {
    /* height: 100vh; */
    background-color: var(--pri);
    color: var(--text);
    margin: 0 auto;
    font-family: 'Quicksand', sans-serif;
    /* font-size: 1.5rem; */
    /* text-align: justify; */
    overflow-x: hidden;
}

.menu {
    display: flex;
    background-color: var(--highlights);
    align-items: center;
    padding: 10px;
    justify-content: space-between;
    width: 100%;
}

.menu ul {
    display: flex;
    gap: 30px;
    margin-right: 20px;
}

.menu li {
    list-style: none;
}

/* .menu button {
    background-color: var(--highlights);
    border: none;
    padding: 10px;
    transition: .4s;
    font-size: 20px;
    width: 150px
} */
.menu img {
    width: 50px;
    margin-left: 20px;
}

.menu button:hover {
    transition: .4s;
    transform: translateX(15px);
    cursor: pointer;
    filter: drop-shadow(var(--highlights) 0px 0px 10px);
}

.menu a {
    text-decoration: none;
    color: var(--pri);
    transition: .4s;
    font-weight: 900;
}

.menu a:hover {
    color: var(--text);
    transition: .4s;
}

menu::after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--text);
}

.banner {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    width: 100%;
    height: 1000px;
    /* background-color: var(--text); */
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.backgroundBanner {
    background-image: url("/assets/images/backgrounds/games-banners.gif");
    background-position: center;
    background-size: cover;
    overflow: hidden;
    filter: saturate(0);
    opacity: 20%;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
}

h1 {
    margin: 0;
}

.start {
    text-decoration: none;
    color: var(--pri);
    background-color: var(--highlights);
    border-radius: 200px;
    margin: 20px;
    padding: 20px 40px 20px 40px;
    transition: .4s;
}

.cta p {
    font-size: 25px;
    font-weight: bolder;
}

.start::after {
    content: '↓';
    margin-left: 20px;
}

.start:hover {
    box-shadow: 0 0 50px var(--highlights);
    transform: translateY(-10px);
    transition: .4s;
}

.cta {
    display: flex;
    flex-direction: column;
    /* width: fit-content; */
    justify-content: center;
    align-items: center;
}

h2,
h3 {
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
}

h2 {
    font-size: 70px;
    text-align: center;
}

h3 {
    font-size: 50px;
    margin-bottom: 0;
}

.cassidy>.background {
    position: absolute;
    inset: 0;
    background: url("../images/backgrounds/the-shootist.jpg") center/cover;
    filter: blur(6px) saturate(0);
    z-index: -1;
    opacity: 30%;
}

.donaldlove>.background {
    position: absolute;
    inset: 0;
    background: url("../images/backgrounds/TheParty-GTAVC3.jpg") center/cover;
    filter: blur(6px) saturate(0);
    z-index: -1;
    opacity: 30%;
}

.catalina>.background {
    position: absolute;
    inset: 0;
    background: url("../images/backgrounds/Claude-GTASA-WithCatalina.jpg") center/cover;
    filter: blur(6px) saturate(0);
    z-index: -1;
    opacity: 30%;
}

.claude>.background {
    position: absolute;
    inset: 0;
    background: url("../images/backgrounds/Claude-GTASA-WuZiMu.jpg") center/cover;
    filter: blur(6px) saturate(0);
    z-index: -1;
    opacity: 30%;
}

.leone>.background {
    position: absolute;
    inset: 0;
    background: url("../images/backgrounds/TheIntroduction-GTASA-SS15-SalvatoreLeone.jpg") center/cover;
    filter: blur(6px) saturate(0);
    z-index: -1;
    opacity: 30%;
}

.kenrosenberg>.background {
    position: absolute;
    inset: 0;
    background: url("../images/backgrounds/Catalina-GTAIII-RansomMoney.jpg") center/cover;
    filter: blur(6px) saturate(0);
    opacity: 30%;
    z-index: -1;
}

.cassidy,
.donaldlove,
.catalina,
.claude,
.kenrosenberg,
.leone {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 0;
    border: solid 2px var(--highlights);
}

.cassidy,
.donaldlove {
    flex-direction: row;
}

.catalina,
.claude,
.kenrosenberg,
.leone {
    flex-direction: row-reverse;
}

/* Standardized figure/image box: every character portrait now
   shares the exact same footprint, regardless of the source
   image's native size or aspect ratio. */
.catalina>figure,
.claude>figure,
.kenrosenberg>figure,
.leone>figure,
.cassidy>figure,
.donaldlove>figure {
    width: var(--char-img-w);
    height: var(--char-img-h);
    max-width: 90vw;
    margin: 0;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.catalina img,
.claude img,
.kenrosenberg img,
.leone img,
.cassidy img,
.donaldlove img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.catalina>div:not(.background),
.claude>div:not(.background),
.kenrosenberg>div:not(.background),
.leone>div:not(.background),
.cassidy>div:not(.background),
.donaldlove>div:not(.background) {
    flex: 1 1 350px;
    min-width: 280px;
    max-width: 600px;
    margin: 0;
}

.cta {
    margin: 100px;
}

section img {
    max-width: 400px;
    width: 100%;
}

h4 {
    text-align: center;
}

.daniel-zero>div,
.dad-son>div {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.bully>ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
    padding: 0px;
    margin: 40px auto 0;
    width: 100%;
}

.bully li {
    list-style: none;
    width: 100%;
    border: solid 2px var(--highlights);
}

.bully>ul img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    transition: .4s;
}

.bully>ul img:hover {
    filter: saturate(0);
    opacity: 30%;
    transition: .4s;
    cursor: pointer;
}

/* p{
    width: 70%;
} */
.manhunt>.content {
    display: flex;
    gap: 5%
}

.cash {
    /* float: right; */
    /* width: 500px; */
    max-width: 500px;
    width: fit-content;
    /* margin-right: 10px; */
    aspect-ratio: 1/1;
    object-fit: cover;
}

.dad-son>div>img {
    width: 100%;
    max-width: 1000px;
}

.daniel-zero img {
    width: 500px;
    max-width: 100%;
    float: right;
}

.bully,
.theories {
    margin: 100px;
}

.bully h3,
.theories h3 {
    text-align: center;
}

.grid-manhunt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 100px;
    width: 100%;
    align-items: stretch;
    justify-items: center;
}

.grid-manhunt>div {
    width: 100%;
    /* max-width: 320px; */
    background-color: #ffb006a8;
    color: var(--pri);
    border-radius: 25px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: .4s;
    /* border: 4px var(--pri) solid; */
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.grid-manhunt>div:hover {
    box-shadow: 0px 0px 50px var(--highlights);
    transform: translateY(50px);
    cursor: pointer;
    transition: .4s;
}

.locals {
    width: fit-content
}

/* .locals img {
    width: 100%;
} */

.banner-cash {
    /* width: 100%; */
    margin: 0;
    /* height: 760px; */
    background-image: url("https://static.wikia.nocookie.net/manhuntgame/images/0/0b/JamesEarlCash-MH-PreRenderedCutscene-FuelledbyHate.png/revision/latest/scale-to-width-down/1000?cb=20250928194902");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

iframe {
    border: solid 2px var(--highlights);
    width: 85%;
    height: 900px;
}

.manhunt>.background {
    position: absolute;
    inset: 0;
    background: url("../images/backgrounds/las-venturas.png") center/cover;
    filter: blur(6px);
    z-index: -1;
    opacity: 50%;
}

.manhunt {
    position: relative;
    padding: 100px;
}

footer {
    background-color: #292b2e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer>h4>a {
    text-decoration: none;
    color: var(--text);
}

footer div a {
    color: #d8dddf8f;
    text-decoration: none;
    transition: .4s;
}

footer div a:hover,
footer li:hover {
    color: var(--text);
    transition: .4s;
}

footer li {
    list-style: none;
    color: #d8dddf8f;
}

footer>div {
    width: 90%;
    display: flex;
    justify-content: space-between;
}

footer h4 {
    text-transform: uppercase;
    font-size: 2rem;
}

.credits>p,
.credits ul,
.footer-nav>p,
.footer-nav ul,
.wiki>p,
.wiki ul,
.technologies>p,
.technologies ul {
    margin-top: 0;
}

li::before {
    content: "★";
    color: var(--highlights);
    /* position: absolute; */
    left: 0;
}

@media (min-width: 766px) and (max-width: 1100px) {
    :root {
        --char-img-w: 320px;
        --char-img-h: 400px;
    }

    .cassidy,
    .donaldlove,
    .catalina,
    .claude,
    .kenrosenberg,
    .leone {
        gap: 50px;
    }
}

@media (min-width: 330px) and (max-width: 765px) {
    :root {
        --char-img-w: 100%;
        --char-img-h: 380px;
    }

    body {
        width: 100%;
        /* height: 100vh; */
        /* overflow: hidden; */
    }

    header {
        display: none;
    }

    .bully>ul {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .bully li {
        width: 100%;
    }

    .bully>ul img {
        aspect-ratio: 4/3;
        width: 100%;
        transition: .4s;
    }

    .bully,
    .manhunt,
    .theories {
        margin: 0px;
    }

    .cassidy,
    .donaldlove,
    .catalina,
    .claude,
    .kenrosenberg,
    .leone {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .catalina>figure,
    .claude>figure,
    .kenrosenberg>figure,
    .leone>figure,
    .cassidy>figure,
    .donaldlove>figure {
        width: 100%;
        max-width: 400px;
        height: var(--char-img-h);
    }

    .catalina>div:not(.background),
    .claude>div:not(.background),
    .kenrosenberg>div:not(.background),
    .leone>div:not(.background),
    .cassidy>div:not(.background),
    .donaldlove>div:not(.background) {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    .catalina h3,
    .claude h3,
    .kenrosenberg h3,
    .leone h3,
    .cassidy h3,
    .donaldlove h3 {
        margin: 0;
    }

    .grid-manhunt {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 40px;
        width: 100%;
        justify-items: center;
    }

    .grid-manhunt>div {
        width: 100%;
        max-width: 100%;
    }

    .grid-manhunt>div>figure {
        width: 100%;
    }

    .bully h3,
    .bully-manhunt {
        margin: 0;
    }

    .bully h3 {
        font-size: 1.5rem
    }

    .banner-cash {
        aspect-ratio: 4/5;
        object-fit: cover;
        margin: 0;
        width: 100%
    }

    .dad-son>div,
    .daniel-zero>div {
        flex-direction: column;
    }

    .dad-son>div>img {
        width: 100%;
        max-width: 400px;
    }

    .daniel-zero img {
        float: none;
        width: 100%;
        max-width: 400px;
    }

    .manhunt .content>img {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    iframe {
        max-width: 400px;
        height: auto;
        aspect-ratio: 16/9;
        width: 100%;
        border: solid 2px var(--highlights)
    }
}