* {
    box-sizing: border-box;

    margin: 0;
}

.row {
    flex-wrap: nowrap;
    margin: 2rem auto;
    max-width: 1024px;

    border-bottom: 1px solid grey;
}

.head_title {
    font-size: 2rem;
    background-image: url(/imgs/addition_sign.svg);
    display: flex;
    max-width: 90%;
    text-shadow: 2px 4px 1px rgb(0, 251, 255);
    font-weight: bold;
    border-bottom: 1px solid grey;
    justify-content: center;
    background-size: contain;
    background-repeat: space;
    background-position: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 10px;
    padding: 1rem;
    background-color: aliceblue;
}

.page-selector {
    border: 1px solid grey;
    font-size: 1.15rem;
    background-color: antiquewhite;
    border-radius: 7px;
    display: flex;
    padding: .5rem;
    width: 270px;
    justify-content: space-evenly;
}

.division {
    background-color: rgba(255, 0, 255, 0.5);
    box-shadow: 7px 5px 2px rgba(0, 72, 255, 0.711);
}

.addition {
    background-color: #98a8f8;
    box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
}

.multiplication {
    background-color: rgba(255, 0, 0, 0.7);
    box-shadow: 7px 5px 2px rgba(255, 0, 0, 0.5);
}

.operations_division {
    cursor: pointer;
    max-height: 598px;
    max-width: calc(12rem);
    border: 1px solid grey;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 15px;
    padding: 1rem .5rem;
    margin: .25rem;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    justify-content: space-between;
    align-items: center;
}

.operations_division a {
    text-decoration-line: none;
}

.h1-container {
    background-color: hsla(0, 0%, 100%, 0.55);
    padding: 1rem;
    border-radius: 10px;
}

.paragraph {
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: none;
    text-align: center;
}

.operations-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.texts {
    background-color: rgba(250, 255, 255, 0.7);
    box-shadow: inset 1px 1px 5px blueviolet;
    padding: 1rem;
    border-radius: 10px;
}

.balloons {
    background-color: #b2c7ff;
    box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
}

.quiz-section {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid grey;
    justify-content: space-evenly;
    width: 70%;
}

.train-section {
    display: flex;
    border-bottom: 1px solid grey;
    justify-content: space-evenly;
    width: 70%;
}

.paragraph-section {
    margin: 1rem;
}

h2 {
    text-shadow: 1px 1px 0px blueviolet;
}

@media (max-width: 767px) {
    .train-section {
        flex-direction: column;
        align-items: center;
    }

    .quiz-section {
        flex-direction: column;
        align-items: center;
    }

    .head_title {
        font-size: 1.5rem;
        flex-direction: column;
    }

    .row {
        flex-wrap: wrap;
    }

    .paragraph {
        font-size: 1.25rem;
    }
}