:root {
    --primary: black;
    --secondary: #013220;
}
@keyframes appearFromBottom {
    0% {
        opacity: 0;
        transform: translateY(33%);
    }
    50% {
        opacity: 0;
        transform: translateY(33%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) transparent;
}
*::-webkit-scrollbar {
    width: 2px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 0px;
    border: 0px solid transparent;
}
::selection {
    color: white;
    background: var(--secondary);
}
* {
    box-sizing: border-box;
}
.no-select {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
body {
    padding: 0;
    margin: 0;
    font-family: Kanit;
}
html {
    scroll-behavior: smooth;
}
a, a:visited, a:active, a:hover {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.intro {
    background: linear-gradient(0deg, #0008, #0003), url("https://trukos.cz/files/common/intro_bg.jpg");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.filter-brightness {
    width: 100%;
    height: 100%;
    background: #0001;
    position: absolute;
}
.onload-hidden {
    opacity: 0;
    animation: appearFromBottom 1s ease-in-out forwards;
}
.intro-text {
    margin-left: 15%;
    font-size: 5rem;
    color: white;
}
.content {
    color: var(--secondary);
    width: 85%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: justify;
}
.duo-banner {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    min-height: 200px;
    flex-direction: row;
    width: 100%;
}
.duo-banner .cell {
    padding: 12px 96px;
    flex: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.duo-banner .counter-cell {
    color: var(--secondary)
}
.duo-banner .counter-cell .counter {
    font-size: 6rem;
}
.duo-banner .cell .header {
    font-size: 2rem;
}
.duo-banner .cell .desc {
    font-size: 1.5rem;
    text-align: justify;
}
.gallery-showcase {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    aspect-ratio: 3 / 1;
    font-size: 3rem;
    color: white;
    overflow: hidden;
}
.gallery-showcase .interior .background {
    background: linear-gradient(0deg, #0005, #0005), url("https://trukos.cz/files/media/index/gallery_interior_bg.jpg");
}
.gallery-showcase .exterior .background {
    background: linear-gradient(0deg, #0005, #0005), url("https://trukos.cz/files/media/index/gallery_exterior_bg.jpg");
}
.gallery-showcase .commercial .background {
    background: linear-gradient(0deg, #0005, #0005), url("https://trukos.cz/files/media/index/gallery_commercial_bg.jpg");
}
.gallery-showcase .banner {
    position: relative;
    flex: 1;
    overflow: hidden;
    align-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}
.gallery-showcase .banner .background {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 200ms ease-in-out;
}
.gallery-showcase .banner:hover .background {
    transform: scale(1.1);
}
.gallery-showcase .banner .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.contact-us-redirect {
    padding: 24px 64px;
    font-size: 2rem;
    font-weight: 300;
    width: 100%;
    text-align: center;
    border: 4px solid var(--secondary);
}
.contact-us-redirect a {
    text-decoration: underline;
}
.contact-us-redirect a:hover {
    color: var(--secondary);
}
.mobile-store-banner {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.mobile-store-banner .cell h5 {
    font-size: 2rem;
}
.mobile-store-banner .cell {
    flex: 50%;
    padding: 24px 64px;
    font-size: 1.5rem;
    text-align: justify;
}
.mobile-store-banner .img-cell {
    overflow: hidden;
    flex: 50%;
    width: 100%;
    height: 100%;
}
.mobile-store-banner .img-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 1581px) {
    .mobile-store-banner {
        align-items: center;
    }
    .mobile-store-banner h5 {
        margin-block-end: 0.5rem;
        margin-block-start: 0.5rem;
    }

}
@media screen and (max-width: 1280px) {
    .mobile-store-banner {
        flex-direction: column;
    }
}
@media screen and (max-width: 1170px) {
    .duo-banner {
        flex-direction: column;
    }
    .mobile-store-banner .cell {
        font-size: 1.2rem;
    }
}
@media screen and (max-width: 850px) {
    .gallery-showcase {
        flex-direction: column;
        min-height: 282px;
    }
    .gallery-showcase .banner {
        min-height: 94px;
    }
    .gallery-showcase .banner .text {
        font-size: 51%;
    }
}
@media screen and (max-width: 700px) {
    .mobile-store-banner .cell {
        font-size: 1.1rem;
        padding: 24px;
    }
    .duo-banner .cell .header {
        font-size: 1.5rem;
    }
    .duo-banner .cell .desc {
        font-size: 1.1rem;
    }
    .duo-banner .cell {
        padding-left: 24px;
        padding-right: 24px;
    }
    .duo-banner {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .intro .intro-text {
        font-size: 4rem;
    }
}
@media screen and (max-width: 550px) {
    .intro .intro-text {
        font-size: 3rem;
    }
}