* {
    box-sizing: border-box;

    margin: 0;
}

body {

    background: hsla(245, 75%, 80%, 0.25);
    color: #070707;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.title {
    border-radius: 10px;
    padding: 2rem;
    background-color: #b2c7ff;
    text-shadow: 0px 0px 7px rgb(7, 7, 255);
    margin: 2rem;
    font-weight: bolder;
    text-align: center;
    font-size: 2rem;
}

.title_quiz {
    border-radius: 10px;
    padding: 2rem;
    background-color: #b2c7ff;
    text-shadow: 0px 0px 7px rgb(7, 7, 255);
    margin: 2rem;
    font-weight: bolder;
    text-align: center;
    font-size: 2rem;
}

.operations-container {
    display: flex;
    padding: 1rem 1rem;
    flex-wrap: wrap;
    gap: 1.75rem;
    justify-content: center;
    margin: 1rem;
}

.container-operations {
    max-width: 1024px;
    display: flex;
    padding: 1rem 1rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;

    margin: 1rem auto;
}

.learn {
    font-size: 1.5rem;
    margin: .5rem 1rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 0px grey;
}

.learn:hover {
    transform: scale(1.1);
}

.operations {
    cursor: pointer;
    max-height: 550px;
    width: calc(18rem);
    border: 1px solid grey;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 15px;
    padding: 1rem .5rem;
    margin: .25rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.operations a {
    text-decoration-line: none;
}

.balloons {

    background-color: #b2c7ff;
    box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
}

.addition {
    background-color: #98a8f8;
    box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
}

.subtraction {
    background-color: rgba(255, 247, 0, 0.5);
    box-shadow: 7px 5px 2px rgba(132, 1, 255, 0.732);
}

.green {
    background-color: rgb(70, 100, 100);
    box-shadow: 7px 5px 2px rgba(100, 255, 0, 0.7);
}

.division {
    background-color: rgba(255, 0, 255, 0.5);
    box-shadow: 7px 5px 2px rgba(0, 72, 255, 0.711);
}

.comparing {background-color: rgba(255, 251, 0, 0.7);}
.multiplication {
    background-color: rgba(255, 0, 0, 0.7);
    box-shadow: 7px 5px 2px rgba(255, 0, 0, 0.5);
}

.fractions {
    background-color: #00BCD4;
    box-shadow: 7px 5px 2px rgb(253, 255, 128);
}

.fractions-2 {
    background-color: #a4b4ffa0;
    box-shadow: 7px 5px 2px rgb(253, 255, 128);
}

.button {
    text-decoration: none;
    text-align: center;
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    background-color: #0E2F77;
    color: white;
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 16px 32px;
    margin: 4px 2px 1rem 2px;
    -webkit-transition-duration: 0.2s;
    /* Safari */
    transition-duration: 0.2s;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
    box-shadow: 0px 0px 10px grey;
}

.button:hover {
    background-color: rgb(255, 255, 255);
    color: #4CAF50;
    transform: scale(1.1);
}

.my-little-store-game {
    background-color: #b2c7ff;

    box-shadow: 7px 5px 2px rgba(72, 255, 105, 0.7);
}

.numbers-chain {
    background-color: rgba(150, 150, 150, 0.77);

    box-shadow: 7px 5px 2px rgba(128, 128, 128);
}

.section {
    border-bottom: 1px solid grey;
    display: flex;
    justify-content: space-evenly;
    width: 70%;
    gap: .5rem;
    flex-wrap: wrap;
}

.section-span {
    text-align: center;
    background-color: white;
    padding: .75rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    width: 58%;
    font-size: 2rem;
    color: rgb(24, 24, 24);
    text-shadow: 0px 0px 7px green;
    font-weight: bold;
}

@media screen and (max-width:375px) {
    .title_quiz {
        font-size: 1.5rem;
    }

    .button {
        font-size: 1rem;
        padding: .5rem 1rem;
    }

    .operations {
        width: 95%;
        padding: .5rem .25rem;

    }

    .learn {
        font-size: 1rem;
    }

    .operations-container {
        gap: 1rem;
        padding: .5rem;
        margin: .5rem;
    }

    .container-operations {
        gap: 1rem;
        margin: .5rem;
        padding: .5rem
    }
}