@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;;
}
.header-acc{
    min-height: 50vh;
    width:100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(../images/bookkeeping_background.png);
    background-position: center;
    background-size: cover;
    position: relative;
}
.text-box-acc{
    width: 90%;
    color: white;
    position: absolute;
    top: 77%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box-acc h1{
    font-size: 62px;
}
.text-box-acc p{
    margin: 10px 40px;
    line-height: 1.2;
    font-size: 19px;
    color: white;
}
@media(max-width: 700px){
    .text-box-acc h1{
        font-size: 20px;
    }
    .text-box-acc p{
        margin: 10px 40px;
        font-size: 12px;
        color: white;
    }
}
.services-acc{
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
}
.services-acc h1{
    color: black;
    font-size: 36px;
    font-weight: 600;
    padding: 10px;
}
.container {
    position: relative;
    width: 33%;
  }
  
.image {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #008CBA;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
  }
  
  .container:hover .overlay {
    bottom: 0;
    height: 100%;
  }
  .text-h1 {
    white-space: nowrap; 
    color: white;
    font-size: 30px;
    position: absolute;
    overflow: hidden;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .text {
    white-space: nowrap; 
    color: white;
    font-size: 20px;
    position: absolute;
    overflow:hidden;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
.services-acc{
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
}
.row-acc{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.container{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    box-sizing: border-box;
}
.service-pics-acc{
    width: 100%;
}
@media(max-width: 700px){
    .row-acc{
     flex-direction: column;
    }
    .container {
        position: relative;
        width: 90%;
      }
      .text-h1 {
        white-space: nowrap; 
        color: white;
        font-size: 20px;
        position: absolute;
        overflow: hidden;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
      }
      .text {
        white-space: nowrap; 
        color: white;
        font-size: 15px;
        position: absolute;
        overflow:hidden;
        top: 57%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
      }
      footer {
        font-size: 10px;
      }
 }