*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root {
    --bg: #0b1220;
    --overlay: red;
    --current: #ffffff;
    --accent: grey;
}
html, body {
    background-color: var(--bg);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14pt;
    
}
p, div, ul li, a, h1, h2{
    color: var(--current);
}
h1 {
    font-size: 25pt;
    font-weight: 800;
}
h2 {
    font-size: 16px;
    font-weight: 400;
}
.header
{
    height: 100px;
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
    background-color: var(--bg);
    box-shadow: 0px 1px 10px var(--bg);
}
.nom{
    font-weight: 800;
    color: var(--accent);
}
/* MENU */
.container
{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 1200px;
}
.nav {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;

}
.return
{
    width: 40px;
}
#logo a
{
    text-decoration: none;
}
.menu {
    display: flex;
}
ul, li {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
    margin-right: 20px;
}
.menu li{
    padding: 5px 0 5px 0;
}
.menu a {
    text-decoration: none;
    color: var(--accent);
    transition: all .5s ease-out;
}
.menu a:hover {
    text-decoration: none;
    color: var(--current);
}
.menu a.selected
{
    text-decoration: none;
    color: var(--current);
}

/* MAIN */
.main {
    margin-top: 120px;
    opacity: 0;
    animation: fadeUp 0.6s forwards;
}
.vignettes_container
{
    display: flex;
    flex-flow: row wrap;

}
/* VIGNETTE */
.vignette_container
{
    margin-bottom: 1.2rem;
    float: left;
}
.vignette_container a
{
    text-decoration: none;

}
.vignette_container h3,
.vignette_container p
{
    margin: 0;
    padding: 0;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    box-sizing: border-box;
    font-size: 16px;
}
.vignette {
    width: 100%;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    box-sizing: border-box;

}
.vignette_container a .vignette{
    opacity: 1;
    transition: all .5s ease-out;
}
.vignette_container a:hover .vignette{
    opacity: 0.5;
}

.section-content{
    margin-top: 50px;
    display: flex;
}
.section-content img
{
    border-radius: 50%;
    width: 400px;
}
.section-content .col_1,
.section-content .col_2
{
   position: relative;
  /* flex: 3 0 50%; */
  padding: 10px;
}
.section-content p
{
    font-size: 16px;
    line-height: 1.6;
}
.bouton
{
    margin-top: 25px;
    text-align: right;
}
#CV
{
    padding: 10px 14px;
    color: var(--current);
    background-color: var(--bg);
    border: 2px solid var(--current);
    text-decoration: var(--current);
    transition: all .3s ease;
    border-radius: 20px;
    text-decoration: none;
}
#CV:hover, .bouton input:hover{
    color: var(--current);
    background-color: var(--current);
    color: black;
    border: 2px solid var(--current);
    transition: all .5s ease;
    cursor: pointer;
}
.contact form{
    display: flex;
  flex-flow: column;
}
input, textarea
{
    border: 1px solid var(--current);
  background-color: var(--bg);
  color: var(--current);
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
}

.bouton input{
    /* padding: 10px 14px; */
    width: 150px;
  color: var(--current);
  background-color: var(--bg);
  border: 2px solid var(--current);
  text-decoration: var(--current);
  transition: all .3s ease;
  border-radius: 20px;
}
.img_projet_container li
{
    margin-bottom: 20px;
}
.img_projet
{
    max-width: 100%;
}
.menu-toggle {
  display: none;
}
.bar
{
    display: flex;
    width: 25px;
    height: 1px;
    background-color: var(--current);
    margin: 6px 0;  
    transition: all 0.5s ease;
}
@media all and (min-width: 1024px) {
   
    .vignette_container
    {
        width: 33%;
    }
}
@media all and (min-width: 760px) and (max-width: 1024px) {
    .vignette_container
    {
        width: 50%;
    }
}
@media all and (min-width: 760px)
{
    .menu a.selected::after
    {
        content: "";
        width: 0;
        height: 2px;
        background: var(--current);
        position: relative;
        display: inline-block;
        transform: translateY(-12px);
        left: 50%;
        animation: active 0.6s forwards;
    }
}
@media all and (max-width: 760px) {
    .header{
        height: 50px;
    }
    .main
    {
        margin-top: 200px;
    }
    .nav
    {
        top: 17%;
        transform: translateY(0%);
        flex-wrap: wrap;
        background-color: var(--bg);
    }
    .menu 
    {
        display: none;
        flex-basis: 100%;
    }
    .vignette_container
    {
        width: 100%;
    }
    .section-content
    {
        flex-flow: row wrap;
    }
    .menu-toggle 
    {
        display: block;
        flex-direction: column;
        cursor: pointer;
    }
    #menu-toggle.pressed span:first-child {
        transform: translateY(7px) rotate(45deg);
        width: 25px;
    }
    .menu::after{
        content: "";
        display: block;
        border-bottom: 1px solid var(--accent);
        margin-top: 10px;
    }
    #menu-toggle.pressed span {
        width: 0;
    }
    #menu-toggle.pressed span:last-child {
        transform: translateY(-7px) rotate(-45deg);
        width: 25px;
    }
}
@keyframes fadeUp {
  to {
    opacity: 1;
  }
}
@keyframes active {
  
    to {
        width: 100%;
        left: 0;
  }
}