@font-face {
    font-family: crock;
    src: url(font/crock.ttf);
}
@font-face {
    font-family: gfs;
    src: url(font/gfs.ttf);
}
@font-face {
    font-family: hg;
    src: url(font/hg.ttf);
}
* {
    box-sizing: inherit;
    touch-action: manipulation;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    color: inherit;
    overflow-x: hidden;
    overflow-y: auto;
   letter-spacing: 0.25vw;
}
html {
    scroll-behavior: smooth;
  }
#end {
    position:absolute;
    top: 40%;
    left: 40%;
    background-color: black;
    color: #b3b3b3;
    font-size: 3.0vw;
    z-index: 5;
}
#headerContainer {
    font-family: crock;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff98;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    letter-spacing: 0.25vw;
    background-image: url('img/header.png');
    background-size: 100% 100%;
}

#link {
    letter-spacing: 0.05vw;
    text-decoration: inherit;
    transition-duration: 0.5s;
}
#headerMain, #headerNews, #headerWeare, #headerImgUploader, #headerDiscord, #headerInstagram, #headerRules {
    font-size: 1.2vw;
    text-decoration: inherit;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    padding-left: 4.5vw;
    padding-right: 4.5vw;
    cursor: pointer;
    transition-duration: 0.5s;
}
#headerMain:hover, #headerNews:hover, #headerWeare:hover, #link:hover, #headerImgUploader:hover, #headerDiscord:hover, #headerInstagram:hover, #headerRules:hover {
    color:white
}

#mainContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

#mainLogo {
    overflow-y: hidden;
    background-image: url('img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top:7%;
    width: 20%;
    height: 30vh;
    position: relative;
    z-index: 1;
}

#mainLogoText {
    overflow-y: hidden;
    font-family: crock;
    font-size: 1.1vw;
    text-align: center;
    margin-top: 1.5vw;
    position: relative;
    z-index: 1;
    color: #ffffffce;
    width: 40%;
}

#mainStepToPlay {
    overflow-y: hidden;
    font-family: gfs;
    background-color: transparent;
    padding: 1.5vw;
    margin-top: 1.5vw;
    position: relative;
    line-height: 2.1vw;
    z-index: 1;
    background-image: url('img/mainWindow.png');
    background-size: 100% 100%;
}

#mainRulesBackground {
    font-family: hg;
    padding: 1.5vw;
    margin-top: 1.5vw;
    position: relative;
    line-height: 1.1vw;
    z-index: 1;
    background-color: transparent;
    background-image: url('img/mainRules.png');
    background-size: 100% 100%;
}

#mainRules {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 10%;
    height: 80vh;
    width: 70%;
    left: 15%;
    position: relative;
    z-index: 1;
}

#mainWeareBackground {
    font-family: hg;
    padding: 1.5vw;
    margin-top: 1.5vw;
    position: relative;
    line-height: 1.1vw;
    z-index: 1;
    background-color: transparent;
    background-image: url('img/mainRules.png');
    background-size: 100% 100%;
}

#mainWeare {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 10%;
    height: 80vh;
    width: 70%;
    left: 15%;
    position: relative;
    z-index: 1;
}
h2 {
    overflow: hidden;
    padding-top: 1%;
    height:5.2%;
    font-size: 2.1vw;
}
h3 {
    overflow: hidden;
    font-size: 1.4vw;
    height:4.2%;
    padding-left: 2%;
}
p {
    overflow: hidden;
    font-size: 1.0vw;
    padding-left: 6%;
    padding-right: 10%;
    letter-spacing: 0.05vw;
}
#mainH2 {
    font-family: crock;
    overflow-y: hidden;
    font-size: 1.4vw;
    color: #ffffffe5;
    text-align: center;
}

#mainP {
    font-size: 0.7vw;
    color: #ffffffce;
    letter-spacing: 0.05vw;
}

#mainPRules {
    overflow: hidden;
    letter-spacing: 0.05vw;
    line-height: 1.7vw;
    font-size: 1.1vw;
    color: #b3b3b3;
}
#mainPWeare {
    letter-spacing: 0.05vw;
    line-height: 1.2vw;
    overflow: hidden;
    font-size: 1.1vw;
    color: #b3b3b3;
}

#youtubeVideo {
    top : 85%;
    left: 33%;
    width: 25vw;
    height: 15vw;
    z-index: 1;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('img/background.png');
    background-size: cover;
}
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}
/* #backgroundColor {
    position: fixed;
    z-index: 0;
    background-color: #4100005e;
    background-size: cover;
    width: 100%;
    height: 100%;
} */

#background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#background-video {
    display: none; /* Skryjeme video na začátku */
}

::-webkit-scrollbar {
    width: 5px;
    scrollbar-width: thin;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #969696a6;
    scrollbar-color: #969696a6 transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(167, 167, 167);
}
