@import "../../variables.scss";

.ChooseUsCardBlock {
  background: $white;
  box-shadow: 0px 0px 15px rgba($black, 0.06);
  border-radius: 10px;
  padding-top: $pad + 22;
  padding-left: $pad + 22;
  padding-bottom: $pad + 13;
  padding-right: $pad + 10;
  position: relative;
  border: solid 3px transparent;
  height: calc( 100% - 75px);
  margin-bottom: $mrg + 65;
  transition: all 0.3s ease;
  @media (max-width: $xxl){
    padding: $pad + 12;
  }
  @media (max-width: $lg){
    height: calc( 100% - 30px);
    margin-bottom: $mrg + 20;
  }
  @media (max-width: $md){
    padding: $pad + 6;
    text-align: center;
    height: auto;
    margin-bottom: $mrg + 30;
  }
  &:hover {
    border-color: $orange;
    box-shadow: 5px 0px 20px rgba($black, 0.02);
  }

  .ChooseUsCardNumber {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: solid 8px $white;
    background-color: $blue;
    font-size: $font + 20;
    color: $white;
    text-align: center;
    line-height: 75px;
    box-shadow: 0px 0px 15px rgba($black, 0.05);
    font-weight: $font-weight-bold;
    
    @media (max-width: $xxl){
      width: 60px;
      height: 60px;
      font-size: $font + 10;
      line-height: 56px;
      border-width: 5px;
    } 
    @media (max-width: $md){
      width: 50px;
      height: 50px;
      font-size: $font + 8;
      line-height: 48px;
      left: 0;
      right: 0;
      margin: 0 auto;
    } 
  }

  figure {
    padding: $pad + 10;
    background: $orange-light;
    width: 75px;
    border-radius:$bdr-rds + 10;
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: $mrg + 13;
    @media (max-width: $xxl){
      width: 60px;
      height: 60px;
      border-radius:$bdr-rds + 5;
    }  
    @media (max-width: $md){
      width: 50px;
      height: 50px;
      margin: $mrg + 10 auto $mrg;
      padding: $pad + 4;
    }    
  }
  .ChooseUsCardBlockInfo {
    h6 {
      font-weight: $font-weight-black; 
      font-size: $font + 8;
      margin-bottom: $mrg - 3;
      line-height: 1.5;
    }
    p {
      color: $grey2;
    }
  }
}