body{
    font-family: 'Inter', 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
    color: #24292e;
    background-color: #0D1117;
    margin: 0;
    padding-bottom: 4rem;

    min-height: 100vh;
    height: 100%;

    display: flex;
    flex-direction: column;
}

main {
    animation: fadeIn 1s ease-in;
}

span{
    color: white;
}

h1,h2,h3,h4{
    color:white;
}

.avatar{
    display: block;
    border-radius: 50%;
    margin-left: auto;
}

.AvatarContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar2{
    display: block;
    border-radius: 50%;
}

.TitleAndAvatarContainer{
    position: absolute;
    left: 0px;
    margin-left: 20%;
    display:flex;
    align-items: center;
    justify-content: center;
    gap:0.5rem;
}

.PublicIndicator{
    color: #9198a1;
    border: 1px solid rgb(60, 60, 60);
    border-radius: 15px;
    font-size: small;
    padding: 0.2rem;
}

.RepoButtons{
    position: absolute;
    margin-top: 20px;
    right: 0px;
    margin-right: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.RepoButtons2{
    position: absolute;
    margin-top: 80px;
    left: 0px;
    margin-left: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.RepoButtons2Right{
    position: absolute;
    margin-top: 80px;
    right: 0px;
    margin-right: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.RepoButtons2Right button,
.RepoButtons2 button,
.RepoButtons button{
    background-color: #212830;
}

.RepoButtons2Right button:hover,
.RepoButtons2 button:hover,
.RepoButtons button:hover{
    background-color: #2f3944;
}

#RepoCodeButton{
    background-color: #238636;
}

#RepoCodeButton:hover{
    background-color: #30b94b;
    border-color: #96ffab;
}

.separator1 {
    position:absolute;
    width: 60%;
    height: 1px;
    background-color: rgb(60, 60, 60);
    /*margin: 20px auto;*/
    margin-top:70px;
    margin-left: 20%;
    margin-right: 20%;
}

.RepoContainer{
    display: flex;
    flex-wrap: wrap;
}

.AboutSection{
    position: absolute;
    display: flex;
    margin-top: 65px;
    margin-left: 66%;
    flex-direction: column;
    gap:0.8rem;
}

.AboutSection span{
    color: #8b919a;
}

.separator2 {
    position:absolute;
    width: 100%;
    height: 1px;
    background-color: rgb(60, 60, 60);
    /*margin: 20px auto;*/
    margin-top:275px;
    margin-left: 0%;
    margin-right: 0%;
}

.separator3 {
    position:absolute;
    width: 100%;
    height: 1px;
    background-color: rgb(60, 60, 60);
    /*margin: 20px auto;*/
    margin-top:380px;
    margin-left: 0%;
    margin-right: 0%;
}

.separator4 {
    position:absolute;
    width: 100%;
    height: 1px;
    background-color: rgb(60, 60, 60);
    /*margin: 20px auto;*/
    margin-top:500px;
    margin-left: 0%;
    margin-right: 0%;
}

.separator5 {
    position:absolute;
    width: 100%;
    height: 1px;
    background-color: rgb(60, 60, 60);
    /*margin: 20px auto;*/
    margin-top:600px;
    margin-left: 0%;
    margin-right: 0%;
}

.FileListContainer {
    position: absolute;
    top: 250px;
    left: 20%;
    width: 40%;
    background-color: #161b22;
    border: 1px solid rgb(60, 60, 60);
    border-radius: 6px;
    padding: 1rem;
}

.FileListTitle {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.FileList {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.FileItem {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid rgb(60, 60, 60);
}

.FileItem:last-child {
    border-bottom: none;
}

.FileIcon {
    margin-right: 0.5rem;
    color: #8b919a;
}

.FileItem a {
    color: #58a6ff;
    text-decoration: none;
    font-weight: 500;
}

.FileItem a:hover {
    text-decoration: underline;
}

.ReadmeContainer {
    position: absolute;
    top: 500px; /* Ajuste cette valeur en fonction de la hauteur de la liste des fichiers */
    left: 20%;
    width: 40%;
    background-color: #161b22;
    border: 1px solid rgb(60, 60, 60);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.ReadmeTitle {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.ReadmeContent {
    font-size: 14px;
    color: #c9d1d9;
    line-height: 1.5;
}

.ReadmeContent p {
    margin-bottom: 1rem;
}

.ButtonGroup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.MainHeader {
    padding: 10px !important;
    background-color: black;
    flex-wrap: wrap;
    border-bottom: 1px solid rgb(60, 60, 60);
    animation: slideInFromTop 1s ease-out;
    
}

.RepoInfos{
    margin-left: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1em;
    animation: slideIn 1s ease-out;
}

.RepoInfosEnd {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 10px;
    animation: slideInFromRight 1s ease-out;
}

.RepoInfosEnd img{
    align-self: flex-end;
}

.SearchBar {
    display: flex;
    align-items: center;
}

.SearchInput {
    width: 12rem;
    padding: 5px 10px;
    font-size: 14px;
    color:#ffffff;
    background-color: #000000;
    border: 1px solid rgb(60, 60, 60);
    border-radius: 4px;
    outline: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

nav{
    display: flex;
    margin-top: 1.5rem;
    margin-left: 0.5rem;
    align-items: center;
    justify-content:flex-start;
    gap: 1rem;
    animation: slideIn 1s ease-out;
}

nav button{
    color:white;
    background-color: black;
    border: 0px;
}

.LessVisibleButton:hover,
nav button:hover{
    background-color: rgb(60, 60, 60);
}

.CodeButton{
    border: 1px solid #f78166;
}

button {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background-color: #000000;
    border: 1px solid rgb(60, 60, 60);
    border-radius: 6px;
    padding: 6px 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

input:hover,
button:hover {
    background-color: rgb(60, 60, 60);
    border-color: #c6cbd1;
    transform: scale(1.1);
}

input:active,
button:active {
    background-color: rgb(30, 30, 30);
    border-color: #afb8c1;
}

.LessVisibleButton button{
    background-color: #0D1117;
}

.Footer {
    width: 100%;
    background-color: #000000;
    border-top: 1px solid rgb(60, 60, 60);
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    animation: slideInFromBottom 1s ease-out;
}

.FooterContent {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    color: #8b949e;
    font-size: 14px;
}

.FooterLink {
    color: rgb(60, 60, 60);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.FooterLink:hover {
    color: #8b949e;
    text-decoration: underline;
}

.FooterText {
    color: #8b949e;
    font-size: 14px;
}

@media screen and (max-width: 1470px) {
    .RepoButtons2Right .SearchInput{
        width: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .TitleAndAvatarContainer {
        margin-left: 10%;
    }

    .RepoButtons {
        margin-right: 10%;
    }

    .AboutSection {
        margin-left: 76%;
    }

    .FileListContainer, .ReadmeContainer {
        left: 10%;
        width: 50%;
    }
}

@media screen and (max-width: 992px) {
    body{
        padding-bottom: 300px;
    }
    
    .TitleAndAvatarContainer {
        margin-left: 5%;
    }

    .RepoButtons2Right .SearchInput{
        width: 12rem;
    }

    .RepoButtons {
        margin-right: 5%;
    }

    .RepoButtons2 {
        margin-left: 5%;
    }

    .RepoButtons2Right {
        margin-right: 5%;
    }

    .AboutSection {
        position: relative;
        margin-left: 0;
        width: 90%;
        margin: 700px auto 0;
    }

    .FileListContainer, .ReadmeContainer {
        left: 5%;
        width: 80%;
    }

    .separator1, .separator2, .separator3, .separator4, .separator5 {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media screen and (max-width: 768px) {
    .TitleAndAvatarContainer {
        position: relative;
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .RepoButtons2Right .SearchInput{
        width: 12rem;
    }
    
    body{
        padding-bottom: 800px;
    }

    .RepoInfosEnd{
        margin-top:50px;
    }

    .RepoButtons {
        position: relative;
        margin: 20px auto;
        width: 100%;
        justify-content: center;
    }

    .RepoButtons2, .RepoButtons2Right {
        position: relative;
        margin: 10px auto;
        width: 100%;
        justify-content: center;
    }

    .SearchInput {
        width: 100%;
    }

    .FileListContainer{
        position: absolute;
        width: 85%;
        margin-top:800px;
    }

    .ReadmeContainer {
        position: absolute;
        width: 85%;
        margin-top: 850px;
    }

    nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem;
    }

    .RepoInfos, .RepoInfosEnd {
        justify-content: center;
        padding: 10px;
    }

    .AboutSection {
        position: relative;
        margin-left: 0;
        width: 90%;
        margin: 50px auto 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
