@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:'Poppins', sans-serif;
  }
  
 nav {
    height: 80px;
    background: #fdcc04;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem calc((100vw - 1300px) / 2);
  }
  
  .logo {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    padding: 0 2rem;
  }
  
  nav a {
    text-decoration: none;
    color: #000;
    padding: 0 1.5rem;
  }

.our-services-container{
    width: 100%;
    height: 100vh;
    background-color: #ccc(0,0,0,0,0.4); /* words are forward and video on the background */
    display: flex;
    align-items: center;
    justify-content:center;
    padding: 20px 9%;
    color: white;
    text-align: center;
  }

 .background-content{
     text-align: center;
  }
  
 .background-content h1{
   font-size: 95px;
   color: white;
   margin-bottom: 50px;
   padding: 15px 25px;
   transition: 0.3s;
  }

 /* video plays on the background */
.background-clip {
    position: absolute;
    right: 0;
    bottom:0;
    z-index: -1;
}

.service .heading {
  font-size: 40px;
  margin-bottom: 20px;
  color: white;
}


.service .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}


.wrapper .box {
  padding: 30px 20px;
  background-color: transparent;
  opacity: 80%;
  border: 2px solid #fdcc04;
  border-radius: 10px;
  transition: .5s; /* not working */

}

.wrapper.box:hover { /* not working */
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

.box i {
    font-size: 60px;
    color:#fdcc04
}

.box h2 {
    font-size: 25px;
}

.box p {
  margin: 10px 0 18px
}

.box .btn {
  display: inline-block;
  padding: 8px 20px;
  background: #fdcc04;
  border: 2px solid #fdcc04;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: .5s; /* not working */
}

.box .btn:hover {
  background: transparent;
  color: #fdcc04;
}

 /* responsive */

@media screen and (max-width: 992px) {
  .service{
    padding: 20px 5%
  }

} 
@media screen and (max-width: 350px) {
    .service .wrapper {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}