@media (max-width: 1440px) {
  .buy-wrapper .main-content {
    max-width: 1180px;
  }
}

@media (max-width: 1250px) {
  .buy-wrapper .banner .info{
    width: 100%;
  }
}


@media(max-width: 1100px){
  .buy-wrapper .details-sec1 div img{
    width: 40px;
    margin-right: 5px;
  }
  .buy-wrapper .details-sec1 button{
    font-size: 13px;
    height: 40px;
  }

  .buy-wrapper .payment-in-process{
    width: 60%;
  }
  .buy-wrapper .info-curso-grid p{
    font-size: 12px;
  }

  .buy-wrapper .card-failed-txt {
    max-width: 500px;
  }

  .buy-wrapper .card-failed-img {
    margin-left: 20px;
  }
}


@media (max-width: 900px) {
  .buy-wrapper .p-s-result-container,
  .buy-wrapper .p-s-details{
    width: 80%;
  }

  .buy-wrapper .main-content {
    padding: 40px 20px;
  }

  .buy-wrapper .details-sec2 .course-img img{
    margin-top: 50px;
    margin-left: 20px; 
  }

  .buy-wrapper .card-failed{
    margin-bottom: 30px;
  }

  .buy-wrapper .payment-in-process{
    width: 70%;
  }

  .buy-wrapper .details-sec2 {
    padding-left: 20px;
  }
}


@media (max-width: 760px) {
  .buy-wrapper .p-s-result-container,
  .buy-wrapper .p-s-details{
    width: 95%;
  }

  .buy-wrapper .details-sec1 div img{
    width: 30px;
  }
  .buy-wrapper .details-sec1 button{
    font-size: 12px;
    height: 40px;
    justify-content: center;
  }
 
  .buy-wrapper .payment-in-process{
    width: 75%;
  }
}


@media(max-width: 620px){
  .buy-wrapper .details-sec1{
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 25px 10px;
  } 

  .buy-wrapper .details-sec1 div{
    margin-right: 30px;
  }

  .buy-wrapper .details-sec1 div img{
    width: 40px;
  }

  .buy-wrapper .details-sec1 button{
    margin-top: 10px;
    font-size: 13px;
    min-width: 260px;
  }
 
  .buy-wrapper .details-sec2 .course-img img{
    margin: 0px;
  }
  .buy-wrapper .details-sec2{
    flex-direction: column;
    align-items: center;
  }

  .buy-wrapper .txt-details{
    margin: 0px;
    width: 90%;
  }
  
  .buy-wrapper .txt-details .open-class{
    margin: 0 auto;
    font-size: 13px;
  }

  .buy-wrapper .info-curso .course-title,
  .buy-wrapper .info-curso .course-author{
    font-size: 17px;
  }

  .buy-wrapper .info-curso .course-description,
  .buy-wrapper .card-failed p {
    font-size: 14px;
  }

  .buy-wrapper .info-curso-grid{
    margin-top: 30px;
    grid-template-columns: 10% 90%;
    row-gap: 0;
    column-gap: 5px;
    align-items: center;
  }

  .buy-wrapper .payment-in-process .payment-help p,
  .buy-wrapper .info-curso-grid p{
    font-size: 14px;
  }
  .buy-wrapper .info-curso-grid img{
    width: 35px;
    height: 35px;
  }

  .buy-wrapper .payment-in-process,
  .buy-wrapper .card-failed{
    position: relative;
    margin: 0px;
  }
  .buy-wrapper .card-failed-img{
    position: absolute;
    top: 36px;
    right: 32px;
    margin: 0px;
    max-width: 100px;
    min-width: 60px;
    transform: scale(0.85);
  }

  .buy-wrapper .card-failed-txt h3{
    width: 60%;
  }

  .buy-wrapper .payment-in-process,
  .buy-wrapper .details-sec1,
  .buy-wrapper .details-sec2 {
    width: 100%;
  }
}


@media (max-width: 480px) {
  .buy-wrapper .payment-help,
  .buy-wrapper .p-s-result-container{
    width: 100%;
  }

  .buy-wrapper .details-sec1{
    padding: 25px 0px;
    width: 90%;
  }

  .buy-wrapper .details-sec1 div{
    margin-right: 5px;
  }

  .buy-wrapper .info-curso-grid{
    column-gap: 10px;
  }

  .buy-wrapper .txt-details {
    width: 100%;
  }

  .buy-wrapper .card-failed, 
  .buy-wrapper .payment-in-process {
    padding: 40px 20px;
  }

  .buy-wrapper .details-sec2 {
    padding: 0 20px;
  }

  .buy-wrapper .card-failed-img {
    right: 12px;
  }
}


@media(max-width: 405px){
  .buy-wrapper .p-s-result-failed h3{
    font-size: 14px;
  }
  .buy-wrapper .info-curso-grid{
    column-gap: 15px;
  }
}
