html{
    scroll-behavior: smooth;
}
/*
Div - 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(217, 255, 0);
    box-shadow: 0px 0px 30px rgb(217,255,0), 0px 0px 50px rgb(217,255,0),0px 0px 70px rgb(217,255,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(217,255,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(217,255,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(217,255,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(217,255,0));
}
.button-one:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}
/*
Div - 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;
    font-size: 130%;
}
.second .content img{
    max-width: 65%;
    height: auto;
}
/*
Div - Otázka
*/
.otazka {
    padding-top: 7%;
    padding-bottom: 6%;
    width: 100%;
    height: auto;
    text-align: center;
}
.otazka .content{
    width: 55%;
    height: auto;
    display: block;
    margin: auto;
    font-size: 130%;
}
hr {
    width: 45%;
    border-color: rgb(217,255,0);
    box-shadow: 0px 0px 8px rgb(217,255,0);
}
.otazka .content .prvni {
    font-size: 80%;
    color: wheat;
}
.otazka .content .prvni:hover {
    background-color: transparent;
    box-shadow: none;
}
.otazka .content .odpoved {
    opacity: 0;
    text-shadow: 0px 0px 5px  rgb(217,255,0);
}
.otazka .content .prvni:hover~.odpoved {
    transition: 2s;
    transition-delay: 1.5s;
    opacity: 1;
}
/*
Div - Third
*/
.third {
    padding-top: 5%;
    padding-bottom: 5%;
    width: 100%;
    height: auto;
    text-align: center;
}
.third .content{
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
    font-size: 130%;
}
.third .content img{
    max-width: 65%;
    height: auto;
}
.fourth {
    padding-top: 5%;
    padding-bottom: 1%;
    width: 100%;
    height: auto;
    text-align: center;
}
.fourth .content{
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
    font-size: 130%;
}
/*
    Svíčka
*/
.svicka {
    padding-top: 7%;
    padding-bottom: 2%;
    width: 100%;
    height: auto;
    text-align: center;
}
.svicka .content{
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
}
.svicka .content img {
    width: 12%;
    height: auto;
    filter : drop-shadow(0 0 3px rgb(217,255,0));
}
.svicka .content img:hover {
    filter : drop-shadow(0 0 8px rgb(217,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 only screen and (max-width: 700px) {
.first .content {
    width: 95%;
}
.second .content {
    width: 95%;
}
.third .content {
    width: 95%;
}
.fourth .content {
    width: 95%;
}
section{
    width: 100%;
    padding: 0px;
}
footer .content {
    text-align: center;
    width: 98%;
}
.back-state-button,
.forward-state-button {
    display: none;
}
.state-display{
    width: 90%;
    padding-top: 20px;
    padding-bottom: 20px;
}
.otazka .content {
    width: 95%;
}
hr {
    width: 75%;
}
.second .content img{
    max-width: 90%;
    height: auto;
}
.third .content img{
    max-width: 90%;
    height: auto;
}
.svicka .content img {
    width: 35%;
}
}