*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.container-buttons{
    background-color:#232222;
    margin: 40px 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
}

.buttons-title{
    color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.buttons-title h3{
    font-weight: 700;
    font-size: 24px;
    margin: 10px 0;
}

.buttons-title hr.topics-line{
    color: #fff;
}

.button-row1, .button-row2{
    width: 100%;
    display: flex; /*needed to add this display in order to justify it to the center */
    flex-direction: row;
    flex: 1;
    text-align: justify;
    align-items: center;
    justify-content: center;
    
}

.container-buttons > div > button{
    min-width: 140px; /* Set a minimum width */
    width: 100%;
    height: 45px; /* Set a fixed height */
    display: inline-block; /* Ensure buttons are displayed inline */
    text-align: center; /* Center align the text within the button */
    line-height: 50px; /* Vertically center the text within the button */
    margin: 8px 8px; /* Add some margin between buttons. By adding auto in margin, it expands the button side by side */
    border-radius: 20px;
    border: none;
}

.button-row1 a, .button-row2 a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer; /* Change cursor on hover */
}

.pink{
    background-color: #FB59CE;
}

.pink:hover{
    background-color: #d92ba8;
}


.blue{
    background-color: #1590F5;

}

.blue:hover {
    background-color: #1558f5;

}

.purple{
    background-color: #925CF4;
}

.purple:hover {
    background-color: #4b209b;
}

.violet{
    background-color: #BF70E7;
}
.violet:hover {
    background-color: #af3bea;
}

.skyblue{
    background-color: #1FCCF0;
}
.skyblue:hover {
    background-color: #0e93ad;
}



.light-orange{
    background-color: #FDB515;
}
.light-orange:hover {
    background-color: #f05609;
}

.yellow{
    background-color: #F5C400;
}
.yellow:hover {
    background-color: rgb(255, 243, 18);
}

.green{
    background-color: #18B94D;
}
.green:hover {
    background-color: #0e7e33;
}

.orange{
    background-color: #FD9835;
}
.orange:hover {
    background-color: #ce6b09;
}

.red{
    background-color: #FD555C;
}
.red:hover {
    background-color: #bb0d13;
}

@media(max-width: 980px){

    .button-row1, .button-row2{
        text-align: start;
        flex-direction: column;

        
    }
    .container-buttons > div > button{
        margin: 8px 12px;
        width: 80%; /* Set a minimum width */
    }
}



/* For  the  buttom buttons */

.letter-both{
    grid-column: span 2;
    grid-area: 1 / 1 / 2 / 3;
    padding: 10px;
  }
  
  
  
  .bottom-buttons{
  display: flex;
  flex-direction: row;
  /* margin-left: 250px; */
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 10px;
  padding-top: 30px;
  
  }
  
 .home-icon{
  background-color:#232222b3;
  border: none;
  padding: 12px 16px;
  border-radius: 20px;
  color: white;
  display: flex;
  flex-direction: column;

  }
 
  .home-icon > img{
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  
  .home-icon:hover{
  background-color: #232222;
  }
  
  .next-button{
  max-width: 100%;
  background-color:  #FB59CE;
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  display: flex;
  
  }
  
  .next-button:hover{
  background-color: #d92ba8;
  }
  
  button.next-button > img{
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  }
  
  .bottom-buttons a{
  text-decoration: none;
  }

  .rainbow{
    width: 100%;
    padding: 8px 12px;
    border-radius: 20px;
    background: linear-gradient(45deg, rgb(210, 64, 64), rgb(198, 54, 193), rgb(250, 179, 0));
    
  }

  .rainbow a{
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
  }

  .rainbow:hover{
    background: linear-gradient(45deg, rgb(250, 179, 0), rgb(255, 135, 135), rgb(255, 143, 251));
    color: #ffffff;
    box-shadow: 0px -10px 12px rgba(0, 0, 0, 0.3);
  }
