@font-face {
    font-family: 'symbols';
    src: url('/fonts/symbols.eot?1');
    src: url('/fonts/symbols.eot?1#iefix') format('embedded-opentype'),
    url('/fonts/symbols.woff2?1') format('woff2'),
    url('/fonts/symbols.woff2?1') format('woff'),
    url('/fonts/symbols.ttf?1') format('truetype'),
    url('/fonts/symbols.svg?1#symbols') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'Romanus';
    src: url('/fonts/ROMANUS.woff2') format('woff2'),
    url('/fonts/ROMANUS.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@keyframes movedx{
    0%{transform: translateX(-3vh)}
    50%{transform: translateX(0)}
    100%{transform: translateX(-3vh)}
}
@keyframes movesx{
    0%{transform: translateX(3vh)}
    50%{transform: translateX(0)}
    100%{transform: translateX(3vh)}
}
::-webkit-scrollbar {
    height: 12px;
    width: 12px;
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: #253e50;
    -webkit-border-radius: 1ex;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}
::-webkit-scrollbar-corner {
    background: #000;
}
body{
	margin: 0;
	padding: 0;
    min-width: 350px;
    height: 100%;
}
html{
    background-image: url(/img/textures/bg2.jpg);
    background-position: center top;
    background-size: auto auto;
	margin: 0;
	padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #393812 #000;
    -webkit-user-select: none;      
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0);
    scroll-behavior: smooth;
    height: 100%;
}
.logo{
    width: 200px;
    height: 246px;
    background-size: 100%;
    position: sticky;
    background-image: url(/img/logostemmaAL.png);
    z-index: 100;
    top: -143px;
    right: 3vh;
    margin-left: auto;
    margin-bottom: 12vw;
}
#main{
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background-image: url(/img/textures/bg1.jpg);
    box-shadow: 0 0 10px 10px #000;
    height: 100%;
}
#main .contents{
    margin-top: -44vw;
}
#main .artw{
    width: 100%;
    height: 0;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: inset 0 -8px 14px 5px #000;
    position: relative;
}
#main .artw.a1{
    background-image: url(/img/artworks/art1.jpg);
    padding-top: 71.5%;
}
#main .tile{
    height: 10px;
    box-shadow: 0px 2px 4px #000;
    background-size: contain;
    background-color: #000;
}
#main .textbox{
    position: absolute;
    bottom: 45px;
    font-size: 50px;
    font-family: 'Romanus', serif;
    padding: 6px 25px;
    color: #fffec1;
    text-shadow: -1px 1px 13px #f70404;
    background-color: #0000008f;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    box-shadow: 6px 0 21px #000000;
    animation: movesx 9000ms infinite ease-out;
}
#mainmenu {
    width: 100%;
    height: 65px;
    background-color: #000000ba;
    box-shadow: 2px 11px 10px 10px #000000ba;
    z-index: 90;
    position: fixed;
    top: 0;
}
#mainmenu ul {
    padding: 0;
    margin: 5px 40px;
}
#mainmenu ul li {
    display: inline-block;
}
#mainmenu ul li a {
    font-family: 'Romanus', serif;
    color: #ffc894;
    font-size: 24px;
    text-decoration: none;
    display: block;
    padding: 20px;
}
#mainmenu ul li a:hover{
    color: #ffead6;
}
.pergamena{
    background-image: url(/img/textures/p3.jpg);
}