﻿* {
    box-sizing: border-box !important;
}

html,
body {
    height: 100vh !important;
    overflow: hidden;
}

#gallery img {
    height: 100% !important;
}

.pswp__shareButtons {
    background: transparent !important;
}

.share-buttons {
    position: relative;
    top: 10px;
    right: 0;
    z-index: 1000;
    padding: 6px 10px;
    padding-right: 0;
    border-radius: 5px;
    display: flex;
    gap: 6px;
}

.share-buttons a {
    color: rgba(255, 255, 255, .9);
    font-size: 1.25rem;
    text-decoration: none;
    margin-right: .75rem;
}

.share-buttons a:last-child {
    margin-right: 0;
}

.share-buttons a:hover {
    color: #fff;
}

#copyAlert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999 !important;
}

#loaderContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #FFFFFF;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
    transition: opacity .5s ease;
    opacity: 1;
    pointer-events: all;
}

#loaderContainer.hide {
    opacity: 0;
    pointer-events: none;
    z-index: -999999999;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid lightblue;
    border-right-color: orange;
    animation: l2 1s infinite linear;
}

@keyframes l2 {
    to {
        transform: rotate(1turn);
    }
}