@font-face {
    font-family: NeueHaasDisplayLight;
    src: url(typo/NeueHaasDisplayLight.ttf);
}

html, body {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-family: NeueHaasDisplayLight;
    cursor: crosshair;
    scrollbar-width: none;
}

body {
    display: flex;
    flex-flow: row nowrap;
    height: 100vh;
    overflow: hidden;
}

/*_____ NAVIGATION _____*/
#bg {
    position: absolute;
    overflow: hidden;
    width: 80%;
    opacity: 10%;
    margin: 5% 10% 0 15%;
    z-index: -2;
}

a{
    color: black;
    text-decoration: none;
}

nav {
    max-width: 250px;
    padding: 15px;
    position: relative;
    max-height: 100vh;
    overflow-y: auto;
    padding-bottom: 80px;
    scrollbar-width: none;
}

h2 {
    margin-bottom: 0;
    font-weight: normal;
    margin-top: 20px;
}

button {
    white-space: nowrap;
    padding-left: 0;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: NeueHaasDisplayLight;
    background-color: white;
    border: 0;
}

button:hover {
    background-color: #d9ff0049;
}

button:active, .mixitup-control-active {
    background-color: #D9FF00;
}


.mep {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 20px;
}

.mep p {
    padding: 8px;
    border-radius: 20px;
    border: solid 1px black;
    background-color: white;
}

.mep p.gallerie {
    background-color: #D9FF00;
}

.mep p:hover {
    background-color: #d9ff0049;
}

.mep p:active, .active {
    background-color: #d9ff00;
}



/*_____ MAIN _____*/
.container {
    display: flex;
    flex-flow: row wrap;
    gap: 4px;
    margin-top: 10px;
    max-height: 98vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.img {
    height: 130px;
}

.img:hover{
    filter: sepia() hue-rotate(36deg) saturate(170%);
    -webkit-filter: sepia() hue-rotate(36deg) saturate(170%);
}

.container a {
    height: 130px;
}

#formustickers {
    position: fixed;
    bottom: 20px;
    right: 20px;
    rotate: 10deg;
    background-color: #D9FF00;
    border-radius: 100px;
    padding: 0 10px;
    box-shadow: 10px 10px 30px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

#formustickers:hover {
    animation: rotation 0.8s ease-out;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

#formustickers p{
    width: 80px;
    text-align: center;
}


/*___ELEMENT.HTML___*/
nav.element, nav.pagePlan{
    width: 250px;
}

#logo{
    height: auto;
    margin: 0 16%;
    width: 70%;
}

#back {
    position: fixed;
    bottom: 110px;
    left: 180px;
    font-weight: bold;
    text-decoration: none;
    font-size: 80px;
}

#back:hover{
    color: #D9FF00;
    animation: translation 0.8s linear;
}

@keyframes translation {
    from {
        left: 180px;
    }
    to {
        left: 160px;
    }
}

main.element {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: baseline;
}

.element img {
    height: 78vh;
    width: auto;
    margin-top: 20px;
}

.element .img:hover{
    filter: none;
}

.legend {
    margin: 10px 0;
}

.element p {
    font-size: 0.9rem;
    margin: 10px 0;
}

.detail-info{
    max-width: 90vh;
}



/*___POPUP_formu___*/
.hidden {
    display: none;
}

#closebtn {
    position: absolute;
    right: 20px;
    font-size: 2rem;
    top: 0;
    cursor: pointer;
}

#closebtn:hover {
    color: #D9FF00;
    animation: rotation 0.8s ease-out;
}

#popup{
    position: fixed;
    border: solid 1px #D9FF00;
    border-radius: 20px;
    margin: 6% 25%;
    background-color: white;
    width: 40%;
    padding: 10px;
}

#popup h2{
    margin-top: 0;
    margin-bottom: 10px;
}

input{
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 10px;
    border-radius: 10px;
    border: 0px;
    background-color: #d9ff0049;
    padding: 10px;
    font-family: NeueHaasDisplayLight;
    font-size: 0.7rem;
}

input:focus{
    border:0px;
    outline: black solid 1px;
}

input:active{
    border:0px;
}

input[type=file]{
    width: 250px;
}

input[type=file]::file-selector-button{
    background-color: transparent;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: NeueHaasDisplayLight;
    padding-right: 0;
    
}

input[type="submit"]{
    background-color: #D9FF00;
    border: 1px solid #D9FF00;
    font-family:  NeueHaasDisplayLight;
    font-size: 0.8rem;
}

input[type="submit"]:hover{
    background-color: #d9ff0049;
    border: 1px solid black;
}

/*___plan.php___*/

img#imgplan {
    width: auto;
    height: 100vh;
}

