@font-face {
    font-family: 'National2-Bold';
    src: url('fonty/National2-Bold.otf') format('opentype');
}
@font-face {
    font-family: 'National2-Light';
    src: url('fonty/National2-Light.otf') format('opentype');
}

html {
    height: 100%;
}
body {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: linear-gradient(to bottom, rgb(207, 159, 167), rgb(243, 231, 232));
    

}
input[type=button] {
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    margin-bottom: 50px;
    font-family: National2-Bold, sans-serif;
    font-size: 1.5em;
    color: white;
    border: none;
    border-radius:1em;
    background-color: rgb(156, 114, 151);
    outline: none;

}
input[type=checkbox] {
    width: 1em;
    height: 1em;


}
input[type=button]:disabled {
    color: rgba(255, 255, 255, 0.315);
    background-color: rgba(87, 87, 87, 0.448);

}
input[type=button]:not(:disabled):hover {
    color: white;
    background-color: rgb(130, 91, 126);

}
input[type=submit] {
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    font-family: National2-Bold, sans-serif;
    font-size: 1.2em;
    color: white;
    border: none;
    border-radius:1em;
    background-color: rgb(156, 114, 151);
    outline: none;

}
input[type=submit]:disabled {
    color: rgba(255, 255, 255, 0.315);
    background-color: rgba(87, 87, 87, 0.448);

}
input[type=submit]:not(:disabled):hover {
    color: white;
    background-color: rgb(130, 91, 126);

}
.password_box{
    display: inline-block;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    margin-bottom: 20px;
    width: 250px;
    background-color: white;
    border-radius:1em;

}
.zobraz {
    accent-color: rgb(130, 91, 126);
    position: relative;
    top: 2px;
    font-size: 1.2em;

}
.password {
    padding: 0px;
    margin: 0px;
    width: 200px;
    font-family: National2-Bold, sans-serif;
    font-size: 1.2em;
    color: rgb(156, 114, 151);
    border: none;
    outline: none;

}
select {
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    font-family: National2-Light, sans-serif;
    font-size: 1.5em;
    color: white;
    border: none;
    border-radius: 0.75em;
    background-color: rgb(156, 114, 151);
    outline: none;
}
.inner_header{
    width: 100px;
    display: inline-block;
}
.jazyk {
    font-family: National2-Bold, sans-serif;
    font-size: 1em;
    color: rgb(156, 114, 151);
    border: none;
    background-color: white;
    outline: none;
}
select::selection {
    background-color: #003200; /* Změňte na požadovanou barvu výběru */
}
h1 {
    font-family: National2-Bold, sans-serif;
    font-size: 50px; 
    color: #ffffff; 
    padding-top: 25px; 
    margin-bottom: 50px;  
}
.otazka {
    font-family: National2-Bold, sans-serif;
    font-size: 30px; 
    color: #ffffff;
    padding-top: 0px; 
    margin-top: 30px;  
    margin-bottom: 10px; 
}
h2 {
    font-family: National2-Light, sans-serif;
    font-size: 20px; 
    width: 300px;
    color: rgb(156, 114, 151);
    background-color: rgb(255, 255, 255);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 1em;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
a:link {
    text-decoration: none;
}

/* visited link */
a:visited {
    text-decoration: none;
}

/* mouse over link */
a:hover {
    text-decoration: none;
}

/* selected link */
a:active {
    text-decoration: none;
}
.aOdhlasit {
    font-family: National2-Bold, sans-serif;
    font-size: 1em; 
    color: rgb(156, 114, 151);
    background-color: white;
    border-radius: 0.75em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
}
.aVysledek {
    font-family: National2-Bold, sans-serif;
    font-size: 1.5em; 
    color: #ffffff;
    background-color: rgb(156, 114, 151);
    border-radius: 1em;
    width: 300px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}
@media (max-width: 600px) {
    h1 {
        font-size: 40px;
    } 
    .otazka {
        font-size: 25px;
    }
    .aVysledek {
        font-size: 25px;
        width: 250px;
    }
    select {
        font-size: 22px;
    }
}
@media (max-width: 500px) {
    h1 {
        font-size: 30px;
    } 
    .otazka {
        font-size: 22px;
    }
    .aVysledek {
        font-size: 22px;
        width: 200px;
    }
    select {
        font-size: 22px;
    }
}