html {
    scroll-behavior: smooth;
}
body {
    background-image: url("obrazky/background.png");
    margin: 0;
    padding: 0;
    font-family: 'Baloo 2', cursive;
    letter-spacing: 7px;
    color: white;
    text-shadow: 0px 0px 8px black;
}
/*
    First
*/
.first {
    width: 100%;
    height: 100vh;
    text-align: center;
    display: table;
}
.first .content{
    position: relative;
    width: 70%;
    height: auto;
    display: table-cell;
    vertical-align: middle;
}
.first .content .nadpis h1 {
    text-transform: uppercase;
    font-size: 250%;
}
.first .content .nadpis p {
    font-size: 105%;
}
.first .content .nadpis h4{
    font-size: 145%;
    color: wheat;
}
/*
    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;
    transition: 0.5s;
    overflow: hidden;
    cursor: pointer;
}
.button-one:hover {
    background-color:  rgb(18, 146, 1);
    box-shadow: 0px 0px 30px rgb(18, 146, 1), 0px 0px 50px rgb(18, 146, 1),0px 0px 70px rgb(18, 146, 1);
    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(18, 146, 1));
}
.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(18, 146, 1));
}
.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(18, 146, 1));
}
.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(18, 146, 1));
}
.button-one:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}
/*
    Second
*/
.second {
    padding-top: 5%;
    padding-bottom: 5%;
    width: 100%;
    height: auto;
    text-align: center;
}
.second .content{
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
}
.second .content p {
    font-size: 140%;
}
/*
    Obrázek
*/
.obrazek {
    padding-top: 2%;
    padding-bottom: 2%;
    width: 100%;
    height: auto;
    text-align: center;
}
.obrazek .content{
    width: 35%;
    height: auto;
    display: block;
    margin: auto;
}
.obrazek .content img {
    max-width: 100%;
    height: auto;
}
/*
    Dotazník
*/
.dotaznik {
    padding-top: 4%;
    padding-bottom: 4%;
    width: 100%;
    height: auto;
    text-align: center;
}
.dotaznik .content{
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
}
.dotaznik .content .flexContainer{
    display: flex;
    flex-wrap: wrap;
}
.dotaznik .content .flexContainer .leftFlex {
    width: 15%;
    height: auto;
    position: relative;
    align-items: center;
    justify-content: center;
}
.dotaznik .content .flexContainer .leftFlex div {
    color: wheat;
    font-size: 250%;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.dotaznik .content .flexContainer .rightFlex {
    width: 80%;
    padding-left: 4%;
    height: auto;
    border-left: 2px solid rgb(18, 146, 1);
    box-shadow: -5px 0 4px -5px rgb(18, 146, 1);
}
.dotaznik .content hr {
    width: 35%;
    border-color: rgb(18, 146, 1);
    box-shadow: 0px 0px 8px rgb(18, 146, 1);
}
.dotaznik .content .prvni {
    font-size: 80%;
    color: wheat;
}
.dotaznik .content .prvni:hover {
    background-color: transparent;
    box-shadow: none;
}
.dotaznik .content .odpoved {
    opacity: 0;
    text-shadow: 0px 0px 5px  rgb(18, 146, 1);
}
.dotaznik .content .prvni:hover~.odpoved {
    transition: 2s;
    transition-delay: 1.5s;
    opacity: 1;
}
.dotaznik .content .druhy {
    font-size: 80%;
    color: wheat;
}
.dotaznik .content .druhy:hover {
    background-color: transparent;
    box-shadow: none;
}
.dotaznik .content .odpoved2 {
    opacity: 0;
    text-shadow: 0px 0px 5px  rgb(18, 146, 1);
}
.dotaznik .content .druhy:hover~.odpoved2 {
    transition: 2s;
    transition-delay: 1.5s;
    opacity: 1;
}
.dotaznik .content .treti {
    font-size: 80%;
    color: wheat;
}
.dotaznik .content .treti:hover {
    background-color: transparent;
    box-shadow: none;
}
.dotaznik .content .odpoved3 {
    opacity: 0;
    text-shadow: 0px 0px 5px  rgb(18, 146, 1);
}
.dotaznik .content .treti:hover~.odpoved3 {
    transition: 2s;
    transition-delay: 1.5s;
    opacity: 1;
}
.dotaznik .content .ctvrty {
    font-size: 80%;
    color: wheat;
}
.dotaznik .content .ctvrty:hover {
    background-color: transparent;
    box-shadow: none;
}
.dotaznik .content .odpoved4 {
    opacity: 0;
    text-shadow: 0px 0px 5px  rgb(18, 146, 1);
}
.dotaznik .content .ctvrty:hover~.odpoved4 {
    transition: 2s;
    transition-delay: 1.5s;
    opacity: 1;
}
/*
    Najdi rozdíl
*/
.rozdil {
    padding-top: 5%;
    padding-bottom: 10%;
    width: 100%;
    height: auto;
    text-align: center;
}
.rozdil .content{
    width: 50%;
    height: auto;
    display: block;
    margin: auto;
}
.rozdil .content .flexContainer{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.rozdil .content .flexContainer div {
    width: 48%;
    height: auto;
}
.rozdil .content .flexContainer div:nth-child(2) {
    margin-left: 2%;
}
.rozdil .content .flexContainer div img{
    max-width: 100%;
    height: auto;
}
.rozdil .content hr {
    width: 35%;
    border-color: rgb(18, 146, 1);
    box-shadow: 0px 0px 8px rgb(18, 146, 1);
}
/*
    Hvězda
*/
.hvezda {
    padding-top: 0px;
    padding-bottom: 4%;
    width: 100%;
    height: auto;
    text-align: center;
}
.hvezda .content{
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
}
.hvezda .content img {
    width: 12%;
    height: auto;
    filter : drop-shadow(0 0 3px rgb(202, 221, 32));
}
.hvezda .content img:hover {
    filter : drop-shadow(0 0 8px rgb(229, 255, 0));
    transition: 0.5s;
}
/*
    Footer
*/
footer {
    margin-top: 8%;
    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: 700px) {
    .first .content {
        width: 95%;
    }
    .second .content {
        width: 95%;
    }
    .obrazek .content{
        width: 95%;
    }
    .dotaznik .content {
        width: 95%;
    }
    .dotaznik .content .flexContainer{
        width: 95%;
    }
    .dotaznik .content .flexContainer .leftFlex{
        width: 100%;
    }
    .dotaznik .content .flexContainer .rightFlex{
        width: 100%;
        padding-top: 22px;
        border-top: 2px solid rgb(18, 146, 1);
        border-left: none;
        box-shadow: 0 -5px 4px -5px rgb(18, 146, 1);
    }
    .dotaznik .content .flexContainer .leftFlex div {
        color: wheat;
        font-size: 200%;
        margin: 0;
        position: relative;
        padding-bottom: 30px;
    }
    .rozdil .content{
        width: 95%;
    }
    .rozdil .content .flexContainer div {
        width: 98%;
        height: auto;
    }
    .rozdil .content .flexContainer div:nth-child(2) {
        margin-left: 0px;
    }
    .hvezda .content img {
        margin-top: 35px;
        width: 40%;
    }
    footer .content {
        text-align: center;
        width: 98%;
    }
}