/* --------------------------------------- */
/* ----- Basic Setup ----- */
/* --------------------------------------- */

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/Jost-Regular.ttf') format('woff');
}

@font-face {
    font-family: 'Nemesys';
    font-style: normal;
    font-weight: 800;
    src: url('./fonts/Nemesys Regular.ttf') format('woff');
}

@font-face {
    font-family: 'Mechanoid';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/Mechanoid.ttf') format('woff');
}

@font-face {
    font-family: 'Cyberion';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/Cyberion-Demo.otf') format('woff');
}

@font-face {
    font-family: 'Sqeron';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/Sqeron Regular.ttf') format('woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    color: var(--black);
    text-align: justify;
    line-height: 25px;
}

:root {
    --font-size-small: 1.8rem;
    --font-size-normal: 2.2rem;
    --font-size-medium: 2.8rem;
    --font-size-medium-1: 3.6rem;
    --font-size-large: 5rem;
    --font-size-huge: 7rem;
    --font-stack: 'Jost', sans-serif;

    --line-height-normal: 1.7;
    --line-height-small: 1.2;

    --black: #22252e;
    --orange: #f5630d;
    --white: #f1ece3;
    --transparent: rgba(0, 0, 0, 0);

    --container-max-width: 1180px;
    --container-normal-width: 800px;
    --container-medium-width: 700px; 
    --container-small-width: 500px;

    --gutter-huge: 12rem;
    --gutter-medium: 6rem;
    --gutter-normal: 3rem;
    --gutter-small-1: 2.5rem;
    --gutter-small: 2rem;
    
    --border1: 3px solid var(--black);
}

/* Scrollbar style */
::-webkit-scrollbar {width: 20px}
::-webkit-scrollbar-track {background: var(--black)}
::-webkit-scrollbar-thumb {background: var(--white)}
::-webkit-scrollbar-thumb:hover {background: var(--orange)}


html {
    font-size: 62.5%; /* (16/10)*100 = 62.5% => 1rem = 10px */
}

body {
    font-size: clamp(12px, 3vw, 18px);
    font-family: var(--font-stack);
    font-weight: 400;
    line-height: 0.1;
    background: var(--black);
}

.row {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.structure {
    max-width: 985px;
    margin: auto;
}

.content {
    background: var(--white);
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

section {
    padding: var(--gutter-huge) 0;
}

img {
    object-fit: contain;
    max-width: 100%;
}

/* --------------------------------------- */
/* ----- Headlines and Paragraphs ----- */
/* --------------------------------------- */

h1 {
    color: var(--white);
    font-family: 'Nemesys', sans-serif;
    line-height: 100px;
}

h2 {
    font-family: 'Mechanoid', sans-serif;
    font-size: clamp(2rem, 3vw, 5rem);
    color: var(--white);
    text-align: right;
    line-height: 60px;
}

h3 {
    font-family: 'Mechanoid', sans-serif;
    font-size: var(--font-size-medium-1);
    color: var(--white);
    background: var(--black);
    text-align: center;
    line-height: 50px;
}
@media only screen and (max-width:700px) {
    h3{
        font-size: 5vw;
    }
}
h4 {
    text-align: center;
    font-family: 'Sqeron', sans-serif;
    font-size: clamp(2.5rem, 3vw, 5rem);
    color: var(--black);
}

/* --------------------------------------- */
/* ----- Buttons and Links ----- */
/* --------------------------------------- */

a {
    color: var(--white);
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    transition: all .2s;
    outline: 2px solid transparent;
}

::-moz-focus-inner {
    border: 0;
}

button:focus,
a:focus {
    outline: 2px solid var(--orange);
}


.link:hover {
    color: var(--orange);
}

.btn {
    position: relative;
    display: inline-block;
    padding: 1rem 4.2rem;
    text-decoration: none;
    color: inherit;
    border: var(--border1);
    font-weight: 400;
    cursor: pointer;
}

.btn:focus {
    outline: none;
}

.btn::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 100%;
    background: var(--black);
    height: 100%;
    transition: all 0.2s cubic-bezier(1, 0.68, 0.16, 0.9);
}

.btn:hover::after,
.btn:focus::after {
    right: 0;
    background: var(--orange);
}

.btn_Full{
    position: relative;
    display: block;
    padding: 0.5rem 2rem;
    text-decoration: none;
    font-family: 'Sqeron', sans-serif;
    transition: all 0.4s;
    cursor: pointer;
    background: var(--orange);
}

.btn_Full:hover,
.btn_Full:focus {
    background: var(--black);
    color: var(--orange);
}

.link__text {
    position: relative;
    display: inline-block;
    padding: .6rem;
    color: inherit;
    text-decoration: none;
    border-bottom: var(--border1);
}

.link__text::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 100%;
    background: var(--white);
    height: 100%;
    transition: all 0.2s cubic-bezier(1, 0.68, 0.16, 0.9);
}

.link__text:focus {
    outline: none;
}

.link__text:hover::after,
.link__text:focus:after {
    right: 0;
    background: var(--orange);
}

.link__text span {
    padding-left: 1rem;
    font-family: sans-serif;
}

/* --------------------------------------- */
/* ----- Navigation ----- */
/* --------------------------------------- */

.nav {
    position: fixed;
    background: var(--white);
    height: 100%;

    margin-left: -50px;
}

.nav__items {
    list-style: none;
    padding-top: 0;
    align-content: flex-start;
}

.nav__item{
    writing-mode: vertical-rl;
    color: var(--black);
}

.nav__link {
    position: relative;
    display: inline-block;
    padding: 1rem 0;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    display: inline-block;
    height: 1rem;
    background: var(--orange);
    transition: all 0.25s cubic-bezier(1, 0.68, 0.16, 0.9);
}

.nav__link:hover {
    color: var(--orange);
}

.nav__link:hover::after {
    right: 0;
    height: 2px;
    background: var(--orange);
}

.social-image {
    margin-top: 4px;
    width: 32px;
}

/* --------------------------------------- */
/* ----- Header ----- */
/* --------------------------------------- */

.header {
    background-color: var(--black);
}

.heading-primary {
    display: block;
    font-size: 10.5em;
    color: var(--white);
    line-height: 80%;
    padding-top: 30px;
}
@media only screen and (max-width:985px) {
    .heading-primary {
        font-size: 19VW;
        padding-top: 0;
    }
}

.heading-secondary{
    color: var(--orange);
}

.second-name {
    margin-top: 0;
    color: var(--white);
    line-height: 80%;
}

.second-name::after{
    content: '';
    display: block;
    height: 10px;
    background-color: var(--orange);
    margin-top: -10px;
}



/* --------------------------------------- */
/* ----- About ----- */
/* --------------------------------------- */

.about__content {
    margin: 0 0 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about__box {
    border: var(--border1);
    align-self: flex-start;
    margin: 0 20px 0 20px;
}

.about__text {
    margin: 0 5px 0 5px;
}

.ConsoleImage {
    width: 200px;
    filter: grayscale(100%);
}

.about__photo {
    min-width: 350px;
    width: 350px;
    height: 710px;
    border: var(--border1);
    object-fit: cover;
    
}
.Facts{
    width: 100%;
    margin: 50px 20px 0 20px;
}
.FactEntry{
    display: flex;
    margin: 10px 0 0 0;
}

.PlayingControllerImage{
    width: 350px;
    border: var(--border1);
}

.FactText{
    text-align: left;
    margin-left: 10px;
    margin-right: 20px;
}

@media only screen and (max-width:985px) {
    .about__content {
        margin: 0 0 0 0;
    }
    .about__box {
        margin: 0 0 0 10px;
    }
    .about__photo {
        min-width: 150px;
        height: 400px;
    }
    .ConsoleImage {
        display: none;
    }
    .Facts{
        margin: 0 0 0 0;
    }

    .PlayingControllerImage {
        width: 100%;
        height: 100%;
    }
    .FactText {
        width: 100%;
    }
}

@media only screen and (max-width:800px) {
    .FactEntry {
        display: flow;
    }
}

/* --------------------------------------- */
/* ----- Work / Projects ----- */
/* --------------------------------------- */

.ProjectStickyTop {
    position: sticky;
    top: 0;
    z-index: 1;
}

.ProjectTitle {
    background-color: var(--black);
}
.ProjectTitle::before{
    content: '';
    display: block;
    height: 10px;
    background-size: 100px;
    background-position: left;
    background-image: url("./images/Decorator1.png");
}

.ProjectTitle_Text {
    line-height: 60px;
    height: 50px;
    margin-right: 10px;
    margin-left: 20px;
}

.ProjectTags {
    list-style-type: none;
    margin: 0 0 50px 0;
    padding: 0;
    overflow: hidden;
}

.ProjectTagEntry {
    float: right;
    background-color: var(--orange);
    font-family: 'Sqeron', sans-serif;
    color: var(--black);
}

.ProjectTagBanner {
    float: right;
    height: 20px;
}

.ProjectTagBannerFlip {
    float: right;
    height: 20px;
    transform: scaleX(-1);
    margin-right: 20px;
}

.ProjectMainContent {
    display: flex;
    margin: 20px;
}

.ProjectBanner {
    min-width: 350px;
    width: 350px;
    height: 600px;
    object-fit: cover;
    border: var(--border1);
}

.ProjectSecondContent {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 20px 0 20px;
    justify-content: space-between;
}

.ProjectDescription {
    text-align: left;
}

.YoutubeBox {
    display: flex;
    border: var(--border1);
    flex-direction: column;
}

.ProjectYoutubeLink {
    height: 305px;
    border: var(--border1);
}

.PositionContent{
    margin: 20px;
}

.PositionTime {
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
 .ProjectPosition {
     padding: 5px;
 }

.game_link_btn {
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.game_link_icon {
    width: 35px;
    height: 35px;
    margin-top: -5px;
    margin-bottom: -10px;
}

.game_link {
    border: var(--border1);
}

@media only screen and (max-width:985px) {
    .ProjectTitle_Text {
        line-height: 35px;
        height: 30px;
    }
    .ProjectTags {
        margin: 0 0 0 0;
    }
    .ProjectTagBanner{
        display: none;
    }
    .ProjectTagBannerFlip{
        display: none;
    }
    .ProjectTagEntry{
        margin: 0 0 0 8px;
        padding: 0 5px 0 5px;
    }
    .ProjectMainContent {
        margin: 0;
    }
    .ProjectSecondContent {
        margin: 0;
    }
    .ProjectBanner {
        display: none;
    }
    .ProjectDescription {
        margin: 0 20px 0 20px;
    }
    .game_link_btn {
        margin-right: 5px;
    }
}

/* --------------------------------------- */
/* ----- Contact ----- */
/* --------------------------------------- */

.contact__info {
    max-width: var(--container-medium-width);
}

/* --------------------------------------- */
/* ----- Footer ----- */
/* --------------------------------------- */

.footer {
    display: flex;
    justify-content: center;
    margin: 0 100px 0 100px;
}

.CatFooter {
    width: 300px;
    height: 200px;
    align-self: flex-end;
}

@media only screen and (max-width:985px) {
    .footer {
        margin: 0 0 0 10px;
    }
}