@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200;0,300;0,400;0,500;0,700;1,200&display=swap');

html {
    height: 100%;
}
body {
    background-color: #4b4b4b;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    /*-ms-overflow-style: none;  !* IE and Edge *!*/
    /*scrollbar-width: none;  !* Firefox *!*/
    font-family: 'Karla', sans-serif;
    color: white;
    height: 100%;
}

header {
    border-bottom: solid #262626 2px;
    width: 100%;
    height: 8vh;
    font-size: 3.5vh;
    background-color: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: row;
    gap: 5vh;
}

.header-item {
    flex: 1;
    text-align: center;
    height: 100%;
    padding-top: 1.7vh;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: grey;
}

a:active {
    color: #d0d0d0;
}

main, #skill {
    text-align: center;
    font-size: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1vh 2vw 2vh 2vw;
    gap: 2vh;
    height: 100%;
}



main > * {
    width: 70%;
    color: #d0d0d0;
}

h1 {
    font-weight: normal;
    text-align: center;
    color: white;
    margin: 0;
    width: 40%;
    padding: 1vh;
    border-bottom: solid grey 1px;
}

h2 {
    font-style: italic;
    text-align: center;
    font-size: 2.5vh;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 1vh;
}
span > img {
    vertical-align: middle;
    width: 2vw;
    margin-right: 1vw;
}

.scroll {
    height: 65vh;
    width: 70%;
    overflow-y: auto;
    text-align: justify;
    padding: 1vh 1vw 1vh 1vw;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    margin-top: 1vh;
}

.skills-scroll {
    width: 95%;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: justify;
    padding: 1vh 1vw 1vh 1vw;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 20vh;
    /*height: 2vh;*/
    height: 75vh;
    flex-basis: border-box;
    /*flex: 3;*/

}

.skills-scroll::-webkit-scrollbar {
    width: 0;
}

.skill {
    /*border: solid black 1px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /*border: solid black 1px;*/
    width: 100%;
    height: 20vh;
    flex-shrink: 0;
}

.skill-title {
    font-size: 4vh;
    /*border-bottom: solid grey 1px;*/
    width: fit-content;
    /*padding-bottom: 1vh;*/
    color: #9191ec;
}

.skill-click {
    background-color: transparent;
    font-weight: normal;
    text-align: center;
    color: white;
    padding: 1vh;
    margin-bottom: 1vh;

}

.skill-click:hover {
    color: #2424c4;
    cursor: pointer;
}

#text, #graph {
    height: 55vh;
}

#graph {
    align-items: center;
}

#trivia {
    height: 75vh;
}
.scroll::-webkit-scrollbar {
    display: none;
}

.body::-webkit-scrollbar {
    display: none;
}
.content {
    margin-bottom: 5vh;
}
.title {
    font-size: 3.5vh;
    font-weight: bolder;
    border-bottom: #838383 solid 2px;
    margin-bottom: 1vh;
    padding-bottom: 1vh;
}

.content-image {
    margin-top: 1vh;
    margin-bottom: 1vh;
}
.content-image > img {
    width: 70%;
}

.skill-container {
    margin-top: 1vh;
    padding: 2vh 1vw 2vh 1vw;
    background-color: rgba(131, 131, 131, 0.07);
    color: #9191ec;
    display: block;
    width: 100%;
}

.skill-image {
    display: flex;
    flex-direction: row;
    gap: 2vh;
    overflow-x: auto;
    padding-bottom: 2vh;
    scrollbar-width: thin;  /* Firefox */
    scrollbar-color: grey transparent;
    align-items: center;

    /*justify-content: center;*/
    /*justify-items: center;*/
        /*align-content: space-evenly;*/
}

::-webkit-scrollbar {
    width: 0.5vw;
    height: 1vh;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(155, 155, 155, 0.5);
    border-radius: 2vh;
    border: transparent;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #0fd301;
    border-radius: 50%;
    display: inline-block;
}

.dotv {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.skill-image-barre {
    height: 15vh;
    margin: 0 2vw 0 2vw;
    border: solid rgba(255, 255, 255, 0.22) 1px;
}

.skill-image img {
    height: 15vh;
}
.niveau {
    margin-top: 1vh;
}
.skill-image-block {
    color: white;
    gap: 0.5vh;
    display: flex;
    flex-direction: column;
    justify-items: center;
}
.content-image-haute {
    display: inline;
}
.content-image-haute > img {
    height: 30vh;
}

b {
    color: #9191ec;
    font-weight: bolder;
}
.link{
    color: #8d8dd3;
    margin-top: 2vh;
}

.link a, main a {
    color: #8d8dd3;
    text-decoration: none;
}
.link a:hover, main a:hover {
    color: #cbcbe7;
}
.link-title {
    font-size: 2.5vh;
    border-bottom: #888cb2 solid 1px;
    margin-bottom: 1vh;
    padding-bottom: 0.5vh;
}

.btn {
    display: inline;
    height: 7vh;
    width: 7vh;
    border-radius: 50%;
    background-color: grey;
}


#graph img {
    /*margin-left: 20%;*/
    /*width: 60%;*/
    /*height: 70%;*/
    width: 100%;
    overflow-x: auto;
}

.langues {
    display: flex;
    flex-direction: row;
    /*justify-content: space-between;*/
    gap: 5vw;

}
.block-langue {
    align-items: center;
    width: 5vw;
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

.niveau-langue {
    font-weight: bolder;
    text-align: center;
    /*color: #9191ec*/
}
.block-langue img {
    width: 5vw;
}

ul.comp li {
    margin-bottom: 2vh;
}