body {
    background-color: #222834;
    margin: 0;
    padding: 0;
    font-family: Poppins,sans-serif;
    align-items: center;
}

.svg-head {
    fill: white;
}

aside {
    position: relative;
    margin-left: 10%;
    margin-top: 60px;
    float: left;
}

.nav {
    background: rgb(17,24,39);
    background: linear-gradient(90deg, rgba(17,24,39,1) 37%, rgba(37,50,76,1) 100%);
    border-radius: 0.3rem;
    height: 352px;
    width: 70px;
    overflow: hidden;
}

.nav > button {
    width: 70px;
    height: 70px;
    padding: 0px;
    background-color: #111827;
    border: none;
    color: white;
    margin-bottom: 1px;
}

.nav > button > svg, p {
    transition: 0.3s ease;
}

.svg {
    margin-top:15px;
    fill: white;
}

.title-nav{
    font-size: 10px;
    font-weight: 500;
    margin-top: 5px;
}

.nav > button:hover svg {
    fill: rgb(174, 0, 0);
    cursor: pointer;
}

.nav > button:hover p {
    color: rgb(174, 0, 0);
    cursor: pointer;
}

button:hover { 
    cursor: pointer;
}

.button-first {
    border-radius: 5px 5px 0px 0px;
}

.tech-collab {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bottom-menu {
    background: rgb(17,24,39);
    background: linear-gradient(90deg, rgba(17,24,39,1) 37%, rgba(37,50,76,1) 100%);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    border-radius: 7px;
    height: 142px;
    width: 70px;
    margin-top: 105px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.bottom-menu:hover {
    cursor: pointer;
}

.bottom-menu-split {
    background-color: #111827;
}

.bottom-menu-split:hover > .title-language {
    color: red;
}

#contact {
    background-color: rgba(0,0,0,0);
    border: none;
    margin-top: 5px;
}

#contact:hover > .title-language {
    color: rgb(174, 0, 0);
}

#contact:hover > .img-contact > g{
    fill: rgb(174, 0, 0);
}

.img-language {
    border-radius: 3px;
    margin-top: 10px;
    margin-left: 15px;
}

.img-contact {
    border-radius: 3px;
    margin-top: 10px;
    margin-left: 10px;
}

.title-language {
    color: white;
    font-size: 10px;
    font-weight: 500;
    margin-left: 10px;
    margin-top: 5px;
    transition: 0.3s ease;
}

.main-container {
    background: rgb(17,24,39);
    background: linear-gradient(270deg, rgba(17,24,39,1) 23%, rgba(55,70,98,1) 100%);
    border-radius: 7px 0px 0px 7px;
    height: 600px;
    width: 650px;
    margin-top: 60px;
    margin-left: 15px;
    float: left;
    overflow: hidden;
    overflow-y: scroll;
}

.about-para {
    color: #717880;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5rem;
    background-color: #111827;
    width: 550px;
    padding: 25px 35px;
    padding-bottom: 5px;
    margin-top: 1px;
    margin-bottom: 0px;
}

.title-container {
    display:flex;
    background-color: #111827;
    margin-bottom: 1px;
}

.title-fp {
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 23px 0px;
    margin: 0px;
    margin-left: 7px;
    letter-spacing: 1px;
    position: relative;
}

.title-fp::first-letter {
    color: rgb(255, 135, 135);
}

.service-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px 1px;
    
}

.title-card {
    font-size: 20px;
    color: white;
    position: relative;
    bottom: 5px;
}

.title-card-3 {
    font-size: 20px;
    color: white;
    margin: 0;
    margin-bottom: 20px;
    height: 55px;
}

.title-card-2 {
    bottom: 15px;
    margin-bottom: 0px;
}

.card {
    height: 300px;
    background-color: #111827;
    border-bottom: solid 1px #293244;
    border-right: solid 1px #293244;
    color: #90969d;
    font-size: 15px;
    font-weight: 500;
    padding: 35px;
    line-height: normal;
    display: none;
    transition: 0.3s ease;
}

.card-image {
    width: 250px;
    height: 140px;
    border-radius: 5px;
}

.card-skills {
    height: 300px;
    background-color: #111827;
    color: #90969d;
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    padding: 35px;
}

.card-skills > img {
    width: 50px;
    float: left;
    margin-right: 20px;
}

.profil {
    background-color: #111827;
    border-radius: 7px;
    height: 640px;
    width: 460px;
    margin-top: 40px;
    float: left;
    text-align: center;
    box-shadow: 0px 0px 30px 5px rgba(0,0,0,0.2);
    overflow: hidden;
}

.svg-icon {
    height: 20px;
    width: 20px;
    margin-right: 5px;
    margin-left: 5px;
}

.profil-picture {
    border-radius: 50%;
    height: 140px;
    width: 140px;
    border: 5px solid #111827;
    margin-top: 220px;
    position: relative;
    z-index: 3;
}

.picture-shadow {
    height: 150px;
    width: 150px;
    margin-left: 170px;
    border-radius: 50%;
    position: absolute;
    top: 250px;
    z-index: 2;
    background: rgb(2,0,36);
    background: linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(150,0,0,1) 100%);
}

.title-profil {
    color: white;
    font-size: 2.5rem;
    margin-top: 15px;
}

.typing {
    color: red;
    margin-top: -25px;
    height: 30px;
    font-size: 18px;
}

.buble {
    border-radius: 50%;
    background: rgb(2,0,36);
    background: linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(150,0,0,0.8   ) 100%);
    height: 30px;
    width: 30px;
    position: relative;
    left: 27px;
    top: 18px;
    z-index: 5;
}

.bright {
    color: rgb(203, 203, 203);
    font-size: 17px;
    line-height: 35px;
}

.bright-2 {
    color: rgb(187, 0, 0);
}

#project-div,
#contact-div,
#passion-div,
#stats-div,
#cv-div {
    display: none;
}

#close-project {
    position: absolute;
    top: 20px;
    right: 20px;
    text-decoration: underline;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border: none;
    font-size: 15px;
    transition:  0.3s ease;
}

#close-project:hover {
    color: #b1b1b1;
}

#project-liked {
    position: relative;
    width: 240px;
    height: 25px;
    background-color: #d10e7f;
    border-radius: 50px;
    transition: 0.3s ease;
    float: left;
}

.most-liked-p2 {
    position: relative;
    bottom: 12px;
}

.display-projects {
    display: grid;
    background-color: #111827;
    height: 741px;
    grid-template-columns: 1fr 1fr;
}

.button-project {
    background-color: rgba(0,0,0,0);
    border: none;
    text-decoration: none;
    color: white;
    font-size: 15px;
    margin-right: 10px;
    transition: 0.3s ease;
}

.button-project:hover {
    color: rgb(174, 0, 0);
}

.input-project {
    border-radius: 150px;
    border: none;
    height: 35px;
    padding-left: 20px;
    margin-top: 15px;
}

.fbutton-project {
    margin-left: 110px;
}

.input-project:focus {
    outline: none;
}

.active {
    color: rgb(205, 0, 0);
    fill: rgb(205, 0, 0);
}

.display-projects > .card:hover {
    cursor: pointer;
} 

.card:hover {
    background-color: #242f47;
    opacity: 80%;
}

.show {
    display: block;
}

.personnal-ranking {
    position: relative;
    margin-left: 90px;
    margin-top: 20px;
}

.most-liked {
    position: relative;
    bottom: 120px;
    left: 15px;
    width: 25px;
    height: 25px;
    background-color: #d10e7f;
    border-radius: 50px;
    transition: 0.3s ease;
    float: left;
}

.most-liked-p {
    float: left;
    position: relative;
    bottom: 10px;
    display: none;
    opacity: 0%;
    color: white;
    transition: 0.3s ease;
}

.most-liked:hover {
    width: 210px;
}

.heart-liked {
    width: 15px;
    height: 15px;
    margin-top: 6px;
    margin-left: 5px;
    margin-right: 5px;
    float: left;
}

.display-stats {
    position: relative;
    margin: 0;
    width: 1000px;
    height: 120px;
    background-color: #111827;
    color: rgb(163, 163, 163);
    overflow: hidden;
    padding: 20px 0px;
}

.more-stats {
    width: 100%;
    background-color: #111827;
    padding: 30px 0px;
}

.title-git-graph {
    color: white;
    font-size: 20px;
    font-weight: 500;
    margin-left: 25px;
}

.more-stats > img {
    width: 600px;
    filter: brightness(0.9);
    margin-left: 15px;
}

.stats-wrapper {
    display: flex;
    width: max-content;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.display-stats > .stats-wrapper > .stats {
    background-color: #1e283e;
    border-radius: 10px;
    width: 160px;
    height: 100px;
    padding: 5px 15px;
    margin-left: 35px;
}

.title-stats {
    color: white;
    font-size: 20px;
}

.para-stats {
    position: relative;
    top: 15px;
}

.waiting {
    opacity: 100%;
    display: block;
    height: 100%;
    width: 100%;
    background-color: #111827;
    position: absolute;
    z-index: 100;
    transition: 0.4s ease;
    overflow: hidden;
}

.waiting-div {
    position: relative;
    top: 50%;
    left: 37%;
    transform: translateX(-50%);
    transform: translateY(-50%);
}

.title-profil-2 {
    color: white;
    font-size: 2.5rem;
    margin-top: 5px;
    margin-right: 25px;
    float: left;
}

.title-profil-3 {
    color: rgb(148, 148, 148);
    font-size: 1.5rem;
    position: relative;
    top: 60px;
    left: -240px;
}

.spinner {
    border: 4px solid rgb(204, 197, 197);
    border-top: 4px solid #a71010;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    position: relative;
    top: 5px;
    animation: spin 2s linear infinite;
    float: left;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    background: rgb(17,24,39);
    background: linear-gradient(270deg, rgba(17,24,39,1) 23%, rgba(55,70,98,1) 100%);
    height: 90px;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
}

.footer > a,
.footer > button {
    margin-top: 1px;
    background-color: #111827;
    border: none;
    color: rgb(201, 201, 201);
    display: flex;
    text-align: center;
    padding-top: 25px;
    padding-left: 50px;
    font-size: 12px;
    font-weight: 800;
    font-family: Poppins,sans-serif;
    text-decoration: none;
}

.addon-info {
    padding-left: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 30px 30px;
    background-color: #111827;
    height: 120px;
}

.addon-info > .bright {
    font-size: 15px;
    position: relative;
    color: rgb(152, 152, 152);
}

.bright-in {
    color: rgb(236, 236, 236);
}

.links {
    float: left;
    background-color: #1e283e;
    color: white;
    width: 100%;
    margin-top: 25px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
}

.links-logo {
    border: solid 1px rgb(103, 103, 103);
    width: 40px;
    height: 40px;
    border-radius: 5px;
    padding: 5px;
    margin:15px;
}

.links-container {
    background-color: #111827;
    padding: 20px;
    padding-top: 0px;
    height: 340px;
    line-height: 15px;
}

.links:hover {
    cursor: pointer;
}

.links-para {
    color: #90969d;
    font-size: 15px;
    position: relative;
    bottom: 5px;
}

.links-title {
    margin-top: 22px;
    color: white;
    font-size: 20px;
    position: relative;
    top: 3px;
}

.links-p {
    position: relative;
    bottom: 3px;
}

.links-open {
    position: relative;
    margin-left: 75px;
    margin-top: 10px;
    width: 20px;
    height: 20px;
    border: none;
    opacity: 0%;
    transition: 0.3s ease;
}

.links:hover > .links-open {
    opacity: 100%;
}

.links:hover > .links-title {
    color: red;
}

.graph-div {
    background-color: #111827;
    width: 280px;
    height: 280px;
    padding-left: 35px;
    padding-top: 15px;
    padding-bottom: 35px;
}

.graph-container {
    display: flex;
    color: #fcd600;
    color: #9f079f;
    color: #5f0000;
    color: #0074e1;
    color: #9e0a0a;
    color: #ba6060;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    display: none;
    background-color: rgba(0,0,0,0.5);
}

.display-a-project {
    position: absolute;
    top: 0px;
    left: 25%;
    width: 800px;
    height: 100%;
    background-color: #272e3b;
    display: block;
    z-index: 20;
    overflow: hidden;
    overflow-y: scroll;
    color: rgb(216, 216, 216);
}

#project-image {
    width: 800px;
}

#project-details {
    padding: 50px;
}

#project-title {
    font-size: 35px;
}

.technos-div {
    color: #ffffff;
    font-size: 20px;
    line-height: 25px;
}

#project-collab,
#project-techno {
    padding-left: 15px;
}

.li-tech-collab {
    font-size: 15px;
    list-style: disc;
    color: #90969d;
}

.tech-collab-title {
    font-size: 20px;
    font-weight: 700;
}

#project-description {
    border-left: solid 5px #aaaaaa;
    padding: 25px;
    background-color: #374155;
}

.para-rank {
    float: left;
    color: #90969d;
}

.cv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    width: 100%;
    margin-top: 1px;
    color: white;
}

.cv-small {
    background-color: #111827;
    padding: 30px;
}

.svg-form-exp {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 2px rgb(121, 0, 0);
}

.card-form-exp {
    border-bottom: solid 1px #2a303c;
    padding: 10px 0px;
}

.card-form-exp > .date-red {
    font-size: 13px;
    border: solid 1.2px rgb(198, 0, 0);
    color: rgb(198, 0, 0);
    padding: 3px;
    padding-left: 6px;
    width: 150px;
}

.card-form-exp > .date-gray {
    font-size: 13px;
    border: solid 1.2px rgb(121, 121, 121);
    color: rgb(121, 121, 121);
    padding: 3px;
    padding-left: 6px;
    width: 150px;
}

.title-form {
    padding: 15px 30px;
    display: flex;
    gap: 20px;
    background-color: #111827;
}

.title-form > h1 {
    font-size: 20px;
    position: relative;
    top: 5px;
    font-weight: 500;
}

.title-card-form-exp {
    font-size: 25px;
    font-weight: 500;
}

.para-card-form-exp {
    color: rgb(164, 164, 164);
}

.contact-container {
    background-color: #111827;
    width: 100%;
    height: 530px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

form > textarea {
    width: 250px;
    height: 250px;
    max-width: 250px;
    max-height: 250px;
    min-width: 250px;
    min-height: 50px;
}

form > input {
    width: 250px;
    height: 25px;
    border: none;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: solid 2px white;
    color: white;
    transition: 0.3s ease-in-out;
}

form > input:focus,
form > textarea {
    outline: none;
}

.submit-mail {
    border-radius: 50px;
    background-color: #820a0a;
    color: white;
    border: none;
    width: 260px;
    height: 40px;
    transition: 0.3s ease;
}

.submit-mail:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.para-mail {
    color: #717880;
}

.aside-mail {
    padding: 35px;
}

.form-container {
    padding: 35px;
}

.passion-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 530px;
    background-color: #111827;
    color: white;
}

@media only screen and (max-width: 1350px) {
    main {
        position: absolute;
        right: 30px;
    }
    aside {
        margin-left: 0px;
    }
}

@media only screen and (max-width: 1250px) {
    main {
        transform: scale(0.8);
        position: absolute;
        right: -70px;
        width: 1200px;
    }
    aside {
        margin-left: 0px;
    }
}

@media only screen and (max-width: 1050px) {
    main {
        background-color: #0074e1;
        display: block;
        width: 100%;
        position: relative;
        left: 0;
    }
    aside {
        display:none;
    }
    .picture-shadow {
        display: none;
    }
    .profil-picture {
        margin-top: 150px;
    }
    .profil {
        width: 100%;
        height: 560px;
        position: absolute;
        top: 0px;
    }
    .main-container {
        position: absolute;
        width: 100%;
        top: 550px;
        right: 0px;
        border-radius: 7px;
    }
    #about-div,
    #cv-div,
    #project-div,
    #stats-div,
    #passion-div,
    #contact-div {
        display: block;
    }
    .button-project,
    .input-project {
        display: none;
    }
    .about-para {
        width: 90%;
    }
    .card-skills {
        height: auto;
    }
    .graph-div {
        width: 42%;
        height: 42%;
    }
    .more-stats {
        width: 100%;
    }
    .more-stats > img {
        width: 400px;
    }
    .card {
        width: 93%;
        padding: 15px;
    }
    .card-image {
        width: 170px;
        height: 80px;
    }
    .most-liked {
        position: relative;
        top: -142px;
        left: -10px;
        pointer-events: none;
    }
}
