:root {
    --background-color: #060606;
    --text-color: #fff;
    --box-shadow: rgba(255, 255, 255, 0.1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Container principal */
.container {
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* Sections et structure */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Accueil */
.accueil {
    min-height: 100vh;
    position: relative;
    z-index: 15; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.accueil-content {
    position: relative;
    z-index: 15;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 0;
}

.block {
    position: relative;
    z-index: 20;
    text-align: center;
}

.accueil .accueil-content .block {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 20px;
    border-left: 5px solid var(--text-color);
    margin-top: 20px;
}

.accueil .accueil-content .block h6,
.accueil .accueil-content .block h1,
.accueil .accueil-content .block h3 {
    margin: 10px 0;
}

/* Sidebar Réseaux Sociaux */
.social-media-sidebar {
    position: fixed;
    top: 56%;
    right: 10px;
    background-color: var(--background-color);
    border: 2px solid var(--text-color);
    border-bottom: none;
    border-left: 2px solid var(--text-color);
    transform: translateY(-56%);
    z-index: 30;
}

.social-media-item {
    width: 50px;
}

.social-media-link {
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 12px;
    border-bottom: 2px solid var(--text-color);
    text-align: center;
}

.social-media-link img {
    display: inline-block;
}

.social-media-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-media-link i {
    font-size: 20px;
    color: var(--text-color);
    display: flex;
    justify-content: center;
}

.social-media-link:hover i {
    color: rgba(228, 137, 1);
}

/* Titres Section */
.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}

.section-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
}

.section-title h1::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 32%;
    height: 2px;
    background-color: #febd01;
    width: 100%;
}

.text-upper {
    text-transform: uppercase;
}

/* A propos de moi */
.about-me {
    padding: 50px 0;
    background-color: var(--background-color);
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.about-content {
    width: 100%;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.img img {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

.text {
    text-align: center;
}

.text h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.text h6 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.text h6 span {
    color: #febd01;
}

.text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-link {
    margin-top: 20px;
}

.social-link a {
    display: inline-block;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 14px;
    position: relative; 
    z-index: 2;
    width: 100%;
}

/* --- STYLE PC dès 840px --- */
@media (min-width: 840px) {
    .container {
        max-width: 840px;
    }

    .accueil .accueil-content {
        margin-top: -100px;
        text-align: center;
    }

    .accueil .accueil-content .block {
        flex: 0 0 75%;
        max-width: 75%;
        padding-left: 35px;
        margin-top: 50px;
    }

    .accueil .accueil-content .block h1 {
        font-size: 55px;
    }

    .accueil .accueil-content .block h3 {
        font-size: 25px;
        font-style: italic;
    }

    .section-title h1 {
        font-size: 35px;
    }

    .align-item-center {
        width: 65%;
        flex-direction: row;
        align-items: flex-start;
        gap: 50px;
    }

    .img {
        flex: 0 0 40%;
    }

    .text {
        flex: 0 0 60%;
        text-align: left;
    }
}