/* PAGE SECOND    ------- SERVICES */


.second_body{
  width: auto;
  justify-content: center;
  text-align: center;

}

.title_second_page{
  text-align: center;
  color: #000;
}


.first_text_second_page{
  font-size: 40px;
}



.first_paragraf_second_page{
  text-align: center;
  font-weight: bold;
  padding-left: 220px;
  padding-right: 220px;
  font-size: 17px;

}



.page_service{
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: center;
}



.page_product_blok {
  max-width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Asigură alinierea verticală */
  padding: 0 10px;
  text-align: center; /* Aliniază textul în interiorul containerului de text */
}

.page_product_blok:nth-of-type(1) {
  padding-left: 30px;
  padding-right: 10px;
}

.page_product_blok:nth-of-type(2) {
  padding-right: 30px;
  padding-left: 10px;
}








/*******       blokul 1 cu limba franceză          ******/




.france_flag{
  width: 19%;
  height: auto;
  border-radius: 50%;
}







/*******    blocul 1 cu engleza    ***********/



.england_flag{
  width: 19%;
  height: auto;
  border-radius: 50%;
}





/*cuvintele*/


.words_fr:nth-of-type(1){
  width: 60%;
  margin: 20px;
  font-weight: bold;
      cursor: pointer;
      border-radius: 30px;
     padding: 10px;
      color: #ffffff;
      font-size: 20px;
      background: linear-gradient(70deg, #269E6B, #10D89C, #8f8181, #03e9f4, #000);
      transition: background 1s, font-size 1s; 
      
   
}



.words_fr:nth-of-type(1):hover{
  font-size: 20px;
  background: linear-gradient(70deg, #000, #03e9f4, #8f8181, #10D89C, #269E6B);
}



.words_en:nth-of-type(1){
  width: 60%;
  margin: 20px;
  font-weight: bold;
      cursor: pointer;
      border-radius: 30px;
     padding: 10px;
      color: #fff;
      font-size: 20px;
      background: linear-gradient(45deg, #000, #03e9f4, #8f8181, #10D89C, #269E6B);
      transition: background 1s, font-size 1s; 
      
   
}


.words_en:nth-of-type(1):hover{
  font-size: 20px;
  background: linear-gradient(50deg, #269E6B, #10D89C, #8f8181, #03e9f4, #000);
}



.propup-tigger{


}





/*    Stilizarea pentru fereastra  */



.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.popup-content {
    width: 70%;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}



#close-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}


/*   BLOK LEVEL     */

.blok_level{
  justify-content: space-between;
  padding-top: 20px;
  background-color: #106B59;
  border: 1px solid transparent;
  border-top-left-radius: 40px;
  border-top-right-radius:100px;
}

.title_level{
  text-align: center;
  color: #fff;
}

.level_curs{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
}

.level{
  flex-direction: column;
  text-align: left;
  padding: 10px;
  border-radius: 5%;
  cursor: pointer;
}


.level:hover{
  background-color: none;
  color: #000;
}


.level_title{
  font-size: 20px;
  background-color: #070707;
  color: #fffdfd;
  border: 1px solid transparent;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 20px;
}

.level_paragraf{
  font-size: 16px;
  color: #fff;
  border: 1px solid transparent;
  border-bottom-right-radius: 60px;
}


.level_paragraf:nth-of-type(1):hover{
  background-color: #1c1c1c;
  transition: 1s;
}
.level_paragraf:nth-of-type(2):hover{
  background-color: #1c1c1c;
  transition: 1s;
}
.level_paragraf:nth-of-type(3):hover{
  background-color: #1c1c1c;
  transition: 1s;
}
.level_paragraf:nth-of-type(4):hover{
  background-color: #1c1c1c;
  transition: 1s;
}
.level_paragraf:nth-of-type(5):hover{
  background-color: #1c1c1c;
  transition: 1s;
}
.level_paragraf:nth-of-type(6):hover{
  background-color: #1c1c1c;
  transition: 1s;
}



/*   BLOK PRICE SI CURSURI   */

.blok_curs_and_price {
  display: flex;
  justify-content: space-between;
  background-color: #06614b;
  color: #fff;
}

.cursuri {
  width: 30%;
  text-align: left;
  padding: 20px;
  margin-right: 5px;
  background-color: #137A4C;
  color: #fff;
  border: 1px solid transparent;
  border-bottom-left-radius: 60px;
  border-top-left-radius:40px;
}

.preturi {
  width: 70%;
  flex-direction: row;
  margin-left: 5px;
  background-color: #137A4C;
  color: #fff;
  border: 1px solid transparent;
  border-bottom-right-radius: 60px;
  border-top-right-radius:40px;;
}

.preturi_title{
  color: #fff;
  font-weight: bold;
}

.first_price {
  text-align: center;
  margin-bottom: 2px;
  margin-left: 15px;
  margin-right: 15px;
  color: #fff;
}

.preturi_center {
  display: flex;
  flex-direction: row;
  font-size: 18px;
  padding: 15px;
}

.second_price, .three_price {
  width: 48%;
  flex-direction: column;
  border-color: #fff;
  color: #fff;
}

.four_price {
  font-size: 16px;
  text-align: center;
  margin-top: 2px;
  margin-left: 15px;
  margin-right: 15px;
  color: #fff;

}

.price_accent {
  color: #000;
  font-size: 17px;
  font-weight: bold;
  background-color: white;
  border: 1px solid transparent;
  border-radius: 25px;
  padding: 5px;

}



/* LEARN MODLITY */

.learn_modality{
  background: linear-gradient(to top right, #F2FBFE, #649647);
  background: linear-gradient(to top left, #F2FBFE, #137A4C);
}


.learn_title{
  font-size: 28px;
}

.learn_paragraf{
  font-size: 24px;
}

.learn_paragraf_secound{
  font-size: 20px;
}


/* Mobile Devices (Portrait and Landscape) */
@media all and  (max-width: 375px)  and (min-width: 1px) {
  .first_text_second_page {
    font-size: 30px;
  }

  .first_paragraf_second_page {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
  }

  .page_service {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    text-align: center;
    justify-content: space-between;
  }

  .page_product_blok:nth-of-type(1),
  .page_product_blok:nth-of-type(2) {
    flex-direction: column;
    padding: 10px 0;
    justify-content: center;
    text-align: center;
  }

  .france_word, .englend_word{
    flex-direction: column;
    justify-items: center;
    text-align: center;
  }

  .france_flag, .england_flag {
    width: 70%;
  }

.words_fr:nth-of-type(1),
  .words_en:nth-of-type(1) {
    width: 80%; /* Lărgește butoanele pe ecrane mai mici */
    font-size: 18px; /* Diminuează puțin dimensiunea textului */
    padding: 12px; /* Ajustează padding-ul pentru ecrane mici */
    margin: 15px auto; /* Centrare și spațiu uniform */
  }

  .popup-content {
    width: 90%;
    padding: 15px;
  }

  .level_curs{
    flex-direction: column;
  }

  .level_title{
    font-size: 18px;
  }

  .level_paragraf{
    font-size: 16px;
  }



  .blok_curs_and_price{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .cursuri{
    text-align: center;
    width: 100%;
  }

  .preturi{
    text-align: center;
    flex-direction: column;
    width: 100%;
  }

  .preturi_center{
    flex-direction: column;
  }

  .second_price, .three_price {
    width: 100%;
  }


  .learn_title{
    font-size: 22px;
  }

  .learn_paragraf{
    font-size: 20px;
  }

  .learn_paragraf_secound{
    font-size: 18px;
  }



}

/* Small Mobile Devices */
@media all and  (max-width: 768px)  and (min-width: 376px) {
 .first_text_second_page {
    font-size: 30px;
  }

  .first_paragraf_second_page {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
  }

  .page_service {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    text-align: center;
    justify-content: space-between;
  }

  .page_product_blok:nth-of-type(1),
  .page_product_blok:nth-of-type(2) {
    flex-direction: column;
    padding: 10px 0;
    justify-content: center;
    text-align: center;
  }

  .france_word, .englend_word{
    flex-direction: column;
    justify-items: center;
    text-align: center;
  }

  .france_flag, .england_flag {
    width: 70%;
  }

.words_fr:nth-of-type(1),
  .words_en:nth-of-type(1) {
    width: 80%; /* Lărgește butoanele pe ecrane mai mici */
    font-size: 18px; /* Diminuează puțin dimensiunea textului */
    padding: 12px; /* Ajustează padding-ul pentru ecrane mici */
    margin: 15px auto; /* Centrare și spațiu uniform */
  }

  .popup-content {
    width: 90%;
    padding: 15px;
  }

  .level_curs{
    flex-direction: column;
  }

  .level_title{
    font-size: 18px;
  }

  .level_paragraf{
    font-size: 16px;
  }



  .blok_curs_and_price{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .cursuri{
    text-align: center;
    width: 100%;
  }

  .preturi{
    text-align: center;
    flex-direction: column;
    width: 100%;
  }

  .preturi_center{
    flex-direction: column;
  }

  .second_price, .three_price {
    width: 100%;
  }


  .learn_title{
    font-size: 22px;
  }

  .learn_paragraf{
    font-size: 20px;
  }

  .learn_paragraf_secound{
    font-size: 18px;
  }

}




@media all and  (max-width: 1024px)  and (min-width: 769px){

  .first_text_second_page {
    font-size: 30px;
  }

  .first_paragraf_second_page {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
  }

  .page_service {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    text-align: center;
    justify-content: space-between;
  }

  .page_product_blok:nth-of-type(1),
  .page_product_blok:nth-of-type(2) {
    flex-direction: column;
    padding: 10px 0;
    justify-content: center;
    text-align: center;
  }

  .france_word, .englend_word{
    flex-direction: column;
    justify-items: center;
    text-align: center;
  }

  .france_flag, .england_flag {
    width: 70%;
  }

.words_fr:nth-of-type(1),
  .words_en:nth-of-type(1) {
    width: 80%; /* Lărgește butoanele pe ecrane mai mici */
    font-size: 18px; /* Diminuează puțin dimensiunea textului */
    padding: 12px; /* Ajustează padding-ul pentru ecrane mici */
    margin: 15px auto; /* Centrare și spațiu uniform */
  }

  .popup-content {
    width: 90%;
    padding: 15px;
  }

  .level_curs{
    flex-direction: column;
  }

  .level_title{
    font-size: 18px;
  }

  .level_paragraf{
    font-size: 16px;
  }



  .blok_curs_and_price{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .cursuri{
    text-align: center;
    width: 100%;
  }

  .preturi{
    text-align: center;
    flex-direction: column;
    width: 100%;
  }

  .preturi_center{
    flex-direction: column;
  }

  .second_price, .three_price {
    width: 100%;
  }


  .learn_title{
    font-size: 22px;
  }

  .learn_paragraf{
    font-size: 20px;
  }

  .learn_paragraf_secound{
    font-size: 18px;
  }


}