
/* Tablet Version */
@media only screen and (min-width: 681px) and (max-width: 1023px) {

    /* HEADER */

    header {
        flex-direction: column;
    }

    .logo-nav {
        margin: 20px 0 35px 0;
    }

    main{
        display: flex;
        flex-direction: column;
    }

    /* HOME PAGE */
    .homepage-section {
        margin-top: 30%;
    }

    #circle {
        display: none;
      }


    /* SECTION PAGE */
    .container-project {
        margin-top: 280px;
    }

    h2.title.project-page {
        margin-top: 280px;
    }


    .card-section {
        margin: 30px 0 0 0;
    }


    /* PAGE PROJET*/


    .detail-project-container {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    .detail-project{
        width: 87VW;
    }
    
    .cover-card-project {
        backdrop-filter: blur(1px);
    }

    /*web*/

    .container-media-details.web {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .media-detail.ohmyfood.detail-3 {
        margin-top: 30px;
        width: 100%;
        height: 120px;
    }


    /* design graphique*/


    .card-section-pageprojet {
        display: flex;
        flex-direction: column;
        align-items:center ;
    }

    .media-first {
        background-color: white;
        height: 85vw;
        width: 85vw;
        margin: 0 0 30px 0;
    }

    .media-detail {
        width: 255px;
        height: 255px;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
        margin: 10px;
    }

    /* bon studio */

    .section-details.bon-studio{
        width: 100%;
    }

    .bon-studio.detail-1 {
        width: 100%;
        margin: 20px;
    }

    .bon-studio.detail-2 {
        width: 100%;
        background-size: contain;
        height: 750px;
        margin: 20px;
    }

    .bon-studio.detail-3 {
        width: 100%;
        background-size: contain;
        height: 750px;
        margin: 20px;
    }

    /* webinare google android tablette */

    .container-media-details.android-webinar{
        margin-top: 18px;
    }

    .android-webinar.detail-1 {
        background-size: contain;
        height: auto;
        min-height: 345px;
        margin: 20px;
    }

    .android-webinar.detail-2 {
        background-size: contain;
        height: auto;
        min-height: 345px;
        margin: 20px;
    }

    /*adobe ingram*/

    .adobe-ingram.detail-1 {
        width: 85vw;
        height: auto;
        min-height: 500px;
        margin: 20px;
    }

    .adobe-ingram.detail-2 {
        width: 85vw;
        height: auto;
        min-height: 430px;
        margin: 20px;
    }

    /*ingram cloud*/

    .ingramcloud.detail-1 {
        width: 790px;
        height: 570px;
    }

    /*vitrine animaux*/

    .vitrineanimaux.detail-4 {
        width: 690px;
        height: 420px;
    }

    /*catalogue phildar philcollection tablette */

    .philcollection.detail-1 {
        width: 85vw;
        height: auto;
        min-height: 500px;
        margin: 20px;
    }

    .philcollection.detail-2 {
        width: 85vw;
        height: auto;
        min-height: 430px;
        margin: 20px;
    }

    /* phildar vitrine saint valentin tablet*/

    .vitrine-joli-coeur.detail-1 {
        width: 85vw;
        background-size: cover;
        height: auto;
        min-height: 450px;
        margin: 20px;
    }

    .section-details.cuveespeciale {
        flex-wrap: nowrap;
    }

    .media-detail.cuveespeciale.detail-1 {
        height: 210px;
    }

    .cuveespeciale.detail-3 {
        height: 520px;
        background-size: cover;
    }

    .media-detail.illureseaux {
        width: 25vw;
        height: 32vh;
    }

    .container-media-details {
        flex-direction: row;
    }

    .media-detail.rapportrse {
        height: 325px;
        margin: 0 0 30px 0;
    }

    .second-container.rapportrse {
        flex-direction: column;
        align-items: center;
    }

    .rapportrse.detail-3 {
        height: 300px;
        width: 470px;
    }

    .rapportrse.detail-4 {
        height: 300px;
        width: 470px;
        margin: 0;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .container-media-details-2.illustrations {
        flex-wrap: nowrap;
    }

    .media-detail.illustrations {
        width: 27vw;
        height: 19vh;
    }

    .second-container{
        width: 87vw;
    }

    .container-media-plusone.uberpop{
        width: 30%;
        height: 330px;
    }

    /* À propos */
    .about-container {
        margin-top: 345px;
    }



    .photo-container {
        width: 87vw;
        justify-content: flex-end;
        top: -70px;
        right: 110px;
    }
    
    .cercle {
        display: flex;
        width: 200px;
        height: 200px;
    }
    
    .cercle::after {
        width: 185px;
        height: 185px;
        top: 8px;
        left: 8px;
    }

    .background-about-container {
        width: 87vw;
    }

    .background-timeline {
        width: 87vw;
    }

    .timeline .box h3 {
        font-size: 11px;
    }

    .timeline .box p {
        font-size: 11px;
    }

    .skills-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 0 30px 0;
        width: 100vw;
    }

    .background-skills {
        width: 87vw;
    }

    /* Contact */

    .contact-section {
        flex-direction: row;
        margin-top: 280px;
    }

    .card-contact {
        width: 87vw;
    }

}


/* -- Mobile version -- */
@media only screen and (min-width:320px) and (max-width: 680px) and (orientation: portrait) {

    /*index*/
    .mylogo {
        width: 250px;
        height: 250px;
        font-size: 100px;
    }

    /* HEADER */
    body {
        display: flex;
        align-content: space-between;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        width: auto;
    }

    #circle {
        display: none;
      }


    .logo-container {
        display: flex;
        width: 100vw;
        justify-content: center;
    }

    .logo-nav {
        margin: 0;
        animation: none;
        -webkit-animation: none;
    }

    nav ul a {
        font-size: 12px;
        padding: 12px;
    }

    nav .nav-tablet-desk-version {
        display: none;
    }

    .navbar-mobil-version {
        display: block;
    }


    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        display: block;
        /*position: relative;*/
        height: 30px;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
    }

    .navbar-container .hamburger-lines {
        display: block;
        height: 23px;
        width: 35px;
        position: absolute;
        top: 17px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #696969;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .navbar .background-menu-container {
        display: flex;
        flex-direction: column;
        opacity: 0.95;
        width: 220px;
        height: 100vh;
        background: #fff;
        box-shadow: 0px 3px 8px #7C5858;

        transform: translate(-110%);
        -webkit-transition: transform 0.5s ease-in-out;
        -moz-transition: transform 0.5s ease-in-out;
        -ms-transition: transform 0.5s ease-in-out;
        -o-transition: transform 0.5s ease-in-out;

        transition: transform 0.5s ease-in-out;
        -webkit-transform: translate(-110%);
        -moz-transform: translate(-110%);
        -ms-transform: translate(-110%);
        -o-transform: translate(-110%);

        /*height: 100vh;
        max-width: 300px;
        margin-left: -40px;
        padding-left: 50px;
        */
    }

    .navbar .menu-items {
        display: flex;
        flex-direction: column;
        padding-top: 100px;
    }

    .navbar .menu-items li {
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
        font-weight: 500;
    }

    .navbar-container input[type="checkbox"]:checked~.background-menu-container {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(35deg);
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-35deg);
    }


    /* HOME PAGE */
    .homepage-section {
        margin-top: 40%;
    }

    .welcome-message {
        font-size: 45px;
    }

    .choice-message {
        font-size: 20px;
        margin-top: 15px;
    }

    .btn-univers {
        width: 80px;
        height: 80px;
        font-size: 30px;
        margin-top: 45px;
    }

    /* SECTION PAGE */
    .container-project {
        margin: 180px 20px 0 20px !important;
    }

    h2.title.project-page {
        margin-top: 160px;
    }

    .card-section {
        margin: 40px 0 0 0;
        padding: 0 0 50px 0;
    }

    .cover-card-project {
        width: 320px;
        height: 320px;
    }

    .section-link {
        width: 320px;
        height: 320px;
    }

    .card-project {
        width: 320px;
        height: 320px;

    }

    .cover-card-project {
        backdrop-filter: blur(1px);
    }

    /* PAGE PROJET*/

    .project-page-title h1 {
        font-size: 20px;
        font-weight: 600px;
    }

    .purview-project h2 {
        font-size: 18px;
    }

    .card-section-pageprojet {
        flex-direction: column;
        align-items: center;
        margin: 0;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .media-first {
        width: 85vw;
        height: 85vw;
        margin: 0;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .detail-project-container {
        height: auto;
        width: 85vw;
        margin: 30px 0 0 0;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .container-media-details {
        flex-direction: column;
        margin: 30px 0 0 0;
    }

    .media-detail {
        width: 300px;
        height: 300px;
        margin-bottom: 30px;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .btn-back-design-projects{
        margin: 40px;
    }

    /* PAGE PROJET -- web */

    .media-detail.ohmyfood.detail-3 {
        width: 300px;
        height: 70px;
    }


    /* PAGE PROJET -- design graphique */

        /* bon studio */

    .section-details.bon-studio{
        width: 100%;
    }

    .bon-studio.detail-1 {
        width: 100%;
        height: 400px;
        background-size: contain;
        margin: 20px;
    }

    .bon-studio.detail-2 {
        width: 100%;
        background-size: contain;
        height: 480px;
        margin: 20px;
    }

    .bon-studio.detail-3 {
        width: 100%;
        background-size: contain;
        height: 480px;
        margin: 20px;
    }

    /* projet adobe cc - ingram - firefly */

    .section-details.adobe-ingram {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .container-media-details.adobe-ingram {
        margin: 30px 0 0 0;
        align-items: center;
        height: auto;
    }

    .adobe-ingram.detail-1 {
        width: 80vw;
        height: auto;
        min-height: 230px;
        margin: 20px;
    }

    .adobe-ingram.detail-2 {
        width: 80vw;
        height: auto;
        min-height: 230px;
        margin: 20px;
    }

     /* catalogue Philcollection - Phildar mobil */

     .section-details.android-webinar {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .container-media-details.android-webinar {
        margin: 18px 0 0 0;
        align-items: center;
        height: auto;
    }

    .android-webinar.detail-1 {
        width: 85vw;
        background-size: contain;
        height: auto;
        min-height: 190px;
        margin: 18px;
    }

    .android-webinar.detail-2 {
        width: 85vw;
        background-size: contain;
        height: auto;
        min-height: 190px;
        margin: 18px;
    }

    /* projet ingram cloud */

    .section-details.ingramcloud {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .container-media-details.ingramcloud {
        margin: 30px 0 0 0;
        align-items: center;
        height: auto;
    }

    .ingramcloud.detail-1 {
        width: 85vw;
        height: auto;
        min-height: 230px;
    }


    /* projet vitrine animaux */

    .vitrineanimaux.detail-4 {
        width: 300px;
        height: 200px;
    }

    /* Phildar vitrine saint valentin mobil */

    .section-details.vitrine-joli-coeur {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .container-media-details.vitrine-joli-coeur {
        margin: 30px 0 0 0;
        align-items: center;
        height: auto;
    }

    .vitrine-joli-coeur.detail-1 {
        width: 85vw;
        background-size: cover;
        height: auto;
        min-height: 350px;
        margin: 20px;
    }

    /*.vitrine-joli-coeur.detail-2 {
        width: 85vw;
        height: auto;
        min-height: 300px;
        margin: 20px;
    }*/

    /* projet le biplan */    

    .second-container.lebiplan {
        flex-direction: column;
        align-items: center;
    }

    .lebiplan.detail-4 {
        width: 300px;
        height: 400px;
        margin: 0 0 30px 0;
    }

    .lebiplan.detail-5 {
        width: 300px;
        height: 400px;
        margin: 0;
    }

    /* gif phildar*/

    /*.section-details.gifphildar {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .container-media-details.gifphildar {
        margin: 30px 0 0 0;
        align-items: center;
        height: auto;
    }

    .media-detail.gifphildar.detail-1 {
        width: 80vw;
        height: auto;
        background-size: cover;
        min-height: 370px;
    }
    .media-detail.gifphildar.detail-2 {
        width: 80vw;
        height: auto;
        background-size: cover;
        min-height: 350px;
    }
    .media-detail.gifphildar.detail-3 {
        width: 80vw;
        height: auto;
        background-size: cover;
        min-height: 350px;
    }*/

    /* projet cuvee speciale*/

    .section-details.cuveespeciale {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .container-media-details.cuveespeciale {
        margin: 30px 0 0 0;
        align-items: center;

    }

    .cuveespeciale.detail-1 {
        width: 300px;
        height: 180px;
    }

    .cuveespeciale.detail-2 {
        width: 300px;
        height: 180px;
    }

    .container-media-details-2.cuveespeciale {
        width: 300px;
    }

    .cuveespeciale.detail-3 {
        margin: 0;
        width: 300px;
        height: 420px;
    }

    /* projet illu réseaux */

    .media-detail.illureseaux {
        width: 300px;
        height: 540px;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .container-media-details-2.illureseaux {
        flex-direction: column;
    }

    /* projet uberpop */

    .uberpop.detail-1{
        width: 75vw;
        height: 210px;
    }

    .uberpop.detail-4{
        width: 75vw;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .uberpop.detail-5{
        width: 75vw;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .uberpop.detail-6{
        width: 75vw;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .second-container.uberpop{
        flex-direction: column;
    }

    /* projet rapport rse */

    .rapportrse.detail-1 {
        width: 300px;
        height: 225px;
    }

    .rapportrse.detail-2 {
        width: 300px;
        height: 225px;
    }

    .rapportrse.detail-3 {
        width: 300px;
        height: 225px;
    }

    .rapportrse.detail-4 {
        width: 300px;
        height: 225px;
        margin: 0;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .second-container.rapportrse {
        flex-direction: column;
        align-items: center;
    }

     /* projet illustrations */

    .container-media-details-2.illustrations {
        flex-direction: column;
    }

    .container-media-details-3.illustrations {
        flex-direction: column;
        margin: 0 0 15px 0;
    }

    /* À propos */
    .about-container {
        margin-top: 225px;
    }

    .photo-container {
        width: 87vw;
        top: -70px;
        right: 17%;
    }
    
    .cercle {
        width: 170px;
        height: 170px;
    }
    
    .cercle::after {
        width: 155px;
        height: 155px;
    }

    .background-about-container {
        padding: 40px 20px 40px 20px;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .background-about-container {
        width: 87vw;
    }

    .background-skills {
        width: 87vw;
    }

    .skills-box {
        flex-wrap: wrap;
        margin: 0 0 20px 0;
    }

    .skill-detail.project {
        margin: 15px;
    }
    .skill-detail.project p{
        font-size: 11px;
    }
    
    .skills-box.project-page{
        justify-content: center;
    }

    .background-timeline {
        width: 87vw;
        padding: 20px;
    }

    .background-timeline h2 {
        margin: 0 0 20px 0;
    }

    .timeline {
        flex-direction: column-reverse;
        align-items: center;
        padding: 0 10px 0 10px;
        overflow: hidden;
    }

    .timeline .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        justify-content: center;
        margin-bottom: 20px !important;
        height: 60px;
        width: 300px;
        z-index: 3;
    }

    .timeline .box:after {
        display: none;
    }

    .timeline .box:before {
        display: none;
    }

    .timeline .box:not(:first-child) {
        margin: 0;

    }

    .timeline .box:not(:last-child) {
        margin: 0;
    }

    .timeline .box:nth-child(even) {
        margin: 0;

    }

    .timeline::after {
        display: flex;
        left: inherit;
        right: inherit;
        height: 400px;
        width: 10px;
        /*transform: rotate(90deg);
        -webkit-transform:;
        -moz-transform:;
        -ms-transform:;
        -o-transform:;*/
    }

    /* Contact */

    .contact-section {
        flex-direction: row;
        margin-top: 160px;
    }

    .card-contact {
        margin-bottom: 40px;
        width: 87vw;
        height: 65vh;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    h3 {
        font-size: 45px;
    }

    h4 {
        font-size: 25px;
    }

    .card-detail .mobile {
        font-size: 18px;
    }

    .card-detail .mail {
        font-size: 18px;
    }

    .card-detail .location {
        font-size: 18px;
    }

    .card-detail .socialnetwork {
        font-size: 18px;
    }


    footer{
        flex-direction: column-reverse;
        height: 70px;
        margin-top: 0;
        z-index: 0;
    }

    footer p {
        font-size: 10px;
    }
    footer nav{
        font-size: 12px;
    }

    .calendly-badge-widget{
        bottom: 30px !important;
    }

    .calendly-badge-widget .calendly-badge-content {
        border-radius: 25px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
        color: #fff;
        cursor: pointer;
        display: table-cell;
        font-family: sans-serif;
        font-size: 11px;
        font-weight: 700;
        height: 45px;
        padding: 0 30px;
        text-align: center;
        vertical-align: middle;
        width: auto;
    }

}