*{
    padding: 0;
    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;
}
.image-container{
    display: none;
}
.title{
    text-align: center;
    font-size: 2rem;
    font-weight: bolder;
    text-shadow: 1px 1px 0px blueviolet;
    letter-spacing: 2px;
   }
  .game{
    display: flex;
    margin: 1rem;
    justify-content: center;
  }
.container{
    border-radius: 10px;
    border: 1px solid white;
    position: relative;
    margin: 2rem auto;
    display: flex;
    max-width: 770px;
    justify-content: center;
    align-items: center;
    background-color: rgb(110, 248, 255);
}
canvas{
    margin: 0 auto;
    border: 1px solid blue;
    max-width: 600px;
    max-height: 600px;
    background-color: rgb(110, 248, 255);
}  
.btn-container{
    background-color: grey;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 250px;
    right: 5px;
    background-color: rgb(0, 122, 255);
    border-radius: 10px;
}
.btn-container2{
    background-color: rgb(0, 122, 255);
    border-radius: 10px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 250px;
    left: 5px;
}
.btn{
    display: flex;
    cursor: pointer;
    font-family: cursive;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    height: 75px;
    width: 75px;
    border-radius: 10px;
    font-weight: bold;
    background-color: white;
    box-shadow: 0px 0px 7px blue;
    border: none;
}     
.operations-container{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    height: 250px;
    width: 250px;
    border-radius:10px;
    padding: 1rem;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.inputs-container{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
}
.game-start{
    background-image: url(/imgs/tennis_background.svg), url(/imgs/mathboard4kids_logo.svg);
    background-position: center bottom;
    background-size: 70%;
    background-repeat: no-repeat;
    border-radius: 10px;
    width: 100%;
    background-color: rgb(100, 248, 248);
    color: purple;
    text-shadow: 0px 0px 7px red;
    height: 100%;
    display: flex;
    top: 50%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 4rem;
    font-family: cursive;
    box-shadow: inset 0px 0px 7px red;
}
.start-btn{
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 2.5rem;
    background-color: green;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.start-btn:hover{
    transform: scale(1.1);
}
.operations-container span{
    background-color: white;
    font-size: 1.5rem;
}
.input{
    background: rgb(90, 90, 90);
    width: 55px;
    height: 55px;
    border-radius: 10px;
    color: white;
    text-shadow: 0px 0px 7px red;
    font-size: 1.75rem;
    cursor: pointer;
    font-weight: bolder;
    text-align: center;
}
.game-over{
    z-index: 1;
    border-radius: 10px;
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    height: 100%;

     width: 95%;
    background-color: white;
}
.restart-btn{
    margin: 1rem;
    display: flex;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    align-items: center;
    justify-content: center;
    background-color: greenyellow;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0px 0px 7px blue;
}
.restart-btn:hover{
    transform: scale(1.1);
}
.operation-btn{
    margin: 1rem;
    display: flex;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    align-items: center;
    justify-content: center;
    background-color: greenyellow;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0px 0px 7px blue;
}
.operation-btn:hover{

    transform: scale(1.1);
}
.you-lost{
    background-color: white;
    font-size: 2rem;
}
.paragraph_text {
    padding: 1px 0;
    max-width: 1024px;
    margin-top: 20px;
  
    margin: 1rem auto;
    font-size: 1.25rem;
  
    text-align: left;
    line-height: 1.15;
    display: flex;
    align-items: center;
  }
  .head_text {
    margin: 1rem;
  }
  .paragraph_text p {
    text-wrap: balance;
  }
  .head_subtitle {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 1.1rem;
    color: green;
    line-height: 1.25;
  }
  .head_subtitle2 {
    text-align: left;
    margin-bottom: 1.1rem;
  }

  .image-section {
    width: max-content;
    background-color: #98a8f8;
    box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
    margin: 1rem 0;
    border-radius: 10px;
    display: flex;
    padding: 1rem;
  }
  .image-section img{
    width: 299px;
  }
  .head_section_li_n {
    line-height: 1.1;
  }
  .head_section_li_span {
    color: green;
    font-weight: 700;
  }

/* Section 2 */
.section_2{
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    /* margin-top: 1rem;
    padding-top: 1rem; */
    padding-bottom: 1rem;
  
    text-align: center;
    display: flex;
    justify-content: center;
  }  
  .row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 1rem;
  }
  .column-title h2{
    margin: 1rem 0rem;
    font-size: 1.75rem;
    font-weight: 700;
  }
  .row #column1, 
  .row #column2,
  .row #column3{
    width: 325px;
    height: auto;
    padding: 10px 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 7px rgb(100, 7, 255);
    gap: 7px;
  }
  .purple{
    background-color: rgba(250, 100, 250, 0.7);
  }
  .yellow{
  
    background-color: rgba(250, 250, 100, 0.7);
  }
  .red{
  
    background-color: rgba(250, 100, 100, 0.7);
  }
  .train_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: center;
    box-shadow: 0px 0px 10px grey;
  }
  .train_button:hover {
    background-color: rgb(255, 255, 255);
    color: #4CAF50;
    transform: scale(1.1);
  }
  .img_boards{
    padding: .25rem;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  .column_paragraph_for_columns{
    text-align: left;
    padding: 1rem 1rem;
  }
  .more{
    border-top: 1px solid grey;
    margin: .5rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    padding:1rem;
    color: rgb(255, 7, 7);
    text-shadow: 0px 0px 7px grey;
  }
  /* Section 2 */
@media all and (max-width:768px){
    .you-lost{
        font-size: 1rem;
    }
    .game-start{
        font-size: 2rem;
    }
    canvas{
        width:100%;
        height:100%;
    }
    .restart-btn{
        font-size: 1rem;
    }
    .operation-btn{
        font-size: 1.5rem;
    }
    .container{
        align-items: flex-end;
    }
    .btn{
        height: 45px;
        width: 45px;
        font-size: 1rem;
    }
    .btn-container, .btn-container2{
        justify-content: space-between;
         height: 95px;
    }
}