*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    background:#171A21;
    color:white;
    font-family:Segoe UI,Arial,sans-serif;
}

header{
	background:#1B2838;
	padding:25px 40px;
	box-shadow:0 5px 20px rgba(0,0,0,.35);
}

header h1{
	font-size:32px;
}

main {
	flex:1;
}

.projects{
	max-width: 900px;
	margin:40px auto;
	display:grid;
	grid-template-columns: repeat(2, 1fr);
	gap:30px;
}

.card{
	background:#202D3A;
	border-radius:12px;
	overflow:hidden;
	transition:.25s;
	box-shadow:0 6px 20px rgba(0,0,0,.45);
}

.card:hover{
	transform:translateY(-6px);
	box-shadow:0 12px 30px rgba(102,192,244,.25);
}

.preview{
	position:relative;
	width:100%;
	aspect-ratio:16/9;
	overflow:hidden;
	background:rgba(255, 255, 255, 0.15);
	border-radius: 12px;
}

.preview img,
.preview video{
	position:absolute;
	padding: 5px;
	inset:0;
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius: 12px;
}

.preview img{
	transition:opacity .25s;
}

.preview video{
	opacity:0;
	transition:opacity .25s;
}

.content{
	padding:18px;
}

.content h2{
	margin-bottom:10px;
}

.content p{
	color:#bfc8d0;
	line-height:1.5;
	margin-bottom:18px;
}

.tags{
	display:flex;
	gap:8px;
	flex-wrap:wrap;
	margin-bottom:20px;
}

.tag{
	background:#2A475E;
	padding:5px 10px;
	border-radius:20px;
	font-size:12px;
}

.play{
	display:inline-block;
	padding:12px 24px;
	border-radius:6px;
	background:#66C0F4;
	color:black;
	text-decoration:none;
	font-weight:bold;
	transition:.2s;
}

.play:hover{
	background:#88d2ff;
}

.brand {
    display:flex;
    align-items:center;
    gap:15px;
}

.brand img {
    width:48px;
    height:48px;
    object-fit:contain;
}

.brand h1 {
    font-size:32px;
    font-weight:600;
}

footer {
    margin-top:auto;
    padding:25px;
    background:#1B2838;
    text-align:center;
    color:#A0A8B0;
    font-size:14px;
}

footer a {
    color:#66C0F4;
    text-decoration:none;
    font-weight:bold;
    transition:.2s;
}

footer a:hover {
    color:#8FD3FF;
}

/* Fenêtre principale style Client Steam */
#steam-window {
	display: flex;
	flex-direction: column;
	background: #171a21;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 
		0 30px 60px rgba(0, 0, 0, 0.7),
		0 0 0 1px rgba(0, 0, 0, 0.9);
	overflow: hidden;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Barre de titre type Steam */
.steam-titlebar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 38px;
	padding: 0 14px;
	background: #1b1f2b;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	user-select: none;
}

.steam-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 500;
	color: #c6d4df;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.steam-logo-dot {
	width: 6px;
	height: 6px;
	background: #66c0f4;
	border-radius: 50%;
	box-shadow: 0 0 8px #66c0f4;
}

.steam-window-controls {
	display: flex;
	gap: 8px;
}

.control-btn {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 800px)
{
    .projects
    {
        grid-template-columns: 1fr;
    }
}
