/* General */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 10px 10px #fafafa;
    border: solid 3px transparent;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 10px 10px #4c4c4c;
    border: solid 3px transparent;
}
::selection {
    color: #ffffff;
    background: #444444;
}
::-moz-selection {
    color: #ffffff;
    background: #444444;
}

.header {
    position: fixed;
    width: 100%;
    min-height: 70px;
    border-bottom: inset 2px #4b494988;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
    background: #fcfcfc;
    z-index: 1000;
}
span {
    margin-top: 12px;
}
#menu__toggle {
    opacity: 0;
}
.article {
    min-height: 600px;
    height: 100vh;
}
#accueil {
    padding-top: 80px;
    background:#fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
}
.personnal-card {
    width: 40vw;
    max-width: 500px;
    min-width: 300px;
    max-height: 475px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
        0 1px 3px 1px rgba(60, 64, 67, 0.149);
    border-radius: 7px;
    padding: 10px;
}
.personnal-card:hover {
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.302),
        0 4px 8px 3px rgba(60, 64, 67, 0.149);
}
#description {
    margin-top: 10px;
    text-align: center;
}
.nom {
    text-align: center;
}
.photo-info {
    display: flex;
    margin: 0 auto;
}

.img-yoann {
    width: 300px;
    margin: 10px auto 0 auto;
    border-radius: 3px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
}
input[type="checkbox"] {
    opacity: 1;
    cursor: pointer;
}
input[type="checkbox"]:checked + .card-front {
    border: none;
}
#stage-1 {
    background: #444444;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Carousel */

.wrapper {
    width: 60vw;
    position: relative;
}

.wrapper .carousel {
    font-size: 0;
    white-space: nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
}
.wrapper .carousel_stage_2 {
    font-size: 0;
    white-space: nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
}

.carousel .carousel-img {
    border-radius: 10px;
    width: 60vw;
    height: 30vw;
    margin-left: 15px;
    /*object-fit: cover;*/
    box-shadow:0 2px 7px rgba(60, 64, 67, 0.149);
}
.carousel_stage_2 .carousel-img {
    border-radius: 10px;
    width: 60vw;
    height: 30vw;
    margin-left: 15px;
    /*object-fit: cover;*/
    box-shadow:0 2px 7px rgba(60, 64, 67, 0.149);
}
.carousel .carousel-img:first-child {
    margin-left: 0;
}
.carousel_stage_2 .carousel-img:first-child {
    margin-left: 0;
}
.icon-arrow {
    position: absolute;
    background: #fafafa;
    border-radius: 50%;
    width: 50px;
    cursor: pointer;
    padding: 10px 8px 10px 10px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
}

.arrow-left {
    transform: rotate(-180deg);
    margin: calc(15vw - 25px) 0 0 -30px;
}

.arrow-right {
    right: -30px;
    margin: calc(-15vw - 25px) 0 0 0;
}

#stage-2 {
    background:#fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dark-article {
    background: #444444;
    display: flex;
    align-items: center;
}
.light-article {
    background: #fafafa;
    display: flex;
    align-items: center;
}
#projets {
    background: #444444;
}
#certifications {
    background:#fafafa;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#contact {
    background:#444444;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 1000px) {
    .menu__box {
        display: flex;
        justify-content: right;
    }
    .menu__item {
        display: block;
        margin: -4px 15px;
        color: #333;
        /*font-family: 'Roboto', sans-serif;*/
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
    }
    .menu__item:hover {
        transition-duration: 0.25s;
        color: #17bad6;
    }
    li {
        list-style: none;
    }
}
@media screen and (max-width: 1000px){
    #menu__toggle:checked + .menu__btn > span {
        transform: rotate(45deg);
    }
    #menu__toggle:checked + .menu__btn > span::before {
        top: 0;
        transform: rotate(0deg);
    }
    #menu__toggle:checked + .menu__btn > span::after {
        top: 0;
        transform: rotate(90deg);
    }
    #menu__toggle:checked ~ .menu__box {
        left: 0 !important;
    }
    .menu__btn {
        position: fixed;
        top: 20px;
        left: 20px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        z-index: 1;
    }
    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #616161;
        transition-duration: .25s;
    }
    .menu__btn > span::before {
        content: '';
        top: -8px;
    }
    .menu__btn > span::after {
        content: '';
        top: 8px;
    }
    .menu__box {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100%;
        margin: 0;
        padding: 80px 0;
        list-style: none;
        background-color: #ECEFF1;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
        transition-duration: .25s;
        overflow-y: auto;
    }
    .menu__item {
        display: block;
        padding: 12px 50px;
        color: #333;
        /*font-family: 'Roboto', sans-serif;*/
        font-size: 19px;
        font-weight: 600;
        text-decoration: none;
        transition-duration: .25s;
    }
    .menu__item:hover {
        background-color: #c1cbcf;
    }
}
/* test */


.input {
    position: absolute;
}

.card-wrap {
    cursor: pointer;
}

.card, .front, .back, .card-photo {
    width: 10vw;
    min-width: 150px;
    height: calc(10vw * 1.33);
    min-height: calc(150px * 1.33);
}
.card-doc, .front-doc, .back-skills, .doc {
    max-height: 80vh;
}
/*
.card-photo-min {
    width: 40%;
    border-radius: 10px;
}*/

.card-face {
    position: absolute;
    backface-visibility: hidden;
    border-radius: 10px;
}
.card {
    margin-top: -20px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s, box-shadow 0.4s;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
        0 1px 3px 1px rgba(60, 64, 67, 0.149);
    border-radius: 10px;
    z-index: 0;
}
.card-doc {
    margin-top: -20px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s, box-shadow 0.4s;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
        0 1px 3px 1px rgba(60, 64, 67, 0.149);
    border-radius: 10px;
    z-index: 0;
}
.card-photo {
    border-radius: 10px;
}
.doc {
    position: relative;
    margin: 20px auto;
    border-radius: 10px;
}
.card:hover {
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.302),
        0 4px 8px 3px rgba(60, 64, 67, 0.149);
}
.card-doc:hover {
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.302),
        0 4px 8px 3px rgba(60, 64, 67, 0.149);
}
.back {
    background-color: white;
    transform: rotateY(180deg);
    color: darkgray;
    border-radius: 10px;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}
.back-skills {
    background-color: white;
    transform: rotateY(180deg);
    color: darkgray;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}
.hard-skills-slider {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}
.icon-hard-skills {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.img-flipcard {
    display: none;
    cursor: pointer;
    position: absolute;
    margin-left: calc(50% - 30px);
    width: 30px;
    height: 30px;
}
.flipcard {
    visibility: hidden;
    opacity: 0;
}

input:checked + .card {
    transform: rotateY(180deg);
}
input:checked + .card-doc {
    transform: rotateY(180deg);
}

#projets {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.card-projets {
    background-color: #fafafa;
    padding: 20px;
    text-align: center;
    width: 17vw;
    border-radius: 50% 20% / 10% 40%;
    
}
.card-projets:hover {
    box-shadow: 0 3px 7px #56c6da;
}
.projects-link {
    display: block;
    margin: -4px 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}
.projects-link:hover {
    transition-duration: 0.25s;
    color: #17bad6;
}
.contact-form {
    background-color: #fafafa;
    width: 40vw;
    max-width: 500px;
    min-width: 500px;
    min-height: 45vh;
    padding: 10px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
}
.contact-form:hover {
    /*box-shadow: 0 3px 7px #56c6da;*/
}
.objet-contact-form {
    background-color: #444444;
    color: #fafafa;
    font-size: 18px;
    margin: 10px;
    padding: 7px;
    border-radius: 7px;
    border: none;
}
.objet-contact-form:focus {
    outline: none;
}
.objet-contact-form::placeholder {
    color: #fafafaa1;
    font-size: 18px;
}
.message-contact-form {
    background-color: #444444;
    color: #fafafa;
    font-size: 18px;
    margin: 10px;
    padding: 7px;
    border-radius: 7px;
    border: none;
    min-height: 25vh;
}
.message-contact-form:focus {
    outline: none;
}
.message-contact-form::placeholder {
    color: #fafafaa1;
    font-size: 18px;
}
.submit-contact-form {
    background-color: #8dadb3;
    color: #fafafa;
    font-size: 18px;
    margin: 10px;
    padding: 7px;
    border-radius: 7px;
    border: none;
}
.submit-contact-form:hover {
    background-color: #83a4aa;
}
.veille-link {
    display: block;
    margin: -4px 15px;
    color: #fafafa;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    background-color: #444444;
    padding: 20px;
    text-align: center;
    width: 17vw;
    border-radius: 50% 20% / 10% 40%;
}
.veille-link:hover {
    transition-duration: 0.25s;
    color: #a1e9e9;
}