/*Variables */
:root {
    /* Hover color */
    --tag-color-A1: #095B7A;
    --tag-color-A3: #C78221;

    --tag-color-A2: #f67252;
    --tag-color-A4: #75089c;
    --tag-color-A5: #028e7e;

    --tag-color-A6: #E43030;

    /* --tag-color-A2: #148A9D;
    --tag-color-A4: #0D2749;
    --tag-color-A5: #e09b1b;
    --tag-color-A6: #094165; */
    --card-color-1: #F8F9FB;
    --card-color-2: #095c7a0f;
    --card-color-3: #095B7A18;
}

@font-face {
    font-family: 'Prosa_gt_regular';
    src: url('../fonts/Prosa\ GT/ProsaGT-Regular.eot');
    src: local('../fonts/Prosa\ GT/Prosa GT'), local('../fonts/Prosa\ GT/ProsaGT-Regular'),
        url('../fonts/Prosa\ GT/ProsaGT-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Prosa\ GT/ProsaGT-Regular.woff2') format('woff2'),
        url('../fonts/Prosa\ GT/ProsaGT-Regular.woff') format('woff'),
        url('../fonts/Prosa\ GT/ProsaGT-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prosa_gt_bold';
    src: url('../fonts/Prosa\ GT/ProsaGT-Bold.eot');
    src: local('../fonts/Prosa\ GT/Prosa GT Bold'), local('ProsaGT-Bold'),
        url('../fonts/Prosa\ GT/ProsaGT-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Prosa\ GT/ProsaGT-Bold.woff2') format('woff2'),
        url('../fonts/Prosa\ GT/ProsaGT-Bold.woff') format('woff'),
        url('../fonts/Prosa\ GT/ProsaGT-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'hyperjump';
    font-weight: 180;
    font-display: swap;
    font-size: 18px;
    src: url('../fonts/Hyperjump\ Regular.otf');
}


@font-face {
    font-family: 'navbar';
    src: url('../fonts/Hyperjump\ Bold.otf');
    font-display: swap;
    font-size: 16px;
}



* {
    margin: 0;
    padding: 0;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 30px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0.2em 0;
}

hr {
    width: 90%;
}

.separator {
    width: 120%;
    margin-left: -15%;
    margin-right: -15%;
    background-color: var(--tag-color-A1);
    margin-top: 15px;
    margin-bottom: 10px;
}

p {
    font-family: 'hyperjump', sans-serif;
}

.parchment {
    display: flex;
    align-items: flex-start;
}

.invisible {
    display: none;
}

.inset {
    padding: 5px;
}

/*Images*/
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}


#profile_picture,
.flagElement {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

/* HEADER */
#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 5px;
    margin-left: 40px;
    margin-right: 40px;
}

#navbar li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    max-height: 60px;
    min-height: 30px;
    padding: 10px;
    margin: 5px;
    text-align: center;
    text-transform: uppercase;
    font-family: "navbar";
    letter-spacing: 1px;

}

.single-link {
    width: 80%;
    text-align: center;
}

#profile_picture:hover,
.tag:hover,
.flagElement:hover,
.pagination-button:hover,
#navbar li:hover {
    transition: color 0.2s ease-in-out;
    box-shadow: 0 0 5px var(--tag-color-A1);
    color: var(--tag-color-A1);
    cursor: pointer;
}

.tag:hover,
.flagElement:hover,
.pagination-button:hover,
#navbar li:hover {
    transform: scale(1.02);
}

#mainTitle {
    font-family: "Prosa_gt_bold";
    padding-left: 15px;
    font-size: 3em;
    margin: 0.3em 0;
}

.secTitle {
    padding-left: 15px;
    font-family: "Prosa_gt_bold";
}

.block {
    margin-top: 5px;
}

header .parchment {
    margin-top: 30px;
    height: 290px;
    flex-direction: row;
}

header div.inset p {
    font-size: 20px;
}

#rightHeader .inset,
#leftHeader .inset {
    word-wrap: break-word;
    word-break: normal;
}

.inset p {
    padding-left: 15px;
    padding-right: 15px;
}

#rightHeader {
    margin-right: 120px;
    width: 60%;
}

#rightHeader .inset {
    padding: 20px;
    margin-left: 40px;
}


#profile_picture {
    position: absolute;
    top: 170px;
    left: 56%;
    transform: translateX(-50%);
    /* Met l'image en avant-plan */
    z-index: 1;
    /* image ronde */
    display: block;
    width: 220px;
    height: 220px;
    overflow: hidden;
    /* for the overlay later */
    margin: 0px auto;
    text-align: center;
    margin-bottom: 10px;
    border: 5px solid #FFF;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 3px 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 3px 8px rgba(0, 0, 0, 0.3);
    /* box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 3px 8px rgba(0, 0, 0, 0.3); */
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.1), -6px -6px 10px white;
}

#leftHeader {
    width: 40%;
    position: relative;
    align-self: center;
    padding: 30px;
    padding-left: 50px;
    margin-right: 40px;
}

#leftHeader .inset {
    transform: translate(-9%, -1%);
    padding: 5%;
    margin-right: 30px;
}


/*MAIN*/
#main-container {
    margin: 15px;
}

.section {
    margin-top: 5%;
}

.divTitle {
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 15px;
}

.pageList {
    flex-wrap: wrap;
    align-items: stretch;
}

.card {
    position: relative;
    margin: 10px;
    width: 22%;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transition: transform 0.2s ease-in-out;
    transform: scale(1.02);
}

.project-card {
    background: var(--card-color-3);

}

.education-card {
    background: var(--card-color-2);
}

.xp-pro-card {
    background: var(--card-color-1);
}

/* .certification-card {} */

.expTitle {
    font-size: 1.5em;
    font-family: "Prosa_gt_regular";
    margin-bottom: 12px;
    max-width: 70%;
}

.expSubtitle {
    margin: 10px;
}

.expDetail {
    margin: 10px;

}

.tagbox {
    display: flex;
    flex-wrap: wrap;
    bottom: 29px;
}

.tag {
    word-wrap: normal;
    font-family: 'hyperjump', sans-serif;
    height: fit-content;
    width: fit-content;
    margin: 3px;
    display: flex;
    align-items: center;
    line-height: 1.1em;
    padding: 6px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2), -2px -2px 3px white, inset 1px 1px 2px rgba(0, 0, 0, 0.2), inset -1px -1px 2px white;
    border: 0.15em solid #f2f3f7;
}

.tag.location {
    display: none;
}

.section-tag {
    align-self: center;
    margin-right: 15px;
}

.redirection-a {
    color: var(--tag-color-A1) !important;
    margin: 7px !important;
    display: block;
    text-align: center;
    text-decoration: underline !important;
    margin: auto 7px 0 !important;
}

.redirection-a:hover {
    color: var(--tag-color-A3) !important;
}

.flagBox {
    position: absolute;
    top: 10px;
    right: 5px;
    z-index: 1;
    display: flex;
}

.flagElement {
    /* image ronde */
    display: block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin: 0px auto;
    margin-bottom: 10px;
    border: 3px solid #FFF;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 3px 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 3px 8px rgba(0, 0, 0, 0.3);
    /* box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 3px 8px rgba(0, 0, 0, 0.3); */
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.1), -6px -6px 10px white;
}



/***********Pagination controls ****************/
.pagination-container {
    margin-top: 7px;
    display: flex;
    justify-content: center;
}

.pagination-button {
    margin: 0 8px;
}


.selected-page-button {
    color: var(--tag-color-A1);
    box-shadow: 0 0 5px var(--tag-color-A1);
}

/************* FOOTER ***********/
#footer {
    display: flex;
    flex-direction: column;
}

#footer .secTitle {
    align-self: center;
}

#footer .paper {
    width: 90%;
    align-self: center;
}