html {
    scroll-behavior: smooth;
}
body {
    background-color: white;
    margin: 0;
    padding: 0;
    font-family: 'Baloo 2', cursive;
    letter-spacing: 7px;
}

/*
    First
*/
.first {
    width: 100%;
    height: 115vh;
    background-image: url("obrazky/jedna.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-box-shadow: inset 0px -15vh 41px -41px rgb(19, 19, 19);
    -moz-box-shadow: inset 0px -15vh 41px -41px rgb(19, 19, 19);
    box-shadow: inset 0px -15vh 41px -41px  rgb(19, 19, 19);
}
.first .menu  {
    display: block;
    width: 70%;
    height: auto;
    padding-top: 14%;
    margin: auto;
    text-align: center;
    z-index: 50;
    position: relative;
}
.first .overlay {
    width: 100%;
    height: 115vh;
    opacity: 0;
    background-color: black;
    z-index: 10;
    position: absolute;
}
h1{
    font-size: 350%;
    color: white;
    text-shadow: 0px 0px 8px black;
    margin: 1% !important;
}
h3 {
    font-size: 140%;
    color: wheat;
    text-shadow: 0px 0px 8px black;
    margin: 0px !important;
}
/*
    Arrows
*/
.sipky {
    position: relative;
}
body .arrows {
    
    /**/
    position: absolute;
    top: 50%;
    left: 50%;
    /**/
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
  }
.arrows:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-left: 6.6666666667px solid rgba(0, 0, 0, 0.7);
    border-bottom: 6.6666666667px solid rgba(0, 0, 0, 0.7);
    transform: translate(6.6666666667px, 36.6666666667px) rotate(-45deg);
    animation: arrows 3s linear infinite;
  }
.arrows:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-left: 6.6666666667px solid rgba(0, 0, 0, 0.7);
    border-bottom: 6.6666666667px solid rgba(0, 0, 0, 0.7);
    transform: translate(23.3333333333px, 0px) rotate(-45deg);
    animation: arrows 3s linear infinite -1.5s;
  }
  
@keyframes arrows {
    0% {
      border-left: 6.6666666667px solid rgba(0, 0, 0, 0);
      border-bottom: 6.6666666667px solid rgba(0, 0, 0, 0);
      transform: translate(-13.3333333333px, -23.3333333333px) rotate(-45deg);
    }
    10%, 90% {
      border-left: 6.6666666667px solid rgba(0, 0, 0, 0);
      border-bottom: 6.6666666667px solid rgba(0, 0, 0, 0);
    }
    50% {
      border-left: 6.6666666667px solid rgba(0, 0, 0, 0.7);
      border-bottom: 6.6666666667px solid rgba(0, 0, 0, 0.7);
      transform: translate(-13.3333333333px, 0px) rotate(-45deg);
    }
    100% {
      border-left: 6.6666666667px solid rgba(0, 0, 0, 0);
      border-bottom: 6.6666666667px solid rgba(0, 0, 0, 0);
      transform: translate(-13.3333333333px, 23.3333333333px) rotate(-45deg);
    }
  }
/*
    Button
*/
.button-one {
    position: relative;
    background-color: transparent;
    border: none;
    color: white;
    text-shadow: 0px 0px 8px black;
    padding: 1.1% 1.2%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 120%;
    margin: 4px 2px;
    letter-spacing: 7px;
    transition-duration: 0.8s;
    cursor: pointer;
    transition: 0.5s;
    overflow: hidden;
}
.button-one:hover {
    background-color:  rgb(228, 137, 0);
    box-shadow: 0px 0px 30px rgb(228, 137, 0), 0px 0px 50px rgb(228, 137, 0),0px 0px 70px rgb(228, 137, 0);
    color: white;
    transition-delay: 1s;
}

.button-one span {
    position: absolute;
    display: block;
}
.button-one span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent,  rgb(228, 137, 0));
}
.button-one:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
}
.button-one span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, rgb(228, 137, 0));
}
.button-one:hover span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}
.button-one span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent,  rgb(228, 137, 0));
}
.button-one:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}
.button-one span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, rgb(228, 137, 0));
}
.button-one:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}
/*
    Second
*/

.second {
    width: 100%;
    height: auto;
    padding-bottom: 12%;
    padding-top: 6%;
    color: black;
    background-image: url("obrazky/background.png");
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.second .content {
    display: block;
    width: 70%;
    margin: auto;
    text-align: center;
}
.second .content .nadpis {
    width: 40%;
    height: auto;
    display: block;
    margin: auto;
}
.second .content .nadpis hr {
    border-color: rgb(228, 137, 0);
    box-shadow: 0px 0px 8px  rgb(228, 137, 0);
}
/*
    Karty
*/
.second .content .cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.second .content .cards .box{
    width: 25%;
    margin: 3%;
    padding: 1%;
    height: 400px;
    position: relative;
}
.second .content .cards .box:before{
    content: '';
    position: absolute;
    background-color: #fff;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: 2;
}
.second .content .cards .box:after{
    content: '';
    position: absolute;
    background-color: #fff;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    filter: blur(40px);
    z-index: 1;
}
.second .content .cards .box .imgBx{
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url("obrazky/background.png");
    overflow: hidden;
}
.second .content .cards .box .imgBx img{
    max-width: 100%;
    height: 426px;
    z-index: 5 !important;
    opacity: 0.87;
    transition: 1s;
}
.second .content .cards .box .contentBx{
    position: absolute;
    z-index: 5;
    top: 25%;
    left: 0;
    width: 92%;
    margin-left: 4%;
    padding-right: 4%;
    height: auto;
    box-sizing: border-box;
    text-align: center;
    border-radius: 25px;
    box-shadow: 0px 0px 25px 13px rgba(0,0,0,0.75);
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: 0.6s;
    transition-delay: 0.25s;
}
.second .content .cards .box:hover .contentBx{
    opacity: 1;
}
.second .content .cards .box .contentBx h2 {
    color: white;    
}
.second .content .cards .box .contentBx h2 span {
    font-size: 80%;
}
.second .content .cards .box:hover .imgBx img {
    opacity: 1;
}
.box:before,
.box:after {
   background: linear-gradient(235deg,rgb(228, 137, 0), #010615,#d47100); 
}
.box:nth-child(2):before,
.box:nth-child(2):after {
   background: linear-gradient(235deg,#d47100, #010615,rgb(228, 137, 0)); 
}
.box:nth-child(3):before,
.box:nth-child(3):after {
   background: linear-gradient(235deg,rgb(228, 137, 0), #010615,#d47100); 
}

/*
    Third
*/
.third {
    width: 100%;
    height: auto;
    padding-bottom: 3%;
    padding-top: 3%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-image: url("obrazky/parallax.jpg");
    box-shadow: inset 0px 7vh 41px -41px  rgb(0, 0, 0);
}
.third .content {
    display: block;
    width: 70%;
    margin: auto;
    text-align: center;
    color: white;
}
.third .content h1 {
    font-size: 230%;
}
.third .content a {
    text-decoration: none;
    color: white;
}
.third .content p {
    font-size: 110%;
}
/*
    Info
*/
.info {
    width: 100%;
    height: auto;
    padding-top: 6%;
    padding-bottom: 5%;
    text-align: center;
    background-image: url("obrazky/background.png");
}
.info .content {
    display: block;
    width: 70%;
    margin: auto;
    text-align: center;
    color: white;
}
.info .content h1 {
    font-size: 230%;
}
.info .content .nadpis {
    width: 40%;
    height: auto;
    display: block;
    margin: auto;
}
.info .content .nadpis hr {
    border-color: rgb(228, 137, 0);
    box-shadow: 0px 0px 8px  rgb(228, 137, 0);
}
.info .content p {
    text-align: center;
    font-size: 125%;
}

/*
    Footer
*/
footer {
    width: 100%;
    height: auto;
    padding-top: 0.25%;
    padding-bottom: 0.25%;
    text-align: center;
    background-color: rgb(10, 10, 10);
    color: white;
}
footer .content {
    display: block;
    width: 70%;
    margin: auto;
    text-align: right;
    color: white;
}
/*
    ScrollBar
*/
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
   }
   ::-webkit-scrollbar-thumb {
    background: linear-gradient(73deg, #4b4b4b 14%,#8a8a8a 64%);
    border-radius: 15px;
   }
   ::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(13deg, #727272 14%,#7a7a7a 64%);
   }
   ::-webkit-scrollbar-track{
    background: #adadad;
    border-radius: 2px;
    box-shadow: inset 7px 10px 12px #cccccc;
   }

/*
    Media
*/
@media only screen and (max-width: 1100px) {
    .first {
        background-image: url("obrazky/jedna2.jpg");
    }
    h1{
        font-size: 210%;
    }
    h3 {
        font-size: 120%;
    }
    .first .menu {
        padding-top: 27%;
    }
    .second .content {
        width: 100%;
    }
    .second .content .cards .box .contentBx {
        opacity: 1;
    }
    .third .content{
        width: 80%;
    }
    .third .content h1{
        font-size: 150%;
    }
}

@media only screen and (max-width: 620px) {
    .first {
        background-image: url("obrazky/jedna3.jpg");
    }
    h1{
        font-size: 120%;
    }
    h3 {
        font-size: 100%;
    }
    .first .menu {
        padding-top: 35%;
    }
    .second .content {
        width: 100%;
    }
    .second .content .cards .box{
        margin-top: 10%;
        width: 89%;
        margin-left: 5%;
        margin-right: 5%;
    }
    .third .content {
        width: 100%;
    }
    .third .content h1{
        font-size: 100%;
    }
    .third .content .mensiNadpis {
        font-size: 75%;
    }
    .info .content p {
        font-size: 100%;
        width: 100%;
    }
    .info .content h1 {
        font-size: 180%;
    }
    .info .content .nadpis {
        width: 99%;
        height: auto;
        display: block;
        margin: auto;
    }
    footer .content {
        text-align: center;
        width: 98%;
    }
}
@media only screen and (max-width: 290px) {
    .third .content .mensiNadpis {
        font-size: 65%;
    }
}
