/* charte graphique :
beige: #8D8480
whitesmoke: #F5F5F5
 */

/** nav bar **/
@media screen and(max-width: 768px){

}


.menu {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid whitesmoke ;
    top: 0px;
    flex:1;
}
.logo, .mode {
    border-radius: 30px;
}
.logo{
    display: flex;
    justify-content: flex-start;
}
.mode{
    display: flex;
    justify-content: flex-end;
}
body {
    margin: 0;
    font-family: "Roboto Light";
}
span {
    color:#8D8480;
    font-style: italic;
}
.tout {
    background-color: black;
    color: whitesmoke;
}
.lien {
    color: whitesmoke;
    padding: .5em .80em;
    margin-right: 5px;
    margin-left: 5px;
    text-decoration: none;
    transition: all 0.5s;
}
.lien:hover {
    border-bottom: 1px solid whitesmoke;
}
h1{
    font-family: TAN-PEARL;
    font-weight: lighter;
    font-size: 60px;
    text-align: center;
    line-height: 70px;
    padding-top: 30px;
}
@font-face {
    font-family: "TAN-PEARL";
    src: local("TAN-PEARL"),
    url("../polices/TAN-PEARL.otf") format('OpenType');
}
h2 {
    font-family: TAN-PEARL;
    font-weight: lighter;
    font-style: italic;
}
h3 {
    font-family: TAN-PEARL;
    font-weight: lighter;
    font-size: 60px;
}
article {
    background-color: whitesmoke;
    color: black;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-right: 80px;
    padding-left: 80px;
}
.article1 {
    background-color: whitesmoke;
    color: black;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-right: 80px;
    padding-left: 80px;
    text-align: right;
}

.bout {
    color: whitesmoke;
    border: 1px solid whitesmoke;
    border-radius: 40px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
}
.txt {
    padding-right: 50px;
}
.txt2 {
    padding-left: 50px;
}
.bout:hover {
    color: #8D8480;
    border: 1px solid #8D8480;
    transition: 0.5s all;
}
.pres {
    text-align: center;
    margin-bottom: 50px;
}
.box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.article3 {
    background-color: black;
    color: whitesmoke;
    text-align: center;
}
.article2 {
    background-color: black;
    color: whitesmoke;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-right: 80px;
    padding-left: 80px;
    text-align: left;
}
.img{
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
}
/*footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de taille égale */
    gap: 2em;
    padding: 2em;
    text-align: left;
    border-top: 1px solid whitesmoke;
}
footer a {
    color: whitesmoke;
    text-decoration: none;
}
footer img{
    margin-top: 1em;
}
.footer-item {
    padding: 1em;
}
.footer-item-left{
    padding: 1em;
    text-align: right;
}


/*fin footer */
fieldset{
    border: 1px solid black;
    display: flex;
}
fieldset div {
    justify-content: center;
}
.button_form, .button_dwl{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 30px;
    border: 1px solid black;
    color: black;
    text-decoration: none;
}
.button_form, .button_dwl:hover {
    background-color: black;
    color: whitesmoke;
    transition: 0.5s all;
}
form{
    padding-top: 30px;
    padding-bottom: 30px;
}
.cv_pic {
    display: flex;
    align-items: center;
    margin-top: 30px;
}
.button_dwl{
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 10px;
}
.moncv{
    border-bottom: 1px solid black;
    margin: 0px;
}
.txt3{
    text-align: center;
}
.minitxt {
    display: flex;
    justify-content: center;
}
.minitxt>div{
    padding: 10px;
}
.minitxt2 {
    display: flex;
    justify-content: center;
}
.minitxt2>div{
    padding: 10px;
}
.trait {
    border-right: 1px solid black;
}
.minidiv2{
    text-align: left;
}
.minidiv{
    text-align: right;
}
.titre2{
    text-align: center;
}
.article4 {
    background-color: whitesmoke;
    color: black;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-right: 80px;
    padding-left: 80px;
    text-align: center;
    border-top: 1px solid black;
}
hr{
    margin-bottom: 60px;
}
.table {
    margin: 0 auto;
    text-align: center;
}
.box2{
    display: flex;
}
.filtered tr:not(.class1):not(.class2):not(.class3) {
    display: none;
}
.first{
    padding: 30px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F5F5F5;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #8D8480;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: black;
}

input:focus + .slider {
    box-shadow: 0 0 1px black;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.box3 {
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    text-align: center;
}
.hjl{
    position: relative;
    left: -40px;
    top: 40px;
}
/* Boutton stylé */
.button_2 {
    text-decoration: none;
    border: 1px solid whitesmoke;
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 10rem;
    color: whitesmoke;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: .15rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        color: whitesmoke;
        border-radius: 10rem;
        z-index: -2;
    }
    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        color: black;
        background-color: whitesmoke;
        transition: all .3s;
        border-radius: 10rem;
        z-index: -1;
    }
    &:hover {
        color: black;
        &:before {
            width: 100%;
        }
    }
}
/* boutton stylé deuxième version */
.button_2V2 {
    margin: 0em .5em;
    text-decoration: none;
    border: 1px solid black;
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 10rem;
    color: black;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: .15rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
        color: black;
        border-radius: 10rem;
        z-index: -2;
    }
    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        color: whitesmoke;
        background-color: black;
        transition: all .3s;
        border-radius: 10rem;
        z-index: -1;
    }
    &:hover {
        color: whitesmoke;
        &:before {
            width: 100%;
        }
    }
}
.button_2V3{
    text-decoration: none;
    border: 1px solid black;
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 10rem;
    color: black;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: .15rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 1em;
    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: whitesmoke;
        color: black;
        border-radius: 10rem;
        z-index: -2;
    }
    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        color: black;
        background-color: black;
        transition: all .3s;
        border-radius: 10rem;
        z-index: -1;
    }
    &:hover {
        color: white;
        &:before {
            width: 100%;
        }
    }
}
/** Containers 2 colonnes **/
.container_white {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    color: black;
}
.container_white_items {
    overflow: hidden;
    padding: 2em;
    text-align: right;
    display: grid;
    place-items: center;

}
.container_white_image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.container_white_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 100vh;
}

/** Fin containers grid **/

/** fancybox images **/

.img_fancybox{
    max-height: 250px;
    margin: 2em;
    border: 3px solid whitesmoke;
}
.img_fancybox_noir{
    max-height: 250px;
    margin: 2em;
    border: 3px solid black;
}
.cv {
    display: flex;
}
.img_fancybox_cv{
    max-height: 50em;
    margin: 2em;
}
a .img_fancybox_flex{
    justify-content: center;
}
/** fin fancybox **/

@media screen and (max-width: 767px)
{
    .article1 .box .img{
        display: none;
    }
    .lien{
        font-size: 20px;
    }
}
.img_fancybox_real{
    max-height: 200px;
    max-width: 500px;
    margin: 1em;
    border: 3px solid whitesmoke;
}
.img_fancybox_real_noir{
    max-height: 200px;
    max-width: 500px;
    margin: 1em;
    border: 3px solid black;
}
.img_fancybox_portrait{
    max-height: 350px;
    margin: 1em;
    border: 3px solid whitesmoke;
}
.img_fancybox_portrait_noir{
    max-height: 350px;
    margin: 1em;
    border: 3px solid black;
}
.img_fancybox_maquettes{
    max-height: 450px;
    max-width: 250px;
    margin: 1em;
    border: 3px solid black;
}
.img_fancybox_icon{
    max-width: 250px;
    max-height: 200px;
}
.weight{
    font-weight: bold;
}
.espace{
    display: flex;
    justify-content: space-around;
}
.icon_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* accordéon d'images*/


.accordion-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.accordion {
    display: flex;
    width: 80%;
    height: 70vh;
    overflow: hidden;
}

.panel {
    position: relative;
    background-size: cover;
    background-position: center;
    flex: 1;
    transition: flex 0.5s ease-in-out;
    cursor: pointer;
    border: 1px solid #fff;
}

.panel:hover {
    flex: 3;
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.panel:hover .caption {
    opacity: 1;
}

/* contact */

.first{
    font-size: 20px;
    padding: 2.5em;
}

.pannel_lien{
    color: whitesmoke;
    text-decoration: none;
}
.pannel_lien:hover{
    border-bottom: 1px solid whitesmoke;
}
.pannel_lien_noir{
    color: black;
    text-decoration: none;
}
.pannel_lien_noir:hover{
    border-bottom: 1px solid black;
}
.cv{
    display: flex;
    justify-content: center;
}
#cv_img{
    border: 1px solid black;
}
