﻿:root {
    /* Grays */
    --gray-1: #6D748C;
    --gray-2: #2F3749;
    --gray-3: #111419;
    /* Blues */
    --blue-0: #1c72be;
    --blue-1: #2BA5E2;
    --blue-2: #0E1E31;
    --blue-3: #111419;
    --blue-3a: #1114196b;
    /* Pinks */
    --pink-1: #ff60ff;
}

/*#region ----- Global Body Properties */
/* Font: Poppins */
* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    margin: 0;
    color: white;
    cursor: default;
}

i {
    font-style: italic;
}

h3 {
    font-size: 18px;
}

h2 {
    font-size: 28px;
    color: var(--blue-1);
    text-shadow: var(--gray-3) 0 4px 4px;
}

h1 {
    font-size: 32px;
    text-shadow: var(--gray-3) 0 2px 4px;
}

accent-red {
    color: #FF6666;
}

accent-yellow {
    color: #FFD966;
}

html, body {
    background: linear-gradient(130deg, var(--blue-2) 0%, var(--gray-2) 130%);
    margin: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}
/*#endregion*/

/*#region ----- Global Button Properties */
.button-style-1 {
    display: inline-block;
    border-radius: 0.3em;
    line-height: 36px;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.5));
    transition: all 0.25s ease-in-out;
}
.button-style-1:hover {
    background-color: var(--blue-2);
    cursor: pointer;
}

.button-style-2 {
    display: inline-block;
    border-radius: 0.3em;
    line-height: 36px;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.5));
    transition: all 0.25s ease-in-out;
}
.button-style-2:hover {
    background-color: var(--blue-2);
    cursor: pointer;
}

.button-style-steam {
    background-color: var(--blue-2);
    background-image: linear-gradient(90deg, var(--blue-1) 0%, var(--blue-0) 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    border-radius: 0.3em;
    width: 160px;
    margin-right: 10px;
    font-size: 20px;
    border: 2px solid var(--gray-2);
    filter: drop-shadow(0px 2px 8px rgba(0,0,0,0.5));
    transition: background-size 0.25s ease-in-out, border-color 0.25s ease-in-out, filter 0.25s ease-in-out;
    cursor: pointer;
}
.button-style-steam:hover {
    background-size: 100% 100%;
    border-color: var(--blue-1);
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.35));
}

.button-style-itch {
    display: inline-block;
    background: #FF5C5A;
    border-radius: 0.3em;
    line-height: 46px;
    width: 128px;
    text-align: center;
    margin-right: 10px;
    font-size: 20px;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.5));
    transition: all 0.25s ease-in-out;
}
.button-style-itch:hover {
    cursor: pointer;
    background: #ff9997;
}

.viewmy-button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0 4px;
}

.button-style-viewmy {
    background-color: var(--blue-2);
    background-image: linear-gradient(90deg, var(--blue-1) 0%, var(--blue-0) 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    border-radius: 0.3em;
    width: 260px;
    font-size: 20px;
    border: 2px solid var(--gray-2);
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
    transition: background-size 0.25s ease-in-out, border-color 0.25s ease-in-out, transform 0.25s ease-in-out, filter 0.25s ease-in-out;
    cursor: pointer;
}

.button-style-viewmy * {
    cursor: pointer;
}

.button-style-viewmy-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.button-style-viewmy-icon-image,
.button-style-viewmy-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.button-style-viewmy:hover {
    background-size: 100% 100%;
    border-color: var(--blue-1);
    transform: translateY(-3px);
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.35));
}

.button-style-steam,
.button-style-itch,
.button-style-viewmy {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/*#endregion*/

/*#region ----- Navigation Bar */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    z-index: 80;
    background: linear-gradient(90deg, var(--pink-1) 0%, var(--blue-1) 100%);
    border-bottom: 3px solid var(--blue-3a);
    filter: drop-shadow(0px 4px 1px rgba(0,0,0,0.2));
}

header > .logo {
    margin: 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1080px;
}

nav a {
    font-size: 20px;
    padding-left: 1rem;
    padding-right: 1rem;
}

nav img {
    height: 50px;
}
/*#endregion*/

/*#region ----- Promotional Image Banner */
.box-promo {
    display: block;
    position: relative;
    text-align: center;
    top: 50px;
    width: 100%;
    height: 420px;
}

.box-promo-banner {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    mask-image: linear-gradient(to bottom, black 0%, black 0%, transparent 100%);
}

.box-promo-textarea {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    padding: 0 32px;
    width: 100%;
    top: 40px;
}

.box-promo-textarea-centered {
    top: 0;
    bottom: 0;
}

.box-promo-textarea h1,
.box-promo-textarea h2 {
    text-align: center;
    margin: 0;
}
/*#endregion*/

/*#region ----- Main Page Content Container */
.page-content-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1080px;
    margin: 64px auto;
    gap: 24px;
    padding: 0 32px 24px 32px;
}

.centered-text {    
    width: 90%;
    margin: auto;
}

.centered-text p {
    font-size: 22px;
    margin: 16px;
    text-align: center;
}

.centered-text h2 {
    text-align: center;
    margin: 6px 0;
}

.centered-text p a:any-link {
    font-size: 22px;
    color: var(--pink-1);
    cursor: pointer;
}
/*#endregion*/

/*#region ----- Tech Stack Logos */
.tech-stack {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 16px;
}

.tech-stack img {
    width: 14%;
    max-width: 64px;
    height: 100%;
    max-height: 64px;
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.6));
}
/*#endregion*/

/*#region ----- Homepage Games grid */
.homepage-game-collection {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-evenly;
    align-items: stretch;
    position: relative;
    width: 100%;
    height: auto;
}

.homepage-game {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 50%;
    height: auto;
    justify-content: flex-start;
    align-self: stretch;
}

.homepage-game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--blue-2), var(--blue-2)) padding-box,
        linear-gradient(90deg, var(--pink-1), var(--blue-1)) border-box;
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.5));
    overflow: hidden;
}

.homepage-game:nth-child(2) .homepage-game-card {
    background:
        linear-gradient(var(--blue-2), var(--blue-2)) padding-box,
        linear-gradient(90deg, var(--blue-1), var(--pink-1)) border-box;
}

.homepage-game-card:hover {
    cursor: pointer;
}

.homepage-game-card > img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: 50% 0%;
}

.homepage-game-card-info {
    position: relative;
    background: var(--blue-2);
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.homepage-game-card-info::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink-1), var(--blue-1));
}

.homepage-game:nth-child(2) .homepage-game-card-info::before {
    background: linear-gradient(90deg, var(--blue-1), var(--pink-1));
}

.homepage-game-card-info h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--blue-1);
}

.homepage-game-card-info p {
    font-size: 15px;
    color: #cccccc;
    padding-bottom: 8px;
}

.homepage-game-card-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.homepage-game-card-actions .button-style-steam {
    margin-right: 0;
}
/*#endregion*/

/*#region ----- Homepage Skills grid */
.skills-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 32px;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-title h3 {
    font-weight: bold;
    text-align: center;
    color: #2996CC;
    margin-bottom: 8px;
}

.skill-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.skill-row p {
    text-align: center;
}

.skill-item {
    background: var(--blue-2);
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-2);
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.5));
    box-sizing: border-box;
    transition: all 0.1s ease-in-out;
}
/*#endregion*/

/*#region ----- Games collection grid */
.game-collection {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
    gap: 60px;
}

.game {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.game img {
    min-width: 420px;
    max-width: 420px;
    height: 250px;
    max-height: 300px;
    object-fit: cover;
    object-position: 50% 0%;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--pink-1), var(--blue-1)) 1;
    filter: drop-shadow(0px 6px 6px rgba(0,0,0,0.5));
}

.game-details-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-left: 40px;
    height: 100%;
    width: 100%;
}

.game-details-container a {
    color: white;
}

.game-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

gametitle {
    color: var(--blue-1);
    font-size: 36px;
}

releasedate {
    color: var(--pink-1);
    font-size: 18px;
}

.game-store-links {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.homepage-spotlight {
    margin: 8px 0 20px;
}

.homepage-spotlight img {
    min-width: 520px;
    max-width: 520px;
    height: 320px;
}

.homepage-spotlight .game-details-container {
    gap: 14px;
    margin-left: 28px;
}

.homepage-spotlight .game-store-links {
    flex-wrap: wrap;
    gap: 10px;
}

.homepage-spotlight .game-store-links .button-style-steam {
    margin-right: 0;
}
/*#endregion*/

/*#region ----- Profile Picture */
.profile-picture {
    width: 200px;
    max-width: 200px;
    height: 200px;
    margin: 16px auto 32px auto;
    border-radius: 50%;
    border: 2px solid var(--blue-1);
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.7));
}
/*#endregion*/

/*#region ----- Mobile Navigation */
.mobile-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 12px;
    z-index: 100001;
    width: 50px;
    height: 50px;
    padding: 0;
    cursor: pointer;
    border-radius: 8px;
}

.mobile-burger .bar { display: none; }

.mobile-burger::before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20d='M4%207h16M4%2012h16M4%2017h16'/%3E%3C/svg%3E");
}

.mobile-burger.open::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20d='M6%206l12%2012M6%2018L18%206'/%3E%3C/svg%3E");
}

.mobile-menu {
    display: none;
    position: fixed;
    right: 16px;
    top: 50px;
    background: #1B2838;
    border: 1px solid var(--blue-3a);
    border-radius: 6px;
    padding: 8px;
    flex-direction: column;
    gap: 8px;
    z-index: 99999;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.mobile-menu a {
    padding: 10px 14px;
    display: block;
    color: white;
}

.mobile-menu.open { display: flex; }

.mobile-menu.iframe-mode {
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: auto !important;
    display: none !important;
    box-shadow: none !important;
}

.mobile-menu.iframe-mode.open { display: flex !important; }
/*#endregion*/

/*#region ----- Media Queries */
@media screen and (max-width: 900px) {
    .main-nav { display: none; }
    header { justify-content: flex-start; padding-left: 12px; }

    .game {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        height: auto;
    }

    .game img {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .game-details-container {
        margin-left: 0;
        width: 100%;
        padding: 0 4px;
    }

    .homepage-game-collection {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .homepage-game {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 720px;
        height: auto;
        margin: 0 auto;
        align-self: center;
        text-align: center;
    }

    .homepage-game-card { width: 100%; }

    .homepage-game-card > img { height: 220px; }
}

@media screen and (min-width: 900px) {
    .mobile-burger { display: none; }
    .mobile-menu { display: none; }
    .skills-container .skill-item { width: calc(50% - 8px); }
}
/*#endregion*/

/*#region ----- Testimonials */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-content: space-between;
    gap: 8px;
}

.testimonial-item {
    background: var(--blue-2);
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--blue-2), var(--blue-2)) padding-box,
        linear-gradient(90deg, var(--pink-1), var(--blue-1)) border-box;
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.5));
    box-sizing: border-box;
    transition: all 0.1s ease-in-out;
}

reviewer {
    font-size: 20px;
    color: var(--blue-1);
    margin: 0 auto;
}

position {
    font-size: 17px;
    font-weight: bold;
    font-style: italic;
    color: var(--blue-1);
}
/*#endregion*/

/*#region ----- Footer */
.footer-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    margin-top: 64px;
    max-width: 100%;
    background-color: var(--blue-3);
    border-top: 3px solid var(--blue-1);
    box-shadow: 0 50vh 0 50vh #1B2838;
}

.footer-section {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 16px;
}

.footer-section h3 {
    color: var(--blue-1);
}

.footer-section i {
    width: 100%;
    text-align: center;
}
/*#endregion*/
