/* Dávid kontárkodása */
#nev_select, #jelszo_input, #submit_button
{
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}

#nev_select.show, #jelszo_input.show, #submit_button.show
{
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

/*elforgatás mobilnézetben*/

@media screen and (max-width: 767px) and (orientation: landscape), screen and (max-device-width: 767px) and (orientation: landscape){
    html {
      
      -webkit-transform: rotate(-90deg);
      -o-transform: rotate(-90deg);
      -moz-transform: rotate(-90deg);
      transform-origin: left top;
      
      position: absolute;
      top: 100%;
      left: 0;
      height: 100vh;
      width: 100vw;
      
      /*overflow:scroll;*/
    }

    html>body{
      height: 100vh;
      width: 100vw;
    }

    div#feladat-roka img {
        height: 80px;
        margin: 1rem 1rem;
    }

    div#szorzas{
        margin-top: 1rem;
    }

    div#calculator{
        margin-top: 1rem;
    }

    div.block{
        margin-top: 1rem;
    }

    div#eredmeny-img{
        margin: 1rem auto 0 auto;
    }

    div#hiba .row{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:space-around;
    }


    div#grat-content{
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }

    div#grat-text{
        margin: 0.5rem auto 4rem auto;
        font-size: 1.75rem;
    }
    div#grat-imgs{
        margin: 1rem auto 0 auto;
    }
  }



body {
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #120C01;
    overflow: hidden;
    height: 120vh;



}
*/

#main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;


}

.center-box {
    width: 100%;
    padding: 1rem 1.25rem 1rem 1.25rem;
    margin: 0 auto;
    
}

@media only screen and (max-width: 360px) {
    .center-box{
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
}

@media only screen and (min-width: 768px) {
    body {
        font-size: 18px;
    }

    #main {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .center-box {
        width: 95%;
        max-width: 530px;
        padding: 2rem 1.25rem 2rem 1.25rem;
    }

    #loginform.center-box {
        padding-top: 0;
    }
}

@media only screen and (min-width: 1024px) {
    .center-box {
        max-width: 1000px;
       padding: 1rem 1.25rem 1rem 1.25rem;
    }

    #eredmeny.center-box {
        max-width: 530px;
    }

}

.darkblue {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0eb5cf+0,0eb5cf+99 */
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0c93a8+0,0eb5cf+100 */
    background: #0c93a8;
    /* Old browsers */
    background: -moz-linear-gradient(top, #0c93a8 0%, #0eb5cf 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #0c93a8 0%, #0eb5cf 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #0c93a8 0%, #0eb5cf 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0c93a8', endColorstr='#0eb5cf', GradientType=0);
    /* IE6-9 */

    background-repeat: no-repeat;
}

.lightblue {
    background-color: #DCFAFF;
}

.yellow {
    background-color: #FFD58B;
}

.white {
    background-color: #fff;
}



.row {
    display: flex;
    margin: 0 auto;
}

form {
    font-size: 1.25rem;
    text-align: center;
    width: 100%;
}

a {
    text-decoration: none;
    font-size: 1rem;
}

h1 {
    font-size: 1.25rem;
    font-weight: 400;
    text-align: center;
}

h2 {
    font-size: 1rem;
    font-weight: 400;
}

.top{
    margin-bottom: 1rem;
}

/*login*/



#login .row {

    align-items: center;
    justify-content: center;
}

.logininput,
.loginsubmit {
    font-size: 1.25rem;
    border-radius: 20px;
    padding: 0.5em 1.5em;
    display: block;
    text-align: center;
}

.logininput {
    margin-left: 1rem;
}


#osztaly,
#nev {
    margin-bottom: 20px;
}

.loginsubmit {
    text-align: center;
    margin: 50px auto 0 auto;
    cursor: pointer;
}

#jelszo>input {
    margin: 0 auto;
    max-width: 70%;

}


#login-bottom-menu {
    display: flex;
    justify-content: space-between;
    margin: 0 auto 30px auto;
}

.bottom-menu-item {
    text-align: center;
    width: 50%;
}

.bottom-menu-icon {
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 70%;
    margin: 0 auto;
}

#button-gyakorlas {
    background-image: url(../img/pencil-solid.svg);
}

#button-admin {
    background-image: url(../img/gear-solid.svg);
}

.bottom-menu-icon img {
    width: 40px;
}

.bottom-menu-item p {
    margin-top: 8px;
}

#loginimg img {
    min-width: 100px;
    max-width: 150px;
    margin: 3rem auto;
}

#creditlink {
    text-align: center;
}

/*feladat*/



.top {
    display: flex;
    justify-content: space-between;
}

.top-menu {
    display: flex;
}

.identity p {
    font-size: 1.25rem;
}

.top-menu-icon {
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 70%;
    margin: 0 auto;
}

.eredmenyeim {
    background-image: url(../img/trophy-solid.svg);
    margin-right: 2rem;

}

.vissza {
    background-image: url(../img/arrow-left-solid.svg);
}

#calculator {
    width: 20rem;
    margin: 0 auto;
    margin-top: 1rem;
}

.calc-button {
    width: 100%;
    line-height: 58px;
    border: #8B8B8B 1px solid;
    background-color: #CECECE;
    font-size: 1.25rem;
    border-radius: 20px;
}

.calculator-grid {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    margin-bottom: 0.5rem;
}

#calculator-grid-4 {
    grid-template-columns: 3fr 2fr;
}

#szorzas {
    font-size: 1.5rem;
    line-height: 1.5rem;
    padding: 0.75em 1em;
    margin: 1rem auto 0 auto;
    display: flex;
    border-radius: 20px;
    justify-content: space-around;
    max-width: 190px;
    align-items: center;


}

#result {
    width: 30%;
    font-size: 1.5rem;
    align-items: middle;
    outline: #FFD58B;
}

#muvelet {
    font-size: 1.5rem;
    line-height: 1.5rem;
}

#feladat-roka {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#feladat-roka img {
    height: 80px;
    margin: 1rem 1rem;
    opacity: 10%;
}

#feladat-fut {
    display: none;
}

#progress-bar .row {
    justify-content: center;
}

.progress-bar-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    text-align: center;
    background-color: #fff;
    /*teljesített: background-color:#0C93A8 - sötétkék*/
    /*aktuális: border: 3px solid #FFA912*/
}

.progress-bar-item p {
    font-size: 10px;
    line-height: 2rem;
    display: inline-block;
    /*vagy none, ha nem látszik*/
}

/*eredmenyeim*/

.kijelentkezes {
    background-image: url(../img/arrow-right-from-bracket-solid.svg);
    margin-right: 2rem;
}

#eredmeny-blocks {
    max-width: 420px;
    margin: 0 auto;
}

.block {
    margin-top: 30px;
    padding: 0.5rem;
}

.eredmeny-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

#eredmeny .row {
    justify-content: space-between;
}

.szorzas-hiba {
    padding: 0.5em 1em;
    font-size: 1rem;
    text-align: center;
    margin: 0 auto 0.5rem auto;
    border-radius: 20px;
    max-width: 108px;
}

#hiba .row {
    flex-direction: column;
}

#eredmeny-img {
    margin: 30px auto 1rem auto;
    max-width: 74px;
}

/*gratuláció*/
#gratula {
    position: absolute;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
   
}


#gratula .center-box{
    max-width: 530px;
}

.hide {
    display: none;
}

#grat-text {
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 120px;
    z-index: 6;
}

#grat-imgs{
    width: 200px;
    margin: 0 auto;
    position: relative;
}



#gratula .top {
    justify-content: flex-end;
}


/*nagyon kicsi mobil*/
@media screen and (max-width:500px){
    
    .block{
        margin-top: 1rem;
    }

    #eredmeny-img{
        margin: 1rem auto 0 auto;
    }

    #hiba .row{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:space-around;
    }

    #hiba .row p{
       margin: 0 1rem 0.5rem 1rem;
    }

    #grat-content{
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }

    #grat-text{
        margin: 0.5rem auto 4rem auto;
        font-size: 1.75rem;
    }
    #grat-imgs{
        margin: 1rem auto 0 auto;
    }
    
}

    


@media screen and (min-width:500px) {
    #hiba .row {
        flex-direction: row;
    }

    /*függőleges kitöltés*/

    #feladat-roka img {
        height: 100px;
        margin: 2rem 1rem;
    }

    #szorzas{
        margin-top: 2rem;
    }

    #calculator{
        margin-top: 2rem;
    }
}

@media screen and (max-width: 767px) and (orientation: landscape){

}

@media screen and (min-width:1024px) {
    #szorzas {
        margin-top: 0;
    }

    #progress-bar {
        display: flex;
        justify-content: center;
        position: relative;
        margin-top: 100px;

    }

    #progress-bar .row {
        margin: 0;
    }

    .progress-bar-item {
        background: #0c93a8;
        margin: 0 3px;
    }

    #feladat-roka {
        display: none;
    }

    #feladat {
        position: relative;
    }

    #feladat-fut {
        display: block;

        margin: 2rem 0 1rem 0;
    }

    #feladat-fut-roka {
        display: inline-block;
        height: 100px;
        opacity: 100%;
        position: absolute;
        left: 0;
        margin-left: 1.25rem;
    }

    #gold-cup {
        display: inline-block;
        height: 100px;
        position: absolute;
        margin-right: 1.25rem;
        right: 0;
    }
}

