/* Definições de cor */
:root {
    --themeColor: #1e70c06f;
}

/* Seleção customizada */
::-moz-selection {
    color: white;
    background: var(--themeColor);
}
::selection {
    color: white;
    background: var(--themeColor);
}

.container button img {
    float: none;
    max-width: none;
    width: auto;
}

/* For mobile phones: */
#lateralApp {
    height: calc(100% - 100px);
    width: 100%;
    margin: 0;
    text-align: center;
    overflow: auto;
}
#Timer {
    position: fixed;
    top: 100px;
    right: 0;
    bottom: 100px;
    width: 100%;
    margin: 0;
    align-content: center;
    text-align: center;
}
#time2 {
    width: 100%;
    height: 70px;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
}
#scramble {
    width: 100%;
    height: 50px;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
}
#btnInfo {
    width: 20%;
    height: 50px;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}
#scrambleTxt {
    font-size: var(--scrSize);
    user-select: all;
    width: 60%;
    height: 50px;
    position: absolute;
    margin: 0;
    left: 20%;
    top: 0;
}
#btnScramble {
    width: 20%;
    height: 50px;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
}
#timeBtn {
    position: absolute;
    top: 104px;
    bottom: 70px;
    right: 0;
    height: auto;
    width: 100%;
    margin: 0;
    font-size: var(--btnSize);
    font-weight: normal;
}
#timeBtn:hover {
    font-size: calc(var(--btnSize) + 10px);
    background-color: var(--backgroundColor);
}
#timeBtn:active {
    font-size: calc(var(--btnSize) - 10px);
    background-color: var(--backgroundColor);
}
#timeBtn:disabled {
    font-size: var(--btnSize);
    background-color: var(--backgroundColor);
}
#statQuick {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 70px;
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 24px
}
#extTPanel {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 70px;
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 24px
}
/********* Classes do Timer ********/
/* start -> timer e médias embaixo */
/* timer -> somente timer          */
/* opts -> timer e opções (+2 e -) */
/* start.ext, timer.ext, opts.ext  */
/* |--> idênticas, mas com timer   */
/*      externo                    */
/***********************************/

/* Classe start */
#Timer.start > #time2 {
    display: none;
}
#Timer.start > #scramble {
    display: block;
    top: 0;
}
#Timer.start > #timeBtn {
    top: 104px;
    bottom: 70px;
}
#Timer.start > #statQuick {
    bottom: 0;
    display: block;
}

/* Classe timer */
#Timer.timer > #time2 {
    display: none;
}
#Timer.timer > #scramble {
    display: none;
}
#Timer.timer > #timeBtn {
    top: 0;
    bottom: 0;
}
#Timer.timer > #statQuick {
    bottom: 0;
    display: none;
}

/* Classe opts */
#Timer.opts > #time2 {
    display: flex;
}
#Timer.opts > #scramble {
    display: block;
    top: 80px;
}
#Timer.opts > #timeBtn {
    top: 174px;
    bottom: 70px;
}
#Timer.opts > #statQuick {
    bottom: 0;
    display: block;
}

#Timer.ext > #extTPanel {
    display: block;
}

/* Classe start.ext */
#Timer.start.ext > #timeBtn {
    bottom: 140px;
}
#Timer.start.ext > #statQuick {
    bottom: 70px;
    display: block;
}


/* Classe timer.ext */
#Timer.timer.ext > #timeBtn {
    bottom: 70px;
}
#Timer.timer.ext > #statQuick {
    bottom: 0;
    display: none;
}

/* Classe opts.ext */
#Timer.opts.ext > #timeBtn {
    bottom: 140px;
}
#Timer.opts.ext > #statQuick {
    bottom: 70px;
    display: block;
}


.timer #lateralApp {
    display: none;
}
.app #lateralApp {
    display: block;
}
.timer #Timer {
    display: block;
}
.app #Timer {
    display: none;
}
div.home {
    align-content: center;
    text-align: center;
    display: flex;
    height: 50px;
    width: 100%;
    margin:0;
    padding: 0;
}
#home { display: none;position: fixed;top: 0;bottom: 0;right: 0;left: 0;height: auto;width: 100%;margin: 0;padding: 0; }
#load { display: flex;text-align: center;justify-content: center;align-items: center;position: fixed;top: 0;bottom: 0;height: auto;width: 100%;margin: 0;padding: 0;}

#titleImg {
    max-height: 60px;
    max-width: 100%;
}
#titleTxt {
    display: inline;
}
@media only screen and (min-width: 768px) {
    /* For desktop: */
    #Timer {
        /*top: 0;*/
        bottom: 0;
        width: calc(100% - 400px);
    }
    .hide #Timer {
        width: calc(100% - 80px);
    }
    
    /* Classe start */
    #Timer.start > #timeBtn {
        top: 74px;
    }
    
    /* Classe timer */
    #Timer.timer > #timeBtn {
        top: 0;
    }
    
    /* Classe opts */
    #Timer.opts > #timeBtn {
        top: 144px;
    }
}