/*  Version wip */

body{
    background-color: var(--background-color);
    color: var(--color);
    font-family: roboto, sans-serif;
    font-weight: 400;
}

a:link, a:visited, a:active, a:hover{
    color: var(--color);
    text-decoration: none;
}

a:hover {
    color: var(--color-variant);
}

.footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0%);
    font-size: 14px;
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    cursor: pointer;
    z-index: 999;
}

.title {
    font-size: 18px;
}

.navigator-panel {
    background-color: var(--background-color);;
    position: fixed;
    top: -300px;
    left: 0;
    width: 100%;
    transition-duration: 0.5s;
}

.navigator {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: scroll;    
    padding-bottom: 20px;
    width: 100%;
}

.header:hover .navigator-panel{
    top: 5px;
}

.navigator .thumbnail {
    margin: 5px;
    padding-bottom: 1px;
}

.navigator .thumbnail:first-child {
    margin-left: auto;
    padding-left:5%;
}

.navigator .thumbnail:last-child {
    margin-right: auto;
    padding-right:5%;
}

.thumbnail-current {
    background-color: var(--color-variant);;
}

.thumbnail-disabled {
    opacity: 25%;
}

.buttons-bar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-button {
    width: 32px;
    height: auto;
}

.img-button-tooltip {
    display: none;
    position: absolute;
    margin: 7px;
    right: 190px;
    width: 500px;
    text-align:  right;
}

.img-button:hover + .img-button-tooltip {
    display: block;
}

.admin-buttons {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


.container {
    position: absolute;
    margin: auto;
    left: 10px;
    top: 50px;
    bottom: 50px;
    right: 10px;
}

.arrow {
    width: 64px;
    height: auto;
}

.picture {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    opacity: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-name: fade-in;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    cursor: zoom-in;
}


.prev, .next {
    position: absolute;
    background-color: var(--background-color-arrow); 
    border: none;
    cursor: pointer;
    text-align: center;
    height:100%;
    width: 20%;
    max-width: 200px;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: linear 1s;
    animation-name: fade-in-out;
    animation-duration: 3s;
}

.prev {
    top: 0;
    left: 0;
}

.next {
    top: 0;
    right: 0;
}

.prev:hover, .next:hover {
    opacity: 100%;
}

.prev:hover + .hidden, .next:hover + .hidden {
    filter: opacity(100);
}

.navigator-panel .prev, .navigator-panel .next {
    top: 30px;
    height: 200px;
    width: 5%;
}


.multipicture {
    height: 100%;
    animation-name: fade-in;
    animation-duration: 3s;
}

.multipicture > div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: auto;
}

.multipicture > div > a {
    margin: 10px;
    text-align: center;  
}

.multipicture > div > a > img {
    max-width: 100%;    
    text-align: center;
    cursor: zoom-in;
}

.contact-button {
    cursor: pointer;
}

.contact-panel {
    background-color: var(--background-color-variant);
    position: fixed;
    display: flex;
    align-items: stretch;
    text-align: left;
    bottom: -1000px;
    transition-duration: 0.5s;
    border-radius: 25px;
    padding: 20px;
    gap: 10px;
}

.contact-panel > div > img {
    width: 64px;
    border-radius: 10px;
}

.contact-button:hover .contact-panel {
    bottom: 0;
}

@media only screen and (orientation: portrait) {
    .title {
        display: flex;
        justify-content: center;
        align-items: center;        
    }
 
}

@keyframes fade-in {
    0%   { opacity: 0; }
    100% { opacity: 100; }
}

@keyframes fade-in-out {
    0%   { opacity: 0; }
    25%  { opacity: 100; }
    100% { opacity: 0; }
}