html, body {
  overflow-x: hidden;
}

nav {
    background-color: aliceblue;
    position: fixed;
    min-width: 60%;
    max-width: 60%;
    margin: 10px 20%;
    border-radius: 20px;
    z-index: 99999;
    box-shadow: 0 5px 5px black;
}
nav ul{
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0 10%;
    justify-content: space-between;
    font-size: xx-large;
    color: #000000;
}
nav ul li {
    /* margin-left: 60px; */
    list-style-type: none;
    display: flex;
    align-items: center;
}
nav ul p {
    margin: 0;
    color: #000000;
    /* font-weight: bold; */
    transform: translateY(-6%);
}
nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 50%;
}

* {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: aliceblue;
}

body {
    background: #300048;
    /* background: linear-gradient(180deg,rgba(48, 0, 72, 1) 0%, rgba(19, 47, 131, 1) 100%); */
    margin: 0;
}


#home {
    /* margin-bottom: 400px; */
    background: linear-gradient(180deg,rgba(48, 0, 72, 1) 0%, rgba(19, 47, 131, 1) 100%);
    /* min-height: 50em; */
    padding-top: 2em;
    /* padding-bottom: 16em; */
    padding-bottom: 40vh;
}
.hero {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 5%;
    margin-bottom: 0;
}
/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    pointer-events: none;
} */

.side-hero{
    display: flex;
    flex-direction: column;
}
.moi-windows {
    max-height: 32vw;
}
.contact-win98 {
    padding: 10px;
    background: #c0c0c0;
    border-top: 6px solid #808080;
    border-left: 10px solid #808080;
    border-right: 10px solid #fff;
    border-bottom: 6px solid #fff;
    color: #000000;
    font-weight: bold;
    font-family: "ＭＳ Ｐゴシック";
    text-decoration: none;
    
}
.contact-win98:hover {
    cursor: pointer;
    border-top: 7px solid #808080;
    border-left: 11px solid #808080;
    border-right: 9px solid #fff;
    border-bottom: 5px solid #fff;
}



.hello h1 {
    font-size: 10vw;
    margin-top: 0;
    line-height: 90%;
}
.hello p {
    font-size: 1.5vw;
    margin: 0;
    margin-left: 0.5vw;
    color: aqua;
}
.hello h2 {
    font-size: 2.5vw;
    color: rgb(255, 255, 255);
}




.about-section {
  background: #e8e8e8;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}
.about_separator {
    height: 8vw;
    width: 100%;
    margin: -4vw 0px -4vw 0px;
    transform: rotate(-4deg) scale(1.2, 1);
    background-color: #e8e8e8;

    box-shadow: 0px -10px 50px rgb(0, 0, 0);
}
.about_separator:nth-of-type(2) {
    /* margin-bottom: 200px; */

    box-shadow: 0px 10px 50px rgb(0, 0, 0);
}

.about {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 5%;
    align-items: center;
}

.aboutme {
    margin-left: 2em;
}
.moi-about {
    min-width: 25vw;
    max-width: 25vw;
    min-height: 25vw;
    max-height: 25vw;
}

.aboutme h2{
    color: #300048;
    font-size: 300%;
    margin-top: 0;
}
.aboutme p{
    color: #000000;
    font-size: 2vw;
    text-align: justify;
}


.Actu {
    background: linear-gradient(180deg,rgba(48, 0, 72, 1) 0%, rgba(19, 47, 131, 1) 100%);
    border-radius: 80px;
    display: flex;
    margin: 0 15vw 10em;
}
.Actu-icone{
    width: 80px;
    height: 80px;
    font-size: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.Actu-content{
    margin: auto;
    font-size: 1.5rem;
}
.Actu-content h3{
    font-size: 1rem;
}



#projets, #events{
    padding-top: 200px;
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(19, 47, 131, 1) 0%,rgba(48, 0, 72, 1) 100%);
}

#projets h2, #events h2 {
    text-align: center;
    font-size: 6em;
    margin: 0.5em 0;
}
#cursor {
    display: inline-block;
    margin-left: 4px;
    opacity: 1;
    animation: blink 2s step-start infinite;
  }

  @keyframes blink {
    50% {
      opacity: 0;
    }
  }

.bloc-projet {
    margin: 4em;
    margin-right: 0;
    margin-left: 6em;
    display: flex;
    scale: 0.9;
}

.project-title-center{
    min-height: 10em;
    max-width: 90%;
    display: table;
}
.bloc-projet h3 {
    font-size: 3em;
    max-width: min-content;
    margin: 0;
    padding-left: 0.5em;
    display: table-cell;
    vertical-align: middle;
}

#projets-container, #events-container {
    position: relative;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-content {
    display: flex;
    flex-direction: column;
}

.project-description {
    background-color: #2E2A42;
    box-shadow: 0px 10px 50px rgb(0, 0, 0);

    padding: 1em 2em;
    border-radius: 3em;
    
    max-width: 36em;
    max-width: 100%;
    min-height: 14em;
    max-height: 16em;
    z-index: 1;

    display: flex;
    flex-direction: column;
}
.project-description p {
    font-size: 1vw;
    font-weight: bold;
    text-align: justify;
    overflow: scroll;
}

.projet-skill-img {
    max-width: 40px;
    max-height: 40px;
}

.projet-skills {
    margin: 1em 0;
    display: flex;
}
.droitard .projet-skills {
    flex-direction: row-reverse;
}
.projet-skills a {
    color: rgba(0, 0, 0, 0);
    background: aliceblue;
    padding: 8px;
    border-radius: 10px;
    margin-right: 1em;
}
.droitard a.projet-skill-img  {
    margin-right: 0;
    margin-left: 1em;
}

.bloc-projet > img {
    max-width: 50%;
    min-height: 28em;
    max-height: 28em;

    border-radius: 2em;

    z-index: 0;
    object-fit: cover;
}

.gaucho .big-display{
    transform: translateX(-50px);
}
.droitard .big-display{
    transform: translateX(50px);
}
.droitard{
    transform: translateX(-50px);
}

.droitard h3 {
    text-align: end;
}

.button-link {
    background-color: aliceblue;
    color: black;
    padding: 10px;
    border-radius: 10px;
    max-width: fit-content;
    text-decoration: None;
    font-weight: bold;
    transition: background 0.2s;
}
.droitard .button-link {
    margin-left: auto;
}

.button-link:hover {
    background-color: rgb(155, 170, 200);
    cursor: pointer;
}

#display-projets, #display-events {
    display: flex;
}

/* Fil chronologique */
.timeline {
    min-height: 98%;
    width: 4px;
    background: aliceblue;
    border-radius: 2px;
    margin-left: 8vw;
}


.timeline-point {
    width: 4em;
    height: 4em;
    background: aliceblue;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.timeline-point:first-of-type {
    margin-top: 8em;
}
.timeline-point:not(:first-of-type) {
    margin-top: 30em;
}

.timeline-date {
    transform: translateX(-50%);
    font-size: 1em;
    font-weight: bold;
    color: #000000;
    min-width: 10em;
    padding: 0.5em 0;
    text-align: center;
    background-color: aliceblue;
    border-radius: 10px;
}







.skill-section {
    background: linear-gradient(180deg,rgb(128, 2, 103) 0%, rgb(72, 0, 80) 100%);
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}
.skill_separator {
    height: 8vw;
    width: 100%;
    margin: -4vw 0px -4vw 0px;
    transform: rotate(-4deg) scale(1.2, 1);
    background-color: rgb(128, 2, 103);

    box-shadow: 0px -10px 50px rgb(0, 0, 0);
}
.skill_separator:nth-of-type(4) {
    background-color: rgb(72, 0, 80);
    box-shadow: 0px 10px 50px rgb(0, 0, 0);
}

.skill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 5%;
}

.skill-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4em;
}

.skill-title h2{
    color: #ffffff;
    font-size: 6em;
    margin: 0;
}
.skill-title p{
    color: #ffffff;
    font-size: 160%;
    text-align: justify;
}

.skill-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.skill-selectors {
    max-width: 30%;
    min-width: 30%;
    display: flex;
    flex-direction: column;
}

.skill-selectors button {
    color: #000000;
    font-weight: bold;
    font-size: 1em;
    min-width: 100%;
    background-color: rgb(135, 151, 185);
    border-radius: 1em;
    border: 0;
    padding: 1em;
    margin-bottom: 2em;
}
.skill-selectors button:hover {
    background-color: rgb(76, 199, 244);
    cursor: pointer;
}
.skill-selectors .active {
    background-color: rgb(4, 39, 112);
    color: aliceblue;
}

#skill-selected { 
    background-color: rgb(76, 199, 244);
    border: 2px solid rgb(255, 255, 255);
}


.skill-display {
    display: flex;
    flex-wrap: wrap;
    gap: 4vw;
    justify-content: center;
    flex-grow: 1;
    padding: 0 6em;
}

.skill-item {
    text-align: center;
    margin: 0 auto 4vw;
    max-height: 7vw;
    max-width: 5vw;
    min-width: 7vw;
}

.skill-item-bg {
    background-color: darkslategray;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transform: translateY(-7vw);
  z-index: 0;
  position: relative;
  transition: transform 0.3s ease-in-out;
  min-width: 7vw;
  max-height: 6vw;
  min-height: 6vw;
  padding: 0;
}
.skill-item:hover .skill-item-bg {
    transform: translateY(-3vw);
}

.skill-item img {
    max-width: 5vw;
    min-height: 5vw;

    padding: 1vw;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    background-color: aliceblue;
    border-radius: 1vw;
    position: relative;
    z-index: 1;
}

.skill-item p {
    font-weight: bold;
    margin: auto 0 1vw;
    max-width: 8em;
    min-width: 5vw;
    font-size: 0.9vw;
}

#events {
    background: linear-gradient(180deg,rgba(48, 0, 72, 1) 0%, rgba(19, 47, 131, 1) 100%);
}

#events h2 {
    max-width: 50%;
}