* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
}

.page {
    height: calc(100vh - 110px);
}

.page-toolbar-container {
    height: 50px;
    background-color: #f4f4f4;
    display: flex;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.page-toolbar-container-timer {
    width: 150px; 
    min-width: 150px;
    height: 100%;
    box-shadow: 2px -4px 3px 1px #777;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
}

.page-toolbar-container-timer > p:nth-of-type(1) {
    font-size: 0.8rem;
    font-weight: bold;
    padding:0 0 3px 0;
    color: #444;
    text-align: center;
    letter-spacing: 2px;
}

.page-toolbar-container-timer > p:nth-of-type(2) {
    font-size: 1em;
    font-weight: bold;
    padding:3px 0 0 0;
    color: #444;
    text-align: center;
    letter-spacing: 2px;
}

.page-toolbar-container-tools-btn {
    width: calc(100% - 150px);
    height: 100%; 
}

.page-toolbar-container-tools-btn form {
    display: flex;
    height: 100%;
    gap: 10px;
    overflow-x: auto;
    padding: 12px;   
}

.page-toolbar-container-tools-btn form > button {
    height: 100%;
    width: -moz-fit-content;
    width: fit-content;
    opacity: 0.5;
    cursor: pointer;
    transition: all ease-in-out 0.1s;
    border: none;
    background-color: transparent;
}

.page-toolbar-container-tools-btn-icon {
    height: 100%;
    opacity: 0.1;
}

.page-toolbar-container-tools-btn-icon.active {
    opacity: 1;
}

.page-toolbar-container-tools-btn form > button:hover,
.page-toolbar-container-tools-btn form > button:focus {
    transform: scale(1.1);
    opacity: 1;
    transition: all ease-in-out 0.1s;
    filter: drop-shadow(0 0 3px #888);
    outline: none;
}

.page-content-container {
    height: calc(100% + 50px);
    padding-top: 50px;
    overflow-y: auto;
}

.page-content-container-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content-container-navigation-container-top,
.page-content-container-navigation-container-bottom {
    display: flex;
    justify-content: space-between;
    gap:10px;
    margin:10px;
}


.page-content-container-navigation-container-top > button, 
.page-content-container-navigation-container-bottom > button {
    text-decoration: none;
    font-size: 1rem;
    color:#444;
    padding: 3px 5px;
    border:2px solid #444;
    border-radius: 0.5rem;
    text-align: center;
    opacity: 0.5;
    transition: all ease-in-out 0.1s;
    -webkit-user-select: none;
    user-select: none;
    background-color: #fff;
}

.page-content-container-navigation-container-top > button:hover,
.page-content-container-navigation-container-top > button:focus,
.page-content-container-navigation-container-bottom > button:hover,
.page-content-container-navigation-container-bottom > button:focus {
    opacity: 1;
    transition: all ease-in-out 0.1s;
    border:2px solid #000;
    outline: none;
    color:#000;
    cursor: pointer;
}

.page-content-container-navigation-container-top > button:disabled, 
.page-content-container-navigation-container-bottom > button:disabled,
.page-content-container-navigation-container-top > button:disabled:hover,
.page-content-container-navigation-container-top > button:disabled:focus,
.page-content-container-navigation-container-bottom > button:disabled:hover,
.page-content-container-navigation-container-bottom > button:disabled:focus {
    opacity: 0;
}

@media (orientation: landscape) and (max-height: 500px) {
    .page-content-container-navigation-container-bottom {
        display: none;
    }
}

.page-content-container-question-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

.page-content-container-navigation-container-btn.last {
    border-color: red;
    color:red;
}

.page-content-container-question-container-frage {
    padding: 20px;
    border: 2px solid #bbb;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.page-content-container-question-container-frage span {
    font-size: 1rem;
}

.page-content-container-question-container-frage-image-container {
    width:100%;
    padding-top: 20px;
}

.page-content-container-question-container-frage-image-container > img {
    margin: 0 auto;
    width: 100%;
}

.page-content-container-question-container-antworten-block {
    list-style-type: decimal;
    height: 100%;
    padding: 20px 5px;
    font-size: 1.4rem;
}

.page-content-container-question-container-antworten-block-item > label {
    display: block;
    padding: 10px;
    width: 100%;
    transition: all ease-in-out 0.3s;
}

.page-content-container-question-container-antworten-block-item > label:hover {
    background-color: #e5e5e59b;
    border-radius: 0.5rem;
    transition: all ease-in-out 0.2s;
}

input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 1px 1px #bbb;
    transform: scale(1.2);
}

.initial-component {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
    height: 100%;
    width:100%;
}

.initial-component-welcome-container {
    padding:50px 30px;
}

.initial-component-welcome-container > p {
    text-align: center;
}

.initial-component-welcome-container ol > li {
    margin-bottom:15px;
}

.initial-component-welcome-container ul {
    list-style: none;
}

.initial-component-welcome-container ul li {
    display: flex;
    margin-bottom: 10px;
}

.initial-component-welcome-container ul li > img{
    width: 25px;
    height: 25px;
}

.initial-component-welcome-container ul li > span {
    display: inline-block;
    margin: auto 0 auto 10px;
}

.before-start-component,
.before-end-component,
.result-component {
    max-width:400px;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    height: 100%;
   
}

.before-start-component > div:nth-of-type(2),
.before-end-component > div:nth-of-type(2),
.result-component-inner-container {
    margin-top: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap:20px;
}

.before-start-component > div:nth-of-type(2) button,
.before-end-component > div:nth-of-type(2) button {
    text-decoration: none;
    padding: 10px;
    font-weight: bold;
    text-shadow: 0 0 3px #999;
    font-size: 2rem;
    color:black;
    background-color:transparent;
    border: none;
}

.result-component-inner-container button {
    font-size: 1.2rem;
    color:red;
    font-weight: bold;
    background-color:transparent;
    border: none;
}

.result-component-inner-container button:hover,
.result-component-inner-container button:focus {
    text-decoration: underline;
}

footer {
    height: 60px;
    padding: 5px;
    background-color: #e7e7e73e;
}

footer > div {
    display: flex;
    justify-content: center;
    gap:10px;
}

footer a {
    text-decoration: none;
    color:#000;
    font-weight: bold;
	font-size: 0.8rem !important;
}

footer span,
footer p {
    color:#666;
	font-size: 0.8rem !important;

}

footer span > span {
    font-weight: bold;
    color:#000;
	font-size: 0.8rem !important;
}

#start-yes:hover ,
#end-yes:hover {
    color: #03a303;
}

#start-no:hover ,
#end-no:hover {
    color: #ee0404;
}

.error {
    color:red;
}

.wrong-answered-questions-container {
    height: 100%;
    overflow-y: auto;
    padding:40px 5px;
}

.wrong-answered-questions-container-item {
    padding: 10px;
    font-size: 1.3rem;
    background-color: #e7e7e725;
    margin-bottom: 10px;
    border-radius: 0.3rem;
}

.wrong-answered-questions-container-item > p {
    font-weight: bold;
    margin-bottom: 5px;
}

.wrong-answered-questions-container-item > div > img {
    width: 100%;
}

.wrong-answered-questions-container-item > ol {
    padding-left: 30px;
    margin-bottom: 20px;
}

.wrong-answered-questions-container-item > ol > li {
    width: -moz-fit-content;
    width: fit-content;
    padding: 5px;
    border-radius: 0.3rem;
}

.wrong-answered-questions-container-item .correct-answer {
    background-color: rgba(4, 202, 4, 0.306);
}

.wrong-answered-questions-container-item .wrong-answer {
    background-color: rgba(255, 0, 0, 0.185);
}

#no-script {
    color: rgb(206, 6, 6);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

path.area {
    transform-origin: center;
    transform-box:fill-box;
}
path.area:hover {
    fill: black;
    stroke: black;
    cursor: pointer;
}

#state-label {
    display: inline-flex;
    height: 100%;
    align-items: center;
    font-size: 1rem;
    flex-wrap: nowrap;
    margin-left: auto;
}

#state-selector:focus {
    outline: none;
    border:2px solid black;
}

#state-label > p {
    margin-left: 5px;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
}

#state-selector {
    height:100%;
    background-color: transparent;
    border: 1px solid #777;
    border-radius:0.3rem;
    margin-left:5px;
    font-size: 1rem;
}

svg {
    width: 100%;
}

.cheat-sheet {
    width: 100%;
    word-wrap: break-word;
    white-space: -moz-pre-wrap;  
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    white-space: pre-wrap;
}

.cheat-sheet > img{
    width: 20px;
    height: 20px;
}

.state {
    background-color:transparent;
    border:none;
}

#map-container {
    position: relative;
}

#map-container > button {
    position: absolute;
}
