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

    body{
        background: url('../wallpaper-bureau.jpg');
        background-size: 200vh;
    }

    .menu{
        display:inline-flex;
        position:fixed;
        bottom: 0;
        left:0;
        width: 100vw;
        height: 7vh;
        background: #00000044;
        backdrop-filter: blur(5px);
        /*z-index: 4;*/
        margin-top: 7vh;
        border-radius: 5vw 5vw 0 0;
        border: 1px solid rgba(255,255,255,0.4);
    }

    .menu ul{
        width: 100%;
        display:inline-flex;
        justify-content:space-around;
        align-items: center;
        list-style-type: none;
    }

    .menu img{
        width: 7vw;
    }

    .menu-top{
        display:inline-flex;
        position:fixed;
        bottom: 0;
        left:33.33vw;
        width: 33.33vw;
        height: 7vh;
        z-index: 100;
        margin-top: 7vh;
    }

    .menu-top ul{
        width: 100%;
        display:inline-flex;
        justify-content:space-around;
        align-items: center;
        list-style-type: none;
    }

    .menu-top img{
        width: 7vw;
        filter: drop-shadow(0 0 5px black);
    }

    .icone{
        background: #FFFFFF22;
        position: relative;
        top:0;
        left:0;
        aspect-ratio: 1/1;
        width: 9vh;
        /*height: 100%;*/
        content: "";
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16%;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .icone:hover{
        background: rgb(245,245,245);
        background: linear-gradient(295deg, rgba(245,245,245,0.3) 37%, rgba(255,255,255,0.4) 51%, rgba(230,230,230,0.3) 52%);    
    }

    .application img{
        /*width: 20%;*/
        height: 10vh;/*
        aspect-ratio: 1/1;*/
    }

    .icone img{
        opacity:(0.9);
    }

    .icone-1{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    .icone-1 img{
        height: 80%;
        width: auto;
    }

    .icone_pleine_page{
        position:absolute;
        top:0;
        left:0;
        width: 100%;
        height: 100%;
        content: "";
        border-radius: 100%;
        text-align: justify;
        display: flex;
        justify-content: start;
        align-items: center;
        font-family: Arial, Helvetica, sans-serif;
        z-index: 5;
        border-radius: 0px;
        transition: border-radius cubic-bezier(0.075, 0.82, 0.165, 1) 1s, width cubic-bezier(0.075, 0.82, 0.165, 1) 1s, height cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    }

    .cache{
        visibility: hidden;
        overflow: hidden;
        position: absolute;
        width: auto;
        height: auto;
        min-height: 100vh;
        background-color: bisque;
        z-index: 2;
    }

    .centre_clique{
        z-index: 100;
    }

    #time{
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 3;
        width: 90vw;
        /*color: white;*/
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 12vw;
        text-align: center;
        /*text-shadow: 0 0 50px white, 0 0 40px black, 0 0 30px black, 0 0 20px black, 0 0 10px black, 0 0 0px black;
        */
        /* From https://css.glass */
        color: rgba(255, 255, 255, 0.8);
        /*border-radius: 16px;*/
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
        /*backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);*/
    }

    #date{
        font-family:'Times New Roman', Times, serif, Arial, sans-serif;
        font-size: 8vw;
        margin: 0;
    }

    .application{
        visibility: hidden;
        display: flex;
        flex-direction: column;
        /*grid-template-columns: 1fr;
        grid-template-rows: 1fr 3fr 2fr 1fr 1fr;*/
        position: fixed;
        top: 10vh;
        left: 10vw;
        min-height:80vh;
        height: 80vh;
        width: 80vw;
        max-width: 100vw;
        background: #00000044;
        z-index: 99;
        border-radius: 50vw;
        padding: 1vh 5vw 15vh 5vw;
        font-size: 1rem;
        backdrop-filter: blur(5px);
        -moz-backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        overflow-y: auto;
    }

    .gauche, .droite{
        display: flex;
        flex-direction: column;
        position: fixed;
        top:0;
        background: rgb(245,245,245);
        background: linear-gradient(295deg, rgba(245,245,245,0.3) 37%, rgba(255,255,255,0.4) 51%, rgba(230,230,230,0.3) 52%);
        backdrop-filter: blur(7px);
        -moz-backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
        z-index: 101;
        width:99vw;
        justify-content: center;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        border: 1px solid rgba(255,255,255,0.5);
        text-shadow: 1px 1px 0px rgba(200,200,200,0.8);
        color: rgba(255,255,255,1);
    }

    .gauche{
        left:-100vw;
    }

    .droite{
        left:100vw;
    }

    .otacon{
        position: fixed;
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        bottom: 10vh;
        z-index: 50;
        width:40vw;
        height:55vh;
        left: 100vw;
        transition: all ease-in-out 1s;
    }

    .corps{
        height:67%;
        width:100%;
    }

    .otacon img{
        position:relative;
        bottom:0;
        left:0;
        backdrop-filter: drop-shadow(50px 50px 50px pink);
    }

    .bulle{
        background-image: url(../bulle.png);
        background-repeat: no-repeat;
        position: relative;
        bottom: 0;
        background-size: contain;
        height:33%;
        width:100%;
        text-align: center;
        padding-top: 10px;
        font-family: 'Press Start 2P';
    }

    .small{
        font-size: small;
    }

    .xx-small{
        font-size: xx-small;
    }

    .application div{
        background-color: #FFFFFF44;
        border: solid 1px #FFFFFF55;
        border-radius: 10px;
        padding: 5%;
        margin-bottom: 10px;
        width: 90%;
        font-size: 12px;
        font-size: max(12px, min(2vw, 2.5vw)); 
        font-size: clamp(12px, 2vw, 2.5vw);
        color: white;
    }

    .application > :first-child{
        background: none;
        border: 0;
        color: white;
        filter: drop-shadow(0 0 5px grey);
        text-align: center;
        margin-bottom: 0;
    }

    .application > :nth-child(2){
        /*font-size: 12px;*/
        text-align: left;
    }

    .application > :nth-child(3) > img{
        float: left;
        border-radius: 10px;
        border: 1px solid #FFFFFF99;
        margin-right: 4vw;
    }

    .application > :nth-child(3){
        /*font-size: 12px;*/
        text-align: left;
    }

    .application > :nth-child(4){
        /*font-size: 12px;*/
        text-align: left;
    }

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

    .visible{
        visibility: visible;
        position:fixed;
        top:0.5vh;
        left:0.5vw;
        height: 83vh;
        width:89vw;
        border-radius: 5vw;
        transition: top ease-in-out 1s, left ease-in-out 1s, cubic-bezier(0.075, 0.82, 0.165, 1) 1s, width cubic-bezier(0.075, 0.82, 0.165, 1) 1s, height cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
        overflow-x: hidden;
        border: 1px solid rgba(255,255,255,0.7);
    }

    .visible_gauche/*, .visible_droite*/{
        visibility: visible;
        position:fixed;
        top:0.5vh;
        left:0.5vw;
        height: 99vh;
        width:99vw;
        border-radius: 5vw;
        transition: top ease-in-out 1s, left ease-in-out 1s, cubic-bezier(0.075, 0.82, 0.165, 1) 1s, width cubic-bezier(0.075, 0.82, 0.165, 1) 1s, height cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
        
    }

    .visible_otacon{
        visibility: visible;
        transform-origin: left;
        transform-origin: bottom left;
        transform: translateX(-10vw) rotate(-30deg);
        transition: all ease-in-out 1s;
    }

    .abaisser{
        position: fixed;
        top: 100vh;
        transition: all ease-in-out 1s;
    }

    .app{
        margin-left: 10px;
    }

    .app li{
        text-align: left;
    }

    .A2{
        background-color: red;
    }

    .bas{
        content: "";
        height: 7vh;
        line-height: 7vh;
        position: fixed;
        bottom: 0;
    }

    .bureau {  
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: auto 0vh 15vh 15vh 15vh;
        gap: 5vw 3vw;
        grid-auto-flow: row;
        grid-template-areas:
            "Heure Heure Heure Heure"
            "Vide Vide Vide Vide"
            ". . . ."
            ". . . ."
            ". . . .";
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 7dvh;
        left: 0;
        height: 93dvh;
        padding: 0 4vw;
        z-index: 0;
        justify-items: center
    }

    .Vide { grid-area: Vide; }

    .widget_heure { grid-area: Heure; }

    .pp{
        width: 40%;
        aspect-ratio: 1/1;
        background-color: white;
        position: relative;
        left: 30%;
        border-radius: 5vw;
        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);
        margin-bottom: 5vh;
    }

    .pp img{
        width:100%;
    }

    .cv{
        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%);
        backdrop-filter: blur(10px);
        margin: 5vw;
        border-radius: 5vw;
        padding: 2vw;
        color: #222222;
        box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.1);
    }

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

    .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;
    }

    .white{
        color:white;
    }

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

    .desktop-bureau, .desktop-menu, .desktop-grille, .desktop-icone, .desktop-icone-1, .desktop-heure, .desktop-demarrer-up, .desktop-pp,.desktop-cv, .desktop-demarrer, .desktop-monter, .desktop-container, .desktop-application, .desktop-fenetre, .desktop-top_barre, .desktop-fermeture, .desktop-panneau_gauche, .desktop-panneau_droit, .desktop-visible, .desktop-open, .desktop-abaisser, .desktop-popup, .desktop-close, .desktop-F11, .desktop-notif, .desktop-notif-up, .desktop-container-preloader, .desktop-preloader, .desktop-bienvenue, .desktop-out{
        display: none;
    }

}