*{
    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;
}


#welcome{    
    overflow: hidden;
    max-width: 38.5rem;
    margin: 0px auto;
    position: relative;
    padding-top: 0rem;
}
.maxcontent{
    width: 70%;
}
.section_head{
    padding: 3rem 0;
    max-width: 1280px;
    margin: auto;
}
 .title{
    margin-top: 20px;
    font-size: 3rem;
    line-height: 1;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 1.75rem;
    text-align: left;
    flex: 1;
}
.title_head {
    display: flex;
    align-items: center;
    flex-direction:row;
    text-align: left;
    flex-wrap: wrap;
    margin: 0 auto;
    border-bottom: 1px solid grey;
}
.title_body{
    width: 100%;
    max-width: 80rem;
    padding: 0 8rem;
    margin-right: auto;
    margin-left: auto;
}
.title_button{
    flex: 1 1 0;
    padding-right: 3rem;
}
.title_btn{
    display: flex;
        justify-content: flex-start;
}
.kids_avatar{
    object-fit: cover;
    display: flex;
    justify-content: flex-end;
    margin-top: 0px;
    padding: 0 1.25rem;
    flex: 1 1 0;
    width: 100%;
    background-image: url(/imgs/background_math.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
}
.kids_img{
   max-height: fit-content;
   width:auto;
}
 img{
    object-fit: cover;
    width: 100%;
 }
.sub_title{
text-align: left;
color: #071A40;
}
.img_border{
    border: 1px solid grey;
    border-radius: 15px;
    box-shadow: inset 1px 1px 4px grey;
    padding: 1rem;
    margin: 1rem;
    text-align: center;
}
.gifexample{
    width: 42%;
    background-color: rgba(25, 0, 255, 0.15);
    border-radius: 15px;
}
.section_1{
    border-top: 1px solid grey;
    max-width: 38.5rem;
}
.section-2{
    max-width: 38.5rem;

    position: relative;
}
.ice_cream_stand_img{
    width: 50%;
}
.section_3{
    overflow: hidden;
    margin-top: 5em;
    padding-top: 1em;
    padding-bottom: 1em;
    border-top: 1px solid grey;
    text-align: center;
    display: flex;
    justify-content: center;
}  
.section_border{
    border-top: 1px solid grey;
}
.addition_parts{
    margin: 2rem 0;
}
.paragraph{
    font-size: 1.125rem;
    line-height: 1.5rem;
}
.title_paragraph{
    color: rgba(107, 114, 128, 1);
    font-weight: 400;
    text-align: left;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 2rem;
}
.column_paragraph{
    text-align: left;
    padding: 1rem 0rem;
}
.column_paragraph_for_columns{
    text-align: left;
    padding: 1rem 1rem;
}
.column_paragraph li{
    font-size: 1.125rem;
    line-height: 2rem;
    font-weight: 500;
}
.paragraph_title{
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 1px;
    line-height: 1.5;
    padding-top: 0;
    padding-bottom: 0;
    margin: .125rem 0;
}
.question{
    font-family: cursive;
     font-size: 1.5rem;
}
.paragraph_question{
    display: flex;
    margin-top: .75rem;
    margin-bottom: .75rem;
    font-size: 1.5rem;
    color: #071A40;
    font-weight: 700;
    text-align: left;
}
.paragraph_instruction{
    margin-bottom: .25rem;
    font-size: 1.125rem;
    text-align: left;
    font-weight: 500;
    font-family:cursive;
}
.bordered-container{
    text-align: center;
     border: 1px solid green;color:green;
     border-radius: 10px; font-size: 1.25rem;
     background-color:rgba(127, 255, 212, 0.502); padding: 1rem;  
     font-weight: bold;
     font-family: cursive;
}
.row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 4rem;
}
.row #column1, 
.row #column2,
.row #column3{
    width: 325px;
    height: auto;
    padding: 10px 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: rgba(100, 250, 250, 0.252);
    box-shadow: 5px 5px 5px grey;
    gap: 7px;
}
.column-title h2{
    margin: 1rem 0rem;
    font-size: 1.75rem;
    font-weight: 700;
}
.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: center;
    box-shadow: 0px 0px 10px grey;
}
 .width-auto{
    width: auto;
 }    
.button:hover {
    background-color: rgb(255, 255, 255);
    color: #4CAF50;
    transform: scale(1.1);
}

.img_boards{
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.backgroundcolor{
    background-color: rgba(21, 255, 0, 0.1);
    border-radius: 15px;
}
.container{
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    display: grid;
    justify-content: center;
    justify-items: center;
    max-width: 38.5rem;
    margin: 0 auto;
    padding-top: .5rem;
}
.card_section{  
    max-height: 450px;
    height: 350px;
    width: 510px;
    margin-bottom: 1.5rem;
}
.card_container{
perspective: 1500px;
}
.card_container:hover .card_inner, .card_container:active .card_inner{
    transform: rotateY(180deg);
}
.card_inner, .card_inner2{
    position: relative;
    transition:  0.7s ;
    transform-style: preserve-3d;
}
.card_front{
z-index: 1;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.card_back{
    z-index: 0;
    transform: rotateY(180deg);
}
.card_front, .card_back{
    display: grid;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.avatar_imgs{
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid rgb(0, 157, 255);
    box-shadow: 0px 0px 10px rgb(7 7 7);
    width: 100%;
   object-position: center;
}
@media (max-width: 1280px){
    .title_body{
        padding: 0 4rem;
    }
    .title{
        font-size: 3rem;
    }
}
@media (max-width: 1024px){
    .title_body{
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .title{
        font-size: 2.25rem;
        padding: 0;
        line-height: 2.5rem;
    }
    .title_button div p{
        font-size: 1rem;
        line-height: 1.5rem;
    }
}
@media (max-width: 767px){
    .title_body{
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .title_head{
        flex-direction: column;
        align-items: center;
    }
    .title{
        text-align: center;
        font-size: 3rem;
        line-height: 1;
    }
    .title_button{
        padding: 0;
    }
    .title_paragraph{
        text-align: center;
    }
    .title_btn{
        justify-content: center;
    }
    .kids_avatar{
        justify-content: center;
        background-position: center bottom;
        margin-top: 4rem;
    }
    .kids_img{
        width: 50%;
    }
}
@media all and (max-width: 766px) {
    .title_body{
        padding: 0 1.25rem;
    }
    .container_card{
        margin-top: 2rem;
    }
    .paragraph_title{
        margin: 1rem 0;
        font-size: 1.25rem;
        text-align: center;
        padding: 0 1rem;
    }
    .paragraph_question{
        font-size: 1.125rem;
        padding: 0 1rem;
    }
    #welcome p{
        padding: 0 1rem;
    }       
    .paragraph_instruction{
        font-size: 1rem;
    }    
    .card_section{
        width: 100%;
        padding:1rem;
        margin-bottom: 1rem;
    }
  .question{
    font-size: 1.125rem;
  }
}
@media (max-width: 650px){
        .title{
            font-size: 2.25rem;
            line-height: 2.5rem;
            font-weight: 400;
            letter-spacing: -0.025rem;
        }
    .maxcontent{
        width: 100%;
    }
}
@media all and (max-width: 475px){
    .kids_img{
        width: auto;
    }
    .card_section{
        height: 270px
    }
    .img_border{
        margin: 1rem 0;
    }
}