﻿html {
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: rgba(255,255,255,1);
    overflow-x: hidden;
    background-color: black;
    position: relative;
}

header, footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 10;
    position: fixed;
    height: 5vh;
    padding: 0.4vh;
    box-sizing: border-box;
}

header {
    justify-content: space-between;
    top: 0;
    width: 100%;
}

footer {
    justify-content: flex-end;
    left: 0;
    bottom: 0;
}

footer {
    justify-content: flex-start;
}

    header img, footer img {
        height: 100%;
    }

a {
    text-decoration: none;
    color: inherit;
}

    a:hover {
        text-decoration: underline;
    }

    a::after {
        content: "➹";
        color: red;
    }

    a[href^='mailto']::after {
        content: "✉";
    }

#Hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    width: 15vh;
    height: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}

    #Hamburger .Barre {
        display: inline-block;
        background-color: white;
        width: 30%;
        box-sizing: border-box;
        height: 8px;
        border-radius: 1vh;
        transition: width 0.3s;
        flex-shrink: 0;
        flex-grow: 0;
        border-style: solid;
        border-color: black;
        border-width: 1px;
    }

.MenuVisible #Hamburger .Barre:first-of-type {
    width: 50%;
}

.MenuVisible #Hamburger .Barre:nth-of-type(2) {
    width: 75%;
}

.MenuVisible #Hamburger .Barre:last-of-type {
    width: 100%;
}

nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    color: white;
    position: absolute;
    top: 5vh;
    right: -35vh;
    /*right: 0;*/
    padding: 0.5vh;
    z-index: 100;
    border-radius: 1vh;
    transition: right 0.3s;
}

.MenuVisible nav {
    right: 0 !important;
}

.MenuItem {
    font-size: 1.5vh;
    margin-top: 2px;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
    height: 7vh;
}

    .MenuItem:first-of-type {
        margin-top: 0;
    }

.MenuItemIcon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 7vh;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
}

    .MenuItemIcon img {
        min-height: 130%;
        min-width: 130%;
        transition: min-height 0.3s, min-width 0.3s;
    }

.MenuItemTexte {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-end;
    text-align: right;
    padding: 4px;
    height: 100%;
    padding-right: 6px;
    border-style: solid;
    border-width: 1px;
    border-right-width: 0;
    border-color: rgba(255,255,255,0.2);
    border-top-left-radius: 0.5vh;
    border-bottom-left-radius: 0.5vh;
    background-color: rgba(0,0,0,0.7);
    box-sizing: border-box;
    opacity: 0.4;
    transition: opacity 0.3s;
    width: 25vh;
}

.MenuItem:hover img {
    min-height: 160%;
    min-width: 160%;
}

.MenuItem:hover .MenuItemTexte {
    opacity: 1;
}

#ZoomContainer {
    z-index: 20;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 25vh;
    width: 25vh;
    border-radius: 100%;
    border-style: solid;
    border-color: rgba(255,255,255,0.2);
    border-width: 4px;
    overflow: hidden;
}

.ZoomOn #ZoomContainer {
    display: inline-flex !important;
}

#ZoomContainer img {
    position: absolute;
    display: none;
}

.ZoomLoaded img {
    display: inline !important;
}

.ZoomLoaded progress {
    display: none;
}

@media screen and (orientation: portrait) {
    #IntroVideoPlaySpan {
        display: none;
    }

    #home h1 {
        font-size: 1vw;
    }

    .MenuItemTexte {
        opacity: 1;
    }
}
