:root {
    --bg: #2b2e2e;
    --bg-secondary: rgba(71, 45, 137, 0.484);
    --bg-tertiary: #534e5ee4;
    --text: #e5e0f0;
    --text-muted: #b8aed1;
    --accent: #726f78;
    --accent-light: #e5e2f0;
}

html {
    scroll-behavior:smooth;
}

body {
    width: 100%;
    height: 100%;
    background-color: var(--bg);

    padding: 0%;
    margin: 0%;
    display: flex;
    z-index: 0;

    flex-direction: column;
    padding-bottom: 2vh;
}

.btn_home_bg {
    background-color: var(--bg-secondary);
    width: 70px;
    height: 70px;
    border-radius: 30px;
    position: fixed;
    right: 20px ;
    bottom: 20px ;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_home {
    padding: 0%;
    width: 30px;
    height: 30px;
}

.footer {
    background-color: var(--bg-tertiary);
    color: var(--text);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 5vh;
}

.btn_home:hover,.btn_home_bg:hover,.img_aprps:hover{
    transform: scale(1.05);}

h1 {
    background-color: var(--bg-tertiary);
    width: 60vh;
    height: auto;
    border-radius: 20px;

    color: var(--text);
    display: flex;
    justify-content: center;
    font-size: 10vh
}

.top-rectangle {
    margin: 5vh auto;
    
}

.projets {
    width: 80%;
    margin: 5vh auto;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.projet-card {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.projet-card:hover {
    transform: scale(1.03);
}

.projet-img {
    width: 40vh;
    height: 40vh;
    scale: 0,5;
    object-fit: cover;
    margin: 5vh auto 1vh;
}

.projet-info {
    background-color: var(--bg-tertiary);
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.projet-info h3 {
    color: var(--text);
    font-size: 18px;
    margin: 0;
}

.projet-date {
    color: var(--text-muted);
    font-size: 12px;
    opacity: 0.6;
}

.projet-info p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}