.product-img{
    padding-top: 1.3rem;
}
.iphone{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 100%;
    overflow: hidden;
    padding: 0 1rem 1rem 1rem;
    gap: 1vw;
}
.iphone-img{
    width: 100%;
    height: 100%;
    position: relative;
    background: black;
    color: white;
    text-align: center;
    border-radius: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    box-shadow: 0 6px 10px #00000063;
    transition: box-shadow 0.3s ease;
}
.iphone-img img{
    width: 100%;
    height: 75%;
    position: relative;
    object-fit: fill;
}
.iphone-img::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--our-overlay);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 10px;
  }
  
  .iphone-img:hover::after{
    opacity: 1;
    z-index: 1;
    box-shadow: 0 8px 16px #00000069;
  }

  .iphone-img::before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .iphone-img:hover::before{
    opacity: 1;
  }

.iphone-banner{
    width: 100%;
    margin-top: 2.8rem;
}
.iphone-banner img{
    width: 100%;
    object-fit: fill;
}

.iphone-h3{
    color: wheat;
    background-color: black;
    width: -moz-fit-content;
    width: fit-content;
    margin: .5rem 0;
    padding: 5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-radius: 0 10px 10px 0;
}



/* media query */
@media (max-width: 800px) {
    .iphone{
        grid-template-columns: 1fr 1fr;
    }

    .iphone-img img{
        height: 50%;
    }

    
}