.theory_title{
    font-size: 2rem;
}

.theory_subtitle{
    font-size: 1.5rem;
}

.subject_description_theory{
    font-size: 1.5rem;
}

.theory{
    /*border: solid 1px;*/
    padding: 10px;
    background-color: rgba(239,251,232,.2);
    border-radius: 5px;
}

.theorem{
    border: solid 1px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(239,252,231,.2);
}

.theory_exercise{
    background-color: rgba(239, 252, 231, .2);
    border-radius: 5px;
    padding: 5px;
}

.theory_page{
/*    overflow-y: auto;
    height: 500px;*/
}

.theory_exercise_question{
    text-align: center;
    width: 100%;
}

.theory_exercise_question select{
    width: 400px;
    background-color: rgb(239,252,231);
    border-radius: .25rem;
    border-width: 0px;
}

.theory_exercise_question input{
    background-color: rgb(239,252,231);
    border-radius: .25rem;
    border-width: 0px;
}

.question_correct{
    width: 100%;
}

.pargraph{
    border-style: solid;
    border-color: rgb(239,252,231);
}

.pargraph_block_title{
    font-size: 2rem;
}

.indexborder{
    border: solid;
    border-width: .2px;
    border-radius: 5px;
}

.theorycolor{
    background-color: rgb(110, 150, 150);
}

.theory_grid {
    display: grid;
    grid-template-areas:
    'header header'
    'grid_form grid_form';
    /*'footer footer footer footer footer footer';*/
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    /*background-color: rgba(255, 255, 255, 0);*/
    padding: 15px;
    justify-content: space-evenly;
}

.div_theory_tile{
    padding: 5px;
}

.theory_content{
    font-size: 1.5rem;
}

.theory_tile{
    background-color: rgb(40,40,40);
}

.theory_tile_title{
    color: rgb(40,40,40);
    text-align: center;
    margin-bottom: 0px;
    padding: 10px;
}

.subject_content{
    background-color: rgb(40,40,40);
}


.theory_tile_image{ grid-area: theory_tile_image; }
.theory_tile_description{ grid-area: theory_tile_description; }

.theory_tile_content{
    display: grid;
    grid-template-areas:
    'theory_tile_image theory_tile_description';
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    padding: 0px;
    justify-content: space-evenly;
}

.theory_tile_title{
    font-size: 1.8rem;
}
.theory_tile_description{
    font-size: 1.5rem;
}

.theory_tile_image{
    padding: 10px;
}

.theory_tile_description{
    padding: 10px 0px;
}


.theory_grid > div {
  /*background-color: rgba(255, 255, 255, 0);*/
  text-align: center;
  padding: 20px 0;
  /*font-size: 30px;*/
}

@media screen and (max-width: 768px) {
    .theory_grid {
        display: grid;
        grid-template-areas:
        'header'
        'grid_form';
        /*'footer footer footer footer footer footer';*/
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
        padding: 3px;
        /*background-color: rgba(255, 255, 255, 0);*/
        justify-content: space-evenly;
    }

    .div_theory_tile{
        padding: 0px;
    }

    .theory_title{
        padding: 10px;
        font-size: 1.8rem;
    }

    .theory_subtitle{
        font-size: 1.5rem;
    }

    .theory_tile_title{
        font-size: 1.5rem;
    }

    .theory_tile_description{
        font-size: 1rem;
    }

    .subject_tile, .subject_content, .theory_title{
        padding: 7px !important;
    }

    .subject_description{
        font-size: 1rem;
    }

    select{
        font-size: 1rem !important;
        max-width: 60vw;
    }

}