:root{
    --primaryColor:#1c4755;
    --middleColor:#4596b1;
    --helperColor:#C84B31;
    --lightHelper:#F8EDE3;
    --transparentColor:#fe78436b;
    --shadow:rgba(189, 188, 188, 0.514);
   /* --------------------------------- */
    --whatsappColor:#25D366;
    --white:#ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray:  #f8f8f8;
}

.works-header {
    padding: 0px 10px;
    width: fit-content;
    margin: auto;
    border-bottom: 1px dotted burlywood;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.works-header-image {
    height: 200px;
    padding: 20px 10px;
    background-color: transparent;
}

.works-header-image img {
    width: 98%;
    height: 100%; 
}

.works-header-text {
    width: 60%;
}

.works-header-text h1 {
    width: fit-content;
    border-radius: 50%;
    color: var(--primaryColor);
}

.images-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 80px;
    margin: auto;
    width: 98%;
    margin: auto;
}

.one-image-container {
    position: relative;
    width: 20%;
    height: 400px;
    flex-grow: 1;
    overflow: hidden;
    border-radius: 0px 50px;
    cursor: pointer;
    border: 1px solid burlywood;
    transition: border-radius 0.5s ease-in-out, transform 0.3s ease ;
    box-shadow: 10px 10px 10px var(--shadow);
}

.one-image-container:hover {
    transform: scale(1.03);
    border-radius: 50px 0px;
}

.one-image-container:hover div{
    border-radius: 0px 0px 50px 0px;
} 


.one-image-container:hover img{
    border-radius: 50px 0px;

}

.one-image-container img {
    width: 100%;
    height:100%;
    /* object-fit: cover; */
    border-radius: 0px 50px;
    transition: border-radius 0.5s ease-in-out;


}

.one-image-container div{
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    background:rgba(255, 228, 196, 0.596) ;
    border-radius: 0px 0px 0px 50px;
    padding: 10px 0px;
    transition: border-radius 0.5s ease-in-out;

}

.one-image-container h3,h4  {
    color: var(--primaryColor);
    /* font-size: 18px; */
}

.whatsapp-link {
  width: fit-content;
  margin: auto;
    text-decoration: none;
    color: var(--primaryColor);
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    border-radius: 10px; 
    transition: all 0.6s ease-out;
}

.whatsapp {
    display: inline-flex;
    justify-content: center; 
    /* box-shadow: 5px 5px 10px rgba(128, 128, 128, 0.493); */
    align-items: center;
    background-color: #25D366 ; 
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transition:transform 0.5s ease ;
}

.arounded-span{
  padding: 8px; display: inline-block; width: fit-content; border-radius: 50%;
  background-color: transparent;
 
}

@keyframes animated-arounded-span {
   from{
    background-color:transparent
   } 

   to{
    background-color:rgba(128, 128, 128, 0.705)
   }
}

.one-image-container:hover .whatsapp{
  transform: rotateX(360deg);
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@ */
@media (max-width:600px) {
    .one-image-container{
        width: 98%;
    }
    .works-header-image {
        /* width: 20%; */
        height: 150px;
        background-color: transparent;
    }
    .arounded-span{
        animation: animated-arounded-span;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
      animation-fill-mode: backwards;
      /* animation-timing-function: 2step; */
    }
    
    .works-header-text{
        font-size: small;
      
    }

}

@media screen and (min-width:601px) and (max-width:900px) {
    .one-image-container{
        width: 45%;
    }

    .works-header-image {
        height: 150px;
        background-color: transparent;
    }
    .arounded-span{
        animation: animated-arounded-span;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
      animation-fill-mode: backwards;
      /* animation-timing-function: 2step; */
    }

    .works-header-text{
        font-size: small;
      
    }
    
} 

@media screen and (min-width:901px) and (max-width:1200px) {
    .one-image-container{
        width: 28%;
    }
    .arounded-span{
        animation: animated-arounded-span;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
      animation-fill-mode: backwards;
      /* animation-timing-function: 2step; */
    }
    
}