@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');
/*
 * CSS, btw js written in index.html, since i only need a little and...I'm also working on another python proj~
 * Used Opencode to help find specific functions or write the calculations to make things look more "right"
*/
:root{
--base:#f7f8fa;
--mantle:#e6e9ef;
--text:#4c4f69;
--muave:#8839ef;
--surface0:#ccd0da;
--crust:#dce0e8;
--surface1:#bcc0cc;
--subtext0:#6c6f85;
--subtext1:#5c5f77;
--hint: 'base64';
--blue:#1e66f5;
}

*{
margin:0;
box-sizing:border-box;

}
/* https://www.youtube.com/watch?v=dQw4w9WgXcQ */
html{
scroll-behavior: smooth;
}

body{
font-family: 'Kalam', cursive, system-ui, sans-serif;
background: var(--base);
color: var(--text);
overflow: hidden;
line-height: 1.6;
}

header{
position: sticky;
top: 0;
height: 64px;
background: var(--mantle);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 24px;
border-bottom: 1px solid var(--surface0);
z-index:10;
}

header nav{
display: flex;
gap: 0.5rem;
}

.logo{
display: flex;
gap: 0.5rem;
align-items: center;
}

.logo img{
border-radius: 50%;
display: block;
}

.logo h3{
margin: 0;
color: var(--muave)
}
/* Look another comment here!*/ 
header nav a{ 
color: var(--subtext1);
text-decoration: none;
padding: 8px 14px;
border-radius: 10px;
font-weight: 400;
transition: 0.2s;
}

header nav a:hover{
background: var(--surface0);
color: var(--text);
}

header nav a.active{
background: var(--muave);
color: white;
}

.slides.track{
display: flex;
flex-direction: row;
overflow-x: auto;
overflow-y: hidden;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
height: calc(100vh - 64px);
}

/* The comments, I can do anything here */
.slides.track::-webkit-scrollbar{
height: 8px;
}

.slides.track::-webkit-scrollbar-thumb{
background: var(--surface1);
}

.slides.track::-webkit-scrollbar-track{
background: transparent;
}

.slide{
background: var(--base);
min-width: 100%;
width: 100%;
scroll-snap-align: start;
display: flex;
align-items: center;
justify-content: center;
padding: 32px 72px;
}


.slide-inner{
display: grid;
grid-template-columns: 1.1fr 0.9fr;
align-items: center;
gap: 40px;
width: 100%;
max-width: 1100px;
}

.slide img{
width: 100%;
aspect-ratio: 4/3;
object-fit: cover;
border: 1px solid var(--surface0);
border-radius: 10px;
box-shadow: 0 12px 32px rgba(124,127,153,0.12);
background: var(--surface0);
}

.slide:nth-child(2){background:var(--mantle);}
.slide:nth-child(3){background:var(--crust);}
/* weeeeeeeeeeeeeee */
/* btw I just found out I typo'd the mauve... not fixing it, bleh :P */
.arrow{
position: fixed;
top: calc(64px + 50vh - 24px);
transform: translateY(-50%);
width: 44px;
height: 44px;
border-radius: 50%;
border: 1px solid var(--surface0);
background: white;
color: var(--text);
display: grid;
place-items: center;
font-size: 20px;
cursor: pointer;
z-index: 5;
box-shadow: 0 6px 16px rgba(0,0,0,0.08);
transition: background 0.15s,transform 0.15s;
}
/*bm90IGEgZmxhZywga2VlcCBzY3JvbGxpbmc=*/
.arrow.prev{
left: 16px;
} 

.arrow.next{
right: 16px;
}
.arrow:hover{
background: var(--lavender);
color: white;
}

.card{
background: white;
border: 1px solid var(--surface0);
border-radius: 10px;
padding: 28px;
box-shadow: 0 8px 24px rgba(124,127,153,0.12);
}

.card h2{
margin: 6px 0 10px;
font-size: 2rem;
line-height: 1.1;
}

.card p{
color: var(--subtext0);
margin-bottom: 12px;
}

.eyebrow{
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--blue);
display: block;
margin-bottom: 6px;
}

.slide > .eyebrow,
.slide > h2,
.slide > ul,
.slide > .grid-tags{
max-width: 700px;
width: 100%;
}

#games, #cs, #contact{
flex-direction: column;
gap: 12px;
}

#games h2, #cs h2, #contact h2{
text-align: center;
}

#games ul{
width: 100%;
max-width: 420px;
}

/* ok */
.tags{
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}

.tags span{
background: var(--base);
border: 1px solid var(--surface0);
padding: 6px 12px;
border-radius: 10px;
font-size: 0.85rem;
}
/* SExDVEZ7SDFERDNOXzFOX0MkJH0= */
.grid-tags{ 
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
max-width: 560px;
justify-content: center;
}

.grid-tags span{
background: var(--base);
border: 1px solid var(--surface0);
padding: 6px 12px;
border-radius: 10px;
font-size: 0.85rem;
}

ul{
list-style: none;
padding: 0;
display: grid;
gap: 8px;
margin: 12px 0;
}
ul li{
background: var(--base);
border: 1px solid var(--surface0);
padding: 10px 14px;
border-radius: 10px;
}
/* Oh you found a comment here, means I'm gradually going nuts, I think I'll get back to my dear snake after this proj */
#contact li{
list-style: none;
background: var(--base);
border: 1px solid var(--surface0);
padding: 10px 14px;
border-radius: 10px;
margin: 6px 0;
width: 100%;
max-width: 420px;
}

#contact a{
color: var(--muave);
text-decoration: none;
} 

#contact a:hover{
text-decoration: underline;
}

/* Perhaps it might look a bit like AI gened site, but it's not, it's just that I used AI to suggest me bits and bits of css, and also, good luck finding the flag, it's somewhere in here*/


