img{
    width: 100%;
    /* opacity: 0.5; */
}

h1{
    font-size: 25px
}

h2{
    font-size: 16px
}

h3{
    font-size: 14px
}
li{
    /* color:black; */
    background-color: none;
    margin-top: 10px;
}

a:hover{
  color: #cbcbcb;          
}

.bread{
    font-size: 20px;
}

section.CV{
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
    height: 100vh;
    top: 0;
    overflow-y: auto;
    gap: 20px;
}

.arrow{
    position: sticky;
    left: 0;
    top: 50%;
    width: 0.75em;
    translate: 0 -50%;
    transition: rotate 300ms ease-in-out;
}

.close .arrow{
    rotate: 0deg;
}

.open .arrow{
    rotate: 180deg;
}

section.gauche{
    background-color: #432B2B;
}

section.droite{
    background-color: #717DDB;
}

section.projets{
    flex: 1;
    color: #FFF;
    padding: 90px 50px 20px 50px;
}

button{
    border: 0;
    background: transparent;
    color:black;
     cursor: pointer;
}
button::after {
    content:"";
    width: 400px;
    height: 400px;
    position:absolute;
    color: blue;
    transition: all .2s;

}

/* button:hover::after{
    transform-style: ;
} */

.container {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr; 
  gap: 20px;
  padding: 20px;
}


/* écrans plus petits que 768px */

@media (max-width: 768px) {

  main {
    display: block;
  }

  section.CV{
    display: flex;
    position: fixed;
    background-color: white;
    max-width: 80vw;
    transition: right 300ms ease-in-out;
    cursor: pointer;
  }

  section.CV.open{
    right: 0;
  }

  section.CV.close{
    right: calc(-80vw + 40px + 0.75em);
  }

}

/* écrans plus grands que 768px */

@media (min-width: 768px){

    .arrow{
        display: none;
    }

    main{
        display: flex;
    }

    section.CV{
        display: block;
        position: sticky;
        background-color: none;
        max-width: 25vw;
    }

}