@font-face {
    font-family: Trueno;
    src: url("../fonts/truenolt.otf") format("opentype");
}

@font-face {
    font-family: TruenoLight;
    src: url("../fonts/truenoultlt.otf") format("opentype");
}

html, body, div#body-content {
    height: 100%;
    width: 100%;

    font-family: 'Trueno', sans-serif !important;
    font-size: 22px;
    font-weight: 300;

    color: #444444;

    overflow-x: hidden;

    line-height: 1.5em !important;

    background-color: black;
    background: url(../img/background.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;

}

.fancybox-content {
  height: 100% !important;
}

.fancybox-image, .fancybox-spaceball {
  object-fit: contain !important;
}

.hidden {
    display: none;
}

/** wee chat **/

.navbar {
    background-color: rgba(68, 68, 68, 0.6) !important;

    font-family: 'TruenoLight' !important;
}

.navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show > .nav-link {
    color: white;
}

.navbar-dark .nav-link {
    color: white;
}

div.navbar {
    animation: 0.3s ease-in ease-out;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.pad-section {
    /*padding-top: 77px; */
}

.pad-section img {
    /*width: 100%;*/
}

section#start {

    position: relative;

    height: 100%;
    /*justify-content: center;
    align-items: center; */

}

section#start a {
    letter-spacing: 5px;
}

section#content {

    position: relative;
    /*min-height: 100%;*/

    background-color: rgba(0, 0, 0, 0.65);

}

section#content-intro {

    position: relative;
    /*min-height: 100%;*/

    background-color: rgba(0, 0, 0, 0.65);
    color: white;

    letter-spacing: 5px;
}

div#content-intro-body > .row {
    padding: 50px;

}

section#image-content {
    min-height: 100%;

    position: relative;

    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    letter-spacing: 5px;
    display: flex;

}

section#image-content div#image-back {

    position: absolute;

    left: 50%;
    top: 5%;

    transform: translateY(-50%);
}

section#image-content div#image-step-back {
    position: absolute;

    left: 10%;
    top: 50%;

    transform: translate(-90%, -50%);
}

section#image-content div#image-step-forward {
    position: absolute;

    left: 90%;
    top: 50%;

    transform: translate(-10%, -50%);
}

section#image-content div#image-back:hover {
    cursor: pointer;
}

section#image-content div#image-content-loading {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

section#image-content div#image-body {

    position: absolute;

    height: 60%;
    width: 60%;

    left: 65%;
    top: 35%;

    transform: translate(-50%, -35%);
}

div#image-step-forward:hover {
    cursor: pointer;
}

div#image-step-back:hover {
    cursor: pointer;
}

section#image-content div#image-description {
    position: absolute;

    left: 50%;
    top: 85%;

    height: 15%;
    transform: translateX(-50%);
}

section#image-content div#image-body .img-center {
    width: auto;
    max-height: 100%;
}

section#content div#content-body {
    height: 100%;
    width: 100%;
}

section#content div#content-loading {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

section#content div#content-body .image-box-loading {
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

section#content div#content-body img {
    object-fit: cover;
    object-position: center;

    height: 100%;
    width: 100%;
}

section#start div#logo-container {
    position: absolute;

    top: 8%;
    left: 9%;

}

/*** NEW TILES ***/

.image-block {

    background-color: rgba(0, 0, 0, 0.65);
    padding: 0px;
    margin: 0px;
    height:300px;
    text-align: center;
    vertical-align: bottom;

    position: relative;

    cursor: pointer;
}

.sub-image-block {
    display: none;
}

.image-block > p {
    width: 100%;
    height: 100%;
    font-weight: normal;
    font-size: 19px;
    padding-top: 150px;
    background-color: rgba(3,3,3,0.0);
    color: rgba(6,6,6,0.0);

    position: absolute;
    left: 0;
    top: 0;
}
.image-block:hover > p {
    background-color: rgba(3,3,3,0.5);
    color: white;
}

.image-block > i {

    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    color: rgba(255, 255, 255, 0.5);
}


.back-to-top {
    position: fixed;
    bottom: 0;
    left: 50%;

    margin-left: -32px;

    color: white;

    height: 64px;
    width: 64px;

    z-index: 999999;

    display: none;
}

.back-to-top:hover {
    cursor: pointer;
}

/** SMARTPHONE PORTRAIT **/
@media (max-width: 667px) {

    section#start div#logo-container {
        top: 20%;
    }

    section#start div#logo-container img {

        width: 60%;

    }

    span.caption, span.caption-impressum {
        font-size: 0.35em;
        letter-spacing: 5px !important;
    }


    .fa-2x {
        font-size: 0.5em;
    }


}

section#start div#language-container {

    position: absolute;

    top: 5%;
    left: 0;
}

section#start div#language-container span {

}

section#start div#language-container a {

    /*margin-left: 35px;

    letter-spacing: 5px;

    animation: 0.3s ease-in;*/
}

section#start div#language-container a:hover {
    /* font-size: 1.2em; */
}

section#overview {
    height: 100%;

    display: flex;

    background-color: #444444;

}

section#contact {

    min-height: 600px;

    color: #DCDCDC;
    font-size: 0.7em;

    padding-top: 0px;

    background-color: rgba(0, 0, 0, 0.65);
}

.grid-container {
    width: 100%;
    height: 100%;
}

.outer-grid {
    position: relative;
    float: left;
    width: 33.3%;
    height: 33.3%;

}

.social-container > .grid-container > .outer-grid {
    width: 25%;
    height: 100%;
}

.social-container > .grid-container {
    height: 25%;
}

.social-container > .impressum {
    height: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

}

.social-container {
    background-color: rgba(255, 255, 255, 0.2) !important /*rgba(255,255,255,0.3)*/;
}

.social-container:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
    /*background-color: white !important; */
}

.social-container .caption-impressum {

    letter-spacing: 10px;
    color: white;

}

.outer-square {
    position: absolute;
    left: 0;
    top: 0;
    width: 90%;
    height: 33.3%;
    margin: 5%;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
}

.inner-grid {
    width: 33.3%;
    height: 33.3%;
    display: table;
}

.inner-square {
    line-height: 100%;
    font-size: 50px;
    font-weight: bold;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.social-box-container {
    left: 0;
    top: 5%;

    position: absolute;

    z-index: 1031;
}

.social-box {
    height: 36px;
    width: 36px;

    padding-top: 5px;
    padding-left: 10px;

    background-color: #444444;

    animation: 0.2s ease-in ease-out;

}

#social-box-fb.social-box {
    background-color: #4468b0;
}

#social-box-pinterst.social-box {
    background-color: #bb0f24;
}

#social-box-instagram.social-box {
    /*background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);*/

    background-color: #fca53f;

    padding-left: 8px !important;
    padding-top: 3px !important;
}

.social-box:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.social-box i {
    color: black;
}

.social-box:after {
    content: "\A";
    white-space: pre;
}

ul.language-list > li {
    display: inline;

    margin: 40px;
}

a:active, a:hover {
    outline: 0;
}

a.underline-animation:hover:before {
    width: 0;
}

a.underline-animation:after, a.underline-animation:hover:before {
    background: #222;
    transition: width .5s ease;
}

a.underline-animation:before {
    left: 0;
    transition: width 0s ease;
}

a.underline-animation {
    display: inline-block;
    color: #222;
    position: relative;
    padding-bottom: 2px;
}

a.underline-animation:after, a.underline-animation:before {
    display: block;
    position: absolute;
    width: 100%;
    content: '';
    height: 2px;
    bottom: 0;
}

a.underline-animation:hover:after {
    width: 0;
    background: 0 0;
    transition: width 0s ease;
}

a.underline-animation:after {
    right: 0;
}

.start-image {

    width: 20% !important;

    animation: 0.3s ease-in;

    top: 50%;
    right: 0;

    position: absolute;

    transform: translateY(-50%);
}

.start-image:hover {
    cursor: pointer;
}

.inner-container {
    height: 100%;
    width: 100%;

    color: white;

    background-color: rgba(0, 0, 0, 0.5);
}

.inner-container:not(.social-container) {
    letter-spacing: 10px;
}

.inner-container span.caption {
    bottom: 5%;
    width: 100%;

    position: absolute;

    text-align: center;
}

.inner-container span.video {
    top: 50%;
    left: 50%;

    width: 20%;
    height: 20%;

    position: absolute;

    text-align: center;

    transform: translate(-50%, -50%);

    opacity: 0.4;
}

.inner-container:hover span.video {
    opacity: 0;
}

.inner-container:hover {
    background-color: transparent;
    cursor: pointer;
}

.social-media-grid {

    /*width: 20%;
    height: 20%;*/

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

/* Facebook-Grid */

.facebook-grid {
    background-color: /*rgba(60, 90, 150, 0.4) */ rgba(255, 255, 255, 0.1);
}

.facebook-grid i {
    opacity: 0.4;
    color: black;
}

.facebook-grid:hover {
    background-color: rgba(60, 90, 150, 1);
}

.facebook-grid:hover i {
    opacity: 1;
    color: white;
}

/* Pinterest-Grid */

.pinterest-grid {
    background-color: /*rgba(187, 15, 36, 0.4) */ rgba(255, 255, 255, 0.1);
}

.pinterest-grid i {
    opacity: 0.4;
    color: black;
}

.pinterest-grid:hover {
    background-color: rgba(187, 15, 36, 1);
}

.pinterest-grid:hover i {
    opacity: 1;
    color: white;
}

/* Instagram-Grid */

.instagram-grid {
    background-color: /*rgba(252, 165, 63, 0.4)*/ rgba(255, 255, 255, 0.1);
}

.instagram-grid i {
    opacity: 0.4;
    color: black;
}

.instagram-grid:hover {
    background-color: rgba(252, 165, 63, 1);
}

.instagram-grid:hover i {
    opacity: 1;
    color: white;
}

/* Wikipedia-Grid */

.wikipedia-grid {
    background-color: /*rgba(0,0,0, 0.4)*/ rgba(255, 255, 255, 0.1);
}

.wikipedia-grid i {
    opacity: 0.4;
    color: black;
}

.wikipedia-grid:hover {
    background-color: black;
}

.wikipedia-grid:hover i {
    opacity: 1;
    color: white;
}

/* Email-Grid */

.email-grid {
    background-color: rgba(147, 122, 158, 0.1);
}

.email-grid i {
    opacity: 0.4;
}

.email-grid:hover {
    background-color: rgba(147, 122, 158, 1);
}

.email-grid:hover i {
    opacity: 1;
}

/* WeChat-Grid */

.wechat-grid {
    background-color: /*rgba(54, 191, 33, 0.4)*/ rgba(255, 255, 255, 0.1);
}

.wechat-grid i {
    opacity: 0.4;
    color: black;
}

.wechat-grid:hover {
    background-color: rgba(54, 191, 33, 1);
}

.wechat-grid:hover i {
    opacity: 1;
    color: white;
}

/* LinkedIn-Grid */

.linkedin-grid {
    background-color: /*rgba(17, 120, 179, 0.4) */ rgba(255, 255, 255, 0.1);
}

.linkedin-grid i {
    opacity: 0.4;
    color: black;
}

.linkedin-grid:hover {
    background-color: rgba(17, 120, 179, 1);
}

.linkedin-grid:hover i {
    opacity: 1;
    color: white;
}

/* YouTube-Grid */

.youtube-grid {
    background-color: /*rgba(252, 13, 28, 0.4)*/ rgba(255, 255, 255, 0.1);
}

.youtube-grid i {
    opacity: 0.4;
    color: black;
}

.youtube-grid:hover {
    background-color: rgba(252, 13, 28, 1);
}

.youtube-grid:hover i {
    opacity: 1;
    color: white;
}

/* Steemit-Grid */

.steemit-grid {
    background-color: /*rgba(37, 213, 170, 0.4)*/ rgba(255, 255, 255, 0.1);
}

.steemit-grid i {
    opacity: 0.4;
    color: black;
}

.steemit-grid:hover {
    background-color: rgba(37, 213, 170, 1);
}

.steemit-grid:hover i {
    opacity: 1;
    color: white;
}

div.contact-content {
    position: relative;

    height: 100%;
    width: 100%;
}

div.contact-content img {
    /*position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    height: 20%;
    width: 20%;*/
}

div.body-load {
    height: 100%;
    width: 100%;

    background-color: #444444;
}

div.body-load > div.spinner-container {
    top: 50%;
    left: 50%;

    position: absolute;

    transform: translate(-50%, -50%);
}

/****** CONTENT *******/

div#container-intro {
    background: url(../img/intro/bg.jpg) no-repeat center center;
    background-size: cover;
}

div#container-bodypainting {
    background: url(../img/bodypainting/bodypainting_static.jpg) no-repeat center center;
    background-size: cover;
}

div#container-bodypainting:hover {
    background: url(../img/bodypainting/bodypainting.gif) no-repeat center center;
    background-size: cover;
}

div#container-bildhauerei {
    background: url(../img/bildhauerei/sculpture_static.jpg) no-repeat center center;
    background-size: cover;
}

div#container-bildhauerei:hover {
    background: url(../img/bildhauerei/sculpture.gif) no-repeat center center;
    background-size: cover;
}

div#container-sandmalerei {
    background: url(../img/sandmalerei/sandpainting_static.jpg) no-repeat center center;
    background-size: cover;
}

div#container-sandmalerei:hover {
    background: url(../img/sandmalerei/sandpainting.gif) no-repeat center center;
    background-size: cover;
}

div#container-malerei {
    background: url(../img/malerei/bg.jpg) no-repeat center center;
    background-size: cover;
}

div#container-zeichnungen {
    background: url(../img/zeichnungen/bg.jpg) no-repeat center center;
    background-size: cover;
}

div#container-events {
    background: url(../img/events/bg.jpg) no-repeat center center;
    background-size: cover;
}

div#container-presse {
    background: url(../img/presse/bg.jpg) no-repeat center center;
    background-size: cover;
}

video {
    height: 100%;
    width: 100%;

    position: absolute;

    left: 0;
    bottom: 0;
}

section#contact h2, section#contact h3, section#contact h1 {
    font-size: 0.85em !important;
    font-weight: normal;
    text-align: justify;
    letter-spacing: 0;
}

span.contact-name:after {
    height: 2px;
    display: block;
    width: 100%;
    content: '';
    background-color: white;

    margin-bottom: 2px;
}

.social-media-grid {
    position: absolute;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 100px auto;
    background-color: white;

    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }
    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

@media (max-width: 768px) {

    .language-list li a {
        font-size: 0.7em;
    }

    .fa-4x {
        font-size: 2em;
    }

    .contact-content {
        font-size: 0.7em;
    }

    .contact-name {
        font-size: 0.75em;
    }

}

@media (min-width: 668px) and (max-width: 768px) {
    span.caption, span.caption-impressum {
        font-size: 0.4em;
    }

    div.social-media-grid > a > i {
        font-size: 0.4em;
    }

    div#image-body {
        font-size: 0.4em;
    }


}

@media (min-width: 769px) and (max-width: 1000px) {
    span.caption, span.caption-impressum {
        font-size: 0.7em;
    }

    div.social-media-grid > a > i {
        font-size: 0.7em;
    }

    div#image-body {
        font-size: 0.7em;
    }

    .fa-4x {
        font-size: 2em;
    }

    .language-list li a {
        font-size: 0.8em;
    }
}
