#frame {
    flex: 1 0 auto;
    background: url(/img/background) no-repeat center;
    background-size: 130% 1100vh;
    margin-top: 0;
}

@media (max-device-width: 1400px) {
    #frame {
        background: #efefef57;
        background-size: revert;
    }
}

html.dark #frame {
    background: #404040;
}

#page {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    margin-top: 30px;
}

@media (max-device-width: 480px) {
    #page {
        font-size: 50px;
    }
}

.pageName {
    color: #333;
}

.header2 {
    color: #05c3d7;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

.header3 {
    font-weight: bold;
    text-align: center;
}

#registrationButton {
    border: 3px solid white;
    color: white;
    box-shadow: none;
}

#registrationButton:hover {
    border: 3px solid #00727e;
    color: #00727e;
}

#loginButton {
    color: white;
    border: 3px solid white;
    box-shadow: none;
}

#loginButton:hover {
    border: 3px solid #00727e;
    color: #00727e;
}

#header {
    background: #05c3d7;
}

#header-menu a {
    font-weight: bold;
    color: white;
}

#night {
    fill: white;
}

@media (min-device-width: 481px) {
    .linkButton:focus {
        border: 5px solid #05c3d7 !important;
    }

    .linkButton:hover {
        border: 5px solid #05c3d7 !important;
    }
}

@media (max-device-width: 480px) {
    .linkButton:focus .taskName, .linkButton:hover .taskName {
        font-size: 55px;
    }

    .linkButton:focus svg, .linkButton:hover svg {
        width: 100px;
        height: 100px;
    }
}

.linkButton {
    color: #5f5c5c;
    font-size: 25px;
    border: 5px solid white;
    background: #fff;
    border-radius: 65px;
    padding: 37px;
    min-height: 50px;
    margin-top: 50px;
    box-shadow: -4px 1px 10px 4px #cbcbcb;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 700px;
}

@media (max-device-width: 480px) {
    .linkButton {
        border: revert;
        border-radius: 24px;
        width: revert;
        border: 2px solid white;
        max-width: 100%;
        height: 285px;
        box-shadow: -4px 1px 10px 4px #9f9f9f52;
        flex-direction: row;
    }

    div.taskName {
        font-size: 55px;
    }
}

html.dark div.taskName {
    color: white;
}

html.dark .linkButton {
    background: #404040;
    box-shadow: -4px 19px 10px 4px #303030;
    border: 5px solid #b1b1b1 !important;
}

.linkButton svg:not(.back svg, .next svg) {
    padding: 10px;
    border-radius: 50%;
    width: 65px;
    height: 65px;
}

@media (max-device-width: 480px) {
    .linkButton svg:not(.back svg, .next svg) {
        width: 100px;
        height: 100px;
    }
}

.taskName {
    color: inherit;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    letter-spacing: 0.5px;
}

#magicSquares {
    color: #00cdba;
}

.linkButton svg:not(.back svg, .next svg) {
    padding: 5px;
    border: 5px solid #00cdba;
}

#mentalArithmetic {
    color: #00cdba;
}

/*#mentalArithmetic svg {*/
/*    padding: 5px;*/
/*    border: 5px solid #00cdba;*/
/*}*/
/**/
#running-line {
    color: #05c3d7;
}

/*#running-line svg {*/
/*    background: #05c3d7;*/
/*}*/
/**/
#rotating-symbols {
    color: #8bc34a;
}

/*#rotating-symbols svg {*/
/*    background: #8bc34a;*/
/*}*/
/**/
#missing-characters {
    color: #ff0763b3;
}

/*#missing-characters svg {*/
/*    background: #ff0763b3;*/
/*}*/
/**/
#flipped-text {
    color: #2196f3d1;
}

/*#flipped-text svg {*/
/*    background: #2196f3d1;*/
/*}*/
/**/
#reading-without-spaces {
    color: #1abc9c;
}

/*#reading-without-spaces svg {*/
/*    background: #1abc9c;*/
/*}*/

#missing-vowels {
    color: #e14168;
}

/*#missing-vowels svg {*/
/*    background: #e14168;*/
/*}*/

#rearranged-characters {
    color: #9b59b6;
}

/*#rearranged-characters svg {*/
/*    background: #9b59b6;*/
/*}*/

#torn-text {
    color: #5f5c5c;
}

/*#torn-text svg {*/
/*    background: #5f5c5c;*/
/*}*/

.firstRow {
    color: revert;
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    align-items: center;
    height: 50px;
    position: relative;
}

.textBlock {
    text-align: left;
    font-size: 20px;
    width: 900px;
    line-height: 30px;
}

@media (max-device-width: 480px) {
    .textBlock {
        font-size: 70px;
        line-height: 100px;
    }

    .header2 {
        font-size: 75px;
    }

    .header3 {
        font-size: 70px;
    }

    .linkToTraining {
        font-size: 40px;
    }
}