/* :root {
  --primary: #FF3E41;
  --secondary: #51CFED;
  --light: #F8F2F0;
  --dark: #060315;
} */

.service-header .inner {
    position: relative;
    background: url('../img/bg-services.jpg') no-repeat center center/cover;
    height: 500px;
    width: 90%;
    text-align: center;
    margin: auto;
    /* filter: drop-shadow(0 1.8rem 3.7rem rgba(3, 46, 87, 0.3)); */
  }
  .service-header .inner::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
  }
  .service-header .container{
    z-index: 2;
    width: 700px;
    padding-top: 150px;    
  }
  .service-header .container h5 {
    font-size: 70px;
    color: #FFE998;
    box-shadow: 0 0 15px rgb(255, 232, 152);
    opacity: 0;    
  }
  /* .anim{
    animation: slideUp 1s linear forwards;
    animation-delay: 1s;
}
  .anim2{
    animation: slideleft 1s linear forwards;
    animation-delay: 1s;
} */
.empty{
  height: 50px;
}
.one{ 
  background: url('../img/inner_services.jpg') no-repeat center center/cover;  
  display: flex;
}
.one .container{
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  align-items: center;
  justify-items: center;
  text-align: center;
  /* padding: 20px; */
  margin-left: 40px;
  height: 300px;
  
}
.one .container h2{
  color: #FFE998;
  font-size: 30px;
  margin-bottom: 30px;
  text-shadow: 3px 4px 5px #000;
  /* letter-spacing: 0.1em; */
  
}
.one .container p{
  font-family: 'DM Serif Display';
  font-size: 25px;
  text-shadow: 3px 4px 5px #000;
}

.service-body{
  padding: 40px 0;
  text-align: center;
}
.service-body h3{
  font-size: 30px;
  color: #FFE998;
  text-transform: uppercase;
}
.body-h3{
  box-shadow: 2px 2px 10px #212020,
              -2px -2px 10px #3f3c3c;
  width: 430px;     
  margin: auto; 
  padding: 8px 0;
  border-radius: 15px;;      
}
.service-body .container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 90%;
  gap: 30px;
}

.service-body .card {   
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 30px;
  background-color: #222;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  position: relative;
  border: #333 solid 1px;
  &:hover {
    transition: all 0.2s ease-out;
    box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
    top: -4px;
    border: 1px solid #cccccc;
  }

  &:before {
    content: "";
    position: absolute;
    z-index: -1;
    transform: scale(2);
    transition: transform 0.15s ease-out;
  }

  &:hover:before {
    transform: scale(2.15);
  }
}

.service-body .card h3{
  color: #FFE998;
  font-size: 25px;
}
.service-body .card p{
  text-align: start;
  margin-top: 5px;
  font-family: 'DM Serif Display';
  letter-spacing: .1rem;
  font-size: 20px;
  font-weight:300;  
}
.service-body img{
  height: 200px;
  width: 300px;
  border-radius: 10px;
  margin: 10px;
  border: 1px solid #CE8A39;
  box-shadow: 2px 2px 10px #050505,
              -2px -2px 10px #050505;
}
.service-body .card .bt{
  display: inline-block;
  color: #fbe5bf;
  border-radius: 5px;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #57370d;
  border: 1px solid #CE8A39;
  font-size: 16px;
  font-weight: 800;
  padding: 5px 20px;
  margin-top: 20px;
  text-align: center;
  line-height: 2.4rem;
  transition: 0.5s;
}
.service-body .card .bt:hover{
  background-color: #40C5FF;
}

@keyframes slideUp{
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
/* h3.anim{
  animation-delay: 3s;
} */
/* @keyframes slideleft{
    0%{
        transform: translatex(-150px);
        opacity: 0;
    }
    100%{
        transform: translatex(0px);
        opacity: 1;
    }
} */
/* p.anim2{
  animation-delay: 2s;
} */
@media (max-width: 900px){
  .service-body .container{
    grid-template-columns: repeat(2, 1fr);
    width: 90%;    
  }
  .service-header .container h5 {
    font-size: 60px;
  }
  .service-body h3{
    font-size: 25px;
  }
}
@media (max-width: 768px){
  .service-body .container{
    grid-template-columns: 1fr;
    width: 90%;
  }
  .service-header .container h5 {
    font-size: 40px;
  }
  .service-body .card{
    justify-items: center;
  }
  
}
@media (max-width: 570px){
  .service-header .container h5 {
    font-size: 25px;
  }
  .one .container h2{
    font-size: 22px;
  }
  .one .container p{
    font-family: 'DM Serif Display';
    font-size: 20px;
  }
}

