:root{
    --background: #fff;
    --main: #000;
    --highlight: #f12931;
    --main-font: Helvetica Neue, Arial, Verdana, sans-serif;
}

html{
    box-sizing: border-box;
    background-color: var(--background);
    font-family: var(--main-font);
    color: var(--main);
    font-size: 13px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html::-webkit-scrollbar { display: none;}
body{
    margin: 0; 
    display: flex;
    height: 100vh;
}
body > *{
    margin: 0;
    scrollbar-width: none;
}
*, *:before, *:after{ box-sizing: inherit;}
a {
    color: inherit;
    text-decoration: inherit;
}
a:hover, .active{color:var(--highlight); text-decoration: underline;}

#index {
    padding: 20px;
}
.audio {position: relative;}
.audio audio{width: 100%; position: absolute;}

.mobile-hmbrgr{
    position: fixed;
    right: 15px;
    bottom: 25px;
    z-index: 5;
    display: none;
    background-image: url(../assets/hamburger.svg);
    background-repeat: no-repeat;
    width: 35px;
    height: 35px;
}

#exhibit {
    padding: 25px;
    padding-top: 39px;
    overflow: scroll;
    background-repeat: no-repeat;
    /* margin-left: 25px; */
    height: 100%;
    width: 100%;
}
.container p{max-width: 50%; hyphens: none;}
.container.gallery { padding-top: 26px;}
p img{
    width: 125%;
    height: auto;
    padding: 5px 0;
}
#copyrightincont {
    margin-top: -15px;
    font-size: 0.8em;
}
/* table */
table{width: 65%; border-collapse: collapse; line-height: 1.275;}
td {padding: 0; vertical-align: top; min-width: 60px;}
th{text-align: left; font-weight: normal; padding-top: 1.2em;}
/* Gallery */
figure img{ max-height: 80vh;}
figure{ padding:0; width: fit-content; margin: 0; display: none;}
.prev:hover, .next:hover{cursor: pointer;}
figcaption{
    display: flex;
    justify-content: space-between;
}

/* MOBILE */
@media screen and (max-width: 850px) {
     table{width: 75%;}
}
@media screen and (max-width: 500px) {
    html{background-size: contain;}
    .mobile-hmbrgr { display: block; }
    .mobile-hmbrgr.shown { 
        background-image: url(../assets/close.svg); 
        width: 23px;
        height: 30px;
    }
    #index {
        position: fixed; 
        background-color: white;
        height: 100%;
        border-right: solid black 1px;
        transition: all 0.7s; 
        z-index: 4; 
        left: -100vw;}
    #index.shown { left: 0;}
    #exhibit{margin: 0; background-position-x: center; background-size: cover;}

    figure img{width: 100%;}
    figure{ padding: 20px 0; width: 100%;}
    table{width: 100%;}
    td{min-width: 65px;}
    .container p {max-width: 100%;}
    p img { width: 100%;}
    /* #exhibit.intro{margin-left: 23vw;} */
}