/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --red: firebrick;
    --linkbg: rgba(128, 128, 128, 0.0);
    --linkfg: rgba(250, 250, 250, 1);
    --linkfginactive: rgba(98, 98, 98, 1.0);
    --mainbg: rgba(20, 20, 25, 1.0);
    --headerbg: rgba(78,78,78,0.3);
    --shadow: rgba(15,10,10,0.4);
    --contact: rgba(40,40,50,1.0);
    --contacthover: rgba(170,170,170,1.0);
}

* {
    padding: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    overflow: hidden;

}

body, html {
    font: 22px/1.5 sans-serif;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

h1 {
    text-align: center;
    margin: 20px 0;
}


/* MAIN STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
    background: var(--mainbg);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    /*max-width: 800px;*/
    /*margin: 0 auto;*/
    width: 100%;

    flex: 0.8;
    overflow: auto;
}

.header {
    z-index: 4;
    flex: 0.1;
}

.header h1{
    display: block;
    height: auto;
    width: 50%;
    margin: 0 auto;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
	color: var(--linkfg);
    /*background-color: var(--headerbg);
    border-radius: 16px;*/
    /*box-shadow: 5px 5px var(--shadow);*/

}

.container .list-item {
    position: relative;
    color: var(--linkfginactive);
    width: 90%;
    height: 3em;
    display: block;
    /*border-bottom: 2px dashed var(--red);*/
    transition: all 0.2s;
    font-size: 32px;
    /*margin: 0px auto 0px 20%;*/
}

.list-item a, .list-item .contact {
    font-family: Arial, serif;
    font-weight: bold;
    margin-left: 5%;
    margin-top: 30%;
    margin-bottom: 30%;
}

.list-item .contact{
    color: var(--contact);
}

.list-item .contact:hover{
    color: var(--contacthover);
}

.container .list-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-height: 30px;
    transform: translate(-50%, -50%) scaleX(0);
    padding: 10px;
    z-index: -1;
    transform-origin: 50%;
    background-color: var(--linkbg);
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all 0.3s ease-in-out;
}

.coverLeft .bg{
    background-position-x: 0%;
    background-position-y:  66%;
}

.coverCenter .bg{
    background-position-x: 50%;
    background-position-y:  66%;
}

.coverRight .bg{
    background-position-x: 100%;
    background-position-y:  66%;
}

@media screen and (max-width: 1080px) {
	.coverRight .bg{
		background-position-x: 60%;
	}
}

@media screen and (max-height: 1080px){
	
}

.bg-show .bg {
    z-index: 1;
    opacity: 1;
}

.bg-show .list-item:hover {
    z-index: 2;
    border-bottom-color: transparent;
    color: var(--linkfg);
}

.bg-show .list-item{
    z-index: 2;
    color: var(--linkfginactive);
}

.bg-show .container .list-item:hover::before {
    transform: translate(-5%, -50%) scaleX(1);
    transition: transform 0.8s 0.6s ease-out;
}

a {
    text-decoration: underline 0.15em rgba(0, 0, 0, 0);
    text-underline-offset: 0.2em;
    transition: text-decoration-color 800ms;
}

.list-item:hover a {
    text-decoration-color: var(--linkfg);
    transition: text-decoration-color 800ms;
}

/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 10px;
    flex: 0.1;

}

.page-footer span {
    color: var(--red);
}

/* SCROLLBAR
------------------------------- */
/* width */
::-webkit-scrollbar {
    width: 16px;
    z-index: 99;
}
/* Track */
::-webkit-scrollbar-track {
    background: var(--mainbg);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--linkfginactive);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--linkfg);
}

span.frg { unicode-bidi:bidi-override; direction:rtl }
span.frg.nrm:before { content:"648 763 " }
span.frg.nrm:after { content:" 024+" }