 body {
    font-family: "Baloo Bhai 2", serif;
    background: #CCB4B4;
    margin: 0;
    padding: 0;
 }

 header {
    background: #3D3047;
    display: flex;
 }

 header h1 {
   color: #D17152;
   font-size: 36px;
   margin-left: 96px;
 }


 .background_intro {
   background: #624A96;
   padding-top: 35px;
   display: flex;
   justify-content: center;
   align-items: end;
 }

 .background_intro h2 {

 }

.background_intro img {
   position: relative;
   top: 27px;
}

 .intro aside {
   background: #454360;
   color: #F2F2F2;
   width: 20%;
   margin: auto;
   text-align: center;
   border-bottom-left-radius: 20px;
   border-bottom-right-radius: 20px;
   padding: 15px;
 }

.text_block {
   width: 50%;
   margin: auto;
   text-align: center;
}


 .text_block h2 {
   color: #ffff;
   font-size: 40px;
 }

 .text_block p {
   color: #606882;
   font-size: 20px;
 }

 .text_block aside {
   background: #454360;
   border-radius: 20px;
   width: 100%;
   margin-top: 95px;
 }

 .text_block aside p {
   color: #FFFFFF;
 }

 .subjects {
   background: #211F1F;
   color: #ffff;
   padding-bottom: 15px;
 }

 .subjects h3 {
   font-size: 40px;
   padding-top: 55px;

}

 .sub_block {
   display: flex;
   border: 3px solid #723D9B;
   opacity: 80%;
   border-radius: 10px;
   margin-bottom: 35px;
   justify-content: space-between;
   align-items: center;
 }

 .sub_block.m {
  border: 3px solid #95b0f5;
 }

.sub_block .sub_l.m {
  width: 290px;
 }

 .sub_block p {
   color: #ffff;
   margin-left: 25px;
   font-size: medium;
 }

 .sub_l p {
  margin-left: 0;
 }

 .sub_l.m p {
  margin-left: 0;
 }

 .sub_block .sub_l {
   background: #524A53;
   width: 205px;
   border-radius: 0;
   border-top-left-radius: 40px;
   border-bottom-left-radius: 40px;
   margin-top: 0;
   padding: 0;
 }

 .time_block {
   border: 3px solid #5cc4a8;
   color: #ffff;
   border-radius: 10px;
   margin-bottom: 35px;
   opacity: 80%;
 }

 .time_block p {
   color: #FFFFFF;
 }

 .text_block a {
  text-decoration: none;
  color: #fff;
  
 }

 .feedback_area {
  background: #d6d0d0;
  display: flex;
  justify-content: center;
  padding-bottom: 15px;
  
 }

 .card_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
 }

 .card_area h1 {
  font-size: 50px;
  color: #4c4c4c;
  position: relative;
  top: 20px;
 }

 .f_cards {
  background: #454360;
  color: #fff;
  text-align: center;
  width: 40%;
  height: 230px;
  margin-top: 35px;
  border-radius: 15px;
  padding: 0 35px;
 }

 .f_cards h4 {
  font-size: 30px;
 }

 @media (max-width: 1570px) {
  .intro aside {
    width: 40%;
  }

 .text_block .brain {
    width: 100%;
  }

  .sub_block.m {
    flex-direction: column;
  }

  .sub_block.m p {
    margin-left: 0;
  }

  .sub_block .sub_l.m {
    border-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .f_cards {
    width: 70%;
    height: 100%;
  }

 }

 @media (max-width: 1020px) {
  .background_intro img {
    width: 615px;
  }
 }

 @media (max-width: 910px)  {

  .text_block {
    width: 90%;
  }

 }

 @media (max-width: 780px) {
  .intro aside {
    width: 60%;
  }

  .text_block .brain {
    width: 80%;
  }

  .sub_block p {
    font-size: small;
  }

  .sub_block .sub_l {
    width: 30%;
  }


  .time_block p {
    font-size: small;
  }
 }




 @media (max-width: 650px) {

  header {
    justify-content: center;
  }

  header h1 {
    font-size: 40px;
    margin-left: 0;
  }

  .background_intro img {
    width: 490px;
  }

  .f_cards {
    width: 75%;
  }
 }

 @media (max-width: 520px) {
  .background_intro img {
    width: 400px;
    top: 20px;
  }

  .intro aside {
    width: 52%;
    font-size: small;
  }


  .text_block h2 {
    font-size: 25px;
  }

  .text_block p {
    font-size: small;
    text-align: left;
  }

  .subjects h3 {
    font-size: 25px;
  }

  .sub_block p {
    text-align: center;
  }

  .sub_l p {
    text-align: center;
  }

  .sub_block .sub_l.m p {
    text-align: center;
  }

  .time_block p {
    text-align: center;
  }

  .card_area h1 {
    font-size: 30px;
  }

 }


 @media (max-width: 430px) {
  .background_intro img {
    width: 370px;
    top: 20px;
  }

  .intro aside {
    width: 65%;
    padding: 10px;
  }
 }
