* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0f; 
    margin: 0;
}

header * {
    font-family: 'JetBrains Mono';
}

.header {
    position: fixed;
    border-bottom: 0.005cm solid #00ffc8;
    background-color: #262630;
    width: 100%;
    padding: 20px 0 0 10px;
    z-index: 10;
}

#portfolio {
    color : #626665;
    font-size: 20px;
    z-index: 9999;
}

#portfolio span {
    color : #00ffc8;
}

nav {
    display : flex;
    justify-content: space-between;
    
}

#barre-nav {
    display: none;
    font-size: 30px;
    color: #00ffc8;
    cursor: pointer;
    margin-right: 20px;
}

.items {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    z-index: 999;
}

.aligner {
    margin-left : 15px;
    margin-right: 30px;;
    padding: 7px;  
}

.items a {
    font-size: 17px;
    color : #626665;
    text-decoration: none;
    transition: 1s;
}

a:hover {
    color: #00ffc8;
}

#contenu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    scroll-margin-top: 100px;
}

#plan {
    background-image: 
    linear-gradient(0deg, #48b39c17 1px, transparent 1px),
    linear-gradient(90deg, #48b39c17 1px, transparent 1px);
    background-size: 150px 150px;
}

#Accueil {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 10%;
    width: 100%;
}

#Accueil div {
    justify-self: left;
}

#Accueil p {
    color: #00ffc8;
    font-family: 'JetBrains Mono';
    font-weight: 100;
}

#Accueil #etudiant::before {
    content: "━━";
    color: #00ffc8;
    margin-right: 5px
} 

#Accueil h1 {
    font-family: 'Syne';
    font-size: 70px;
    font-weight: 700;
    color : #626665;
}

#Accueil h1 span {
    color : #00ffc8; 

}

#photo {
    width: 200px;
    height: 200px;
    margin-right: 0;
}

#Accueil #defiler {
    color: #626665;
    font-weight: 200;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00ffc8;
    width : 0;
    animation: taper 2s steps(40) 1s forwards,
    clignoter 0.8s step-end 2s infinite;
}

@keyframes taper {
    from {
        width: 0;
    }
    to {
        width: 500px;
    }
}

@keyframes clignoter {
    50% {
        border-color: transparent;
    }
}

#bout {
    background-color: #00ffc8;
    color: #101010;
    margin-left: 0;
}

.boutton {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #e2dede;
    margin: 20px;
    padding: 17px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Syne';
    color: #e2dede;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.boutton:hover {
    background-color : #b4aaaa31;
    border-color: #00ffc8;
}

#bout:hover {
    background-color: #f1f4f1d4;
}

.sec {
    padding-top: 25px;
    padding-bottom: 50px;
}

#Apropos {
    font-family: monospace;
}

.partie {
    color: #00ffc8;
    letter-spacing: 0.07cm;
    font-size: 15px;
    margin-bottom: 15px;
    padding-left: 153px;

}

.sec .titre {
    color: #edf1f0;
    margin-bottom: 80px;
    letter-spacing: 2px;
    font-size: 50px;
    font-weight: 600;
    padding-left: 153px;
}

.sec .titre span {
    color: #00ffc8;
}

#Apropos #description {
    font-family: 'Times New Roman';
    color: #dadae8;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 1.5px;
    font-size: 25px;
    padding-left: 153px;
    margin-right: 10%;
    text-align: justify;
    text-justify: inter-word;
}

#Apropos #description span {
    color: #00ffc8;
}

#Apropos #chercher {
    margin-top: 50px;
    padding-left: 153px;
    color: #00ffc8;
    font-size: 18px;
}

.table {
    background-color: #0e0e4265;
    border: 1px solid #00ffc8;
    margin-top : 110px;
    justify-self: center;
    width: 65%;
}

.table .colonne {
    padding: 15px;
    border: 1px solid #00ffc839;
}

#tableau {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#tableau .colonne p {
    color: #00ffc8;
    font-size: 55px;
    font-weight: 800;
    justify-self:center;
}

#tableau .colonne p span {
    color : #666672;
    font-size : 17px;
    white-space: nowrap;
    font-weight: 400;
}

#tableau .colonne:hover {
    background-color: #3a625816;
}

#tableau2 {
    font-family: monospace;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#tableau2 p {
    font-size: 11px;
    padding-bottom: 8px;
    border-bottom: 0.001cm solid #00ffc8;
    color: #00ffc8;
    letter-spacing: 2px;
    justify-self: normal;
        
}

#tableau2 .colonne {
    padding: 35px;
}

#tableau2 li::marker {
    color: #faf9f5;
}

#tableau2 li {
    padding: 20px 10px 8px 10px;
    font-size: 15px;
    color: #666672;
    border-bottom: 1px solid #30e4bd58;
}

#tableau2 li:hover{
    color: #ffff;
}

#app li {
    color: #666672;
    font-size: 20px;
    margin-top: 30px;
}

#app li::marker {
    color: #660b61;
}

#Projets * {
    font-family: monospace;
}

#Projets a {
    margin: -40px 17.5% -40px 55%;
    text-decoration: none;
    
}

#Projets button {
    background-color: #62666514;
    border: 1px solid #30e4bd58;
    color: #666672;
    font-size: 10px;
    letter-spacing: 1px;
}

#Projets a button {
    cursor: pointer;
    padding: 20px;
    width: 27%;
    transition: 0.5s;
}

#Projets #tableau3 button {
    position: relative;
    z-index: 2;
}

#Projets #tableau3 button:hover {
    color: #00ffc8;
    border-color: #00ffc8;
}

#Projets #tableau3 .ligne:hover {
    cursor: pointer;
}

#Projets #tableau3 .ligne:hover .pte:last-child {
    color: #00ffc8;
    transform: translate(4px, -4px);
    transition: 0.2s;
}

#Projets #tableau3 .colonne {
    padding: 35px 0 55px 55px;
    position: relative;
    transition: 0.2s;
}

#Projets #tableau3 .colonne:hover {
    background-color: #3636421d;
}

#Projets #tableau3 .colonne::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #00ffc8;
}

#Projets #tableau3 .colonne:hover::before {
    height: 3px;
    width: 0;
    animation: allonger 0.8s ease forwards;
}

@keyframes allonger {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

#Projets .pn {
    color: #666672;
}

#Projets .pt {
    color: #edf1f0;
    font-size: 23px;
}

#Projets .pte {
    color: #909b6a;
    font-family: 'JetBrains Mono';
    font-size: 15px;
    margin-right: 30px;
}

#Projets .pb {
    padding: 8px;
    margin-top: 15px;
}

#Projets .pbd {
    padding: 8px;
    color: #00ffc8;
}

#Projets span {
    display: flex;
    justify-content: flex-end;
    margin: -25px 20px 0 0;
}

#Contact #Cp {
    color: #666672;
    font-size: 18px;
    margin-right: 25px;
    margin-bottom: 50px;
    padding-left: 153px;
}

#Contact .Cpc {
    width: 68%;
    justify-self: center;
    padding: 25px 0 25px 25px;
    font-size: 12px;
    color: #00ffc8;
    border: 1px solid #30e4bd58;
    letter-spacing: 2px;
    transition: 0.5s;
}

#Contact .Cpc span {
    display: flex;
    justify-content: flex-end;
    margin-top: -15px;
    margin-right: 15px;
    color: #666672;
    letter-spacing: 0px;
}

#Contact .Cpc:hover {
    padding-left: 40px;
    cursor: pointer;
    border-color: #00ffc8;
}

#Contact .Cpc:hover span{
    transform: translateX(4px);
    transition: 0.5s;
    color: #ffff;
}

#terminal {
    background-color: #01020f;
    width: 70%;
    border: 1px solid #30e4bd58;
    justify-self: center;
}

#terminal #logo{
    margin-top: 30px;
    display: flex;
    margin-left: 65px;
}

#terminal #logo #rouge {
    width: 10px;
    height: 10px;
    background-color: #d54343;
    border-radius: 50%;
    margin-right: -25px;
}

#terminal #logo #jaune {
    width: 10px;
    height: 10px;
    background-color: #d8d82e;
    border-radius: 50%;
    margin-right: -25px;
}

#terminal #logo #vert {
    width: 10px;
    height: 10px;
    background-color: #31c031;
    border-radius: 50%;
}

#terminal p {
    margin: 13px 0 5px 35px;
    font-size: 14px;
    line-height: 30px;
}

#terminal .dollar {
    color: #00ffc8;
}

#terminal .commande {
    color: #ffff;
    letter-spacing: 1px;
}

#terminal .accol {
    color: #626665;
}

#terminal .caract {
    margin: 15px;
    color: #6a3da9;
}

#terminal .rep {
    color: #cb700f;
}

#terminal #vrai {
    color: #02ad0d;
}

#terminal .adresse {
    color: #626665;
}

footer {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    border-top: 1px solid #30e4bd58;
    width: 100%;
    height: 100%;
    font-size: 18px;
    background-color: #18181a;
    justify-content:space-around;
}

footer p {
    color: #cccdc8;
}

footer p span {
    color: #00ffc8;
}

@media (max-width: 1200px) {
    #Accueil {
        padding: 150px 80px;
        width: 100%;
    }

    #Accueil h1 {
        font-size: 60px;
    }

    #tableau,
    #tableau2, #tableau3 {
        width: 80%;
    }
}

@media (max-width: 963px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    #barre-nav {
        display: block;
    }

    .items {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #262630;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .items.active {
        display: flex;
    }

    .items a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    #Accueil {
        padding: 150px 50px;
        flex-direction: column;
        text-align: center;
    }

    #Accueil h1 {
        font-size: 55px;
    }

    #tableau,
    #tableau2, #tableau3 {
        grid-template-columns: 1fr 1fr;
        width: 90%;
    }

    .partie,
    .sec .titre,
    #Apropos #description {
        padding-left: 50px;
        padding-right: 50px;
    }

    #photo {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        align-items: center;
    }

    #barre-nav {
        display: block;
    }

    .items {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #262630;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .items.active {
        display: flex;
    }

    .items a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    #Accueil {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px;
    }

    #Accueil h1 {
        font-size: 40px;
    }

    #photo {
        margin-top: 30px;
        width: 150px;
        height: 150px;
    }

    .boutton {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .partie,
    .sec .titre,
    #Apropos #description,
    #Apropos #chercher,
    #Contact #Cp {
        padding-left: 20px;
        padding-right: 20px;
    }

    #tableau,
    #tableau2, #tableau3 {
        grid-template-columns: 1fr;
        width: 90%;
    }

    #tableau3 .colonne {
        padding: 20px;
    }

    #terminal {
        width: 90%;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}
