/* Default styles for larger screens */

.imgCon {
  display: flex;
  width: 100%;
  padding: 4% 2%;
  box-sizing: border-box;
  height: 80vh;
}

.imgBox {
  flex: 1;
  overflow: hidden;
  transition: .5s;
  margin: 0 2%;
  box-shadow: 0 20px 30px rgba(0,0,0,.1);
  line-height: 0;
  border-radius: 20px;
}

.imgBox > img {
  width: 200%;
  height: calc(100% - 10vh);
  object-fit: cover; 
  transition: .5s;
}

.imgBox > span {
  font-size: 3.8vh;
  display: block;
  text-align: center;
  height: 10vh;
  line-height: 2.6;
}

.imgBox:hover { 
  flex: 1 1 50%; 
}

.imgBox:hover > img {
  width: 100%;
  height: 100%;
}

/* Media query for smaller screens */

@media only screen and (max-width: 768px) {
  .imgCon {
    flex-wrap: wrap;
    height: auto;
  }
  
  .imgBox {
    flex: 1 1 45%;
    margin: 2% 2%;
    height: 40vh;
  }
  
  .imgBox > img {
    width: 100%;
    height: 100%;
  }
  
  .imgBox > span {
    font-size: 2.5vh;
    height: 8vh;
    line-height: 2.2;
  }
  
  .imgBox:hover { 
    flex: 1 1 90%; 
  }
}

:root {
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);
    --varyDarkBlue: hsl(234, 12%, 34%);
    --grayishBlue: hsl(229, 6%, 66%);
    --veryLightGray: hsl(0, 0%, 98%);
    --weight1: 200;
    --weight2: 400;
    --weight3: 600;
}


.box p {
    color: var(--grayishBlue);
}

.box {
    border-radius: 5px;
    box-shadow: 0px 30px 40px -20px var(--grayishBlue);
    padding: 30px;
    margin: 20px;  
}

.img {
    float: left;
}
.customers{
    /*margin-bottom: 10px*/
}

@media (max-width: 450px) {
    .box {
        height: 320px;
    }
     .customers{
        height: 740px;
    }
    
}

@media (max-width: 950px) and (min-width: 450px) {
    .box {
        text-align: center;
        height: 300px;
    }
    .customers{
        height: 680px;
    }
}

.cyan {
    border-top: 3px solid var(--cyan);
}
.red {
    border-top: 3px solid var(--red);
}
.blue {
    border-top: 3px solid var(--blue);
}
.orange {
    border-top: 3px solid var(--orange);
}

h4 {
    color: var(--varyDarkBlue);
    font-weight: var(--weight3);
}

.hero-image-wrap {
  background-image: url('images/Layer 1.png');
  background-size: cover;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


@media (min-width: 950px) {
    .row1-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .row2-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 85%;
        margin: auto;
    }
    .row3-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 85%;
        margin: auto;
    }
    .box-down {
        position: relative;
        top: 150px;
        
    }
    .box {
        width: 35%;
    }
    
    .box-bottom {
        width: 80%;
        
    }
    
}