@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css");

body {
    overflow:hidden;
    -moz-hyphens: auto;
    hyphens:auto;
}

@media (orientation: landscape) {
  .landscape-only {
    visibility:inherit;
  }
  .portrait-only {
    visibility:hidden;
  }
}
@media (orientation: portrait) {
  .landscape-only {
    visibility:hidden;
  }
  .portrait-only {
    visibility:inherit;
  }
}

@media (max-width: 400px) {
    html {
        font-size:14px;
    }
    .solution::before {
        left: -36px !important;
    }
}

@media (max-height: 630px) {
    html {
        font-size:14px;
    }
    .solution::before {
        left: -36px !important;
    }
}

@media (max-width: 920px), (max-height: 630px) {
    #country-label-wrapper, #champ-label-wrapper {
        display: none;
    }
}
@media (min-width: 921px) and (min-height: 631px) {
    #country-label-wrapper, #champ-label-wrapper {
        display: block;
    }
}

.label-desc {
    font-size: 12px;
    text-align: left;
    color: gray;
    margin-bottom: 0;
}

/*#country-champ {
    direction:rtl;
    text-align:left;
    position:absolute;
    top: 0;
    left: 10px;
    width: 100%;
}


/\*#champ {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
}*\/

 * */

#country {
    max-height: 10vh;
    min-height: 30px;
    min-width: 35px;
    max-width:100%;
}
#champ {
    max-height: 10vh;
    min-height: 30px;
    min-width: 15px;
    max-width:30%;
    margin-right:1em;
}





#bgimg img {
    position:fixed;
    top:  50%;
    left: 50%;
    transform: translate(-50%,-50%);
    min-width: 100%;
    min-height: 100%;
    overflow-x:hidden;
    overflow-y:hidden;
}

#headline {
    position:absolute;
    top:0;
    left:0;
    background-color:rgb(255,255,255,.8);
    width:100%;
/*    height:100px;*/
    
}
#headline table {
    width:100%;
}

.content_box {
    position: absolute;
    top:  50%;
    left: 50%;
    transform: translate(-50%,-50%);

    /*margin:auto auto;
    height:50%;*/
    width:70%;
    background-color:rgb(255,255,255,.8);
    padding:1em;
    display:none;
    
    overflow-y:scroll;
}

.Anwernote {
    font-style:italic;
}

.finish-p {
    margin-bottom:0em;
}

#solution_box {
    min-width:400px;
    overflow-x: hidden;
}
#solution_box_content {
    min-width:400px
}

@media (max-width: 400px) {
    html {
        font-size:14px;
    }
    #solution_box {
        min-width:100%;
        overflow-x: scroll;
    }
    .solution::before {
        left: -36px !important;
    }
}



.question {
    -moz-hyphens: auto;
    hyphens:auto;
    font-weight:bold;
}

#question_box, #startpage_box {
    transform: translateY(40px) translate(-50%,-50%);
    max-height:calc(100vh - 100px);
    overflow-y:scroll;
}

.answer {
    margin:.5em 0;
    display:block;
    width:100%;
}

a:link, a:visited {
    text-decoration:none;
}

.answerlink {
    width:100%;
    
}

#solution_box {
    width:50%;
    max-height:100%;
    overflow-y:scroll;
}

#solution_box img {
    left:0;
    float:left;
    width:250px;
}

.solution.solution-failed::before {
    content: '\F332';
}
.solution.solution-success::before {
    content: '\F26A';
}
.solution::before {
    font-family:bootstrap-icons;
    position:relative;
    left: -40px;
    top:5px;
    width:0px;
    float:left;
/*    display:inline;*/
    color:#fff;
}
.solution-frame {
  padding-left:5px;
  border-left: 30px solid white;
  margin-left: -30px;
}

.solution-frame.solution-success {
    border-left-color:#198754;
}
.solution-frame.solution-failed {
    border-left-color:#dc3545;
}