:root {
    --imgContainerH: 23dvh;
    --imgContainerH_small: 15dvh;
    --navbarBtns: 6;
}
.container {
    font-family: "Quattrocento Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    line-height: 1.3;
    text-justify: distribute;
     /*background-color: var(--color1);*/
    /**/
}

.ai_wallpaper_1 {
    background-image: url("/tribut/images/decorations/bg_1.png");
    background-attachment: fixed;
    background-size: 60%;
}
.ai_wallpaper_2 {
    background-image: url("/tribut/images/decorations/bg_2.png");
    background-attachment: fixed;
    background-size: 50%;
}
.svg_wallpaper {
    background-image: url("/tribut/images/svg/wallpaper.svg");
    background-attachment: fixed;
    background-size: 100px;
    background-position: -25px;
}
::-webkit-scrollbar {
  width: 1px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--color4);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--color3);
  max-width: 5%;
  border: 1px solid var(--color2);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
   filter: brightness(0.5);
}

.main {
    color: var(--text_color);
    border: 1px solid black;
    background-color: var(--color2);
    opacity: 95%;
}
.main, .navbtn_group {
    counter-reset: sectionCounter;
}
h3::before, .sectionBtn a::before {
    counter-increment: sectionCounter;
    content: counter(sectionCounter)". ";
}

header {
    font-size: clamp(0.9375rem, 0.6534rem + 1.1364dvw, 1.5625rem);
}
.pilz_video {
    width: 25dvw;
}
.container h1, .container h3 {
  font-family: "Quattrocento", serif;
  font-weight: 700;
  font-style: normal;;
}
h1, h3 {
    margin-bottom: 2dvh;
}
h4 {
    margin: 2dvh 0 1dvh 0;
}
.navbtn  {
    width: calc(92dvw / var(--navbarBtns));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1dvh 1.5dvw;
    border: 0.15dvw solid hsl(from var(--color3) h s calc(l - 20));
    border-radius: 4%;
    margin: 0 0.5%;
}
.navbar {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    width: auto;
    overflow: hidden;
    padding-right: 3dvw;
}
.navbar_open, .navbar_close {
    fill:  hsl(from var(--color3) h s calc(l - 20));
}
.navbar_open {
    display: none;
}
.navbar_arrow {
    display: flex;
    align-items: center;
    font-size: 1.8dvw;
    width: 5dvw;
}
.navbar, .navbar a {
    text-decoration: none;
    text-wrap: nowrap;
    font-size: clamp(0.625rem, 0.4513rem + 0.4815dvw, 0.8125rem);
    color: hsl(from var(--color3) h s calc(l - 20));
    font-weight: 700;
}
.navbtn:hover, .navbar_arrow:hover {
   filter:brightness(0.8);
}
.navbtn:hover {
    background-color: hsl(from var(--color3) h s calc(l + 20));
}
.gallery {
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 4dvw;
    align-items: center;
    overflow: hidden;
    gap: 4%;

}
.navbtn_group {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 1dvh 1dvw;
}

p {
    margin-bottom: 2dvh;
    text-indent: 5%;
}

.show_container {
    display: flex;
    animation: fade-in 0.4s ease-in forwards;
}
.hide_container {
    animation: fade-out 0.4s ease-out forwards;
}
@keyframes fade-in {
    0% {
        opacity: 0;
        display: none;
    }
    100% {
        opacity: 1;
        display: flex;
    }
}
@keyframes fade-out {
    0% {
        opacity: 1;
        display: flex;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
.img_container {
    height: var(--imgContainerH);
    padding: 0.3%;
    margin: 0 1.5dvw;
    border: 1px solid rgb(129, 147, 135);
    background-color: var(--text_color);
    box-shadow: 8px 7px 67px -6px rgba(30,39,32,0.75);
    -webkit-box-shadow: 8px 7px 67px -6px rgba(30,39,32,0.75);
    -moz-box-shadow: 8px 7px 67px -6px rgba(30,39,32,0.75);
    transition: transform 0.5s ease, order 0s;
    z-index: 1;
}

.img_container image {
    object-fit: contain;
    pointer-events: none;
}
.img_container:hover {
    filter: brightness(80%);
    background-color: var(--color1);
}
.img_container.moving {
    transform: scale(1.2);
}
.img_list {
    display: none;
}
#modal_showroom {
    display: none;
    position: fixed;
    background-color: var(--color2);
    opacity: 80%;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
        flex-direction: row;
        justify-content: space-around;
        align-content: center;
}
.modal-content {
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    height: 50dvh;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
}
.trigger-area {
    position: absolute;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.left {
    align-items: flex-start;
    width: 10%;
    top: 0;
    left: 0;
}

.right {
    align-items: flex-end;
    width: 10%;
    top: 0;
    right: 0;
}
@media (pointer: none) {
    .gallery {
        overflow-x:visible;
    }
    .trigger-area {
        display: none;
    }
}
@media only screen and (max-width: 576px) {
    .img_container {
        height: 10dvh;
    }
    .navbtn_group {
        flex-wrap: nowrap;
        width: 100%;
        padding: 0.5dvh 0;
        justify-content: flex-start;
        gap: 2%;

    }
    .modal-content {
       display: block;
        margin-top: auto;
        margin-bottom: auto;
        height: auto;
        width: 100dvw;
        margin-left: auto;
        margin-right: auto;
    }
    .pilz_video {
        width: 60dvw;
        margin-left: auto;
        margin-right: auto;
    }
    .navbtn  {
        min-width: max-content;
        height: auto;
        padding: 0 0.5dvw;
        margin: 0.3dvh 0;
    }
    .navbar, .navbar a {
    white-space: nowrap;
    font-size: clamp(0.625rem, 0.625rem + 0dvw, 0.625rem);
    color: hsl(from var(--color3) h s calc(l - 20));
    font-weight: 700;

    }
    .gallery {
        overflow: auto;
    }
}
/*
.gallery_canva {
    width: 70dvw;
    
}
.corner_deco {
    background: url('/tribut/images/decorations/corners2_playdoe.png');
    background-size: 60dvh;
    z-index: 2;

}
#decoTL {
    background-position: 0 0;
    height: 15dvw;
    width: 15dvw;
}
#decoTR {
    background-position: 30dvh 0dvh;
    height: 15dvw;
    width: 15dvw;
}*/





