@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");

*{
    text-decoration: none;
}





div.programs section div.rows .text .text-box div.flip-cards{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
   
  }
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big {
    /*background-color: #dcdcdc;*/
    perspective: 1000px;
  }
  
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card {
    /* position: relative; */
    width: 240px;
    height: 180px;
    border-radius: 7px;
    margin: 7px;
    text-align: center;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card:target{
      animation: targetedB linear 900ms 1;
  }
  
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big:hover .flip-card {
    transform: rotateY(180deg);
  }
  
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-a, div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-b {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    border-radius: 7px;
    overflow: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 3px;
  }
  
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-a {
    background-color: #dcdcdc;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  div.programs section.academy div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-a {
    background: rgba(196, 35, 60, 0.2);
  }
  div.programs section.invest div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-a {
    background: rgba(204, 99, 40, 0.2);
  }
  div.programs section.channel div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-a {
    background: rgba(0, 165, 162, 0.2);
  }
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-a img {
    display: none;
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-a h2 {
    margin: 1px;
    padding: 3px;
    font-size: 1.4em;
  }
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big a {
      border: 1px solid #808080;
      padding: 4px 7px;
      margin: 4px auto;
      border-radius: 4px;
      cursor: pointer;
      background: rgba(200,200,200,0.4);
      background: #212153;
      color: #ffffff;
      min-width: 105px;
  }
  
  div.programs section div.rows .text .text-box div.flip-cards div.flip-card-big .flip-card-b {
    color: #000000;
    background: #dcdcdc;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  div.programs section div.rows .text .text-box .tooltip1 p a{
    border: 1px solid #808080;
    padding: 4px 7px;
    margin: 4px auto;
    border-radius: 4px;
    cursor: pointer;
    background: rgba(200,200,200,0.4);
    background: #ffffff;
    color: #000000;
    min-width: 105px;
  }

  div.programs section div.rows .text .text-box .tooltip1 p a:hover{
    border: 1px solid #808080;
    padding: 4px 7px;
    margin: 4px auto;
    border-radius: 4px;
    cursor: pointer;
    background: rgba(200,200,200,0.4);
    background: #ffc83b;
    color: #000000;
    min-width: 105px;
  }

  .tooltip1 h1{
    text-align: center;
    font-family: "Lexend Deca", sans-serif;
    font-weight: bold;
    align-items: center;
    margin: 0 auto;
    color: #ffc83b;
    background: #c4233c;

  }

  .tooltip1 p{
    text-align: center;
    font-family: "Lexend Deca", sans-serif;
    font-size: 15px;
  }

  .colm-right{
    /* margin-top: 30px; */
    width: 50%;
    height: 400px;
    text-align: center;
    
  }

  iframe{
    width: 90%;
    height: 500px;
  }


 .layout-container{
   min-height: 70vh;
   display: flex;
   /* flex: 1; */
   position:relative;
   flex-wrap: wrap;
   background-color: #00A5A2;
   width: 100%;
 }

 .left-container {
   flex: 1;
   background-image: url('/images/2023/bgpattern.png');
  background-repeat: no-repeat;
  background-size:cover;
  z-index:1;
  box-sizing:border-box;
  /* filter:grayscale(60%); */
  bottom: 0;
  position:relative;

  /* position:hidden; */
  
 }

 .right-container {
   flex: 1;
   padding-left:50px;
   bottom:0;
   text-align: left;
 
   
  
   
  }

  div.right-container #Aboutacademy {
    /* width: 100%;
    max-width:250px; */
    padding:20px;
    border-radius: 50px;
    /* box-shadow: #000000; */
    background-color: #ffc83b;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 2px;
    align-content: left;
    left:0;
    border:1px solid #000;
    box-shadow:2px 5px 4px rgba(0, 0, 0, 0.8);
  }
  .right-container h3{
    color:#fff;
    font-size: 3em;
    font-family: 'Quicksand', sans-serif;
    text-align: left;
    margin:0;

  }
  .right-container span {
    font-size: 3em;
    color:#ffc83b;
    margin:0;
    
  }
  .right-container h5 {
    color:#ffc83b;
    font-size: 1.5em;
    letter-spacing: 3px;
    text-align: left;

  }

  .right-container p {
    text-align: left;
    color:#fff;
    font-size: 1em;

  }
  .progimg {
    position: absolute;
    left: 0;
    bottom: 0;
    /* object-fit: cover;  */
   
   
  }

  .fa-arrow-right {
    transform: rotate(-45deg);
}


 @media screen and (max-width: 1020px){
  .layout-container{
     flex-direction: column-reverse;
   }

   .left-container {
    /* flex:3; */
    min-height:380px;
    /* max-height:900px; */

   }

   .right-container {
    /* flex:1; */
    padding:40px;
    width:100%;
    
    
   }
   .progimg {
    max-width:420px;
    object-fit:inherit;
    margin-top:350px;
  }
   

 }


 @media screen and (max-width: 780px){
  .right-container h3 {
    font-size: 2.3em;
    line-height:15px;
    font-weight:500;
    margin-top:70px;
   }

   .right-container h5 {
    font-size: 1em;
   }

   .right-container p {
    font-size: 1em;
    font-weight: 300;
   }
 }
 @media screen and (max-width: 520px){
.progimg {
  max-width:350px;
  object-fit:inherit;
}

 }