* {
    box-sizing: border-box;
}

html,
body {
    font-family: Arial, sans-serif;
    background-color: #191919;
    color: #D4D4D4;
    margin: 2em auto;
    max-width: 900px;
    line-height: 1.4;
}

a,
a.visited {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    color: #646464;
}



.board {
    justify-content: center; 
	overflow: auto;
  	white-space: nowrap;
}



.column {
   background-color: #1e1e1e;
   border-radius: 8px;
    padding: 1%;
	display: inline-grid;
}

.column h2 {
    margin-top: 0;
}

.card {
    background-color: #282828;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.card h3 {
    margin-top: 0;
    font-size: 14px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.tag {
    background-color: #3a3a3a;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 12px;
}

/* Custom tag colors */
.life-skills { background-color: #166c1f; }
.fun { background-color: #e673b8; }
.project { background-color: #795548; }
.work { background-color: #9c27b0; }
.code { background-color: #03a9f4; }
['3d'] { background-color: #9e9e9e; }
.programming-language { background-color: #673ab7; }
.pcb { background-color: #146736; }
.finance{ background-color: #9f9ce0;}


.page-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 0.75em;
}


.page-cover-image {
	display: block;
	object-fit: cover;
	width: 100%;
	max-height: 30vh;
}

.page-header-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.page-header-icon-with-cover {
	margin-top: -0.72em;
	margin-left: 0.07em;
}

.page-header-icon img {
	border-radius: 3px;
}



.icon {
	display: inline-block;
	max-width: 1.2em;
	max-height: 1.2em;
	text-decoration: none;
	vertical-align: text-bottom;
	margin-right: 0.5em;
}

img.icon {
	border-radius: 3px;
}

.user-icon {
	width: 1.5em;
	height: 1.5em;
	border-radius: 100%;
	margin-right: 0.5rem;
}

.user-icon-inner {
	font-size: 0.8em;
}

.text-icon {
	border: 1px solid #000;
	text-align: center;
}

.page-cover-image {
	display: block;
	object-fit: cover;
	width: 100%;
	max-height: 30vh;
}

.page-header-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.page-header-icon-with-cover {
	margin-top: -0.72em;
	margin-left: 0.07em;
}

.page-header-icon img {
	border-radius: 3px;
}

.link-to-page {
	margin: 1em 0;
	padding: 0;
	border: none;
	font-weight: 500;
}


@media (max-width: 1000px) {
	/* Styles communs pour les écrans de 1000px ou moins */
	div,.page-title{
		text-align: center;
	}

}

/* Styles pour le bouton Go Back */
button {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 50%, #2a2a2a 100%);
    color: #D4D4D4;
    border: 2px solid #404040;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

button::before {
    content: '←';
    font-size: 18px;
    transition: transform 0.3s ease;
}

button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 212, 212, 0.1), transparent);
    transition: left 0.6s ease;
}

button:hover::after {
    left: 100%;
}

button:hover {
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3a3a3a 100%);
    border-color: #606060;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

button:hover::before {
    transform: translateX(-3px);
}

button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;
}

button:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(212, 212, 212, 0.2);
}