@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&display=swap');

:root {
    --border-rad: 6px;
    --text-colour: black;
    --secondary-text-colour: white;
    --body-colour: #0c0c0c;
    --accent-colour: #414141;
    --poppins-font: 'Poppins', sans-serif;
}

* {
    font-family: var(--poppins-font);
    box-sizing: border-box;
    outline: none;
    list-style: none;
    text-decoration: none;
    color: var(--text-colour);
    margin: 0;
    padding: 0;
    border: none;
    font-weight: 500;
}

.html, body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--body-colour);
    padding: 1rem;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    max-width: 700px;
    border: solid 2px white;
    padding: 1rem;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 50px;
    width: auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 20%;
}

.header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-title {
    color: var(--secondary-text-colour);
    font-size: 2rem;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0.25rem;
}

.link-list {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
}

.link {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.5rem;
    color: white;
}

section {
    margin: 0.5rem 0;
    width: 100%;
    height: fit-content;
    padding: 1rem;
    box-shadow: -2px 2px 4px black;
    background: #0f0f0f;
}

.section-title {
    color: var(--secondary-text-colour);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.section-description {
    color: var(--secondary-text-colour);
    font-size: 0.9rem;
    font-family: var(--poppins-font);
    font-weight: 300;
}

section.welcome {
    background: rgba(101, 41, 156, 0.2);
}

section.timeline .section-description {
    max-height: 200px;
    overflow-y: auto;
}

section.timeline .section-description .timeline-entry {
    color: var(--secondary-text-colour);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

section.timeline .section-description .timeline-date {
    color: var(--secondary-text-colour);
    font-size: 0.8rem;
    font-weight: 400;
    background: #000000;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-rad);
}

.game-list {
    display: flex;
    flex-direction: column;
    max-height: 600px;
    overflow-y: auto;
}

.game {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-left: solid 2px rgba(188, 137, 235, 0.336);
    margin: 0.5rem 0;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.game-name {
    color: var(--secondary-text-colour);
    font-size: 1.2rem;
    font-weight: 400;
}

.game-image {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: var(--border-rad);
}

.game-content {
    display: flex;
    flex-direction: column;
}

.game-info {
    display: flex;
    gap: 0.5rem;
}

.game span {
    color: var(--secondary-text-colour);
    font-size: 0.9rem;
    font-weight: 300;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-rad);
}

.page-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-link {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
    border-left: solid 2px rgba(188, 137, 235, 0.336);
    padding: 0.25rem 0.5rem;
    width: 100%;
    background: rgba(60, 45, 75, 0.1);
    box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.5);
}

.page-link .link-title {
    color: var(--secondary-text-colour);
    font-size: 0.8rem;
    font-weight: 400;
    background: #000000;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-rad);
}

.page-link .link-description {
    color: var(--secondary-text-colour);
    font-weight: 300;
    font-size: 0.9rem;
}

.tools-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
    border-left: solid 2px rgba(188, 137, 235, 0.336);
    padding: 0.25rem 0.5rem;
    width: 100%;
    background: rgba(60, 45, 75, 0.1);
    box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.5);
}

.tool .link-title {
    color: var(--secondary-text-colour);
    font-size: 0.8rem;
    font-weight: 400;
    background: #000000;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-rad);
}

.tool .link-description {
    color: var(--secondary-text-colour);
    font-weight: 300;
    font-size: 0.9rem;
}

.back-btn {
    color: var(--secondary-text-colour);
    font-size: 0.8rem;
    font-weight: 400;
    background: #000000;
    padding: 0.25rem 0;
    border-radius: var(--border-rad);
    width: 80px;
    text-align: center;
}

.project-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0.5rem 0;
    width: 100%;
}

.project {
    display: flex;
    align-items: center;
    border-left: solid 2px rgba(160, 81, 233, 0.336);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    width: 100%;
    background: rgba(60, 45, 75, 0.1);
    box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.5);
}

.project .link-title {
    color: var(--secondary-text-colour);
    font-size: 0.8rem;
    font-weight: 400;
    background: #000000;
    padding: 0.25rem 0;
    border-radius: var(--border-rad);
    width: 80px;
    text-align: center;
}

.project .link-description {
    color: var(--secondary-text-colour);
    font-size: 0.9rem;
    font-weight: 300;
}

.art-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    justify-items: center;
    max-width: 100%;
    margin: 0.25rem 0;
    max-height: 600px;
    overflow-y: auto;
}

.art {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: -3px 3px 4px rgba(0, 0, 0, 0.5);
    padding: 0.25rem;
    width: 200px;
    max-width: 250px;
    align-items: center;
    margin-bottom: 0.5rem;
}

.art-info {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.art-title {
    color: var(--secondary-text-colour);
    font-size: 1.1rem;
    font-weight: 400;
    background: #000000;
    padding: 0.25rem 0;
    border-radius: var(--border-rad);
    text-align: center;
    margin-bottom: 0.25rem;
}

.art-description {
    color: var(--secondary-text-colour);
    font-size: 0.8rem;
    font-weight: 300;
    max-width: 200px;
}

.art-image {
    width: 190px;
    height: 190px;
    object-fit: contain;
    border-radius: var(--border-rad);
}

/* ACTION STYLING */
.page-link:hover {
    background: rgba(0, 0, 0, 0.2);
}

.page-link:active {
    background: rgba(58, 58, 58, 0.2);
}

.page-link:active .link-title {
    background: rgba(160, 81, 233, 0.2)
}

.project:hover {
    background: rgba(0, 0, 0, 0.2);
}

.project:active {
    background: rgba(58, 58, 58, 0.2);
}

.project:active .link-title {
    background: rgba(160, 81, 233, 0.2)
}

.tool:hover {
    background: rgba(0, 0, 0, 0.2);
}

.tool:active {
    background: rgba(58, 58, 58, 0.2);
}

.tool:active .link-title {
    background: rgba(160, 81, 233, 0.2)
}

/* WEBKIT STYLING */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgb(3, 3, 3);
}

::-webkit-scrollbar-thumb {
    background: rgb(27, 26, 26);
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(43, 42, 42);
}

/* MOBILE STYLING */

@media (max-width: 768px) {
    .container {
        text-align: center;
    }

    .links {
        justify-content: center;
        align-items: center;
    }

    .link {
        font-size: 0.9rem;
        font-weight: 400;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-description {
        font-size: 0.85rem;
    }

    .timeline-entry {
        text-align: left;
    }

    .page-link {
        width: fit-content;
        flex-direction: column;
        border: none;
        align-self: center;
        width: 100%;
        gap: 0.25rem;
        margin: 0.25rem 0;
        padding: 0.5rem 0;
        background: rgba(60, 45, 75, 0.2);
        box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.5);
    }

    .page-link:hover {
        background: rgba(187, 114, 255, 0.2);
    }

    .page-link .link-description {
        font-size: 0.8rem;
    }

    .page-link .link-title {
        width: 50%;
    }

    .project {
        width: fit-content;
        flex-direction: column;
        border: none;
        align-self: center;
        width: 100%;
        gap: 0.25rem;
        margin: 0.25rem 0;
        padding: 0.5rem 0;
        background: rgba(60, 45, 75, 0.2);
        box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.5);
    }

    .project:hover {
        background: rgba(187, 114, 255, 0.2);
    }

    .project .link-description {
        font-size: 0.8rem;
        width: 95%;
    }

    .project .link-title {
        width: 50%;
    }

    .back-btn {
        align-self: center;
        margin-top: 0.5rem;
        padding: 0.5rem 1rem;
        width: fit-content
    }
    
    .game {
        padding: 0.5rem;
        text-align: left;
        border: none;
        box-shadow: -3px 3px 4px rgba(0, 0, 0, 0.5);
        background: #131313;
    }

    .game-name {
        font-size: 1rem;
    }

    .tool {
        width: fit-content;
        flex-direction: column;
        border: none;
        align-self: center;
        width: 100%;
        gap: 0.25rem;
        margin: 0.5rem 0;
        padding: 0.5rem 0;
        background: rgba(60, 45, 75, 0.2);
        box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.5);
    }

    .tool:hover {
        background: rgba(187, 114, 255, 0.2);
    }

    .tool .link-description {
        font-size: 0.8rem;
    }

    .tool .link-title {
        width: 50%;
    }

    .art-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .art {
        width: 100%;
    }

    .art-title {
        width: 100%;
    }
}