.ofrecemos{
    width: 100%;
}

.ofrecemos-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0 0 80px 0;
}

.ofrecemos-container h2{
    color: #4ACE0C;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

.ofrecemos-ul{
  
    width: 100%;
    min-width: 230px;
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    justify-items: center;
    padding: 0;
    
  } 

  .ofrecemos-li{
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    width: 100%;
  }
  

  .ofrecemos-li img{
    width: 70px;
  }


  .ofrecemos-ul{
  
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0;
  } 

.ofrecemos-li:nth-child(1){
    border: 1px solid #FA54AE;
    
    color: #FA54AE;
    font-weight: 700;

    border-top: none;
    border-left: none;
    border-right: none;
  }
  .ofrecemos-li:nth-child(2){
    border: 1px solid #FA54AE;
    border-top: none;
    border-left: none;
    border-right: none;
    color: #780EFF;
    font-weight: 700;
    
  }
  .ofrecemos-li:nth-child(3){
    border: 1px solid #FA54AE;
    
    border-top: none;
    border-left: none;
    border-right: none;
    color: #68C4F7;
    font-weight: 700;
   
  }
  .ofrecemos-li:nth-child(4){
    border: 1px solid #FA54AE;
    border-top: none;
    border-left: none;
    border-right: none;
    color: #4ACE0C;
    font-weight: 700;
  }
  .ofrecemos-li:nth-child(5){
    border: 1px solid #FA54AE;
    
    border-top: none;
    border-left: none;
    border-right: none;
    color: #D81CF7;
    font-weight: 700;
  }
  .ofrecemos-li:nth-child(6){
    border: 1px solid #FA54AE;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    color: #FFBD14;
    font-weight: 700;
  }


  .ofrecemos-li img:hover{
    scale: 1.1;
  }

  @media screen and (min-width: 512px){
    .ofrecemos-ul{
  
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
       
      } 

    .ofrecemos-li:nth-child(1){
        border: 1px solid #FA54AE;
        
       
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(2){
        border: 1px solid #FA54AE;
        border-right: none;
        border-top: none;
        border-left: none;
       
      }
      .ofrecemos-li:nth-child(3){
        border: 1px solid #FA54AE;
        
        
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(4){
        border: 1px solid #FA54AE;
        border-right: none;
      
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(5){
        border: 1px solid #FA54AE;
        
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(6){
        border: 1px solid #FA54AE;
        border-right: none;
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
  }

  @media screen and (min-width: 767px){
    .ofrecemos-ul{
  
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      
      } 

    .ofrecemos-li:nth-child(1){
        border: 1px solid #FA54AE;
        
       
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(2){
        border: 1px solid #FA54AE;
        
        border-top: none;
        border-left: none;
       
      }
      .ofrecemos-li:nth-child(3){
        border: 1px solid #FA54AE;
        border-right: none;
        
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(4){
        border: 1px solid #FA54AE;
       
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(5){
        border: 1px solid #FA54AE;
        
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(6){
        border: 1px solid #FA54AE;
        border-right: none;
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
  }

  @media screen and (min-width: 1004px){
    .ofrecemos-ul{
  
      
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(301px, 1fr));
         
      } 
    
      .ofrecemos-li:nth-child(1){
        border: 1px solid #FA54AE;
        
       
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(2){
        border: 1px solid #FA54AE;
        
        border-top: none;
        border-left: none;
       
      }
      .ofrecemos-li:nth-child(3){
        border: 1px solid #FA54AE;
        border-right: none;
        
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(4){
        border: 1px solid #FA54AE;
       
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(5){
        border: 1px solid #FA54AE;
        
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
      .ofrecemos-li:nth-child(6){
        border: 1px solid #FA54AE;
        border-right: none;
        border-bottom: none;
        border-top: none;
        border-left: none;
      }
      
  }