#columns {
    display: flex;
    flex-direction: row;
}
#columns div {
    width: 50%;
}
#profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}
#profile a {
    font-weight: 500;
    color: inherit;
    text-decoration: inherit;
}
#profile img {
    border-radius: 2em;
    box-shadow: 1em 0.5em 0.25em 0.125em lightgray;
    margin: 1em;
    max-height: 60lvh;
    width: auto;
}
#summary {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.tags {
    display: flex;
    list-style-type: none;
    flex-wrap: wrap;
}
.tags li {
    --gradient-percent: 90%; 
    margin:0.3em;
    background-color:lightgray;
    border-radius: 2em;
    padding: 0.6em;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 10lvw;
    width: max-content;
    opacity: var(--gradient-percent);
    scale: calc(var(--gradient-percent));
}
.tags li img {
    height: 100%;
    width: auto;
    max-height: 10lvh;
}
#summary .experience {
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    flex-direction: row;
}
#summary .experience h6 {
    font-style: italic;
}
#summary .experience .company {
    display: flex;
    flex-direction: row;
}
#summary .experience img{
    width: auto;
    height: 100%;
    max-width: 10lvw;
    vertical-align: middle;
    margin:0.6em;
}
.js-plotly-plot {
    max-height: 33vh;
}

#icons {
    display: flex;
    list-style-type: none;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    padding-left: 8em;
    padding-right: 8em;
    gap: 1em;
}
.radial {
    position: relative;
}
.radial-background {
    position: absolute;
    top:0;
    left:0;
    z-index: 1;
    width: 5em;
    height: 5em;
    background-color: rgba(255,255,255,0.5) !important;
}
.radial:hover .main-button {
    z-index: 4;
}
.radial:hover .radial-button {
    z-index: 4;
}
.radial:hover > .radial-background {
    scale: 4;
    z-index: 4;
}
.radial:hover > .radial-button-1 {
    transition: all 500ms ease-in-out;
    offset-distance: 77.5%;
}
.radial:hover > .radial-button-2 {
    transition: all 500ms ease-in-out;
    offset-distance: 62.5%;
}
.radial:hover > .radial-button-3 {
    transition: all 500ms ease-in-out;
    offset-distance: 47.5%;
}
.radial:hover > .radial-button-4 {
    transition: all 500ms ease-in-out;
    offset-distance: 32.5%;
}
.radial:hover > .radial-button-5 {
    transition: all 500ms ease-in-out;
    offset-distance: 17.5%;
}
.radial div {
    background-color: lightgray;
    display: flex;
    padding: 1em;
    border-radius: 100%;
    width: 3em;
    height: 3em;
    cursor: pointer;
}

.radial-button {
    z-index:2;
    position: absolute;
    top:-11.25em;
    left:-8.35em;
    offset-distance: 100%;
    offset-rotate: 0deg;
    offset-path: path("m 73.065181,301.06063 c 24.593797,29.76828 61.169979,47.03383 99.783479,47.10208 C 244.4971,348.16357 302.58018,290.08145 302.58051,218.433 302.58022,146.78456 244.49712,88.702393 172.84866,88.703253 101.20102,88.703564 43.119225,146.78538 43.118926,218.433 42.526569,347.44555 172.8355,251.192 173.07261,219.55986");
}

.radial-button img {
    object-fit: contain;
}
.main-button {
    position: relative;
    z-index: 3;
}

.main-button img {
    object-fit: contain;
}

.tooltip {
    
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 10em;
    background-color: rgba(9,9,121,1);
    color: #fff;
    text-align: center;
    border-radius: 0.5em;
    padding: 0.3em 0;
    position: absolute;
    z-index: 6;
    bottom: 125%;
    left: 50%;
    margin-left: -5em;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -0.3em;
    border-width: 0.3em;
    border-style: solid;
    border-color: rgba(9,9,121,1) transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

#certificates {
display: block;
margin: 2em 4em;
}

#certificates li {
margin-left: 2em;
list-style-type: "#";
}

#certificates li::marker {
color: rgba(9,9,121,1);
}

#recommandations {
    display: flex;
    flex-direction: column;
    margin: 2em 4em;
}

#recommandations .content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 60%;
    height: 60lvh;
    margin-top:2em;
    margin-bottom: 2em;
    background-color: white;
    border-radius: 1.5em;
    border: 0.2em solid darkgray;
    box-shadow: 0.5em 0.5em 1em 0.5em lightgray;
    position: relative;
}

.card .header {
    height: 6em;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 0.2em solid darkgray;
}

.card .header p {
    font-size: 2em;
    font-weight: 600;
}

.card .header  img{
    height: 5em;
    width: 5em;
    border-radius: 100%;
    margin: 1em;
}

.card .header h6 {
    font-size: initial;
    font-style: italic;
    font-weight: initial;
}

.card .content {
    height: 65%;
    width: auto;
    overflow: hidden;
    position: relative;
    margin: 0.6em;
}

.card .content .text {
    height: 100%;
}

#fade_out {
    box-shadow: inset 0 -9em 9em 0 white;
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#link_to_full {
    position: absolute;
    left:0;
    bottom: 0;
    width: 100%;
    margin-bottom: 1em;
    color: rgba(9,9,121,1);
    background-color: white;
    align-items: center;
    justify-content: center;
    display: flex;
}

.card .footer {
    position: absolute;
    left: 0;
    bottom: 2em;
    width: 100%;
    height: 1em;
    text-align: center;
}

.card .footer a {
    background-color: rgba(0,212,255,1);
    padding:0.3em 1.5em;
    border-radius: 0.6em;
    color: white;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.links img {
    height: 3em;
    width: 3em;
    margin: 0.6em;
}

#plan {
    margin: 2em 4em;
}

#soft_skills {
    margin: 2em 4em;
}

@media only screen and (orientation: portrait) {
    #columns {
      flex-direction: column;
      position: relative;
      justify-content: center;
      align-items: center;
    }

    #columns div {
        width: fit-content;
        margin: 1em;
    }

    .tags {
        display: block;
        list-style-type: disc;
        width: 100%;
        margin-right: calc(10lvw + 1em);
    }
    .tags li {
        --gradient-percent: 90%; 
        background-color: inherit;
        padding: 0;
        margin: 0;
        display: block;
        width: var(--gradient-percent);
        max-width: none;
        background-image: linear-gradient(90deg, transparent 30%, rgba(0,212,255,0.5) 100%, transparent 100%);
        border-radius: 2em;
        scale: 1;
        opacity: 1;
    }

    .card {
        width: 100%;
    }

    .card .header p {
        font-size: 120%;
    }

    .card .header h6 {
        font-size: 90%;
    }

    html {
        background-image: linear-gradient(-45deg, rgba(9,9,121,1) 0%, rgba(255,255,255,1) 15%, rgba(255,255,255,1) 92.5%, rgba(0,212,255,1) 100%);
        background-size: cover;
    }
  }

  @media only screen and (max-width:440px) {
    html, body {
        font-size: 12px;
    }

    .radial-button {
        top:-15.825em;
        left:-11.9em;
    }

    #icons {
        padding-left: 9em;
        padding-right: 9em;
    }
    /*
    #recommandations .content .card .header h6 {
        display: none;
    }*/
  }