: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 {
    width: 85%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: justify;
}
.document {
    display: flex;
    margin-bottom: 64px;
    width: 100%;
}
.document main {
    display: inline-block;
    max-width: 50%;
    min-width: 50%;
}
.document .thumbnail {
    max-width: 50%;
    display: inline-block;
}
.document .thumbnail img {
    max-width: 100%;
    max-height: 100%;
}
@media screen and (max-width: 1159px) {
    .document {
        display: flex;
        flex-direction: column;
    }
    .document main {
        max-width: 100%;
    }
}
@media screen and (max-width: 700px) {
    .intro .intro-text {
        font-size: 4rem;
    }
}
@media screen and (max-width: 550px) {
    .intro .intro-text {
        font-size: 3rem;
    }
}