@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    font-family: barlow;

    padding: 0;
    margin: 0;

    box-sizing: border-box;
    scroll-behavior: smooth;

    --primary-bg-color: rgb(25, 25, 25);
    --primary-gray: rgb(80, 80, 80);

    --main-border-color: rgb(75, 200, 200);

    --main-font-color: rgb(255, 250, 250);
    --text-hover-color: rgb(75, 200, 200);

    background-color: transparent;
    color: var(--main-font-color);

    -ms-overflow-style: none;
    scrollbar-width: none;
    
    text-align: justify;
}

body {
    background-color: var(--primary-bg-color);
    color: var(--text-color);
    position: relative;
}

/* Header */

header{
    z-index: 1000;

    width: 100vw;

    padding: 1vh;

    background-color: var(--primary-bg-color);

    border-bottom: 0.1vh solid var(--main-border-color);

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#header_left{
    display: flex;
    flex-direction: row;
    align-items: center;

    font-weight: 900;
}

#tt_name{
    font-size: 3vh;

    margin-left: 1vh;
}

#header_right{
    display: flex;
    flex-direction: row;
    align-items: center;
    
    position: relative;
}

#header_right:has(:hover) > *:not(:hover) {
    border-left: 0.1vh solid transparent;
    border-right: 0.1vh solid transparent;
}

.header_option{
    font-size: 1.5vh;
    text-decoration: none;
    text-align: center;

    background-color: var(--primary-bg-color);

    padding: 0.5vh 2vh 0.5vh 2vh;
    margin-right: -0.1vh;
    
    border-left: 0.1vh solid var(--primary-gray);
    border-right: 0.1vh solid var(--primary-gray);

    transition: all 0.25s;

    flex: 1;
    
    width: 8vw;
    
    z-index: 1;
}

@media (max-width: 1200px){
    .header_option{
        width: 10vh;
    }
}

.header_option:hover{
    color: var(--text-hover-color);
    
    padding: 0.75vh 2vh 0.75vh 2vh;
    border-color: var(--text-hover-color);
    
    z-index: 10;
}

/* Hero Section */

.hero{
    width: 100%;

    display: flex;
}

.left-hero{
    height: 90vh;

    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 1vh;

    padding-left: 10vw;
}

.left-hero > h1 {
    font-size: 10vh;
}

.low-info{
    margin-top: 2vh;

    display: flex;

    gap: 1vw;
}

#steam-link{
    padding: 1vh;
    
    border: 0.1vh solid var(--primary-gray);
    border-radius: 1vh;

    transition: all 0.25s;

    cursor: pointer;
}

#steam-link > img {
    border-radius: 0.5vh;
}

#steam-link:hover{
    color: var(--text-hover-color);

    border: 0.1vh solid var(--main-font-color);
}

#game-rating{
    font-size: 3vh;
    padding: 1.5vh;

    background-color: var(--main-font-color);

    color: var(--primary-gray);

    border: 0.1vh solid var(--primary-gray);
    border-radius: 1vh;

    transition: all 0.25s;

    display: flex;
    justify-content: center;
    align-items: center;
}

.right-hero{
    height: 90vh;

    flex: 1;

    display: flex;
    justify-content: end;
    align-items: center;

    padding-right: 10vw;

    gap: 1vh;
}

.right-hero > img {
    height: 50vh;

    border-radius: 3vh;
}

@media (max-width: 1200px) {
    .hero{
        flex-direction: column-reverse;

        margin-top: 10vh;
    }

    .left-hero{
        margin-top: 3vh;

        align-items: center;

        padding: 0vw;
    }

    .left-hero > h1{
        padding: 0;
        margin: 0;

        text-align: center;
    }

    .left-hero > h2{
        margin-top: 2vh;
        font-size: 2vh;

        text-align: center;
        
        padding: 3vw;
    }

    .right-hero {
        justify-content: center;
        padding: 0;
    }
}

/* Newest Games & Newest Music */

.newest_game{
    height: 90vh;
    width: 100%;
    
    display: flex;
    
    background-image: url(https://shared.fastly.steamstatic.com/store_item_assets/steam/apps/2369390/ss_195eb286dad05d3b9e56f22eafacce7efe9c9ebf.1920x1080.jpg?t=1790173132);
    background-size: cover;
    
    cursor: pointer;
    
    mask-image: linear-gradient(to bottom, transparent, var(--primary-bg-color) 15%, var(--primary-bg-color) 85%, transparent);
}

.newest_game #game-rating{
    border: 0.1vh solid white;
    
    color: transparent;
    background-clip: text;
}

.newest_game h2 {
    width: 80%;
}

.newest_music{
    height: 90vh;
    width: 100%;

    padding: 0;
    
    display: flex;
    flex-direction: row-reverse;

    gap: 0;

    cursor: pointer;
}

.newest_music > .left-hero{
    align-items: end;
    padding: 0;
    margin-left: 0;
    margin-right: 10vw;
    flex: 1;
}

.newest_music > .right-hero{
    display: flex;
    justify-content: start;

    padding: 0;
    margin-left: 10vw;
    margin-right: 0;
    flex: 1;
}

.newest_music img{
    width: 80%;
    height: auto;
    display: block;
}

.newest_music #music-rating{
    border: 0.1vh solid white;
    
    color: transparent;
    background-clip: text;
}

.newest_music h2 {
    width: 80%;

    text-align: end;
}

#project_hero{
    background-image: url(https://timtoelzer.de/web_icons/IMG_3505.JPG) !important;
    background-size: cover;
    background-position: center;
}

@media (max-width: 1000px) {
    .newest_game{
        flex-direction: column-reverse;

        margin-top: 10vh;
    }

    .newest_music{
        flex-direction: column-reverse;

        margin-top: 10vh;
    }

    .newest_music > .right-hero{
        width: 100%;
    }

    .newest_music > .left-hero{
        width: 100%;

        align-items: center;
    }

    .newest_music > .left-hero > h2{
        text-align: center;
    }
}

/* Slider */

.subtitles{
    font-size: 3vh;

    margin-left: 10vw;
    margin-bottom: 3vh;
}

#first-subtitle{
    margin-top: 10vh;
}

.slider{
    margin: 0 auto;
    margin-bottom: 10vh;
    width: 80%;

    display: flex;

    overflow-x: auto;

    mask-image: linear-gradient(
        to right,
        transparent,
        var(--primary-bg-color)10%,
        var(--primary-bg-color) 90%,
        transparent
    );
}

.slide-content{
    display: flex;
    align-items: center;
    justify-content: center;
    
    gap: 1vw;

    animation: spin 60s infinite linear;

    padding-right: 1vw;
}

.slider:hover > .slide-content{
    animation-play-state: paused;
}

.slide-card{
    width: 20vw;
    padding: 1vh;
    background: var(--primary-gray);

    border-radius: 1vh;

    text-align: center;
    align-content: center;

    display: flex;
    flex-direction: column;

    gap: 1vh;

    height: 100%;
}

@keyframes spin {
    from {translate: 0;}
    to {translate: -100%;}
}

.slide-card-top > h1 {
    border-radius: 0.5vh;
    padding: 1vh;

    background-color: var(--primary-bg-color);
}

#slide-card-topic{
    flex-grow: 1;
}

.slide-card-top {
    display: flex;
    gap: 1vh;
    justify-content: space-between;
    
    border-radius: 0.5vh;

    background-color: transparent;
}

.slide-card-border-2{
    height: 0.1vw;
    background-color: var(--primary-bg-color);
}

.slide-card > h2 {
    padding: 1vh;

    border-radius: 0.5vh;

    font-size: 1.5vh;
    font-weight: 400;

    height: 100%;

    background-color: var(--primary-bg-color);
}

@media (max-width: 1200px) {
    .slider{
        margin-top: 5vh;

        flex-direction: column;
        align-items: center;

        mask-image: none;
    }

    .slide-content{
        flex-direction: column;
        gap: 3vh;

        animation: none;

        padding: 0;
    }

    #slide-content-copy{
        display: none;
    }

    .slide-card{
        width: 80vw;
    }
}

@media (max-width: 1800px) {
    .slide-card-top{
        flex-direction: column;

        gap: 0;
    }

    #slide-card-topic{
        border-radius: 0.5vh 0.5vh 0 0;

        padding-bottom: 0.5vh;
    }

    h1:not(#slide-card-topic) {
        border-radius: 0 0 0.5vh 0.5vh;
        
        padding-top: 0.5vh;
    }
}

@media (max-width: 1200px){
    .slide-card-top{
        flex-direction: row;

        gap: 1vh;
    }

    #slide-card-topic{
        border-radius: 0.5vh;

        padding-bottom: 0.5vh;
    }

    h1:not(#slide-card-topic) {
        border-radius: 0.5vh;
        
        padding-top: 0.5vh;
    }
}

/* Game DLCs */

.game-dlcs{
    margin: 0 auto;
    margin-bottom: 10vh;
    
    width: 80%;
    min-height: 10vh;

    border-radius: 1vh;

    background-color: var(--primary-gray);

    display: flex;
    justify-content: center;
    align-items: stretch;

    padding: 1vh;

    gap: 1vh;
}

.dlc-card{
    background-color: var(--primary-bg-color);

    border-radius: 0.5vh;

    padding: 1vh;

    flex: 1;
}

.dlc-card > a > img {
    margin-top: 1vh;
    
    width: 100%;

    border-radius: 0.5vh;
}

.dlc-card > p {
    margin-top: 1vh;

    font-size: 1.5vh;
}

@media (max-width: 1200px) {
    .game-dlcs{
        flex-direction: column;
    }
}

/* Stats */

.data{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1vh;
}

.progress-container{
    width: 80%;

    background-color: var(--primary-gray);

    padding: 1vh;
    border-radius: 1vh;
}

.full-bar{
    background-color: var(--primary-bg-color);

    border-radius: 0.5vh;
}

.progress-bar{
    width: 0%;

    padding: 1vh;
    margin-top: 1vh;

    border-radius: 0.5vh;

    transition: all ease 5s;

    font-size: 1.5vh;
}

#progress-bar{
    background-color: var(--main-border-color);
}

#progress-bar2{
    background-color: var(--main-border-color);
}

.progress-container > p{
    margin-top: 0.5vh;
}

/* Music Review */

p:not(#tt_name){
    text-align: end !important; /* Maybe not important actually */

    font-size: 1.5vh;
    font-weight: 400;
}

.songlist > p{
    text-align: start;
}

/* Footer */

footer{
    margin-top: 10vh;
    
    width: 100%;

    height: 20vh;

    background-color: var(--primary-bg-color);
    border-top: 0.1vh solid var(--main-border-color);
    
    display: flex;

    justify-content: center;
}

.footer-wrapper{
    display: flex;
    gap: 3vh;
    
    height: fit-content;
    width: 80%;

    padding-top: 1vh;
}

.footer-child{
    height: 100%;
    width: 50%;

    gap: 1vh;

    flex: 1;

    display: flex;
    flex-direction: column;
}

.footer-title{
    font-size: 2vh;

    padding: 1vh;
    
    border-bottom: 0.1vh solid var(--primary-gray);

    transition: all 0.25s;
}

.footer-child:hover > .footer-title{
    border-bottom: 0.1vh solid var(--main-border-color);
}

.footer-option{
    font-size: 1.5vh;
    
    margin-left: 1vh;
    
    text-decoration: none;
    
    transition: all 0.25s;
    
    position: relative;
}

.footer-option:hover{
    margin-left: 2vh;
}

.footer-option::before{
    content: "↬";
    color: var(--primary-bg-color);
    
    transition: 0.25s;
    
    position: relative;
    left: -0.5vh;
}

.footer-option:hover::before{
    content: "↬";
    color: var(--main-font-color);
}

@media (max-width: 1200px) {
    .footer-wrapper{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-child{
        width: 100%;
    }

    .footer-option{
        width: 100%;
    }
}