
@media (orientation:landscape){
    .mobile{
        display : none;
    }
}


#homeSelection{
    display: block;
    position: fixed;
    top : 0;
    left: 0;
    width: 100vw;
    line-height: 0;
    white-space: none;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.hLink{
    width: 50%;
    height: 50%;
    display: inline-block;
    overflow: hidden;
    float: left;
    position: relative;
    background-color: black;
}

.hLink img{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    max-width: 150%;
    max-height: 150%;

}
.hLink div{
    display: block;
    position: absolute;
    width: 100%;
    background-color: white;
    text-align: center;
    padding: 5px 0 3px;
    bottom: 0;
    transition: .2s;
    line-height: 1.4;
    font-size: var(--CenText);
    border-bottom: 1px solid black;
    transform: translate(0 , 105%);
}


.hLink:hover img:last-of-type{
    display: none;
}

.hLink:hover div{
    transform: translate(0 , 0);
}


#menu{
    display: none;
    position: fixed;
    top: 0;
    width: 90%;
    z-index: 3;
    color: white;
    left: 5%;
    overflow-y: scroll;
    font-family: druk;
    background-color: black;
    height: 100vh;
}

#nav{
    display: block;
    margin: 2%;
    width: 46%;
    text-align: center;
}

#nav a{
    display: block;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid white;
    font-size: 2vw;
}

#nav a:last-of-type{
    border-bottom: 0px;
    margin-bottom: 6vw;
}

#nav a:hover{
    background-color: white;
    color: black;
}


#actualites{
    display: block;
    position: fixed;
    top: 0;
    left: 50%;
    width: 45%;
}

#agendaActu{
    margin: 2vw;
}

#agendaActu .actual{
    font-size: var(--DrTitle);
}

.anneeActu{
    display: block;
    margin-top: 20px;
    font-size: var(--DrLow);
    margin-bottom: 10px;
}

.moActu{
    display: block;
    font-family: century;
    background-color: white;
    color: black;
    padding: 10px 0;
    text-indent: 5px;
    width: 100%;
}

.moisActu{
    font-size: var(--CenLow);
}

.dateActu{
    display: flex;
    padding: 10px 5px 10px 5px;
    justify-content: space-between;
    font-family: century;
    align-items: center;
    text-align: left;
}

.dateMonthActu{
    border-bottom: 1px solid white;
}

.dateActu .jour{
    width: 7%;
}

.dateActu .representation{
    width: 30%;
}

.dateActu .lieu{
    width: 20%;
}

.dateActu .ville{
    width: 20%;
}

.dateActu .pays{
    width: 10%;
}




.letter{
    display: block;
    margin: .5%;
    position: fixed;
    height: 44vh;
    width: auto;
    pointer-events: none;
}

#G{
left: 0%;
}


#A{
    left: 50%;
}


#N{
    top: 50%;
}


#G2{
    top: 50%;
    right: 0;
}

@media (orientation:portrait){

    .letter{
        margin: 1dvh;
        height: 25dvh;
        
    }

    
    
    #A{
        top: 0 !important;
        right: 0% !important;
        left: unset !important;
    }
    
    
    #G{
        left: 0 !important;
        top: 0 !important;
        bottom: 0% !important ;
    }

    #N{
        right: 0 !important;
        top: unset !important;
        left: 0 !important;
        bottom:calc(3dvh + var(--CenText)) !important;
    }
    
    
    
    #G2{
        top: unset !important;
        bottom:calc(3dvh + var(--CenText)) !important;
    }

    #menu{
        width: 100%;
        left: 0;
        height: 90vh;
        overflow-y: scroll;
    }

    #nav{
        margin: 0 auto;
        width: 90%;
    }

    #nav a{
        font-size: var(--DrTitle);
        padding: 5dvw 0;
    }

    #agendaActu{
        margin: 5dvw;
        margin-top: 10dvw;
    }

    #actualites{
        display: block;
        position: relative;
        top: 0;
        left:0%;
        width: 100%;
    }

    .dateActu .jour{
        width: 10%;
    }
    
    .dateActu .representation{
        width: 30%;
    }
    
    .dateActu .lieu{
        width: 25%;
    }
    
    .dateActu .ville{
        width: 25%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
    .dateActu .pays{
        display: none;
    }
    


    #homeSelection{
        display: block;
        position: relative;
        background-color: white;
        white-space: none;
        height: auto;
        padding-bottom: 10vh;
        overflow: auto;
    }
    
    .hLink{
        width: 100%;
        height: 50dvh;
        display: block;
        overflow: hidden;
        float: auto;
    }



    .hLink div{
        padding: 1dvh 0;
        border-bottom: 1px solid black;
        transform: translate(0 , 0);
    }
    

}