
/*


GLOBAL


*/


body{
    background-color: #092435;
    color: #ebebec;
    margin: 0px;
}

/*


HEADER


*/


header#sidebar {
    position: fixed;
    z-index: 999;
    background-color: rgb(243, 243, 243);
    height: 100vh;
    min-width: 320px;
    text-align: left;
    padding-left: 50px;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: 0.2s;
    border-right: 3px solid #3d3d3d;
}

header#sidebar.open-sidebar {
    transform: translateX(0%);
}

header#sidebar .hamburger {
    width: 30px;
    height: 22px;
    background: linear-gradient(45deg,rgb(10, 153, 209), rgb(46, 197, 178));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    right: -80px;
    top: 25px;
    border-radius: 11px;
    padding: 12px;
}

header#sidebar .hamburger:hover {
    cursor: pointer;
}

header#sidebar .hamburger .top, 
header#sidebar .hamburger .mid, 
header#sidebar .hamburger .bot {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
}

header#sidebar.open-sidebar .hamburger .top {
    transform: rotate(45deg);
    position: relative;
    top: 10px;
    width: 30px;
}

header#sidebar.open-sidebar .hamburger .bot {
    transform: rotate(-45deg);
    position: relative;
    top: -9px;
    width: 30px;
}

header#sidebar.open-sidebar .hamburger .mid {
    opacity: 0;
}

header#sidebar h1 {
    color: #333;
    font-size: 2.2em;
    margin: 20px, 0, 50px, 0;
    display: block;
}

header#sidebar ul {
    padding: 0px;
}

header#sidebar ul li {
    margin-bottom: 10px;
    list-style-type: none;
}

header#sidebar nav{
    list-style-type: none;
}

header#sidebar ul li a,
header#sidebar p a,
header#sidebar p {
    color: #333;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
}

header#sidebar ul li a:hover,
header#sidebar p a:hover {
    border-bottom: 2px solid #1fb3bf;
}


@media screen and (max-width: 500px) {
    header#sidebar {
        min-width: 75%;
    }
}

@media screen and (max-width: 400px) {
    header#sidebar {
        padding-left: 25px;
    }
    header#sidebar .hamburger {
        right: -70px;
    }
}  









/*


PRESENTATION


*/


section#presentation .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}

section#presentation .container .moi {
    display: flex;
    justify-content: center;
}

section#presentation .container .moi h1 {
    font-weight: normal;
    font-size: 3em;
}

section#presentation .container .moi img {
    width: 110px;
    height: 110px;
    object-fit:cover;
    border-radius: 75px;
    margin-right: 20px;
}

section#presentation .container .explication p {
    font-size: 1.3em;
    line-height: 1.5em;
}

@media screen and (max-width: 1000px) {    
    section#presentation .container .moi {
        flex-direction: column;
    }

    section#presentation .container .moi h1 {
        font-size: 2em;
        margin: 10px 30px;
    }

    section#presentation .container .moi img {
        margin: 0 auto;
    }
    
    section#presentation .container .explication p {
        font-size: 1.1em;
        line-height: 1em;
    }
}


/*


EXPERIENCE


*/


p#title {
    font-size: 2em;
    text-align: center;
    padding: 20px;
}

section#experience .container .title {
    text-align: center;
}

section#experience .container .title p {
    font-size: 2em;
    padding: 0px;
}

section#experience .container .experience{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

section#experience .container .bloc {
    width: 500px;
    border-radius: 25px;
    background-color: #194a6bce;
    margin: 25px 50px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    border: none;
    outline: none;
    transition: 0.2s;
}

section#experience .container .bloc:hover {
    transform: translateX(-5px);
    transform: translateY(-7px);
    box-shadow: 10px 10px 5px #d6d6d6;
}

section#experience .container .bloc img {
    width: auto;
    height: 200px;
    margin: 10px;
    border-radius: 10px;
}

section#experience .filtre {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

section#experience select {
    -webkit-appearance: none;
    appearance: none;
    background: #5c6664;
    border: 0;
    flex: 1;
    color: white;
    cursor: pointer;
    font-size: 1em;
    padding: 5px;
}

section#experience .select {
    position: relative;
    display: flex;
    width: 20em;
    height: 3em;
    line-height: 3;
    background: #5c6664;
}

section#experience .select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 1em;
    background: #21b5bd;
    cursor: pointer;
    pointer-events: none;
    transition: .25s all ease;
}

section#experience .select:hover::after {
    color: #092435;
}


@media screen and (max-width: 1250px) {
    section#experience .container .bloc {
        width: 450px;
    }

    section#experience .container .bloc img {
        width: 250px;
        height: auto;
    }
}

@media screen and (max-width: 1000px) {
    p#title {
        padding: 0px;
    }

    section#experience .container .title p {
        padding: 0px;
        margin: 0px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 500px) {
    section#experience .container .bloc {
        width: 300px;
    }

    section#experience .container .bloc:hover {
        transform: none;
        box-shadow: none;
    }
}



/*


CONTACT


*/


section#contact {
    padding: 100px 15px;
}

section#contact .container {
    max-width: 900px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9fb;
    padding: 60px 10px;
    padding-top: 0;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 0px 10px 50px -10px #566197;
}

section#contact .container .title{
    text-align: center;
    color: #2a2a2a;
}

section#contact .container .title h6{
    font-size: 1.2em;
}

section#contact .container .title h3{
    font-size: 2.8em;
}

section#contact .container form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 500px;
}

section#contact .container form input {
    width: 45%;
}


section#contact .container form textarea {
    width: 100%;
    resize: none;
    height: 100px;
    margin-bottom: 60px;
}

section#contact .container form input, 
section#contact .container form textarea {
    margin: 15px 0;
    padding: 10px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    border-bottom: 2px solid #e4e4ec;
    transition: 0.2s;
}

section#contact .container form input:hover, 
section#contact .container form textarea:hover {
    border-bottom: 2px solid #1fb3bf;
    
}

section#contact .container form button {
    width: 192px;
    height: 50px;
    border-radius: 8px;
    border: none;
    background-color: #1fb3bf;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
    outline: none;
    margin: 0 auto;
    transition: 0.3s;
}

section#contact .container form button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 10px 40px -10px #d6d6d6;
}

@media screen and (max-width: 1000px) {
    section#contact .container form {
        flex-direction: column;
        width: 95%;
    }

    section#contact .container form input {
        width: 100%;
    }

    section#contact .container .title h6{
        font-size: 1em;
    }

    section#contact .container .title h3{
        font-size: 2em;
    }
}