*{
    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;
}
.operations-container{
    display: flex;
    padding: 1rem 1rem;
    flex-wrap: wrap;
    gap: 1.75rem;
   justify-content: center;
    
   margin: 1rem;
}

.learn{
    font-size: 1.5rem;
    margin: .5rem 1rem;
    color: white;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 0px grey;
}
.learn:hover{
    transform: scale(1.1);
}
.section{
    border-bottom: 1px solid grey;
    display: flex;
    justify-content: space-evenly;
    width: 70%;
    gap: .5rem;
    flex-wrap: wrap;
}
.section-span{
    border-radius: 10px;
    display: flex;
    justify-content: center;
    width: 50%;
    font-size: 2rem;
    color: #000080;
    text-shadow: 0px 0px 7px green;
    font-weight: bold;
    background-color: white;
    padding: .5rem;
}
.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: space-between;
    justify-content: space-between;
    align-items: center;
}
.operations a{
    text-decoration-line: none;
}
.operationsdivision{
    cursor: pointer;
    max-height: 750px;
    max-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: space-between;
    justify-content: space-between;
    align-items: center;
}
.operationsdivision 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);
}
.division{
    background-color: rgba(255, 0, 255, 0.5);
    box-shadow: 7px 5px 2px rgba(0, 72, 255, 0.711);
}
.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: #4CAF50; 
    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);
}
@media screen and (max-width: 475px){
    .title{
        margin: 1rem;
        font-size: 1.5rem;
        padding: 1rem;
    }
    .button{
        padding: .5rem 1rem;
    }
    .learn{
        font-size: 1rem;
    }
    .operations-container{
        gap:1rem;
        padding: .5rem;
        margin: .5rem;
    }
    .operations{
        padding: .5rem .25rem;
        width: 16rem;
    }
}