*{
  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;
}
.main-container{
  width: 100%;

  height: auto;
  display: flex;

  margin: 1rem auto;

}
.repeated-addition {
    border: 1px solid grey;
    background-color: rgba(245, 248, 255, 0.757);
    border-radius: 7px;
    display: flex;
    z-index: 1;
  }
  .repeated-addition:hover {
    background-color: rgb(0, 255, 250);
    cursor: pointer;
    transform: scale(1.05);
  }
  
  .button {
    padding: 15px 30px;
    cursor: pointer;
    height: 50px;
    background-color: olive;
    font-size: 1.25rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    margin: 0.75rem;
    justify-content: center;
    z-index: 1;
    position: relative;
  }
  .button:hover {
    background-color: rgb(70, 70, 0);
    color: white;
    transform: scale(1.1);
  }
  .multiplicationResult {
    height: 2rem;
    width: 70px;
    background-color: rgb(130, 130, 255);
    border-radius: 10px;
    border: none;
    font-size: 1.25rem;
    color: white;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    margin: 0 0.5rem;
  }
  .multiplication-container {
    position: relative;
    width: 500px;
    display: flex;
    gap: 7px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0rem auto;
    border-radius: 10px;
    padding: 1.75rem 1rem;
    background-color: rgb(242, 248, 252, 0.7);
  }
  .repeated-additio{

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .addition {
    font-size: 1.25rem;
    text-shadow: 1px 1px 0px blue;
    font-weight: bold;
  }
  .returnbtn {
    margin: 1.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    top: 0px;
    left: 0px;
    position: absolute;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    background-color: green;
    z-index: 1;
  }
  .returnbtn:hover {
    transform: scale(1.1);
  }
  .board-title{
    text-align: center;
    color: rgb(255, 7, 7);
    font-size: 1.5rem;
    margin: 1rem;
    text-shadow: 0px 0px 7px green;
    font-weight: bold;
  }
  .choose-level {
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
  }
 .menu-game{
    background-color: rgb(250, 245, 245);
    position: absolute;
    width: 98%;
    justify-content: space-evenly;
    height: 94%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0px 0px 7px rgb(255, 7, 7);
  }
  .buttons {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem;
  }

  .shuffle-btn{
    padding: .5rem 1rem;
    display: flex;
    top: 70px;
    left: 0;
    position: absolute;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    background-color: yellow;
    border: none;
    border-radius: 10px;
    margin: .5rem;
  }
  .shuffle-btn:hover{
    transform: scale(1.1);
  }
  .close-menu-btn {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgb(255, 7, 7);
  }
  .congratulations-message {
    position: absolute;
    z-index: 2;
    font-size: 1.5rem;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    background-color: rgb(112, 255, 72);
    border-radius: 10px;
    border: 1px solid blue;
    text-shadow: 0px 0px 5px white;
    font-weight: bold;
    font-family: cursive;
    width: 70%;
    padding: 1rem;
    box-shadow: 1px 1px 5px blue;
    text-align: center;
  }
  .score-container {
    color: white;
    text-shadow: 0px 0px 7px green;
    width: 50%;
    justify-content: flex-end;
    border-radius: 10px;
    background-color: rgba(128, 128, 128, 0.757);
    padding: 0.28rem;
    margin: 0.28rem;
    display: flex;
    font-weight: bold;
    font-size: 1.25rem;
  }

  .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: fit-content;
    background-color: #98a8f8;
    box-shadow: 7px 5px 2px rgba(0, 255, 38, 0.711);
    margin: 1rem 0;
    border-radius: 10px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding: .75rem;
  }
  .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 screen and (max-width: 550px){
    .button{
      padding: .25rem .75rem;
      margin: .25rem; 
      font-size: 1rem;
    }
    .main-container{
      width: 320px;
    }
    .shuffle-btn{
      top: 50px;
      align-items: center;
      flex-direction: column;
      padding: .25rem .5rem;
    }
    .returnbtn{
      margin: 1rem;
      padding: .25rem .5rem;
    }
    .score-container{
      font-size: 1rem;
    }
    .choose-level{
      font-size: 1.25rem;
    }
  }