@media(orientation:landscape){
    *{
        margin:0;
        padding:0;
    }

    body{
        background: url('../wallpaper-bureau.jpg');
        background-size:cover;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        overflow: hidden;
        background-position: center;
        width: 100vw;
        height:100vh;
    }

    .desktop-bureau{
        position: fixed;
        top: 0;
        left: 0;
        height: 93vh;
        width: 100vw;
        overflow: hidden;
    }

    .desktop-menu{
        position: fixed;
        left: 0.5vw;
        bottom: 2px;
        height: 6.5vh;
        width: 99vw;
        display: inline-flex; 
        justify-content: space-between;
        align-items: center;
        z-index: 10;

        background: #00000044;
        -webkit-backdrop-filter: blur(5px);
        -moz-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        /*z-index: 4;*/
        margin-top: 6.5vh;
        border-radius: 1.5vw 1.5vw 1.5vw 1.5vw;
        border: 1px solid rgba(255,255,255,0.4);

    }

    .desktop-menu ul{
        display: flex;
    }

    .desktop-grille{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows:  1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 1vw;
        margin: 1vh 1vw;
        grid-auto-flow: column;
    }

    .desktop-icone{
        width: 12vh;
        aspect-ratio: 1/1;
        text-align: center;
    }

    .desktop-icone:hover{
        backdrop-filter: drop-shadow(1px 1px 10px white);
    }

    .desktop-icone img{
        width: 65%;
        height: 50%;
    }

    .desktop-icone-1{
        color: white;
        text-shadow: black 0 0 5px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .desktop-heure{
        text-align: center;
        color: white;
        margin-right: 2vw;
    }

    #desktop-heure{
        font-size: larger;
    }

    #desktop-date{
        font-size: xx-small;
    }

    .desktop-demarrer-up{
        width: 30vw;
        height: 65vh;
        position: fixed;
        bottom: -100vh;
        left: 0.5vw;
        z-index: 5;
         text-align: center;
        border: 1px solid rgba(255,255,255,0.4);
        background: linear-gradient(295deg, rgba(245,245,245,0.1) 37%, rgba(255,255,255,0.2) 51%, rgba(230,230,230,0.1) 52%);
        -webkit-backdrop-filter: blur(10px);
        -moz-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        margin-bottom: 8vh;
        border-radius: 1.5vw;
        padding: 2vw;
        color: #222222;
        box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.1);
        transition: cubic-bezier(0.075, 0.82, 0.165, 1) all 1s;
    }

    .desktop-pp{
        width: 40%;
        aspect-ratio: 1/1;
        background-color: white;
        position: relative;
        left: 30%;
        top: -20%;
        border-radius: 10%;
        
        background:  linear-gradient(295deg, rgba(245,245,245,0.1) 37%, rgba(255,255,255,0.2) 51%, rgba(230,230,230,0.1) 52%), url(../profil.gif);
        ;
        background-size: cover;
        border: 1px solid rgba(255,255,255,0.4);
        box-shadow: 1vw 1vw 2vw 2vw rgba(0,0,0,0.2);
    }

    .desktop-cv{
        text-align: center;
        color: white;
        position: relative;
        top:-10%;
        font-size: 2.5vh;
    }

    .desktop-cv a{
        color: white;
        text-decoration: none;
        font-weight: bold;
        transition: text-shadow 0.5s ease-in-out;
    }

    .desktop-cv a:hover{
        color: white;
        text-shadow: 3px 2px 1px black;
        text-decoration: none;
        font-weight: bold;
        transition: text-shadow 0.5s ease-in-out;
    }

    .desktop-demarrer{
        padding: 0 2vw 0 2vw;
        height: 6.5vh;
        width: 7vw;
        color: white;
        text-align: center;
        line-height: 6.5vh;
        font-weight: bolder;
        border-right: 1px solid #FFFFFF99;
        border-radius: 0 1.5vw 1.5vw 0;
    }

    .desktop-demarrer:hover{
        text-shadow: white 0 0 2vw;
        transition:cubic-bezier(0.075, 0.82, 0.165, 1) all 1s;
        -webkit-backdrop-filter: blur(5px);
        -moz-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        border-radius: 1.5vw;
    }

    .desktop-monter{
        bottom: 0;
        transition: cubic-bezier(0.075, 0.82, 0.165, 1) all 1s;
    }
    
    .desktop-container {  
        display: grid;
        align-items: baseline;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 0px 2vw;
        grid-auto-flow: column;
        grid-template-areas:
            ". . . . . . . ."
            ". . . . . . . ."
            ". . . . . . . ."
            ". . . . . . . ."
            ". . . . . . . .";
        position: fixed;
        top:0;
        left:1vw;
        height: 92vh;
        align-items:center;
        width: 50vw;
    }

    .desktop-application{
        background-color: #FFFFFF99;
        content:"";
        display: flex;
        justify-content: start;
        align-items: center;
        font-family: Arial, Helvetica, sans-serif;
        z-index: 5;
        width:100%;
        height: 100%;
        border-radius: 0 0 1.5vw 1.5vw;
        -webkit-backdrop-filter: blur(10px);
        -moz-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .desktop-fenetre{
        visibility:hidden;
        /*opacity:0;
        width:99vw;
        height:85.5vh;
        max-height:85.5vh;
        max-width:99vw;*/
        width:0px;
        height:0px;
        max-width: 0px;
        max-height: 0px;
        position:absolute;
        top:50vh;
        left:50vw;
        margin-bottom: 3vh;
        /*transition: position cubic-bezier(0.075, 0.82, 0.165, 1) 1s;*/
    }

    .desktop-top_barre{
        background-color: rgba(0,0,0,0.3);
        color:white;
        text-shadow: 0 0 12px #222;
        text-align: center;
        height:6vh;
        display:flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        border-radius: 1.5vw 1.5vw 0 0;
        border: 1px solid #FFFFFF99;
        -webkit-backdrop-filter: blur(5px);
        -moz-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .desktop-fermeture{
        position: absolute;
        top:0;
        right:0;
        width: 5%;
        border-radius: 0 1.5vw 0 0;
        border-left: 1px solid #FFFFFF99;
        line-height: 6vh;
        background-color: rgba(0,0,0,0.2);
    }

    .desktop-fermeture:hover{
        background-color: rgba(255,0,0,0.5);
        box-shadow: inset 0 0 20px #22222266;
    }

    .desktop-panneau_gauche{
        width:30%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        align-items: center;
        height:100%;
    }

    .desktop-panneau_gauche img{
        max-height:25%;
        max-width: 75%;
    }

    .desktop-panneau_gauche ul{
        list-style-type: circle;
        margin-left: 2vw;
        padding: 0 1.5vw;
    }

    .desktop-panneau_gauche > :nth-child(2), .desktop-panneau_gauche >:nth-child(3){
        border: 1px solid #FFFFFF99;
        border-radius: 1.5vw;
        background: rgba(255,255,255,0.5);
        padding: 1vw;
        margin: 1vw;
        width: 80%;
    }

    .desktop-panneau_gauche > :nth-child(4){
        font-size: 20px;
        font-size: max(20px, min(2vw, 2.5vw));
        font-size: clamp(20px, 2vw, 2.5vw);
        text-align: center;
        color: black;
        background: #FFFF00BB;
        -webkit-backdrop-filter: blur(10px);
        -moz-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        font-weight: bold;
        border: solid 3px black;
        border-radius: 10px;
        padding: 5%;
        text-decoration: none;
        width: 70%;
    }

    .desktop-panneau_gauche > :nth-child(4):hover{
        box-shadow: 0 0 15px #FFFFDD, 0 0 30px #FFFFFF;
    }

    .desktop-panneau_droit{
        width:70%;
        background-color: #FFFFFF99;
        color: #222;
        height: 100%;
        border-radius: 0 0 1.5vw 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: space-evenly;
        align-items: flex-start;
        padding: 0 2vw;
        overflow-y: visible;
        overflow-x: hidden;
    }

    .desktop-previews img{
        max-width: 50%;
        height: 100%;
        margin: 10px;
        border-radius: 10px;
        border: 1px solid black;
    }

    .desktop-panneau_droit > :nth-child(1) h1{
        padding-bottom: 5vh;
        text-shadow: 5px 1px 0px white;
    }

    .desktop-visible{
        visibility: visible;
        width:99vw;
        height:85.5vh;
        max-height:85.5vh;
        max-width:99vw;
        top: 0.5vh;
        left:0.5vw;
        /*transition: opacity cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
        -webkit-transition: opacity cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
        -moz-transition: opacity cubic-bezier(0.075, 0.82, 0.165, 1) 1s ;*/
        transition: width 500ms cubic-bezier(0.075, 0.82, 0.165, 1), height 500ms cubic-bezier(0.075, 0.82, 0.165, 1), top 500ms cubic-bezier(0.075, 0.82, 0.165, 1), left 500ms cubic-bezier(0.075, 0.82, 0.165, 1) ;
    }

    .desktop-open{
        color: white;
        line-height: 6vh;
        padding: 0 2vw;
        backdrop-filter: blur(5px);
        box-shadow: inset 0 0 15px #FFFFEE77;
        border-left: 1px solid #FFFFEE77;
        border-right: 1px solid #FFFFEE77;
        border-bottom: #FFFFFF99 0.5vh solid;
    }

    
    .desktop-abaisser{
        top: -101vh;
        transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .desktop-popup {
        display: none;
        position: fixed;
        top: 10vh;
        width:100vw;
        z-index: 100;
    }

    .desktop-popup-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width:60%;
        text-align: center;
        line-height: 6vh;
        font-size: 3vh;
        padding:2vw;
        padding-right: 7vw;
        color:white;
        border-radius: 1.5vw;
        border: 1px solid #FFFFFF99;
        background: rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
    }

    .desktop-close {
        position: absolute;
        right:1.5vw;
        line-height: 6vh;
        cursor: pointer;
        border-radius: 100%;
        border: 1px solid #FFFFFF99;
        font-size: larger;
        font-weight: bolder;
        width:6vh;
        background: rgba(0,0,0,0.4);
        color: white;
    }

    .desktop-close:hover{
        background: rgba(255,255,255,0.8);
        color: black;
        transition: all 500ms cubic-bezier(0.075, 0.82, 0.165, 1) ;
    }

    .desktop-F11{
        border-radius: 0.5vw;
        border: 1px solid white;
        padding:5px;
        font-weight:bold;
        background-color: rgba(0,0,0,0.1);
    }

    .desktop-notif{
        position: absolute;
        right:110px;
    }

    .desktop-notif img{
        width: 2vw;
        line-height: 6.5vh;
    }

    .desktop-notif-container{

        background: rgba(0,0,0,0.1);
        border-radius: 1.5vw;
        border: 1px solid #FFFFFF99;
        position: fixed;
        z-index:100;
        bottom:-20vh;
        right: 0.5vw;
        width: 25vw;
        height:auto;
    }

    .desktop-notif-up{
        backdrop-filter: blur(10px);
        
        padding: 2vw;
        text-align: center;
        color: white;
        transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .desktop-notif-up-view{
        bottom:7vh;
        transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
        -webkit-backdrop-filter: blur(10px);
        -moz-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .desktop-container-preloader{
        background: url("../wallpaper-bureau.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .desktop-preloader{
        backdrop-filter: blur(20px);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: fixed;
        width:99vw;
        height:99vh;
        top:0.5vh;
        left: 0.5vw;
        z-index:1000;
        border-radius: 1.5vw;
        border: 1px solid #FFFFFF99;
    }

    .desktop-bienvenue{
        color: white;
        font-size: 80px;
        letter-spacing: 15px;
        animation: pulse 2s linear infinite;
        backdrop-filter: blur(20px);
    }

    @keyframes pulse{
        0%{
            color:#FFFFFFFF;
            text-shadow: 0 0 2vw #FFFFFFFF;
        }

        90%{
            color:#FFFFFF55;
            text-shadow: 0 0 2vw #FFFFFF55;
        }

        100%{
            color:#FFFFFFFF;
            text-shadow: 0 0 2vw #FFFFFFFF;
        }


    }

    .desktop-out{
        opacity: 0;
        transition: opacity 1s ease-out;
    }

    .menu, .menu-top, .centre_clique, .menu_gauche, .gauche_clique, .droite_clique, .bureau, .widget_heure, .vide, .icone, .icone-1, .application, .gauche, .pp, .cv, .white, .otacon, .bulle, .small, .xx-small, .corps, #date, #time{
        display:none;
    }

    .desktop-gras{
        font-weight: bold;
    }

    .desktop-previews{
        height: 20vh;
        display: flex;
        overflow-x: clip;
    }

}